summary refs log tree commit diff
path: root/pkgs/os-specific/linux/ldm
diff options
context:
space:
mode:
authorMoritz Ulrich <moritz@tarn-vedra.de>2014-08-12 13:52:48 +0200
committerMoritz Ulrich <moritz@tarn-vedra.de>2014-08-12 13:52:48 +0200
commita163d484fc90d46197bdb52d0cbc3b384e0e7c43 (patch)
tree92962383a01bfcacd514cf74defd45908a11fe5d /pkgs/os-specific/linux/ldm
parente3bf7253b0647f30f9bea21854b26f6a09d60422 (diff)
downloadnixlib-a163d484fc90d46197bdb52d0cbc3b384e0e7c43.tar
nixlib-a163d484fc90d46197bdb52d0cbc3b384e0e7c43.tar.gz
nixlib-a163d484fc90d46197bdb52d0cbc3b384e0e7c43.tar.bz2
nixlib-a163d484fc90d46197bdb52d0cbc3b384e0e7c43.tar.lz
nixlib-a163d484fc90d46197bdb52d0cbc3b384e0e7c43.tar.xz
nixlib-a163d484fc90d46197bdb52d0cbc3b384e0e7c43.tar.zst
nixlib-a163d484fc90d46197bdb52d0cbc3b384e0e7c43.zip
ldm: Bump to 0.5.
We don't build docs because it would pull in git and perl as deps.
Diffstat (limited to 'pkgs/os-specific/linux/ldm')
-rw-r--r--pkgs/os-specific/linux/ldm/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/ldm/default.nix b/pkgs/os-specific/linux/ldm/default.nix
index a4d9e5a866df..c5e94ed81e9a 100644
--- a/pkgs/os-specific/linux/ldm/default.nix
+++ b/pkgs/os-specific/linux/ldm/default.nix
@@ -3,7 +3,7 @@
 assert mountPath != "";
 
 let
-  version = "v0.4.2";
+  version = "0.5";
   git = https://github.com/LemonBoy/ldm.git;
 in
 stdenv.mkDerivation rec {
@@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
   # contains important fixes for LVM setups.
   src = fetchgit {
     url = meta.repositories.git;
-    rev = "refs/tags/${version}";
-    sha256 = "1fdm3l00csjyvz40py6wlsh8s441rbp4az3sc2i14ag7srh2yim8";
+    rev = "refs/tags/v${version}";
+    sha256 = "0kkby3a0xgh1lmkbzpsi4am2rqjv3ccgdpic99aw1c76y0ca837y";
   };
 
   buildInputs = [ udev utillinux ];
@@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
       --replace "/mnt/" "${mountPath}"
   '';
 
+  buildPhase = "make ldm";
+
   installPhase = ''
     mkdir -p $out/bin
     cp -v ldm $out/bin