mirror of
https://github.com/numtide/flake-utils.git
synced 2024-09-11 20:17:13 +03:00
Sanitize the final derivation name to ensure length limits are respected (#66)
This commit is contained in:
parent
12806d31a3
commit
04b4d989fd
@ -29,7 +29,8 @@ let
|
||||
str = it: if it == null then "null" else (sanitizeDerivationName it);
|
||||
|
||||
test = name: command: derivation {
|
||||
inherit name system;
|
||||
inherit system;
|
||||
name = str name;
|
||||
builder = "/bin/sh";
|
||||
args = [ "-c" command ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user