1
0
Fork 0
myflake/flake.nix

25 lines
576 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;
};
2024-04-12 18:27:02 +02:00
devShells = {
default = import ./shell.nix { inherit pkgs; };
};
2024-04-11 17:15:11 +02:00
});
}