Misc fixes

This commit is contained in:
Geoffrey Frogeye 2024-05-08 13:24:03 +02:00
parent c770380328
commit cc46352873
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 2 additions and 3 deletions

View file

@ -118,7 +118,7 @@
repl = { repl = {
type = "app"; type = "app";
program = "${pkgs.writeShellScript "vivarium-repl" '' program = "${pkgs.writeShellScript "vivarium-repl" ''
${pkgs.nix}/bin/nix repl --expr 'let flake = builtins.getFlake "${self}"; in flake // flake.nixosConfigurations // rec { pkgs = flake.inputs.nixpkgs.legacyPackages.${system}; lib = pkgs.lib; }' ${pkgs.nix}/bin/nix repl --expr 'let flake = builtins.getFlake "${self}"; in flake // flake.nixosConfigurations // rec { pkgs = import ${nixpkgs} {}; lib = pkgs.lib; }'
''}"; ''}";
}; };
}; };

View file

@ -47,8 +47,7 @@ def process_flake(flake: str) -> None:
"--extra-experimental-features", "--extra-experimental-features",
"flakes", "flakes",
"flake", "flake",
"lock", "update",
"--update-input",
dep_name, dep_name,
] ]
p = subprocess.run(cmd, cwd=dir) p = subprocess.run(cmd, cwd=dir)