mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
mir: hardcode update script file path
Replace `__curPos.file` computation with a hardcoded path. The update script already runs from the nixpkgs root, so the path is stable.
This commit is contained in:
parent
ec813775ca
commit
4799c4d297
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ stdenv.mkDerivation (
|
|||
# Have to double-wrap it...
|
||||
installPhase = oa.installPhase + ''
|
||||
wrapProgram $out/bin/update-source-version \
|
||||
--add-flag '--file=${lib.strings.removeSuffix "/common.nix" __curPos.file}/default.nix'
|
||||
--add-flag '--file=pkgs/servers/mir/default.nix'
|
||||
'';
|
||||
});
|
||||
in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue