Misc fixes
This commit is contained in:
parent
c770380328
commit
cc46352873
|
@ -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; }'
|
||||||
''}";
|
''}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue