Use the returned file name in select-derivation-by-file-name

They should be the same, but it seems more sensible to return the value from
the database.
This commit is contained in:
Christopher Baines 2019-12-26 09:34:08 +00:00
parent ff01144e87
commit b504094262

View file

@ -600,7 +600,7 @@ VALUES ($1, $2)"
#f)
(((id file_name builder args env_vars system))
(list (string->number id)
file-name
file_name
builder
(parse-postgresql-array-string args)
(map (match-lambda