mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-13 21:56:29 +01:00
make-initrd: drop unused toValidStoreName local (#482823)
This commit is contained in:
commit
2b0c61762b
1 changed files with 0 additions and 6 deletions
|
|
@ -81,12 +81,6 @@ in
|
|||
_compressorMeta.ubootName
|
||||
or (throw "Unrecognised compressor ${_compressorName}, please specify uInitrdCompression"),
|
||||
}:
|
||||
let
|
||||
# !!! Move this into a public lib function, it is probably useful for others
|
||||
toValidStoreName =
|
||||
x: with builtins; lib.concatStringsSep "-" (filter (x: !(isList x)) (split "[^a-zA-Z0-9_=.?-]+" x));
|
||||
|
||||
in
|
||||
stdenvNoCC.mkDerivation (
|
||||
rec {
|
||||
inherit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue