Update build for new website

This commit is contained in:
Eike Kettner
2020-07-30 20:31:53 +02:00
parent f8c6f79b10
commit 9bc6c60dfe
5 changed files with 372 additions and 219 deletions

View File

@ -1,14 +1,18 @@
with import <nixpkgs> { };
let
initScript = writeScript "docspell-build-init" ''
nixpkgsUnstable = builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz";
};
pkgsUnstable = import nixpkgsUnstable { };
initScript = pkgsUnstable.writeScript "docspell-build-init" ''
export LD_LIBRARY_PATH=
${bash}/bin/bash -c sbt
${pkgsUnstable.bash}/bin/bash -c sbt
'';
in
in with pkgsUnstable;
buildFHSUserEnv {
name = "docspell-sbt";
targetPkgs = pkgs: with pkgs; [
netcat jdk8 wget which zsh dpkg sbt git elmPackages.elm ncurses fakeroot mc jekyll
netcat jdk8 wget which zsh dpkg sbt git elmPackages.elm ncurses fakeroot mc
zola yarn
# haskells http client needs this (to download elm packages)