nix-bundle/nix-user-chroot.nix
Matthew Bauer 97dd6220f8 Pull sources into repo.
nix-user-chroot now uses local version instead of lethalman's
2016-06-15 16:23:19 +00:00

11 lines
248 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
name = "nix-user-chroot";
buildCommand = ''
cp ${./nix-user-chroot.c} nix-user-chroot.c
mkdir -p $out/bin/
cc nix-user-chroot.c -o $out/bin/nix-user-chroot
'';
}