add devshells
This commit is contained in:
parent
2fce8c3c13
commit
2bb2a97377
3 changed files with 18 additions and 7 deletions
|
|
@ -13,6 +13,9 @@
|
|||
trusted-users = [ "root" ];
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
nix.registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
nix.registry = {
|
||||
hd.flake = inputs.self;
|
||||
nixpkgs.flake = inputs.nixpkgs;
|
||||
};
|
||||
nixpkgs.config.allowUnfree = false;
|
||||
}
|
||||
|
|
|
|||
6
devshells/default.nix
Normal file
6
devshells/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ pkgs }:
|
||||
{
|
||||
agda = pkgs.mkShell {
|
||||
buildINputs = with pkgs; [ agda ];
|
||||
};
|
||||
}
|
||||
|
|
@ -132,13 +132,15 @@
|
|||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
devShells = import ./devshells { inherit pkgs; } // {
|
||||
default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
colmena.packages.${system}.colmena
|
||||
agenix.packages.${system}.default
|
||||
pkgs.openssl
|
||||
];
|
||||
};
|
||||
};
|
||||
formatter = pkgs.nixfmt-tree;
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue