Use pkgs with stackpkgs overlay
To access derivations from stackpkgs for building other packages in it via callPackage
This commit is contained in:
parent
ec2fffc12f
commit
43283928d3
1 changed files with 3 additions and 1 deletions
|
@ -8,13 +8,15 @@
|
|||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
overlay = import ./overlay.nix;
|
||||
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [ overlay ];
|
||||
};
|
||||
in
|
||||
{
|
||||
packages.${system} = pkgs.callPackage ./stackpkgs.nix {};
|
||||
overlays.default = import ./overlay.nix;
|
||||
overlays.default = overlay;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue