nixpkgs/modules/installer
Shea Levy fe045dc949 sed -i -e 's|/nix/var|@stateDir@|g' -e 's|/nix/store|@storeDir@|g' modules/installer/tools/*.sh
Use configurable storeDir and stateDir in the installer tools

svn path=/nixos/trunk/; revision=30106
2011-10-29 22:14:27 +00:00
..
cd-dvd find modules | fgrep .nix | fgrep -v .svn | fgrep -v nixpkgs.nix | xargs sed -i -e 's|/nix/var|${config.nixpkgs.config.nix.stateDir}|g' -e 's|/nix/store|${config.nixpkgs.config.nix.storeDir}|g' 2011-10-29 21:03:57 +00:00
generations-dir find modules | fgrep .nix | fgrep -v .svn | fgrep -v nixpkgs.nix | xargs sed -i -e 's|/nix/var|${config.nixpkgs.config.nix.stateDir}|g' -e 's|/nix/store|${config.nixpkgs.config.nix.storeDir}|g' 2011-10-29 21:03:57 +00:00
grub strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
init-script strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
scan * Add a module for the Broadcom firmware. Also, add it to the 2011-10-24 23:41:33 +00:00
tools sed -i -e 's|/nix/var|@stateDir@|g' -e 's|/nix/store|@storeDir@|g' modules/installer/tools/*.sh 2011-10-29 22:14:27 +00:00