flake: expose packages
This commit is contained in:
parent
5ac71e96cd
commit
61a57d8a96
2 changed files with 29 additions and 1 deletions
13
flake.nix
13
flake.nix
|
|
@ -29,6 +29,13 @@
|
|||
ref = "release-21.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
flake-utils = {
|
||||
type = "github";
|
||||
owner = "numtide";
|
||||
repo = "flake-utils";
|
||||
ref = "master";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... } @inputs: {
|
||||
|
|
@ -112,5 +119,9 @@
|
|||
};
|
||||
|
||||
};
|
||||
};
|
||||
} // inputs.flake-utils.lib.eachDefaultSystem (system: {
|
||||
packages =
|
||||
inputs.flake-utils.lib.flattenTree
|
||||
(import ./pkgs { pkgs = import nixpkgs { inherit system; }; });
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue