1
0
Fork 0
myflake/flake.nix

21 lines
484 B
Nix
Raw Normal View History

2024-04-11 17:15:11 +02:00
{
description = "Standard packages";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
2024-04-12 15:37:11 +02:00
{
lib = import ./lib { inherit (nixpkgs) lib; };
} // flake-utils.lib.eachDefaultSystem (system:
2024-04-11 17:15:11 +02:00
let
pkgs = import nixpkgs { inherit system; };
in
{
packages = import ./pkgs {
inherit pkgs;
};
});
}