summary refs log tree commit diff
path: root/pkgs/applications/graphics/screencloud
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/screencloud')
-rw-r--r--pkgs/applications/graphics/screencloud/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/screencloud/default.nix b/pkgs/applications/graphics/screencloud/default.nix
index 6f2b0e34cbb3..cffe485711f6 100644
--- a/pkgs/applications/graphics/screencloud/default.nix
+++ b/pkgs/applications/graphics/screencloud/default.nix
@@ -43,7 +43,9 @@ stdenv.mkDerivation rec {
     "-DCONSUMER_SECRET_SCREENCLOUD=${consumerSecret}"
   ];
 
-  sourceRoot = "screencloud-v${version}-src/screencloud";
+  setSourceRoot = ''
+    sourceRoot=$(echo */screencloud)
+  '';
 
   preConfigure = ''
     # This needs to be set in preConfigure instead of cmakeFlags in order to