about summary refs log tree commit diff
path: root/pkgs/os-specific/darwin
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2023-08-05 07:41:05 +0200
committerVladimír Čunát <v@cunat.cz>2023-08-05 07:45:29 +0200
commitd5732d9669d204bc25a8996e30b590a5372cce01 (patch)
tree5a09189ee394a2845ce402ad4664cd0251ce025c /pkgs/os-specific/darwin
parent09f5e7d840154e63b710ece7c66a4d4a130b14d3 (diff)
parent3a5c176f95287b57f0463cf7f8bcecea37191dec (diff)
Merge branch 'staging-next' into staging
Diffstat (limited to 'pkgs/os-specific/darwin')
-rw-r--r--pkgs/os-specific/darwin/libtapi/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/os-specific/darwin/libtapi/default.nix b/pkgs/os-specific/darwin/libtapi/default.nix
index 79c159e0635c9..5a72225eec30c 100644
--- a/pkgs/os-specific/darwin/libtapi/default.nix
+++ b/pkgs/os-specific/darwin/libtapi/default.nix
@@ -1,6 +1,6 @@
 { lib, stdenv, fetchFromGitHub, pkgsBuildBuild, cmake, python3, ncurses }:
 
-stdenv.mkDerivation {
+stdenv.mkDerivation (finalAttrs: {
   pname = "libtapi";
   version = "1100.0.11"; # determined by looking at VERSION.txt
 
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
     sha256 = "1y1yl46msabfy14z0rln333a06087bk14f5h7q1cdawn8nmvbdbr";
   };
 
-  sourceRoot = "source/src/llvm";
+  sourceRoot = "${finalAttrs.src.name}/src/llvm";
 
   # Backported from newer llvm, fixes configure error when cross compiling.
   # Also means we don't have to manually fix the result with install_name_tool.
@@ -74,4 +74,4 @@ stdenv.mkDerivation {
     license = licenses.ncsa;
     maintainers = with maintainers; [ matthewbauer ];
   };
-}
+})