From 1daa12407269eb49a8294d1ac23fa1fb6da7c984 Mon Sep 17 00:00:00 2001 From: Erik Oosting Date: Wed, 21 Oct 2020 17:04:40 +0200 Subject: [PATCH] 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; --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index dc22f02ca..0aa82997c 100644 --- a/default.nix +++ b/default.nix @@ -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 {