1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

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
This commit is contained in:
Samuel Gräfenstein 2021-09-19 00:01:46 +02:00
parent ef9c06512b
commit 14791e1deb
No known key found for this signature in database
GPG key ID: EF76A063F15C63C8

View file

@ -60,6 +60,7 @@ stdenv.mkDerivation {
maintainers = [ maintainers.eelco ];
platforms = platforms.all;
mainProgram = "grep";
};
passthru = {inherit pcre;};