forked from mirror/nnn
add overlay
This commit is contained in:
parent
92921db76b
commit
d54b76c8d6
1 changed files with 9 additions and 5 deletions
14
flake.nix
14
flake.nix
|
@ -5,15 +5,19 @@
|
|||
let
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
buildInputs = [ pkgs.gnumake pkgs.gcc pkgs.readline pkgs.pkg-config ];
|
||||
in {
|
||||
devShell.x86_64-linux = pkgs.mkShell {
|
||||
inherit buildInputs;
|
||||
};
|
||||
packages.x86_64-linux.default = pkgs.stdenv.mkDerivation {
|
||||
nnn = pkgs.stdenv.mkDerivation {
|
||||
pname = "nnn";
|
||||
version = "v4.9";
|
||||
src = ./.;
|
||||
inherit buildInputs;
|
||||
};
|
||||
in {
|
||||
devShell.x86_64-linux = pkgs.mkShell {
|
||||
inherit buildInputs;
|
||||
};
|
||||
packages.x86_64-linux.default = nnn;
|
||||
overlays.default = final: prev: {
|
||||
inherit nnn;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue