diff options
author | volth <volth@volth.com> | 2018-02-27 14:43:44 +0000 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2018-03-13 09:54:51 +0100 |
commit | b20fe4a99d3315850b0546d44f2d21036c56c035 (patch) | |
tree | 6b1e8788b71b9f5a1bea9c5e976145d7e33322ca /pkgs/applications | |
parent | cedfe316480acb9a1b39f6c752a0e3efe34efe1e (diff) | |
download | nixlib-b20fe4a99d3315850b0546d44f2d21036c56c035.tar nixlib-b20fe4a99d3315850b0546d44f2d21036c56c035.tar.gz nixlib-b20fe4a99d3315850b0546d44f2d21036c56c035.tar.bz2 nixlib-b20fe4a99d3315850b0546d44f2d21036c56c035.tar.lz nixlib-b20fe4a99d3315850b0546d44f2d21036c56c035.tar.xz nixlib-b20fe4a99d3315850b0546d44f2d21036c56c035.tar.zst nixlib-b20fe4a99d3315850b0546d44f2d21036c56c035.zip |
frostwire: a stricter regex, just in case
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/p2p/frostwire/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/p2p/frostwire/default.nix b/pkgs/applications/networking/p2p/frostwire/default.nix index 475b9b6f2f8b..727999414020 100644 --- a/pkgs/applications/networking/p2p/frostwire/default.nix +++ b/pkgs/applications/networking/p2p/frostwire/default.nix @@ -35,7 +35,7 @@ let # perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar) installPhase = '' find $GRADLE_USER_HOME -type f -regex '.*\.\(jar\|pom\)' \ - | perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \ + | perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \ | sh ''; outputHashAlgo = "sha256"; |