Ich kann sehen, dass NixOS diese Versionen verfügbar für die Installation hat:NixOS installieren spezifische NodeJS Version
...
nodejs-0.10-statsd-0.7.2
nodejs-0.10.42
nodejs-4.3.1
nodejs-5.9.0
...
noch systemPackages mag es nicht mich zu installieren nodejs-5.9.0
wie es beklagt, dass:
error: syntax error, unexpected INT, expecting ID or OR_KW or DOLLAR_CURLY or '"', at /etc/nixos/configuration.nix:49:14
(use ‘--show-trace’ to show detailed location information)
error: syntax error, unexpected INT, expecting ID or OR_KW or DOLLAR_CURLY or '"', at /etc/nixos/configuration.nix:49:14
(use ‘--show-trace’ to show detailed location information)
building the system configuration...
error: syntax error, unexpected INT, expecting ID or OR_KW or DOLLAR_CURLY or '"', at /etc/nixos/configuration.nix:49:14
(use ‘--show-trace’ to show detailed location information)
was darauf hindeutet, zu mir mache ich etwas falsch. Ich würde lieber nicht einfach mit nix-env -i ...
installieren, weil ich es systemweit wollen (und ich baue meine Standard-NixOS-Konfiguration für alle meine Dev-Maschinen).
Nach der nixpkgs repository v6 ist verfügbar, aber ich habe keine Ahnung, wie man nixos-rebuild
durch configuration.nix oder sonst wie es zu installieren.
Wie kann ich das richtig konfigurieren, damit ich die neueste Version von NodeJS oder speziell 5.9.0 installieren kann?