NixOS is a Nix-based Linux distribution. Thanks to Nix, it supports atomic upgrades, rollbacks and multi-user package management, and it has a declarative approach to system configuration management that makes it easy to reproduce a configuration on another machine.

learn more… | top users | synonyms

2
votes
1answer
18 views

nix package manager: perl warning: Setting locale failed

Whenever I run a command for the nix package manager (e.g. nix-channel --update) I get the following warning: perl: warning: Setting locale failed. perl: warning: Please check that your locale ...
1
vote
0answers
14 views

How to add scripts for udev to run

I have several scripts i would like udev to run when a monitor is plugged/unplugged. I have added the extra udev rules, but i don't know how to add the scripts that i want udev to run. I have tried ...
0
votes
1answer
28 views

Unable to install vim plugins

I am unable to install any vim plugins on nixOS running the command: nix-env -i vimplugin-Syntastic gives these as the last 3 lines of output: output path ...
2
votes
1answer
29 views

How do I create a local repository for NixOS/nixpkgs?

All the instructions I find for creating a local repository of Nix packages involve creating a local clone of the main nixpkgs tree and adding to that. Is there a way I can care a small repository ...
4
votes
2answers
93 views

Nix: Skipping unit tests when installing a Haskell package

I'm using Nix to install packages under my home (so no binary packages) on a shared host with limited resources. I'm trying to install git-annex. When building one of its dependencies, haskell-lens, ...
2
votes
1answer
123 views

NixOS on MacBook: how to enable sudden motion sensor?

How to make sure in NixOS on a MacBook that the sudden motion sensor and the relevant disk protections are enabled? It seems that I need the applesmc module for this, but I couldn't find how to ...
5
votes
1answer
127 views

Preventing Nix from upgrading git to git-full

I'm using Nix on Ubuntu to have more modern versions of some packages, one of them being git. When I'm run nix-env -u, this is what happens: % nix-env -u --dry-run '*' (dry run; not doing anything) ...
4
votes
0answers
167 views

cabal dies on NixOS in KVM

I set up a NixOS system on KVM and installed the haskelPlatform package. Everything works fine, ghci works fine, but cabal dies without any helpful error message: [michas@nix:~]$ type -a cabal cabal ...
4
votes
2answers
943 views

Cannot execute binary - No such file or directory

I tried to install the current oracle jre on a VM running NixOS. Now the following happens: [michas@cc:~]$ tar xvzf jre-7u40-linux-x64.tar.gz |grep bin/java jre1.7.0_40/bin/javaws ...