nixnew/modules/devenv/default.nix
2023-06-23 00:43:29 -07:00

12 lines
286 B
Nix

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