gnu: emacs-nix-mode: Don't use unstable tarball.

* gnu/packages/emacs-xyz.scm (emacs-nix-mode)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:42:55 +02:00
parent 8e65ada235
commit 81a9ab87fc
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 6 deletions

View File

@ -13500,13 +13500,13 @@ to open SQLite databases.")
(version "1.2.2") (version "1.2.2")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/NixOS/nix-mode/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/NixOS/nix-mode.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "1vz3s2jx14nzy53f04d821n4f2s22ys5h9s7af6cnpynkwawyhhq"))))
"06aqz0czznsj8835jqnk794sy2p6pa8kxfqwh0nl5d5vxivria6z"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(inputs (inputs
`(("emacs-company" ,emacs-company) `(("emacs-company" ,emacs-company)