Add devenv registry
This commit is contained in:
parent
ade4371c44
commit
e96641729d
5 changed files with 145 additions and 0 deletions
11
modules/devenv/default.nix
Normal file
11
modules/devenv/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
outerInputs @ { inputs, system, pkgs, ... }: {
|
||||
nix.registry.devenv.flake.outPath = pkgs.runCommand "devenvs" {} ''
|
||||
mkdir $out
|
||||
cp -r ${./.}/* $out
|
||||
cp ${inputs.self}/flake.lock $out/flake.lock
|
||||
'';
|
||||
|
||||
system.extraDependencies = [
|
||||
(import ./rust.nix outerInputs)
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue