Re: [Nix-dev] Let's switch the default shell in Nixpks / NixOS to csh

2015-04-01 Thread Ertugrul Söylemez
>> This makes me wonder whether maybe we should switch all shell >> scripting in Nixpkgs to "csh"? Wouldn't that solve a lot of problems? >> I've heard experts say that "csh" is generally considered superior >> for scripting tasks because of its more intuitive syntax. > > I really dislike csh's syn

Re: [Nix-dev] Let's switch the default shell in Nixpks / NixOS to sch

2015-04-01 Thread John Wiegley
> John Wiegley writes: > Peter Simons writes: >> This makes me wonder whether maybe we should switch all shell scripting in >> Nixpkgs to "csh"? Wouldn't that solve a lot of problems? I've heard experts >> say that "csh" is generally considered superior for scripting tasks because >> of

Re: [Nix-dev] Let's switch the default shell in Nixpks / NixOS to csh

2015-04-01 Thread John Wiegley
> Peter Simons writes: > This makes me wonder whether maybe we should switch all shell scripting in > Nixpkgs to "csh"? Wouldn't that solve a lot of problems? I've heard experts > say that "csh" is generally considered superior for scripting tasks because > of its more intuitive syntax. I re

Re: [Nix-dev] Let's switch the default shell in Nixpks / NixOS to csh

2015-04-01 Thread Dario Bertini
I'm just a random guy here, but: 1-I use fish for my user shell, and I never had any problem... Obviously nix-shell still defaults to bash, but I'm not bothered too much about it (I tend to use it only to debug when some build doesn't work) 2-I found a bug in a shell wrapper that wouldn't have

Re: [Nix-dev] Let's switch the default shell in Nixpks / NixOS tocsh

2015-04-01 Thread Luca Bruno
I think a lot of packages rely on bashism, it's not only a matter of our scripts. Changing to something else will bring more problems than anything else. Also the fact that bash sees more security vulnerabilities it's because it's extremely more adopted than others, which doesn't mean others are mo

Re: [Nix-dev] Let's switch the default shell in Nixpks / NixOS tocsh

2015-04-01 Thread Michael Raskin
>If we're replacing bash we might as well go all the way... > >Have we made any progress rewriting systemd in csh? All the ways is at least Guile-as-a-shell, anf I guess we should just admit that Guix with its dmd is the proper way forward? I must admit that I don't like your defeatist attitude o

Re: [Nix-dev] Let's switch the default shell in Nixpks / NixOS to csh

2015-04-01 Thread Jonathan Glines
If we're replacing bash we might as well go all the way... Have we made any progress rewriting systemd in csh? ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Let's switch the default shell in Nixpks / NixOS to csh

2015-04-01 Thread Spencer Whitt
I think our builders should be written in INTERCAL. PLEASE Spencer ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Let's switch the default shell in Nixpks / NixOS to csh

2015-04-01 Thread Arseniy Seroka
Why can't we choose zsh? It's similar to bash, but don't have it's problems. It's autocomplete systems is fast enough. No security problems AFAIK. As for me - I'm against csh because it's really unpopular and many users will be disappointed. Myself, I heart nothing good about csh (my bad, but I'm n

Re: [Nix-dev] Let's switch the default shell in Nixpks / NixOS to csh

2015-04-01 Thread deCube.net | Danny Wilson
It shouldn’t be difficult, if only... While adding support for SmartOS I’ve encountered many “autoconf” packages that claim to be shell agnostic, yet are riddled with BASH-isms. SmartOS comes with KSH installed in /bin/sh by default, that’s how I noticed. In order to make some progress and not

[Nix-dev] Let's switch the default shell in Nixpks / NixOS to csh

2015-04-01 Thread Peter Simons
Hi guys, the default builder in Nixpkgs (and pretty much all other shell code in all our packages) assumes that it's interpreted by "bash". Now, we've had a lot of trouble with "bash" recently: - crazy security vulnerabilities; - auto completion is slow, gives unexpected results, or doesn't wo

Re: [Nix-dev] Rolling my own Danish Aspell package

2015-04-01 Thread Mads Lindstrøm
Hi Bjørn Ahhh, stupid mistake. Thank you for the help, Lindstrøm > On 1 April 2015 at 13:39, Mads Lindstrøm wrote: > [...] > >> nix-build -f . iA aspellDicts.da > > error: assertion failed at > > "/home/mads/nix_devel/nixpkgs/pkgs/top-level/all-packages.nix":4875:15 > > That command looks a

Re: [Nix-dev] Rolling my own Danish Aspell package

2015-04-01 Thread Bjørn Forsman
On 1 April 2015 at 13:39, Mads Lindstrøm wrote: [...] >> nix-build -f . iA aspellDicts.da > error: assertion failed at > "/home/mads/nix_devel/nixpkgs/pkgs/top-level/all-packages.nix":4875:15 That command looks a bit odd. I think you want "nix-env -f . -iA aspellDicts.da". - Bjørn __

[Nix-dev] Rolling my own Danish Aspell package

2015-04-01 Thread Mads Lindstrøm
Hi I am new to NixOS, but got quickly up and running in a VirtualBox guest.. Thanx for a great system. However, there is no Nix package for a Danish Aspell dictionary. I therefore tried to roll my own. I have followed the guide here https://nixos.org/wiki/Contributing_to_nixpkgs. I have got a loc

Re: [Nix-dev] [haskell-ng] nix-shell mass rebuild

2015-04-01 Thread Alan & Kim Zimmerman
Thanks On Wed, Apr 1, 2015 at 1:08 PM, Peter Simons wrote: > Hi Alan, > > > As a non-nixos (i.e. nixpkgs only) user, which channel should I be > > updating from to get the up to date haskellng derivations? > > there are two: > > nix-channel --add > http://hydra.nixos.org/jobset/nixpkgs/haske

Re: [Nix-dev] [haskell-ng] nix-shell mass rebuild

2015-04-01 Thread Peter Simons
Hi Alan, > As a non-nixos (i.e. nixpkgs only) user, which channel should I be > updating from to get the up to date haskellng derivations? there are two: nix-channel --add http://hydra.nixos.org/jobset/nixpkgs/haskell-updates/channel/latest nix-channel --add http://hydra.cryp.to/jobset/

Re: [Nix-dev] Fwd: [haskell-ng] nix-shell mass rebuild

2015-04-01 Thread Alan & Kim Zimmerman
As a non-nixos (i.e. nixpkgs only) user, which channel should I be updating from to get the up to date haskellng derivations? Alan On Wed, Apr 1, 2015 at 12:15 PM, Peter Simons wrote: > Hi YCH, > > > I thought if I follow unstable channel, I would always get binary > caches. > > the Haskell NG

Re: [Nix-dev] Fwd: [haskell-ng] nix-shell mass rebuild

2015-04-01 Thread Peter Simons
Hi YCH, > I thought if I follow unstable channel, I would always get binary caches. the Haskell NG packages are not a part of the nixpkgs-unstable channel yet. They will be in the near future, when we migrate from the old Haskell package set to the new one, but as it is now the NG packages are b