refactor(flake.nix): Clean up last references to a gobal pkgs
This commit is contained in:
parent
8757f2ad22
commit
1cf721170b
1 changed files with 2 additions and 3 deletions
|
@ -37,7 +37,6 @@
|
|||
}@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
||||
vm = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
|
@ -100,7 +99,7 @@
|
|||
packages.${system} = {
|
||||
default = vm.config.system.build.vm;
|
||||
}
|
||||
// import ./pkgs { inherit pkgs; };
|
||||
// import ./pkgs { pkgs = nixpkgs.legacyPackages.${system}; };
|
||||
|
||||
###################
|
||||
# Utility scripts #
|
||||
|
@ -111,7 +110,7 @@
|
|||
run-vm = {
|
||||
type = "app";
|
||||
program =
|
||||
(pkgs.writeShellScript "" ''
|
||||
(nixpkgs.legacyPackages.${system}.writeShellScript "" ''
|
||||
${vm.config.system.build.vm.outPath}/bin/run-testvm-vm
|
||||
'').outPath;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue