1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

Merge pull request #80878 from MilesBreslin/nnn_config

nnn: Fix configuration file
This commit is contained in:
Aaron Andersen 2020-04-10 14:58:32 -04:00 committed by GitHub
commit 276a27b8f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
};
configFile = optionalString (conf != null) (builtins.toFile "nnn.h" conf);
preBuild = optionalString (conf != null) "cp ${configFile} nnn.h";
preBuild = optionalString (conf != null) "cp ${configFile} src/nnn.h";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ readline ncurses ];