Skip to content

Commit cd3adc7

Browse files
committed
Fixed nix build for old version
1 parent 25db01e commit cd3adc7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

flake.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,17 @@
1515
packages = [
1616
(pkgs.hugo.overrideAttrs (old: {
1717
version = "0.118.2";
18+
src = pkgs.fetchFromGitHub {
19+
owner = "gohugoio";
20+
repo = "hugo";
21+
rev = "v0.118.2";
22+
sha256 = "sha256-kEcLcNdhUjCTBfBVMYh+/5xxiCrGWeW8my//FcyXWtA="; # You'll need to get the correct hash
23+
};
24+
vendorHash = "sha256-xnkpai3WRIeipWDKrYLPMcjfI1hd6XFRR5H7u2xCp00=";
1825
}))
1926
pkgs.nodePackages.postcss
2027
pkgs.go
28+
pkgs.nodePackages.nodejs
2129
];
2230
};
2331
}

0 commit comments

Comments
 (0)