added additional systems to flake
This commit is contained in:
20
flake.nix
20
flake.nix
@@ -5,11 +5,21 @@
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
};
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
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=";
|
||||
};
|
||||
|
||||
# Skip rebuilding native modules since they're not needed for the web app
|
||||
npmInstallFlags = [
|
||||
"--ignore-scripts"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user