commit 26d4df10d07c954921a09f961f1946b95e214171
parent 99f09439cb5527a625f745e598960ac35e9eabe7
Author: MTRNord <mtrnord1@gmail.com>
Date: Tue, 26 Sep 2023 10:22:19 +0200
Try to update the discourse
Diffstat:
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/flake.lock b/flake.lock
@@ -122,6 +122,22 @@
"type": "github"
}
},
+ "nixpkgs-discourse": {
+ "locked": {
+ "lastModified": 1695661530,
+ "narHash": "sha256-wUa6Ptl0lhrzVIcHT0LmeuHfa7Vy8hWig1VW0mLsOmY=",
+ "owner": "MTRNord",
+ "repo": "nixpkgs",
+ "rev": "beee2842bdc9281c94c95ea9c89f20b3da53ffd3",
+ "type": "github"
+ },
+ "original": {
+ "owner": "MTRNord",
+ "repo": "nixpkgs",
+ "rev": "beee2842bdc9281c94c95ea9c89f20b3da53ffd3",
+ "type": "github"
+ }
+ },
"nixpkgs-stable": {
"locked": {
"lastModified": 1694908564,
@@ -210,6 +226,7 @@
"impermanence": "impermanence",
"kubenix": "kubenix",
"nixpkgs": "nixpkgs_3",
+ "nixpkgs-discourse": "nixpkgs-discourse",
"nixpkgs-unstable": "nixpkgs-unstable",
"sops-nix": "sops-nix"
}
diff --git a/flake.nix b/flake.nix
@@ -5,6 +5,7 @@
# Nixpkgs
#nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
nixpkgs.url = "github:nixos/nixpkgs/672430223ef43060b460321b50a2e17628c7d8cd";
+ nixpkgs-discourse.url = "github:MTRNord/nixpkgs/beee2842bdc9281c94c95ea9c89f20b3da53ffd3";
# You can access packages and modules from different nixpkgs revs
# at the same time. Here's an working example:
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
@@ -28,7 +29,7 @@
docker-utils.url = "github:collinarnett/docker-utils";
};
- outputs = { self, nixpkgs, home-manager, sops-nix, docker-utils, ... }@inputs:
+ outputs = { self, nixpkgs, nixpkgs-discourse, home-manager, sops-nix, docker-utils, ... }@inputs:
let
inherit (self) outputs;
forAllSystems = nixpkgs.lib.genAttrs [
@@ -41,6 +42,7 @@
# Acessible through 'nix build', 'nix shell', etc
packages = forAllSystems (system:
let
+ nixpkgs.legacyPackages.${system}.discourse = nixpkgs-discourse.legacyPackages.${system}.discourse;
pkgs = nixpkgs.legacyPackages.${system};
build-draupnir = {
# TODO: Pull Draupnir