Loading pkgs/tools/security/pass/default.nix +2 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { sha256 = "05bk3lrp5jwg0v338lvylp7glpliydzz4jf5pjr6k3kagrv3jyik"; }; patches = if stdenv.isDarwin then [ ./no-darwin-getopt.patch ] else null; buildInputs = [ makeWrapper ]; meta = with stdenv.lib; { Loading pkgs/tools/security/pass/no-darwin-getopt.patch 0 → 100644 +9 −0 Original line number Diff line number Diff line diff -Naur password-store-1.6.5-orig/src/platform/darwin.sh password-store-1.6.5/src/platform/darwin.sh --- password-store-1.6.5-orig/src/platform/darwin.sh 2015-01-28 16:43:02.000000000 +0000 +++ password-store-1.6.5/src/platform/darwin.sh 2015-02-15 16:09:02.000000000 +0000 @@ -31,5 +31,4 @@ mount -t hfs -o noatime -o nobrowse "$DARWIN_RAMDISK_DEV" "$SECURE_TMPDIR" || die "Error: could not mount filesystem on ramdisk." } -GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || { which port &>/dev/null && echo /opt/local; } || echo /usr/local)/bin/getopt" SHRED="srm -f -z" Loading
pkgs/tools/security/pass/default.nix +2 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { sha256 = "05bk3lrp5jwg0v338lvylp7glpliydzz4jf5pjr6k3kagrv3jyik"; }; patches = if stdenv.isDarwin then [ ./no-darwin-getopt.patch ] else null; buildInputs = [ makeWrapper ]; meta = with stdenv.lib; { Loading
pkgs/tools/security/pass/no-darwin-getopt.patch 0 → 100644 +9 −0 Original line number Diff line number Diff line diff -Naur password-store-1.6.5-orig/src/platform/darwin.sh password-store-1.6.5/src/platform/darwin.sh --- password-store-1.6.5-orig/src/platform/darwin.sh 2015-01-28 16:43:02.000000000 +0000 +++ password-store-1.6.5/src/platform/darwin.sh 2015-02-15 16:09:02.000000000 +0000 @@ -31,5 +31,4 @@ mount -t hfs -o noatime -o nobrowse "$DARWIN_RAMDISK_DEV" "$SECURE_TMPDIR" || die "Error: could not mount filesystem on ramdisk." } -GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || { which port &>/dev/null && echo /opt/local; } || echo /usr/local)/bin/getopt" SHRED="srm -f -z"