nglib: final: prev: { magic_rb.screenshot = (nglib prev.stdenv.system).writeSubstitutedShellScriptBin { name = "screenshot"; file = ./screenshot; substitutes = with prev; { inherit busybox scrot xclip; }; }; }