Unverified Commit 098f006b authored by Jared Baur's avatar Jared Baur
Browse files

vmTools: use getOutput for MODULE_DIR

Using modulesClosure ought to work, but `lib.getOutput "modules" kernel`
is consistent with how this file was before.
parent 458f0558
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -212,7 +212,7 @@ rec {
    fi

    # Set up automatic kernel module loading.
    export MODULE_DIR=${modulesClosure}/lib/modules/
    export MODULE_DIR=${lib.getOutput "modules" kernel}/lib/modules/
    ${coreutils}/bin/cat <<EOF > /run/modprobe
    #! ${bash}/bin/sh
    export MODULE_DIR=$MODULE_DIR