mirror of
https://github.com/RGBCube/superfreq
synced 2025-07-27 17:07:44 +00:00
flake: pkgsForEach: replace legacyPackages with manual import
This commit is contained in:
parent
55e04ea09e
commit
6b1af5cbab
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,10 @@
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
forAllSystems = nixpkgs.lib.genAttrs ["x86_64-linux" "aarch64-linux"];
|
forAllSystems = nixpkgs.lib.genAttrs ["x86_64-linux" "aarch64-linux"];
|
||||||
pkgsForEach = nixpkgs.legacyPackages;
|
pkgsForEach = forAllSystems (system:
|
||||||
|
import nixpkgs {
|
||||||
|
localSystem.system = system;
|
||||||
|
});
|
||||||
in {
|
in {
|
||||||
packages = forAllSystems (system: {
|
packages = forAllSystems (system: {
|
||||||
superfreq = pkgsForEach.${system}.callPackage ./nix/package.nix {};
|
superfreq = pkgsForEach.${system}.callPackage ./nix/package.nix {};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue