From c4ec9064063f3b15aeb25feb85a3afaaa02008ba Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sun, 13 Aug 2023 22:06:32 +0200 Subject: Remove leftover static assets specific to individual blog posts --- src/http/static/markov/markov.nix | 63 --------------------------------------- 1 file changed, 63 deletions(-) delete mode 100644 src/http/static/markov/markov.nix (limited to 'src/http/static/markov/markov.nix') diff --git a/src/http/static/markov/markov.nix b/src/http/static/markov/markov.nix deleted file mode 100644 index 042ab8d..0000000 --- a/src/http/static/markov/markov.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ - pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/d50923ab2d308a1ddb21594ba6ae064cab65d8ae.tar.gz") {} -}: - -rec { - - markov = pkgs.buildGoModule { - pname = "markov"; - version = "618b666484566de71f2d59114d011ff4621cf375"; - src = pkgs.fetchFromGitHub { - owner = "mediocregopher"; - repo = "markov"; - rev = "618b666484566de71f2d59114d011ff4621cf375"; - sha256 = "1sx9dr1q3vr3q8nyx3965x6259iyl85591vx815g1xacygv4i4fg"; - }; - vendorSha256 = "048wygrmv26fsnypsp6vxf89z3j0gs9f1w4i63khx7h134yxhbc6"; - }; - - entrypoint = pkgs.writeScriptBin "markov" '' - #!${pkgs.stdenv.shell} - - # On every run we create new, temporary, configuration files for redis and - # circus. To do this we create a new config directory. - markovCfgDir=$(${pkgs.coreutils}/bin/mktemp -d) - echo "generating configuration to $markovCfgDir" - - ${pkgs.coreutils}/bin/cat >$markovCfgDir/redis.conf <$markovCfgDir/circus.ini <