gnu: dstat: Fix bogus use of DESTDIR.
authorTobias Geerinckx-Rice <me@tobias.gr>
Fri, 16 Oct 2020 14:56:58 +0000 (16:56 +0200)
committerTobias Geerinckx-Rice <me@tobias.gr>
Fri, 16 Oct 2020 15:16:07 +0000 (17:16 +0200)
* gnu/packages/admin.scm (dstat)[arguments]: Set the standard prefix
variable.

gnu/packages/admin.scm

index 93430dc..2cfa4a0 100644 (file)
@@ -2693,9 +2693,8 @@ results (ndiff), and a packet generation and response analysis tool (nping).")
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f                      ; no make check
-       #:make-flags (let ((out (assoc-ref %outputs "out")))
-                      (list (string-append "DESTDIR=" out)
-                            "prefix=/"))
+       #:make-flags
+       (list (string-append "prefix=" (assoc-ref %outputs "out")))
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'fix-python3-DeprecationWarning