Pin nixpkgs to a version with zola-0.11.0

The site doesn't build without warnings for later versions. Needs
cleanup.
This commit is contained in:
eikek 2021-05-31 13:57:26 +02:00
parent bd093ee97d
commit 4f24995fdb
2 changed files with 12 additions and 10 deletions

View File

@ -1,13 +1,14 @@
let let
nixpkgsUnstable = builtins.fetchTarball { nixpkgs = builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"; ## need fix to zola-0.11.0 for now
url = "https://github.com/NixOS/nixpkgs/archive/92e990a8d6bc35f1089c76dd8ba68b78da90da59.tar.gz";
}; };
pkgsUnstable = import nixpkgsUnstable { }; pkgs = import nixpkgs { };
initScript = pkgsUnstable.writeScript "docspell-build-init" '' initScript = pkgs.writeScript "docspell-build-init" ''
export LD_LIBRARY_PATH= export LD_LIBRARY_PATH=
${pkgsUnstable.bash}/bin/bash -c sbt ${pkgs.bash}/bin/bash -c sbt
''; '';
in with pkgsUnstable; in with pkgs;
buildFHSUserEnv { buildFHSUserEnv {
name = "docspell-sbt"; name = "docspell-sbt";

View File

@ -1,10 +1,11 @@
let let
nixpkgsUnstable = builtins.fetchTarball { nixpkgs = builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs-channels/archive/92e990a8d6bc35f1089c76dd8ba68b78da90da59.tar.gz"; ## need fix to zola-0.11.0 for now
url = "https://github.com/NixOS/nixpkgs/archive/92e990a8d6bc35f1089c76dd8ba68b78da90da59.tar.gz";
}; };
pkgsUnstable = import nixpkgsUnstable { }; pkgs = import nixpkgs { };
in in
with pkgsUnstable; with pkgs;
mkShell { mkShell {
buildInputs = [ buildInputs = [