Skip to content

Commit

Permalink
Merge pull request #84974 from marsam/fix-shellcheck
Browse files Browse the repository at this point in the history
shellcheck: fix build
  • Loading branch information
cdepillabout committed Apr 11, 2020
2 parents 0af01aa + c4ff843 commit 32b6f52
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkgs/development/tools/shellcheck/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, haskellPackages, haskell }:
{ stdenv, lib, haskellPackages, haskell, pandoc }:

# this wraps around the haskell package
# and puts the documentation into place
Expand All @@ -24,9 +24,15 @@ let

inherit src;

nativeBuildInputs = [ pandoc ];

outputs = [ "bin" "man" "doc" "out" ];

phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
phases = [ "unpackPhase" "buildPhase" "installPhase" "fixupPhase" ];

buildPhase = ''
pandoc -s -f markdown-smart -t man shellcheck.1.md -o shellcheck.1
'';

installPhase = ''
install -Dm755 ${bin}/bin/shellcheck $bin/bin/shellcheck
Expand Down

0 comments on commit 32b6f52

Please sign in to comment.