Advertisement
evanjs

structuredExtraConfig path

Feb 6th, 2020
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. linuxPackages_4_4 = super.linuxPackages_4_4.extend (lib.const (ksuper: {
  2. kernel = ksuper.kernel.override {
  3. defconfig = ./kernel.config;
  4. structuredExtraConfig = with import (pkgs.path + "/lib/kernel.nix") {
  5. inherit lib;
  6. version = null;
  7. }; { #CONFIG_INITRAMFS_SOURCE = "${self.initrd}/initrd";
  8. };
  9. };
  10. extraConfig = ''
  11. CONFIG_INITRAMFS_SOURCE "${self.initrd}/initrd";
  12. '';
  13. }));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement