diff --git a/flake.lock b/flake.lock index 3bdf273..fd871e8 100644 --- a/flake.lock +++ b/flake.lock @@ -451,11 +451,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1688221086, - "narHash": "sha256-cdW6qUL71cNWhHCpMPOJjlw0wzSRP0pVlRn2vqX/VVg=", + "lastModified": 1691464053, + "narHash": "sha256-D21ctOBjr2Y3vOFRXKRoFr6uNBvE8q5jC4RrMxRZXTM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "cd99c2b3c9f160cd004318e0697f90bbd5960825", + "rev": "844ffa82bbe2a2779c86ab3a72ff1b4176cec467", "type": "github" }, "original": { diff --git a/nki-personal-do/configuration.nix b/nki-personal-do/configuration.nix index a8ea6f3..f5977ee 100644 --- a/nki-personal-do/configuration.nix +++ b/nki-personal-do/configuration.nix @@ -187,7 +187,7 @@ cloud.services.outline = { enable = true; package = pkgs.unstable.outline.overrideAttrs (attrs: { - patches = attrs.patches ++ [ ../modules/cloud/outline/dtth-wiki.patch ]; + patches = if builtins.hasAttr "patches" attrs then attrs.patches else [ ] ++ [ ../modules/cloud/outline/dtth-wiki.patch ]; }); databaseUrl = "postgres://outline:outline@localhost/outline?sslmode=disable"; sequelizeArguments = "--env=production-ssl-disabled";