Skip to content

Instantly share code, notes, and snippets.

@mbrock
Created July 28, 2017 12:13
Show Gist options
  • Save mbrock/317dec39224af1451b9f8680aef3b2aa to your computer and use it in GitHub Desktop.
Save mbrock/317dec39224af1451b9f8680aef3b2aa to your computer and use it in GitHub Desktop.
# Put this expression right in your systemPackages
(pkgs.writeScriptBin "foo" ''
#! ${stdenv.shell}
echo foo
'')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment