From 196b123511ae4abb10b682ce0a435452b9f8f3d5 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 3 Jan 2022 21:19:01 -0800 Subject: [PATCH] subsurface: make build src name independent (cherry picked from commit 133158ffdea12c9927909b851463541c91411557) --- pkgs/applications/misc/subsurface/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/subsurface/default.nix b/pkgs/applications/misc/subsurface/default.nix index ba3880aa201..02bf65761f0 100644 --- a/pkgs/applications/misc/subsurface/default.nix +++ b/pkgs/applications/misc/subsurface/default.nix @@ -20,7 +20,8 @@ let inherit version; src = subsurfaceSrc; - sourceRoot = "source/libdivecomputer"; + + prePatch = "cd libdivecomputer"; nativeBuildInputs = [ autoreconfHook ];