diff options
Diffstat (limited to 'pkgs/development/libraries/freeimage/default.nix')
-rw-r--r-- | pkgs/development/libraries/freeimage/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/freeimage/default.nix b/pkgs/development/libraries/freeimage/default.nix index dd5056ced93fb..de1b616fc20a1 100644 --- a/pkgs/development/libraries/freeimage/default.nix +++ b/pkgs/development/libraries/freeimage/default.nix @@ -3,7 +3,7 @@ , libjpeg, jxrlib, pkg-config , fixDarwinDylibNames, autoSignDarwinBinariesHook }: -stdenv.mkDerivation { +stdenv.mkDerivation (finalAttrs: { pname = "freeimage"; version = "unstable-2021-11-01"; @@ -12,7 +12,8 @@ stdenv.mkDerivation { rev = "1900"; sha256 = "rWoNlU/BWKZBPzRb1HqU6T0sT7aK6dpqKPe88+o/4sA="; }; - sourceRoot = "svn-r1900/FreeImage/trunk"; + + sourceRoot = "${finalAttrs.src.name}/FreeImage/trunk"; # Ensure that the bundled libraries are not used at all prePatch = '' @@ -74,4 +75,4 @@ stdenv.mkDerivation { maintainers = with lib.maintainers; [viric l-as]; platforms = with lib.platforms; unix; }; -} +}) |