Set up nix shell, aniseed
This commit is contained in:
parent
6db31714b5
commit
1f6f0c40e8
7 changed files with 139 additions and 0 deletions
30
flake.nix
Normal file
30
flake.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
description = "Setup aniseed";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
...
|
||||
}:
|
||||
flake-utils.lib.eachSystem ["x86_64-linux"] (system: let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
# config.allowBroken = true;
|
||||
};
|
||||
aniseed = pkgs.callPackage ./nix/aniseed.nix {};
|
||||
in {
|
||||
devShell = import ./nix/shell.nix {
|
||||
inherit pkgs;
|
||||
};
|
||||
defaultPackage = aniseed;
|
||||
packages = flake-utils.lib.flattenTree {
|
||||
inherit aniseed;
|
||||
};
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue