debug the overlay
This commit is contained in:
parent
727f191bcd
commit
994607578a
31
flake.nix
31
flake.nix
|
@ -6,18 +6,23 @@
|
|||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
with flake-utils.lib; eachSystem allSystems (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
rec {
|
||||
packages = import ./default.nix { inherit pkgs; };
|
||||
defaultPackage = packages.uninsane-dot-org;
|
||||
|
||||
devShells.default = with pkgs; mkShell {
|
||||
buildInputs = with packages.uninsane-dot-org; (buildInputs ++ nativeBuildInputs);
|
||||
{
|
||||
overlay = final: prev: {
|
||||
uninsane = import ./default.nix { pkgs = prev; };
|
||||
};
|
||||
}) // {
|
||||
overlay = final: prev: import ./default.nix { pkgs = prev; };
|
||||
};
|
||||
} //
|
||||
(
|
||||
with flake-utils.lib; eachSystem allSystems (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
rec {
|
||||
packages = import ./default.nix { inherit pkgs; };
|
||||
defaultPackage = packages.uninsane-dot-org;
|
||||
|
||||
devShells.default = with pkgs; mkShell {
|
||||
buildInputs = with packages.uninsane-dot-org; (buildInputs ++ nativeBuildInputs);
|
||||
};
|
||||
})
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue