diff options
author | Samuel Gräfenstein <git@samuelgrf.com> | 2021-09-19 00:01:46 +0200 |
---|---|---|
committer | Samuel Gräfenstein <git@samuelgrf.com> | 2021-09-19 00:05:31 +0200 |
commit | 14791e1debe62e94fb2e8b8c8782b085c27f0d9a (patch) | |
tree | 3e2dac74cec3ae4c15995193272d77b57c1f767b /pkgs/tools/text | |
parent | ef9c06512bdec723fb3007a259c375006f422084 (diff) |
gnugrep: add meta.mainProgram
Fix the following error when running `nix run .#gnugrep`: error: unable to execute '/nix/store/p21zz3jvnsk6h7pb83lm9hyl2hb7d2g8-gnugrep-3.6/bin/gnugrep': No such file or directory
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/gnugrep/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/text/gnugrep/default.nix b/pkgs/tools/text/gnugrep/default.nix index 42a9d913dd20d..c5a661af11532 100644 --- a/pkgs/tools/text/gnugrep/default.nix +++ b/pkgs/tools/text/gnugrep/default.nix @@ -60,6 +60,7 @@ stdenv.mkDerivation { maintainers = [ maintainers.eelco ]; platforms = platforms.all; + mainProgram = "grep"; }; passthru = {inherit pcre;}; |