diff --git a/flake.nix b/flake.nix index b919304..76d612f 100644 --- a/flake.nix +++ b/flake.nix @@ -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; };