diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-02-21 17:12:32 +0100 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-02-21 17:13:53 +0100 |
| commit | 0ff8b519459a97b3eca8b4e5263404a5628e2f41 (patch) | |
| tree | 424853207108b161f79e83f6042371eae3c3e283 /flake.nix | |
| parent | ee7b2ba718c47fa7f4ef67af08e5906f3d5333b5 (diff) | |
add syntax highlighting
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -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 = { |
