mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-22 00:18:07 +01:00
nongnu: chrome: Avoid manually unpacking .deb file.
* nongnu/packages/chrome.scm (make-google-chrome)[phases] Drop 'unpack-deb phase; [native-inputs]: drop tar. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
parent
00e0b5f319
commit
a33d57ee74
1 changed files with 0 additions and 11 deletions
|
@ -72,16 +72,6 @@
|
|||
("usr/share/" "/share"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'unpack-deb
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(invoke "ar" "x" #$source)
|
||||
(invoke "rm" "-v" "control.tar.xz"
|
||||
"debian-binary"
|
||||
(string-append "google-chrome-" #$repo "_"
|
||||
#$version
|
||||
"-1_amd64.deb"))
|
||||
(invoke "tar" "xf" "data.tar.xz")
|
||||
(invoke "rm" "-vrf" "data.tar.xz" "etc")))
|
||||
(add-before 'install 'patch-assets
|
||||
;; Many thanks to
|
||||
;; https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/browsers/google-chrome/default.nix
|
||||
|
@ -128,7 +118,6 @@
|
|||
(symlink chrome-target exe)
|
||||
(wrap-program exe
|
||||
'("CHROME_WRAPPER" = (#$appname)))))))))
|
||||
(native-inputs (list tar))
|
||||
(inputs
|
||||
(list bzip2
|
||||
curl
|
||||
|
|
Loading…
Reference in a new issue