1
0
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:
Colin 2024-02-14 23:39:18 +00:00
parent 226425bbef
commit 8ac4869f10

View File

@ -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}";
};
}