mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 21:42:35 +03:00
6 lines
122 B
Bash
6 lines
122 B
Bash
|
addHook unpackCmd _tryUnzip
|
||
|
_tryUnzip() {
|
||
|
if ! [[ "foo.zip" =~ \.zip$ ]]; then return 1; fi
|
||
|
unzip -qq "$curSrc"
|
||
|
}
|