Add devenv registry

This commit is contained in:
outfoxxed 2023-06-23 00:43:29 -07:00
parent ade4371c44
commit e96641729d
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 145 additions and 0 deletions

View 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)
];
}