summary refs log tree commit diff
path: root/pkgs/applications/graphics/nomacs
diff options
context:
space:
mode:
authorPiotr Bogdan <ppbogdan@gmail.com>2017-11-02 12:54:20 +0000
committerPiotr Bogdan <ppbogdan@gmail.com>2017-11-02 13:53:36 +0000
commit8904ce343a67071dd080260d356fea556de7d0f2 (patch)
tree2ebffc24e1d4f6ea56477b5f6acc82b442a1b266 /pkgs/applications/graphics/nomacs
parent7f921735e76076196a93fa55c234a6f1d01534a9 (diff)
downloadnixpkgs-8904ce343a67071dd080260d356fea556de7d0f2.tar
nixpkgs-8904ce343a67071dd080260d356fea556de7d0f2.tar.gz
nixpkgs-8904ce343a67071dd080260d356fea556de7d0f2.tar.bz2
nixpkgs-8904ce343a67071dd080260d356fea556de7d0f2.tar.lz
nixpkgs-8904ce343a67071dd080260d356fea556de7d0f2.tar.xz
nixpkgs-8904ce343a67071dd080260d356fea556de7d0f2.tar.zst
nixpkgs-8904ce343a67071dd080260d356fea556de7d0f2.zip
fix source root locations.
These have changed following commit
https://github.com/NixOS/nixpkgs/commit/c3255fe8ec326d2c8fe9462d49ed83aa64d3e68f.

See also:

- https://github.com/NixOS/nixpkgs/pull/31004
- https://github.com/NixOS/nixpkgs/pull/31106
Diffstat (limited to 'pkgs/applications/graphics/nomacs')
-rw-r--r--pkgs/applications/graphics/nomacs/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/nomacs/default.nix b/pkgs/applications/graphics/nomacs/default.nix
index 669e46c6a84..ac0060ec7f8 100644
--- a/pkgs/applications/graphics/nomacs/default.nix
+++ b/pkgs/applications/graphics/nomacs/default.nix
@@ -30,7 +30,9 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
-  sourceRoot = "${name}-src/ImageLounge";
+  setSourceRoot = ''
+    sourceRoot=$(echo */ImageLounge)
+  '';
 
   patches = [./fix-appdata-install.patch];