mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-21 06:18:41 -06:00
Only use mold linker on linux
This commit is contained in:
parent
0433653ac0
commit
5ebe166002
|
@ -21,7 +21,10 @@
|
|||
...
|
||||
}: yafas.allSystems nixpkgs ({ pkgs, system }: {
|
||||
devShells.default = pkgs.mkShell.override {
|
||||
stdenv = pkgs.stdenvAdapters.useMoldLinker pkgs.clangStdenv;
|
||||
stdenv = if pkgs.stdenv.isLinux then
|
||||
pkgs.stdenvAdapters.useMoldLinker pkgs.clangStdenv
|
||||
else
|
||||
pkgs.clangStdenv;
|
||||
} rec {
|
||||
packages = with pkgs; [
|
||||
(fenix.packages.${system}.complete.withComponents [
|
||||
|
|
Loading…
Reference in a new issue