pass: fixes .wrapped-pass in usage
When using `pass --help` for example the PROGRAM name is ".wrapped-pass" instead of "pass".
This commit is contained in:
@@ -19,7 +19,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "05bk3lrp5jwg0v338lvylp7glpliydzz4jf5pjr6k3kagrv3jyik";
|
||||
};
|
||||
|
||||
patches = if stdenv.isDarwin then [ ./no-darwin-getopt.patch ] else null;
|
||||
patches =
|
||||
[ ./program-name.patch ] ++
|
||||
stdenv.lib.optional stdenv.isDarwin ./no-darwin-getopt.patch;
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user