From 7fae3b1ca80e844adfddee837f681916dec90811 Mon Sep 17 00:00:00 2001 From: Miles Breslin Date: Sun, 23 Feb 2020 00:45:42 -0800 Subject: [PATCH] Fix nnn configuration file --- pkgs/applications/misc/nnn/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/nnn/default.nix b/pkgs/applications/misc/nnn/default.nix index 67f0b4b39260..576b171aad08 100644 --- a/pkgs/applications/misc/nnn/default.nix +++ b/pkgs/applications/misc/nnn/default.nix @@ -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 ];