1
Fork 0
mirror of https://github.com/RGBCube/superfreq synced 2025-07-27 08:57:46 +00:00

flake: pkgsForEach: replace legacyPackages with manual import

This commit is contained in:
Jacob Birkett 2025-05-31 12:25:28 -07:00
parent 55e04ea09e
commit 6b1af5cbab

View file

@ -7,7 +7,10 @@
...
} @ inputs: let
forAllSystems = nixpkgs.lib.genAttrs ["x86_64-linux" "aarch64-linux"];
pkgsForEach = nixpkgs.legacyPackages;
pkgsForEach = forAllSystems (system:
import nixpkgs {
localSystem.system = system;
});
in {
packages = forAllSystems (system: {
superfreq = pkgsForEach.${system}.callPackage ./nix/package.nix {};