mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-06 15:15:58 +00:00
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:
parent
bd093ee97d
commit
4f24995fdb
@ -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";
|
||||||
|
@ -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 = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user