diff options
author | Artturin | 2024-09-12 00:52:44 +0300 |
---|---|---|
committer | GitHub | 2024-09-12 00:52:44 +0300 |
commit | ed0fe13cc637546cad8c3ee903a23459b59f5080 (patch) | |
tree | f7b677dd543fd0fc207886660f5d3cc3c6e7c8af /pkgs/by-name | |
parent | 5d60e7bd26404f6d88ac35d94448b546b8fe80a7 (diff) | |
parent | 5fc29fc1bb21443842fa5397a03c409c678db0b0 (diff) |
libgrapheme: fix cross compilation (#339568)
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/li/libgrapheme/package.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/by-name/li/libgrapheme/package.nix b/pkgs/by-name/li/libgrapheme/package.nix index 1aaed5f1a604..44883d17d0c6 100644 --- a/pkgs/by-name/li/libgrapheme/package.nix +++ b/pkgs/by-name/li/libgrapheme/package.nix @@ -9,6 +9,11 @@ stdenv.mkDerivation rec { hash = "sha256-pou93edr1Vul1kEWzl5CoT3wRcgcCFLemrYIlqoUMSU="; }; + postPatch = '' + substituteInPlace configure \ + --replace-fail "uname" "echo ${stdenv.hostPlatform.uname.system}" + ''; + depsBuildBuild = [ buildPackages.stdenv.cc ]; makeFlags = [ "AR:=$(AR)" "CC:=$(CC)" "RANLIB:=$(RANLIB)" "BUILD_CC=$(CC_FOR_BUILD)" ]; |