diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2014-12-08 14:49:26 +0300 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2014-12-08 14:49:34 +0300 |
commit | 5da22f6d0c86653e0a862c021d0efc02f646c910 (patch) | |
tree | 7faa4e16914f8302da4b5053de1504848c6910a7 /pkgs/os-specific/linux/sinit | |
parent | ee8e15fe76a235ae3583d4e8cb4bb370f28c5eae (diff) | |
download | nixpkgs-5da22f6d0c86653e0a862c021d0efc02f646c910.tar nixpkgs-5da22f6d0c86653e0a862c021d0efc02f646c910.tar.gz nixpkgs-5da22f6d0c86653e0a862c021d0efc02f646c910.tar.bz2 nixpkgs-5da22f6d0c86653e0a862c021d0efc02f646c910.tar.lz nixpkgs-5da22f6d0c86653e0a862c021d0efc02f646c910.tar.xz nixpkgs-5da22f6d0c86653e0a862c021d0efc02f646c910.tar.zst nixpkgs-5da22f6d0c86653e0a862c021d0efc02f646c910.zip |
Don't trust sinit snapshots to be stable
Diffstat (limited to 'pkgs/os-specific/linux/sinit')
-rw-r--r-- | pkgs/os-specific/linux/sinit/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/sinit/default.nix b/pkgs/os-specific/linux/sinit/default.nix index 03529ea0f2e..783e5fa2063 100644 --- a/pkgs/os-specific/linux/sinit/default.nix +++ b/pkgs/os-specific/linux/sinit/default.nix @@ -1,12 +1,13 @@ -{stdenv, fetchurl, rcinit ? null, rcshutdown ? null, rcreboot ? null}: +{stdenv, fetchgit, rcinit ? null, rcshutdown ? null, rcreboot ? null}: let s = # Generated upstream information rec { baseName="sinit"; version="0.9.2"; name="${baseName}-${version}"; - url="http://git.suckless.org/sinit/snapshot/sinit-0.9.2.tar.gz"; - sha256="0dv4d20q93iffykf5gg8mlg2qfs3nmfrwdar73kg5xwka96c2523"; + url="http://git.suckless.org/sinit/"; + sha256="0nncyzwnszwlqcvx1jf42rn1n2dd5vcxkndqb1b546pgpifniivp"; + rev = "refs/tags/v${version}"; }; buildInputs = [ ]; @@ -14,8 +15,8 @@ in stdenv.mkDerivation { inherit (s) name version; inherit buildInputs; - src = fetchurl { - inherit (s) url sha256; + src = fetchgit { + inherit (s) url sha256 rev; }; makeFlags = ["PREFIX=$(out)"]; preConfigure = "" @@ -31,6 +32,5 @@ stdenv.mkDerivation { platforms = stdenv.lib.platforms.linux; homepage = "http://tools.suckless.org/sinit"; downloadPage = "http://git.suckless.org/sinit"; - updateWalker = true; }; } |