1 { stdenvNoCC, lib, fetchFromGitHub, fuse-overlayfs, util-linux, makeWrapper }:
2 stdenvNoCC.mkDerivation rec {
5 src = fetchFromGitHub {
9 hash = "sha256-2EDRVwW4XzQhd7rAM2rDuR94Fkaq4pH5RTooFEBBh5g=";
11 nativeBuildInputs = [ makeWrapper ];
14 install -Dt $out/bin try
15 wrapProgram $out/bin/try --prefix PATH : ${lib.makeBinPath [ fuse-overlayfs util-linux ]}
19 homepage = "https://github.com/binpash/try";
20 description = "Lets you run a command and inspect its effects before changing your live system";
22 maintainers = with maintainers; [ pasqui23 ];
23 license = with licenses; [ mit ];
24 platforms = platforms.linux;