Remove formatter

This commit is contained in:
stefan burke 2025-01-09 23:16:40 +00:00
parent fe9ac77d92
commit 455a428b21
4 changed files with 14 additions and 9 deletions

View file

@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -ex
export LANG=en_GB.UTF-8
export LC_ALL=en_GB.UTF-8
sass --update style:_site/style --style compressed
yarn eleventy
find _site -name "*.html" -exec htmlbeautifier {} \;

View file

@ -3,8 +3,8 @@
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
flake-compat = fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
url = "https://github.com/edolstra/flake-compat/archive/refs/tags/v1.0.1.tar.gz";
# sha256 = "sha256-8S58zrdpzGhax6tmn1iABR3AA0N9DJMu5FQI8JkA0NNU";
};
in
flake-compat

View file

@ -22,8 +22,8 @@
"nixpkgs": {
"locked": {
"lastModified": 0,
"narHash": "sha256-5fNndbndxSx5d+C/D0p/VF32xDiJCJzyOqorOYW4JEo=",
"path": "/nix/store/0xbni69flk8380w0apw4h640n37wn1i9-source",
"narHash": "sha256-JO+lFN2HsCwSLMUWXHeOad6QUxOuwe9UOAF/iSl1J4I=",
"path": "/nix/store/fz4h8yz3qr83p6cfhisgj02knjqg6nxs-source",
"type": "path"
},
"original": {

View file

@ -18,10 +18,7 @@
projectName = builtins.baseNameOf ./.;
commonBuildInputs = with pkgs; [
djlint
rubyPackages_3_4.htmlbeautifier
sass
vscode-langservers-extracted
yarn
yarn2nix
];
@ -35,6 +32,9 @@
siteDrv = pkgs.stdenv.mkDerivation {
name = projectName;
LANG = "en_US.UTF-8";
LC_ALL = "en_US.UTF-8";
src = builtins.filterSource (
path: type:
!(builtins.elem (baseNameOf path) [
@ -47,6 +47,7 @@
nativeBuildInputs =
with pkgs;
[
bash
cacert
lightningcss
]
@ -59,7 +60,9 @@
'';
buildPhase = ''
${./bin/build}
echo "PATH: $PATH"
which htmlbeautifier
${pkgs.bash}/bin/bash ${./bin/build}
'';
installPhase = ''