Skip to content

Instantly share code, notes, and snippets.

@tfc
Created December 9, 2018 19:17
Show Gist options
  • Save tfc/49b2a27f67ecdd4658b3782efd782bcd to your computer and use it in GitHub Desktop.
Save tfc/49b2a27f67ecdd4658b3782efd782bcd to your computer and use it in GitHub Desktop.
tup with ldpreload
tup = pkgs.tup.overrideAttrs (old: rec {
version = "0.7.8";
src = pkgs.fetchFromGitHub {
owner = "gittup";
repo = "tup";
rev = "v${version}";
sha256 = "07dmz712zbs5kayf98kywp7blssgh0y2gc1623jbsynmqwi77mcb";
};
TUP_SERVER = "ldpreload";
buildPhase = "./build.sh";
installPhase = ''
mkdir -p $out/bin
cp build/tup $out/bin
'';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment