Skip to content

Commit

Permalink
chore: Remove with lib from various freebsd packages
Browse files Browse the repository at this point in the history
Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
  • Loading branch information
rhelmot and AndersonTorres committed Jul 3, 2024
1 parent f0097d1 commit e589fdb
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions pkgs/os-specific/bsd/freebsd/pkgs/drm-kmod-firmware.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ mkDerivation rec {

KMODDIR = "${builtins.placeholder "out"}/kernel";

meta = with lib; {
meta = {
description = "GPU firmware for FreeBSD drm-kmod";
platforms = lib.platforms.freebsd;
license =
lib.optional withAmd licenses.unfreeRedistributableFirmware
lib.optional withAmd lib.licenses.unfreeRedistributableFirmware
# Intel license prohibits modification. this will wrap firmware files in an ELF
++ lib.optional withIntel licenses.unfree;
sourceProvenance = [ sourceTypes.binaryFirmware ];
++ lib.optional withIntel lib.licenses.unfree;
sourceProvenance = [ lib.sourceTypes.binaryFirmware ];
};
}
4 changes: 2 additions & 2 deletions pkgs/os-specific/bsd/freebsd/pkgs/drm-kmod/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ mkDerivation {

KMODDIR = "${builtins.placeholder "out"}/kernel";

meta = with lib; {
meta = {
description = "Linux drm driver, ported to FreeBSD";
platforms = lib.platforms.freebsd;
license = with licenses; [
license = with lib.licenses; [
bsd2
gpl2Only
];
Expand Down
6 changes: 3 additions & 3 deletions pkgs/os-specific/bsd/freebsd/pkgs/libzfs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ mkDerivation {
"debug"
];

meta = with lib; {
platforms = platforms.freebsd;
license = with licenses; [ cddl ];
meta = {
platforms = lib.platforms.freebsd;
license = with lib.licenses; [ cddl ];
};
}
8 changes: 4 additions & 4 deletions pkgs/os-specific/bsd/freebsd/pkgs/syslogd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ mkDerivation {

MK_TESTS = "no";

meta = with lib; {
meta = {
description = "FreeBSD syslog daemon";
maintainers = with maintainers; [ artemist ];
platforms = platforms.freebsd;
license = licenses.bsd2;
maintainers = with lib.maintainers; [ artemist ];
platforms = lib.platforms.freebsd;
license = lib.licenses.bsd2;
};
}
6 changes: 3 additions & 3 deletions pkgs/os-specific/bsd/freebsd/pkgs/zfs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ mkDerivation {
"debug"
];

meta = with lib; {
platforms = platforms.freebsd;
license = with licenses; [
meta = {
platforms = lib.platforms.freebsd;
license = with lib.licenses; [
cddl
bsd2
];
Expand Down

0 comments on commit e589fdb

Please sign in to comment.