lol

lib/sources.nix@commitIdFromGitRepo: parenthesize what should always have been

Fixes error: cannot coerce a partially applied built-in function to a string, at lib/sources.nix:59:32

I don't understand how this used to work, but doesn't work anymore?

obadz f242b752 2d71df18

+1 -1
+1 -1
lib/sources.nix
··· 58 58 else if lib.pathExists packedRefsName 59 59 then 60 60 let fileContent = readFile packedRefsName; 61 - matchRef = match ".*\n([^\n ]*) " + file + "\n.*" fileContent; 61 + matchRef = match (".*\n([^\n ]*) " + file + "\n.*") fileContent; 62 62 in if isNull matchRef 63 63 then throw ("Could not find " + file + " in " + packedRefsName) 64 64 else lib.head matchRef