nix: fix nix run by setting mainProgram to waku

Otherwise it fails with:
```
 > nix run github:status-im/go-waku
error: unable to execute '/nix/store/xsmhw1yqz5w9bdgfsprxmhcycl7011wz-go-waku/bin/go-waku': No such file or directory

 > ls -l /nix/store/xsmhw1yqz5w9bdgfsprxmhcycl7011wz-go-waku/bin
total 37914
-r-xr-xr-x 1 root root 38775544 Jan  1  1970 waku
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-03-06 14:40:46 +01:00
parent 349e22bbe8
commit 38de4938af
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4

View File

@ -26,6 +26,8 @@
doCheck = false;
# FIXME: This needs to be manually changed when updating modules.
vendorSha256 = "sha256-TvQfLQEYDujfXInQ+i/LoSGtedozZvX8WgzpqiryYHY=";
# Fix for 'nix run' trying to execute 'go-waku'.
meta = { mainProgram = "waku"; };
};
in rec {
packages = forAllSystems (system: {