summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 1c48918..a11f245 100644
--- a/flake.nix
+++ b/flake.nix
@@ -24,15 +24,22 @@
systems = [ "x86_64-linux" ];
perSystem =
{ config, pkgs, ... }:
+ let
+ deps = [
+ pkgs.soupault
+ pkgs.pandoc
+ pkgs.highlight
+ ];
+ in
{
packages = {
default = config.packages.website;
website = pkgs.stdenv.mkDerivation {
pname = "sorre-website";
- version = "2026-02-21";
+ version = "2026-02-21-patch-1";
src = ./.;
- nativeBuildInputs = [ pkgs.soupault pkgs.pandoc ];
+ nativeBuildInputs = deps;
buildPhase = "soupault";
installPhase = "cp -r build $out";
};
@@ -70,7 +77,7 @@
minimalMkShell = pkgs.mkShell.override { stdenv = stdenvMinimal; };
in
minimalMkShell {
- packages = with pkgs; [ soupault ] ++ builtins.attrValues config.treefmt.build.programs;
+ packages = deps ++ builtins.attrValues config.treefmt.build.programs;
};
treefmt = {