refactor(flake.nix): Clean up last references to a gobal pkgs

This commit is contained in:
Tristan Daniël Maat 2025-09-29 13:08:31 +08:00
parent 8757f2ad22
commit 1cf721170b
Signed by: tlater
GPG key ID: 49670FD774E43268

View file

@ -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;
};