this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

aria.rip: nix build broken cos of mermaid :(

Aria 21d5dc4f d890fbc9

+2 -59
-50
web/aria.rip/default.nix
··· 1 - { 2 - lib, 3 - stdenv, 4 - just, 5 - soupault, 6 - pandoc, 7 - gawk, 8 - lua, 9 - bash, 10 - 11 - notesPath, 12 - ... 13 - }: 14 - stdenv.mkDerivation { 15 - name = "aria.rip"; 16 - src = lib.sources.sourceByRegex ./. [ 17 - "src/?.*" 18 - "scripts/?.*" 19 - "site/?.*" 20 - "templates/?.*" 21 - "filters/?.*" 22 - "soupault.toml" 23 - "justfile" 24 - ]; 25 - 26 - phases = [ 27 - "buildPhase" 28 - "installPhase" 29 - ]; 30 - 31 - nativeBuildInputs = [ 32 - just 33 - soupault 34 - pandoc 35 - gawk 36 - lua 37 - bash 38 - ]; 39 - 40 - NOTES_PATH = notesPath; 41 - 42 - buildPhase = '' 43 - cp $src/* . -r 44 - just build --no-caching 45 - ''; 46 - 47 - installPhase = '' 48 - cp -a build/ $out/ 49 - ''; 50 - }
+2 -9
web/aria.rip/justfile
··· 16 16 echo "Rendering from repository" 17 17 soupault {{ FLAGS }} 18 18 19 - # Build with nix 20 - build-nix: 21 - #!/bin/sh 22 - nix-build -E "(import <nixpkgs> {}).callPackage ./default.nix {notesPath = $NOTES_PATH;}" 23 - 24 - deploy: build-nix 25 - #!/bin/sh 26 - OUT_PATH=$(nix-build -E "(import <nixpkgs> {}).callPackage ./default.nix {notesPath = $NOTES_PATH;}") 27 - rsync -ravP --del $OUT_PATH/ root@aria.rip:/var/www/aria.rip/ 19 + deploy: clean build 20 + rsync -ravP --del build/ root@aria.rip:/var/www/aria.rip/ 28 21 29 22 # Watch for changes and rebuild 30 23 watch: