openssh: add meta.mainProgram

Fix the following error when running `nix run .#openssh`:
error: unable to execute '/nix/store/bzxxfx0a774vqa3cbz66c2172smc317a-openssh-8.6p1/bin/openssh': No such file or directory
This commit is contained in:
Samuel Gräfenstein 2021-09-19 00:06:24 +02:00
parent 14791e1deb
commit 5ad7db7ed8
No known key found for this signature in database
GPG key ID: EF76A063F15C63C8

View file

@ -123,5 +123,6 @@ stdenv.mkDerivation rec {
license = licenses.bsd2; license = licenses.bsd2;
platforms = platforms.unix ++ platforms.windows; platforms = platforms.unix ++ platforms.windows;
maintainers = with maintainers; [ eelco aneeshusa ]; maintainers = with maintainers; [ eelco aneeshusa ];
mainProgram = "ssh";
} // extraMeta; } // extraMeta;
} }