Fix nnn configuration file

This commit is contained in:
Miles Breslin 2020-02-23 00:45:42 -08:00
parent d4879a6962
commit 7fae3b1ca8

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 ];