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:
parent
aa3e042283
commit
e2c62cf970
1 changed files with 11 additions and 3 deletions
|
@ -1,7 +1,15 @@
|
||||||
{ lib, pkgs, ... }: let
|
{ config, lib, pkgs, ... }: let
|
||||||
inherit (lib) attrValues;
|
inherit (lib) attrValues makeLibraryPath mkIf;
|
||||||
in {
|
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 {
|
environment.systemPackages = attrValues {
|
||||||
inherit (pkgs)
|
inherit (pkgs)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue