diff --git a/default.nix b/default.nix index 3ff8902..0d7a786 100644 --- a/default.nix +++ b/default.nix @@ -20,7 +20,7 @@ pkgs.rustPlatform.buildRustPackage rec { meta = with pkgs.lib; { description = manifest.description; homepage = manifest.homepage; - license = with licenses; [ unfree ]; + license = with licenses; [ agpl3Plus ]; maintainers = with maintainers; [ jceb ]; }; } diff --git a/flake.nix b/flake.nix index 82f5fe8..dac731d 100644 --- a/flake.nix +++ b/flake.nix @@ -10,10 +10,10 @@ outputs = { self, nixpkgs, nixpkgs-unstable, flake-utils, }: flake-utils.lib.eachDefaultSystem (system: let - # pkgs = nixpkgs.legacyPackages.${system}; - pkgs = import nixpkgs { system = system; config.allowUnfree = true; }; - unstable = import nixpkgs-unstable { system = system; config.allowUnfree = true; }; - # unstable = nixpkgs-unstable.legacyPackages.${system}; + pkgs = nixpkgs.legacyPackages.${system}; + # pkgs = import nixpkgs { system = system; config.allowUnfree = true; }; + # unstable = import nixpkgs-unstable { system = system; config.allowUnfree = true; }; + unstable = nixpkgs-unstable.legacyPackages.${system}; did_web_server_pkg = unstable.callPackage ./default.nix { }; manifest = pkgs.lib.importJSON ./manifest.json; pkgVersionsEqual = x: y: diff --git a/manifest.json b/manifest.json index c69b3f2..87a5174 100644 --- a/manifest.json +++ b/manifest.json @@ -8,7 +8,7 @@ "Jan Christoph Ebersbach " ], "homepage": "https://github.com/identinet/did-web-server", - "license": "agpl3Plus", + "license": "AGPL-3.0-or-later", "repository": { "type": "git", @@ -20,4 +20,4 @@ "name": "docker.io/identinet", "url": "https://hub.docker.com/r/identinet/did-web-server" } -} \ No newline at end of file +}