1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00
nixpkgs/pkgs/tools/system/suid-chroot/default.nix
Tobias Geerinckx-Rice 0f84673f3d
Remove nckx as a maintainer for all packages
Goodbye, and thanks for all the Nix...
2018-01-16 23:00:49 +01:00

23 lines
551 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "suid-chroot-${version}";
version = "1.0.2";
src = fetchurl {
sha256 = "1a9xqhck0ikn8kfjk338h9v1yjn113gd83q0c50k78xa68xrnxjx";
url = "http://myweb.tiscali.co.uk/scottrix/linux/download/${name}.tar.bz2";
};
postPatch = ''
substituteInPlace Makefile --replace /usr $out
sed -i -e '/chmod u+s/d' Makefile
'';
meta = with stdenv.lib; {
description = "Setuid-safe wrapper for chroot";
license = licenses.gpl2Plus;
platforms = with platforms; unix;
};
}