summaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-09-24 13:24:06 +0200
committerAdrian Kummerlaender2018-09-24 13:25:06 +0200
commitbff7d01257879f593cddc9c4014c9427b8b6f5b7 (patch)
tree1a01c50a8b9f5b4fe62b8e207bf74a290c3296e4 /host
parentd87ea11ddad434052fae1eaf30ae70bf2f66a494 (diff)
downloadnixos_system-bff7d01257879f593cddc9c4014c9427b8b6f5b7.tar
nixos_system-bff7d01257879f593cddc9c4014c9427b8b6f5b7.tar.gz
nixos_system-bff7d01257879f593cddc9c4014c9427b8b6f5b7.tar.bz2
nixos_system-bff7d01257879f593cddc9c4014c9427b8b6f5b7.tar.lz
nixos_system-bff7d01257879f593cddc9c4014c9427b8b6f5b7.tar.xz
nixos_system-bff7d01257879f593cddc9c4014c9427b8b6f5b7.tar.zst
nixos_system-bff7d01257879f593cddc9c4014c9427b8b6f5b7.zip
Declaratively fetch latest custom derivations
Diffstat (limited to 'host')
-rw-r--r--host/software/blog.kummerlaender.eu.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/host/software/blog.kummerlaender.eu.nix b/host/software/blog.kummerlaender.eu.nix
index 0b111ad..8921e0a 100644
--- a/host/software/blog.kummerlaender.eu.nix
+++ b/host/software/blog.kummerlaender.eu.nix
@@ -1,8 +1,6 @@
{ pkgs, ... }:
let
- mypkgs = import <mypkgs> { };
-
content = pkgs.stdenv.mkDerivation {
name = "blog.kummerlaender.eu";
@@ -15,17 +13,19 @@ let
LANG = "en_US.UTF-8";
- buildInputs = [
+ buildInputs = let
+ mypkgs = import (fetchTarball "https://pkgs.kummerlaender.eu/nixexprs.tar.gz") { };
+ in [
pkgs.pandoc
pkgs.highlight
- mypkgs.KaTeX
- mypkgs.makeweb
+ mypkgs.katex-wrapper
+ mypkgs.make-xslt
];
patches = [ ./asset/blog.kummerlaender.eu-change-domain.patch ];
installPhase = ''
- makeweb
+ make-xslt
mkdir $out
cp -Lr target/99_result/* $out
'';