From ec813775ca01f14ae47ce620ee24a0140f56d036 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Mon, 16 Feb 2026 12:35:40 -0800 Subject: [PATCH] wine: hardcode sources_file path in update script Replace `__curPos.file` with a hardcoded path. The update script already assumes it runs from the nixpkgs root (via `import ./. {}`), so the path is stable. --- pkgs/applications/emulators/wine/sources.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/emulators/wine/sources.nix b/pkgs/applications/emulators/wine/sources.nix index 698b386300db..ad87839f6fe5 100644 --- a/pkgs/applications/emulators/wine/sources.nix +++ b/pkgs/applications/emulators/wine/sources.nix @@ -61,7 +61,7 @@ let nix ] } - sources_file=${__curPos.file} + sources_file=./pkgs/applications/emulators/wine/sources.nix source ${./update-lib.sh} '';