generate packages, not a devshell
This commit is contained in:
parent
2a08a59e8c
commit
7c95e59ca4
16
flake.nix
16
flake.nix
|
@ -28,7 +28,7 @@
|
|||
linuxSystems = [ "x86_64-linux" "aarch64-linux" ];
|
||||
in
|
||||
{
|
||||
devShells = nixpkgs.lib.genAttrs darwinSystems (system:
|
||||
packages = nixpkgs.lib.genAttrs darwinSystems (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
hare-as = pkgs.callPackage ./pkgs/darwin/hare-as.nix { };
|
||||
|
@ -38,12 +38,7 @@
|
|||
hare = pkgs.callPackage ./pkgs/darwin/hare.nix { inherit hare-src harec hare-as hare-cc hare-ld; };
|
||||
in
|
||||
{
|
||||
default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
harec
|
||||
hare
|
||||
];
|
||||
};
|
||||
inherit hare harec;
|
||||
}) //
|
||||
nixpkgs.lib.genAttrs linuxSystems (system:
|
||||
let
|
||||
|
@ -52,12 +47,7 @@
|
|||
hare = pkgs.callPackage ./pkgs/linux/hare.nix { inherit harec; hare-src = linux-hare-src; };
|
||||
in
|
||||
{
|
||||
default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
harec
|
||||
hare
|
||||
];
|
||||
};
|
||||
inherit hare harec;
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue