Advertisement
Guest User

Untitled

a guest
Nov 9th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. configurePhase = ''
  2. runHook preConfigure
  3. ln -sv ${configfile} \${buildRoot:=$(pwd)/../build}/.config
  4. make $makeFlags "''${makeFlagsArray[@]}" oldconfig
  5. runHook postConfigure
  6.  
  7. make $makeFlags prepare
  8. actualModDirVersion="$(cat $buildRoot/include/config/kernel.release)"
  9. if [ "$actualModDirVersion" != "${modDirVersion}" ]; then
  10. echo "Error: modDirVersion specified in the Nix expression is wrong, it should be: $actualModDirVersion"
  11. exit 1
  12. fi
  13.  
  14. # Note: we can get rid of this once http://permalink.gmane.org/gmane.linux.kbuild.devel/13800 is merged.
  15. buildFlagsArray+=("KBUILD_BUILD_TIMESTAMP=$(date -u -d @$SOURCE_DATE_EPOCH)")
  16. '';
  17. triggers
  18.  
  19. error: undefined variable ‘pwd’ at /home/teto/nixpkgs/pkgs/os-specific/linux/kernel/manual-config.nix:106:46
  20. (use ‘--show-trace’ to show detailed location information)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement