Restore the shellcheck phase and fix it
This commit is contained in:
parent
ea7c1d70fc
commit
f3b50205ef
|
@ -28,6 +28,10 @@ let
|
||||||
|
|
||||||
executable = true;
|
executable = true;
|
||||||
destination = "/bin/${name}";
|
destination = "/bin/${name}";
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${nixpkgs.shellcheck}/bin/shellcheck "$out/bin/${name}"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -82,7 +86,7 @@ rec {
|
||||||
name = "nixVulkanIntel";
|
name = "nixVulkanIntel";
|
||||||
text = ''
|
text = ''
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
if [ ! -z "$LD_LIBRARY_PATH" ]; then
|
if [ -n "$LD_LIBRARY_PATH" ]; then
|
||||||
echo "Warning, nixVulkanIntel overwriting existing LD_LIBRARY_PATH" 1>&2
|
echo "Warning, nixVulkanIntel overwriting existing LD_LIBRARY_PATH" 1>&2
|
||||||
fi
|
fi
|
||||||
export LD_LIBRARY_PATH=${lib.makeLibraryPath [
|
export LD_LIBRARY_PATH=${lib.makeLibraryPath [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user