Browse Source

flake.nix: Support more systems

wip-nanopi-m4v2
Eelco Dolstra 7 years ago
parent
commit
7ff2e743e8
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      flake.nix

+ 8
- 1
flake.nix View File

@@ -5,10 +5,17 @@

outputs = { self }:
let

jobs = import ./pkgs/top-level/release.nix {
nixpkgs = self;
};

lib = import ./lib;

systems = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ];

forAllSystems = f: lib.genAttrs systems (system: f system);

in
{
lib = lib // {
@@ -32,7 +39,7 @@
}).nixos.manual.x86_64-linux;
};

legacyPackages = import ./. { system = "x86_64-linux"; };
legacyPackages = forAllSystems (system: import ./. { inherit system; });

nixosModules = {
notDetected = ./nixos/modules/installer/scan/not-detected.nix;


Loading…
Cancel
Save