summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-07-24 22:37:45 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2018-07-24 23:36:06 +0300
commitc6ed851fe22059b9df9eb9fe9d50fe8032e8b79c (patch)
tree342dd1543accdfabcc9121311b0ab5553f755049 /pkgs/os-specific/linux/kernel
parente0ce4bee57f4ba7443933692ee78ce1216e5a161 (diff)
downloadnixlib-c6ed851fe22059b9df9eb9fe9d50fe8032e8b79c.tar
nixlib-c6ed851fe22059b9df9eb9fe9d50fe8032e8b79c.tar.gz
nixlib-c6ed851fe22059b9df9eb9fe9d50fe8032e8b79c.tar.bz2
nixlib-c6ed851fe22059b9df9eb9fe9d50fe8032e8b79c.tar.lz
nixlib-c6ed851fe22059b9df9eb9fe9d50fe8032e8b79c.tar.xz
nixlib-c6ed851fe22059b9df9eb9fe9d50fe8032e8b79c.tar.zst
nixlib-c6ed851fe22059b9df9eb9fe9d50fe8032e8b79c.zip
kernel: Remove dead code
It's set in the same phase
Diffstat (limited to 'pkgs/os-specific/linux/kernel')
-rw-r--r--pkgs/os-specific/linux/kernel/manual-config.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix
index 7d12af9811aa..d3fd87912fb8 100644
--- a/pkgs/os-specific/linux/kernel/manual-config.nix
+++ b/pkgs/os-specific/linux/kernel/manual-config.nix
@@ -108,11 +108,6 @@ let
 
         echo "manual-config configurePhase buildRoot=$buildRoot pwd=$PWD"
 
-        if [[ -z "$buildRoot" || ! -d "$buildRoot" ]]; then
-          echo "set $buildRoot to the build folder please"
-          exit 1
-        fi
-
         if [ -f "$buildRoot/.config" ]; then
           echo "Could not link $buildRoot/.config : file exists"
           exit 1