input-output-hk / haskell.nix

Alternative Haskell Infrastructure for Nixpkgs
https://input-output-hk.github.io/haskell.nix
Apache License 2.0
559 stars 238 forks source link

error in `clean-git.nix` #1381

Closed peterbecich closed 2 years ago

peterbecich commented 2 years ago

Using the latest commit (https://github.com/input-output-hk/haskell.nix/commit/5fbf5d5b6b88640d53d515a9f4442a61348d0186) of haskell.nix I see

% nix build  -f default.nix      
error: anonymous function at /nix/store/qxz92a0mlgyq9ms5f3v3hcvxy9msjfig-haskellNix-src/lib/clean-git.nix:2:1 
called without required argument 'runCommandLocal'

       at /nix/store/qxz92a0mlgyq9ms5f3v3hcvxy9msjfig-haskellNix-src/lib/default.nix:202:14:

          201|   # Clean git directory based on `git ls-files --recurse-submodules`
          202|   cleanGit = import ./clean-git.nix {
             |              ^
          203|     inherit lib cleanSourceWith;
(use '--show-trace' to show detailed location information)

https://github.com/peterbecich/haskell.nix-ghcjs-issue/tree/runCommandLocal-error

Thank you

peterbecich commented 2 years ago

https://github.com/peterbecich/haskell.nix-ghcjs-issue/tree/runCommandLocal-error works now with https://github.com/input-output-hk/haskell.nix/commit/a4e85e4714a8f11dbb36923bc63c5e93fa25032a, thanks