blob: 62f7280a54ae62fb0a510ba288e39914089371d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ stdenv, fetchurl }:
let version = "1.0.2"; in
stdenv.mkDerivation rec {
name = "suid-chroot-${version}";
src = fetchurl {
sha256 = "1a9xqhck0ikn8kfjk338h9v1yjn113gd83q0c50k78xa68xrnxjx";
url = "http://myweb.tiscali.co.uk/scottrix/linux/download/${name}.tar.bz2";
};
postPatch = ''
substituteInPlace Makefile --replace /usr $out
'';
meta = with stdenv.lib; {
inherit version;
description = "Setuid-safe wrapper for chroot";
license = with licenses; gpl2Plus;
maintainers = with maintainers; [ nckx ];
};
}
|