mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
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:
parent
5ad7db7ed8
commit
9d5298933a
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue