diff options
author | Ryan Burns <rtburns@protonmail.com> | 2023-06-03 12:37:17 -0700 |
---|---|---|
committer | Ryan Burns <rtburns@protonmail.com> | 2023-06-11 16:26:51 -0700 |
commit | 0ff0ba125cecf7e60246b82e021a084742f47069 (patch) | |
tree | 51e7bed167dd8eedc491cd0dfb4d5c4190c93fb7 /pkgs/development/libraries/libclc/default.nix | |
parent | f47f0a525cac079318e62fef27439f17afa18e7a (diff) | |
download | nixpkgs-0ff0ba125cecf7e60246b82e021a084742f47069.tar nixpkgs-0ff0ba125cecf7e60246b82e021a084742f47069.tar.gz nixpkgs-0ff0ba125cecf7e60246b82e021a084742f47069.tar.bz2 nixpkgs-0ff0ba125cecf7e60246b82e021a084742f47069.tar.lz nixpkgs-0ff0ba125cecf7e60246b82e021a084742f47069.tar.xz nixpkgs-0ff0ba125cecf7e60246b82e021a084742f47069.tar.zst nixpkgs-0ff0ba125cecf7e60246b82e021a084742f47069.zip |
libclc: fix .pc paths
Diffstat (limited to 'pkgs/development/libraries/libclc/default.nix')
-rw-r--r-- | pkgs/development/libraries/libclc/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libclc/default.nix b/pkgs/development/libraries/libclc/default.nix index 1db2819a57b..a0b8cb8efa0 100644 --- a/pkgs/development/libraries/libclc/default.nix +++ b/pkgs/development/libraries/libclc/default.nix @@ -14,6 +14,10 @@ stdenv.mkDerivation rec { outputs = [ "out" "dev" ]; + patches = [ + ./libclc-gnu-install-dirs.patch + ]; + # cmake expects all required binaries to be in the same place, so it will not be able to find clang without the patch postPatch = '' substituteInPlace CMakeLists.txt \ @@ -35,9 +39,6 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ninja python3 ]; buildInputs = [ llvm_14 ]; strictDeps = true; - cmakeFlags = [ - "-DCMAKE_INSTALL_INCLUDEDIR=include" - ]; postInstall = '' install -Dt $dev/bin prepare_builtins |