forked from colin/nix-files
gpodder-adaptive: fix meta.position and thereby fix NUR eval
idk why it broke. seems that attrset members (passthru.*) don't preserve their position anymore
This commit is contained in:
parent
226425bbef
commit
8ac4869f10
@ -45,7 +45,7 @@ in self // {
|
||||
# of the right file. meta.position gets overwritten if set in overrideAttrs, hence this
|
||||
# manual `//` hack
|
||||
position = let
|
||||
pos = builtins.unsafeGetAttrPos "updateScript" self.passthru;
|
||||
pos = builtins.unsafeGetAttrPos "src" self;
|
||||
in "${pos.file}:${builtins.toString pos.line}";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user