added additional systems to flake
This commit is contained in:
20
flake.nix
20
flake.nix
@@ -5,11 +5,21 @@
|
|||||||
|
|
||||||
outputs = { self, nixpkgs }:
|
outputs = { self, nixpkgs }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
systems = [
|
||||||
pkgs = import nixpkgs {
|
"x86_64-linux"
|
||||||
inherit system;
|
"aarch64-linux"
|
||||||
};
|
"aarch64-darwin"
|
||||||
|
];
|
||||||
in {
|
in {
|
||||||
packages.${system}.sable = pkgs.callPackage ./pkgs/sable.nix {};
|
packages = nixpkgs.lib.genAttrs systems (
|
||||||
|
system:
|
||||||
|
let
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
sable = pkgs.callPackage ./pkgs/sable.nix {};
|
||||||
|
}
|
||||||
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ in {
|
|||||||
hash = "sha256-2GwUz0jsuVKQZyeidM0F4rDzijm9AFcAxN7x/m/b3Is=";
|
hash = "sha256-2GwUz0jsuVKQZyeidM0F4rDzijm9AFcAxN7x/m/b3Is=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Skip rebuilding native modules since they're not needed for the web app
|
|
||||||
npmInstallFlags = [
|
npmInstallFlags = [
|
||||||
"--ignore-scripts"
|
"--ignore-scripts"
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user