1
Fork 0

generate packages, not a devshell

This commit is contained in:
Jan-Erik Rediger 2024-06-02 00:42:42 +02:00
parent 2a08a59e8c
commit 7c95e59ca4

View file

@ -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;
});
};
}