flake: expose packages

This commit is contained in:
Antoine Martin 2021-07-14 19:40:35 +02:00
parent 5ac71e96cd
commit 61a57d8a96
2 changed files with 29 additions and 1 deletions

View file

@ -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; }; });
});
}