bug#41527: ‘file-append’ expansion is incorrect when passed a store item

2020-05-26 Thread Ludovic Courtès
Ludovic Courtès skribis: > Since commit d03001a31a6d460b712825640dba11e3f1a53a14, an object like: > > (file-append (local-file …) "/foo/bar") > > where (local-file …) is lowered to a store item, say, > /gnu/store/…-example, would wrongfully expand to: > > /gnu/store/…-example > > IOW, the sec

bug#41527: ‘file-append’ expansion is incorrect when passed a store item

2020-05-25 Thread Ludovic Courtès
Since commit d03001a31a6d460b712825640dba11e3f1a53a14, an object like: (file-append (local-file …) "/foo/bar") where (local-file …) is lowered to a store item, say, /gnu/store/…-example, would wrongfully expand to: /gnu/store/…-example IOW, the second argument to ‘file-append’ is ignored.