rofi-pass: replace `util-linux` with `util-linuxMinimal` (#441977)

authored by isabelroses.com and committed by GitHub ff24bb34 a48b5f98

+12 -4
+12 -4
pkgs/tools/security/pass/rofi-pass.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 - makeWrapper, 5 + makeBinaryWrapper, 6 6 unstableGitUpdater, 7 7 coreutils, 8 - util-linux, 8 + util-linuxMinimal, 9 9 gnugrep, 10 10 libnotify, 11 11 pwgen, ··· 41 41 hash = "sha256-1lPNj47vTPLBK7mVm+PngV8C/ZsjJ2EN4ffXGU2TlQo="; 42 42 }; 43 43 44 - nativeBuildInputs = [ makeWrapper ]; 44 + nativeBuildInputs = [ makeBinaryWrapper ]; 45 45 46 46 dontBuild = true; 47 47 48 48 installPhase = '' 49 + runHook preInstall 50 + 49 51 mkdir -p $out/bin 50 52 cp -a rofi-pass $out/bin/rofi-pass 51 53 52 54 mkdir -p $out/share/doc/rofi-pass/ 53 55 cp -a config.example $out/share/doc/rofi-pass/config.example 56 + 57 + runHook postInstall 54 58 ''; 55 59 56 60 wrapperPath = lib.makeBinPath ( ··· 63 67 libnotify 64 68 pwgen 65 69 rofi 66 - util-linux 70 + util-linuxMinimal 67 71 ] 68 72 ++ lib.optionals (backend == "x11") [ 69 73 (pass.withExtensions (ext: [ ext.pass-otp ])) ··· 78 82 ); 79 83 80 84 fixupPhase = '' 85 + runHook preFixup 86 + 81 87 patchShebangs $out/bin 82 88 83 89 wrapProgram $out/bin/rofi-pass \ ··· 86 92 --set-default ROFI_PASS_CLIPBOARD_BACKEND ${ 87 93 if backend == "wayland" then "wl-clipboard" else "xclip" 88 94 } 95 + 96 + runHook postFixup 89 97 ''; 90 98 91 99 passthru.updateScript = unstableGitUpdater { };