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" ];
|
trusted-users = [ "root" ];
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
};
|
};
|
||||||
nix.registry.nixpkgs.flake = inputs.nixpkgs;
|
nix.registry = {
|
||||||
|
hd.flake = inputs.self;
|
||||||
|
nixpkgs.flake = inputs.nixpkgs;
|
||||||
|
};
|
||||||
nixpkgs.config.allowUnfree = false;
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
14
flake.nix
14
flake.nix
|
|
@ -132,12 +132,14 @@
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
devShells.default = pkgs.mkShell {
|
devShells = import ./devshells { inherit pkgs; } // {
|
||||||
buildInputs = [
|
default = pkgs.mkShell {
|
||||||
colmena.packages.${system}.colmena
|
buildInputs = [
|
||||||
agenix.packages.${system}.default
|
colmena.packages.${system}.colmena
|
||||||
pkgs.openssl
|
agenix.packages.${system}.default
|
||||||
];
|
pkgs.openssl
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
formatter = pkgs.nixfmt-tree;
|
formatter = pkgs.nixfmt-tree;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue