1
0
Fork 0
forked from mirror/nnn

add overlay

This commit is contained in:
tezlm 2024-09-13 04:27:35 +00:00
parent 92921db76b
commit d54b76c8d6
Signed by: tezlm
GPG key ID: 649733FCD94AFBBA

View file

@ -5,15 +5,19 @@
let let
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
buildInputs = [ pkgs.gnumake pkgs.gcc pkgs.readline pkgs.pkg-config ]; buildInputs = [ pkgs.gnumake pkgs.gcc pkgs.readline pkgs.pkg-config ];
in { nnn = pkgs.stdenv.mkDerivation {
devShell.x86_64-linux = pkgs.mkShell {
inherit buildInputs;
};
packages.x86_64-linux.default = pkgs.stdenv.mkDerivation {
pname = "nnn"; pname = "nnn";
version = "v4.9"; version = "v4.9";
src = ./.; src = ./.;
inherit buildInputs; inherit buildInputs;
}; };
in {
devShell.x86_64-linux = pkgs.mkShell {
inherit buildInputs;
};
packages.x86_64-linux.default = nnn;
overlays.default = final: prev: {
inherit nnn;
};
}; };
} }