1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-28 10:37:44 +00:00

feat: libiconv on darwin

This commit is contained in:
RGBCube 2025-04-03 20:59:16 +03:00
parent aa3e042283
commit e2c62cf970
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -1,7 +1,15 @@
{ lib, pkgs, ... }: let
inherit (lib) attrValues;
{ config, lib, pkgs, ... }: let
inherit (lib) attrValues makeLibraryPath mkIf;
in {
environment.variables.CARGO_NET_GIT_FETCH_WITH_CLI = "true";
environment.variables = {
CARGO_NET_GIT_FETCH_WITH_CLI = "true";
LIBRARY_PATH = mkIf config.isDarwin <| makeLibraryPath <| attrValues {
inherit (pkgs)
libiconv
;
};
};
environment.systemPackages = attrValues {
inherit (pkgs)