From 44b5c204fae32c6e42d938aa65c1e4a9d84a4add Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sat, 7 Feb 2026 12:44:28 -0600 Subject: [PATCH] fix: Use lib.licenses.unfree instead of proprietary Change license from 'proprietary' (which doesn't exist in nixpkgs) to 'unfree' which is the correct license type for closed-source software in Nix. --- nix/build.nix | 2 +- nix/c-nif.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/build.nix b/nix/build.nix index 1a115f7d..9a3a5997 100644 --- a/nix/build.nix +++ b/nix/build.nix @@ -97,7 +97,7 @@ beamPackages.mixRelease { meta = { description = "Towerops - Phoenix LiveView SNMP monitoring platform"; - license = lib.licenses.proprietary; + license = lib.licenses.unfree; platforms = lib.platforms.unix; }; } diff --git a/nix/c-nif.nix b/nix/c-nif.nix index 0f9f1c94..a0c502ce 100644 --- a/nix/c-nif.nix +++ b/nix/c-nif.nix @@ -53,7 +53,7 @@ stdenv.mkDerivation { meta = { description = "C NIF for SNMP MIB resolution in Towerops"; - license = lib.licenses.proprietary; + license = lib.licenses.unfree; platforms = lib.platforms.unix; }; }