mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 21:33:07 +00:00
6 lines
114 B
Bash
6 lines
114 B
Bash
|
unpackCmdHooks+=(_try7zip)
|
||
|
_try7zip() {
|
||
|
if ! [[ "$curSrc" =~ \.7z$ ]]; then return 1; fi
|
||
|
7z x "$curSrc"
|
||
|
}
|