Commit Graph

13 Commits

Author SHA1 Message Date
3d97e8d4d8 Oprava rssync deploy command cestopisy 2024-08-26 07:51:56 +02:00
e1cea80f6e Switch back to vips thumbnailer
We will want to re-add haskell.nix for Windows support again (although not using flakes and not part of direnv).
Also vips running out-of-process might be more efficient than GD.

This partially reverts commit 1ba468a538.
2024-07-14 15:21:03 +02:00
7e08955d6c Abandon flakes in favour of npins
Flakes copy the whole gigantic repo to store all the time, quickly eating all the drive capacity.
2024-07-13 10:41:57 +02:00
5bc11611b2 Revert "Switch to haskell.nix"
haskell.nix is PITA to use on lower-spec devices.

This reverts commit 1ba468a538.
2024-07-13 09:35:13 +02:00
502a68feae Revert "Provide Windows-native site.exe"
We will want to revert haskell.nix since it is PITA to use on lower-spec devices.

This reverts commit 8fdce165a1.
2024-07-13 09:34:47 +02:00
8fdce165a1 Provide Windows-native site.exe 2023-01-17 21:43:20 +01:00
1ba468a538 Switch to haskell.nix
This will allow us to build a native Windows executable.

But since we cannot cross-compile `libgd` at the moment,
we will have to use `vipsthumbnail` program from `PATH`.
2023-01-13 14:50:51 +01:00
eb593046fe flake.lock: Update
Flake lock file updates:

• Updated input 'flake-compat':
    'github:edolstra/flake-compat/99f1c2157fba4bfe6211a321fd0ee43199025dbf' (2020-11-26)
  → 'github:edolstra/flake-compat/009399224d5e398d03b22badca40a37ac85412a1' (2022-11-17)
• Updated input 'hakyll-contrib-tojnar':
    'gitlab:tojnar.cz/hakyll-contrib-tojnar/7542e95f3c70cf3f9356e548f67326bf765364f7' (2021-03-30)
  → 'gitlab:tojnar.cz/hakyll-contrib-tojnar/24d4a612cfdf9eb410b911a33dd91567119efdba' (2023-01-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c0e881852006b132236cbf0301bd1939bb50867e' (2021-03-25)
  → 'github:NixOS/nixpkgs/298add347c2bbce14020fcb54051f517c391196b' (2023-01-03)
• Updated input 'utils':
    'github:numtide/flake-utils/5466c5bbece17adaab2d82fae80b46e807611bf3' (2021-02-28)
  → 'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
2023-01-03 23:07:50 +01:00
25e413307b Cabal: Bump schema
- Add trailing commas
- Drop unnecessary `build-type` key
- Split `ghc-options` into multiple lines
2023-01-03 23:06:04 +01:00
13fe890de0 flake: Remove duplicate inputs 2022-02-13 14:48:29 +01:00
2161486835 Re-add deploy command
We can finally use rsync
2022-02-13 11:25:40 +01:00
e08e2747cc flake: make more hermetic
Prevent the loading of system nixpkgs config, which would cause failure
due to the revision of Nixpkgs we currently use depending on utillinux alias
in haskellPackages.

We currently cannot upgrade due to issues with newer version of hakyll.
2022-02-13 07:05:49 +01:00
c55f455067 nix: Move flake into a subdirectory
Otherwise, Nix spends ages just copying the whole repo into the store.
2022-01-19 21:19:15 +01:00