All checks were successful
deploy-pages Deployed in 13 seconds
Flakes copy the whole gigantic repo to store all the time, quickly eating all the drive capacity. haskell.nix is PITA to use on lower-spec devices.
20 lines
323 B
Nix
20 lines
323 B
Nix
# SPDX-FileCopyrightText: 2024 Jan Tojnar
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
{
|
|
dev ? false,
|
|
}:
|
|
|
|
let
|
|
sources = import ./npins;
|
|
pkgs = import sources.nixpkgs { };
|
|
inherit (pkgs) lib;
|
|
site = import ./.;
|
|
in
|
|
pkgs.mkShell {
|
|
nativeBuildInputs = [
|
|
site
|
|
pkgs.vips
|
|
] ++ lib.optionals dev [ pkgs.cabal-install ];
|
|
}
|