flake.nix: build packages with clang

This commit is contained in:
2026-05-12 20:36:36 +09:00
parent b4b8d6bf89
commit c2ccda2598
+8 -2
View File
@@ -25,13 +25,19 @@
};
in {
default = self.packages.${system}.wamf;
wamf = pkgs.callPackage ./nix/package.nix { inherit src; };
wamf = pkgs.callPackage ./nix/package.nix {
inherit src;
stdenv = pkgs.clangStdenv;
};
wamf-freebsd-cross = let
pkgs = import nixpkgs {
localSystem = system;
crossSystem = "x86_64-freebsd";
};
in pkgs.callPackage ./nix/package.nix { inherit src; };
in pkgs.callPackage ./nix/package.nix {
inherit src;
stdenv = pkgs.clangStdenv;
};
};
};
}