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.
This commit is contained in:
@@ -61,7 +61,7 @@ let
|
||||
nix
|
||||
]
|
||||
}
|
||||
sources_file=${__curPos.file}
|
||||
sources_file=./pkgs/applications/emulators/wine/sources.nix
|
||||
source ${./update-lib.sh}
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user