gnu: xl2tpd: Don't use NAME in source URI.
authorTobias Geerinckx-Rice <me@tobias.gr>
Tue, 23 Apr 2019 20:00:41 +0000 (22:00 +0200)
committerTobias Geerinckx-Rice <me@tobias.gr>
Tue, 23 Apr 2019 23:47:48 +0000 (01:47 +0200)
* gnu/packages/vpn.scm (xl2tpd)[source]: Hard-code NAME.

gnu/packages/vpn.scm

index b8ebeb5..0c8e8e8 100644 (file)
@@ -528,10 +528,10 @@ WireGuard support.")
               (uri (git-reference
                     (url "https://github.com/xelerance/xl2tpd")
                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1c2ahxz2zmmxwmk951d2qhijgz67zhwa1hn0r59fgz0y14w22myi"))
-              (file-name (string-append "xl2tpd-" version "-checkout"))))
+                "1c2ahxz2zmmxwmk951d2qhijgz67zhwa1hn0r59fgz0y14w22myi"))))
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags (list (string-append "DESTDIR=" %output)