Advertisement
Guest User

kernelExtraConfig

a guest
Sep 25th, 2015
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. # In configuration.nix:
  2.  
  3. nixpkgs.config = {
  4. packageOverrides = pkgs: {
  5. stdenv = pkgs.stdenv // {
  6. platform = pkgs.stdenv.platform // {
  7. kernelExtraConfig = ''
  8. CONFIG_EXTRA_FIRMWARE_DIR \"/lib/firmware\"
  9. '';
  10. };
  11. };
  12. };
  13. };
  14.  
  15. # Fails with:
  16.  
  17. GOT: # configuration written to .config
  18. GOT: #
  19. GOT: make[1]: Leaving directory '/tmp/nix-build-linux-config-3.18.21.drv-0/build'
  20. GOT: make: Leaving directory '/tmp/nix-build-linux-config-3.18.21.drv-0/linux-3.18.21'
  21. unused option: CONFIG_EXTRA_FIRMWARE
  22. builder for ‘/nix/store/xbns29cnhcisv7k34l7w5b4diqy5xj0l-linux-config-3.18.21.drv’ failed with exit code 255
  23. cannot build derivation ‘/nix/store/2762nvgdaylzqga7h0qp4rji7g0s4ai0-linux-3.18.21.drv’: 1 dependencies couldn't be built
  24. cannot build derivation ‘/nix/store/bbizczsg63rrmfhzhvbfdcdb75mpvdmh-nixos-system-lambda-16.03pre69463.68bd8e4.drv’: 1 dependencies couldn't be built
  25. error: build of ‘/nix/store/bbizczsg63rrmfhzhvbfdcdb75mpvdmh-nixos-system-lambda-16.03pre69463.68bd8e4.drv’ failed
  26. [100] barton@lambda>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement