remove the vendor stuff
parent
4aa3e48640
commit
7fc153bcfb
2
conf
2
conf
|
@ -11,7 +11,7 @@ local)
|
||||||
eval ${@:2}
|
eval ${@:2}
|
||||||
;;
|
;;
|
||||||
remote)
|
remote)
|
||||||
export NIX_PATH="nixpkgs=https://nixos.org/channels/nixos-16.09/nixexprs.tar.xz:nixos-config=`pwd`/$2/configuration.nix:ssh-id-file=`pwd`/deploy_key":secrets=`pwd`/secrets.nix:muflax-blog=./vendor/muflax-blog
|
export NIX_PATH="nixpkgs=https://nixos.org/channels/nixos-16.09/nixexprs.tar.xz:nixos-config=`pwd`/$2/configuration.nix:ssh-id-file=`pwd`/deploy_key":secrets=`pwd`/secrets.nix
|
||||||
eval ${@:3}
|
eval ${@:3}
|
||||||
;;
|
;;
|
||||||
local-deploy)
|
local-deploy)
|
||||||
|
|
|
@ -3,7 +3,13 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.services.muflax-blog;
|
cfg = config.services.muflax-blog;
|
||||||
blog = lib.overrideDerivation (pkgs.callPackage <muflax-blog/maintenance> {}) (default: {
|
muflax-source = pkgs.fetchFromGitHub {
|
||||||
|
rev = "e5ce7ae4296c6605a7e886c153d569fc38318096";
|
||||||
|
owner = "fmap";
|
||||||
|
repo = "muflax65ngodyewp.onion";
|
||||||
|
sha256 = "10n5km8mr7vjqlyb46drfhwzlrwranqaxpqc53a2hk9pqqckm8cx";
|
||||||
|
};
|
||||||
|
blog = lib.overrideDerivation (pkgs.callPackage "${muflax-source}/maintenance" {}) (default: {
|
||||||
buildPhase = default.buildPhase + "\n" + ''
|
buildPhase = default.buildPhase + "\n" + ''
|
||||||
grep -lr '[^@]muflax.com' out | xargs -r sed -i 's/\([^@]\)muflax.com/\1${cfg.hidden-service.hostname}/g'
|
grep -lr '[^@]muflax.com' out | xargs -r sed -i 's/\([^@]\)muflax.com/\1${cfg.hidden-service.hostname}/g'
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit e5ce7ae4296c6605a7e886c153d569fc38318096
|
|
Loading…
Reference in New Issue