From dde9c099e9dacda65623ef8d08d9490068f4927c Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Thu, 19 Apr 2018 13:10:34 -0500 Subject: procps-ng: switch URL style to (hopefully) fix problems with hash See: https://github.com/NixOS/nixpkgs/issues/39154 Not sure why we're seeing that behavior re:fetchFromGitLab, but for now use a likely-to-be-stable URL instead. Fixes #39154. (although the issue warrants some additional investigation IMO) --- pkgs/os-specific/linux/procps-ng/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'pkgs/os-specific/linux/procps-ng') diff --git a/pkgs/os-specific/linux/procps-ng/default.nix b/pkgs/os-specific/linux/procps-ng/default.nix index 617bbd2d64f..d164af63315 100644 --- a/pkgs/os-specific/linux/procps-ng/default.nix +++ b/pkgs/os-specific/linux/procps-ng/default.nix @@ -1,14 +1,12 @@ -{ lib, stdenv, fetchFromGitLab, ncurses, libtool, gettext, autoconf, automake, pkgconfig }: +{ lib, stdenv, fetchurl, ncurses, libtool, gettext, autoconf, automake, pkgconfig }: stdenv.mkDerivation rec { name = "procps-${version}"; version = "3.3.14"; - src = fetchFromGitLab { - owner ="procps-ng"; - repo = "procps"; - rev = "v${version}"; - sha256 = "0l2xfm3vr8qpzvdnkcvmfj1rdw6lxx840zw9vp0z9f008y5fc31g"; + src = fetchurl { + url = "https://gitlab.com/procps-ng/procps/-/archive/v${version}/procps-v${version}.tar.bz2"; + sha256 = "0igvsl3s7m5ygxgypzksk4cp2wkvv3lk49s7i9m5wbimyakmr0vf"; }; buildInputs = [ ncurses ]; -- cgit 1.4.1