Move devenvs into main flake

This commit is contained in:
outfoxxed 2023-07-26 22:27:13 -07:00
parent c7e763a0e7
commit e8d8c1c788
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 15 additions and 68 deletions

View file

@ -1,9 +1,5 @@
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
'';
outerInputs @ { self, inputs, system, pkgs, ... }: {
nix.registry.system.flake = self;
system.extraDependencies = [
(import ./rust.nix outerInputs)