Fixed bug where some nur-combined packages couldn't build

I don't know why, but for some reason nix already parses the relative
file as a path while still concatenating it with strings. I made sure
that nix instead concatednates the strings with right-to-left
precedence, so that the "/" is included

see also https://logs.nix.samueldr.com/nixos/2020-10-21#4134149;
This commit is contained in:
Erik Oosting 2020-10-21 17:04:40 +02:00
parent b5726c182e
commit 1daa124072

View file

@ -18,7 +18,7 @@ let
createRepo = name: attr: import ./lib/evalRepo.nix {
inherit name pkgs lib;
inherit (attr) url;
src = repoSource name attr + "/" + (attr.file or "");
src = repoSource name attr + ("/" + (attr.file or ""));
};
in {