Merge pull request #241457 from phaer/darwin-passage-getopt-2

passage: fix getopt path on darwin

authored by

Weijia Wang and committed by
GitHub
97fdf20b 82268b7e

+2 -2
+1 -1
pkgs/tools/security/passage/darwin-getopt-path.patch
··· 7 7 } 8 8 9 9 -GETOPT="$({ test -x /usr/local/opt/gnu-getopt/bin/getopt && echo /usr/local/opt/gnu-getopt; } || brew --prefix gnu-getopt 2>/dev/null || { command -v port &>/dev/null && echo /opt/local; } || echo /usr/local)/bin/getopt" 10 - +GETOPT="@GETOPT@" 10 + +GETOPT="@getopt@/bin/getopt" 11 11 SHRED="srm -f -z" 12 12 BASE64="openssl base64"
+1 -1
pkgs/tools/security/passage/default.nix
··· 27 27 patches = [ 28 28 (substituteAll { 29 29 src = ./darwin-getopt-path.patch; 30 - GETOPT = "${getopt}/bin/getopt"; 30 + inherit getopt; 31 31 }) 32 32 ]; 33 33