zfs: add meta.mainProgram

Fix the following error when running `nix run .#zfs`:
error: unable to execute '/nix/store/ns6rifm17r0lp17w8gb4qr5db4cwbkj9-zfs-user-2.1.1/bin/zfs-user': No such file or directory
This commit is contained in:
Samuel Gräfenstein 2021-09-19 00:08:22 +02:00
parent 5ad7db7ed8
commit 9d5298933a
No known key found for this signature in database
GPG Key ID: EF76A063F15C63C8

View File

@ -196,6 +196,7 @@ let
license = licenses.cddl;
platforms = platforms.linux;
maintainers = with maintainers; [ hmenke jcumming jonringer wizeman fpletz globin mic92 ];
mainProgram = "zfs";
# If your Linux kernel version is not yet supported by zfs, try zfsUnstable.
# On NixOS set the option boot.zfs.enableUnstable.
broken = buildKernel && (kernelCompatible != null) && !kernelCompatible;