diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2015-07-25 23:57:55 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2015-07-26 00:31:20 +0300 |
commit | 8665b0d8b10dc612b9b3dd5174837278026739e4 (patch) | |
tree | e0854872839b4dc643e1158ad2c81e278a59af3a /nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix | |
parent | a6c95a3f7d2215965e098f404a9ad544a8fdd99c (diff) | |
download | nixpkgs-8665b0d8b10dc612b9b3dd5174837278026739e4.tar nixpkgs-8665b0d8b10dc612b9b3dd5174837278026739e4.tar.gz nixpkgs-8665b0d8b10dc612b9b3dd5174837278026739e4.tar.bz2 nixpkgs-8665b0d8b10dc612b9b3dd5174837278026739e4.tar.lz nixpkgs-8665b0d8b10dc612b9b3dd5174837278026739e4.tar.xz nixpkgs-8665b0d8b10dc612b9b3dd5174837278026739e4.tar.zst nixpkgs-8665b0d8b10dc612b9b3dd5174837278026739e4.zip |
extlinux-conf-builder: Fix warning when building in chroot
When using extlinux-conf-builder in a nix build using chroots, the following error message could be seen: /nix/store/XXX-extlinux-conf-builder.sh: line 121: cd: /nix/var/nix/profiles: No such file or directory To avoid this, just skip the code path parsing /nix/var/nix/profiles when $numGenerations (passed from the command line) is 0 (which is the only legal value of $numGenerations in a nix build context).
Diffstat (limited to 'nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix')
0 files changed, 0 insertions, 0 deletions