www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit f3b50205ef7f86713cc53efcc467d8546a733bf5
parent ea7c1d70fc40599a978968bf4d5d31ef65b0bfa9
Author: Guillaume Bouchard <guillaume.bouchard@tweag.io>
Date:   Tue,  3 Mar 2020 17:43:30 +0100

Restore the shellcheck phase and fix it

Diffstat:
Mdefault.nix | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/default.nix b/default.nix @@ -28,6 +28,10 @@ let executable = true; destination = "/bin/${name}"; + + checkPhase = '' + ${nixpkgs.shellcheck}/bin/shellcheck "$out/bin/${name}" + ''; }; in @@ -82,7 +86,7 @@ rec { name = "nixVulkanIntel"; text = '' #!/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 fi export LD_LIBRARY_PATH=${lib.makeLibraryPath [