[Nix-dev] scsh scripting

stewart mackenzie setori88 at gmail.com
Tue Jan 12 22:45:26 CET 2016


Has anyone managed to get scsh scripting to work on nixos?

So far I've got something like this:

test.scm

#! /usr/bin/env nix-shell
!#
#! nix-shell -i scsh -p scsh
!#

I'm getting issues found in this webpage
http://www.lysium.de/blog/index.php?/archives/215-Why-I-dont-use-scsh-as-a-scripting-language-anymore.html
(note the line which contains: "who told scsh to clobber my screen
with a 33 line help message when I just mistype some switch argument")

I'd also like to be able to load modules if possible - seems I've
passed the second line.

see http://nixos.org/nix/manual/#ssec-nix-shell-shebang
see http://scsh.net/docu/html/man-Z-H-12.html#node_sec_11.1.2

/sjm


More information about the nix-dev mailing list