update to remove media from basant

This commit is contained in:
Anish Lakhwara 2023-04-08 00:16:58 +10:00
parent ea98ec57c4
commit 15db0ea5c1
3 changed files with 34 additions and 9 deletions

View file

@ -3,9 +3,10 @@ nav_tags = ['dev', 'way', 'recipe', 'ops', 'blog',
relative_build_url = "" relative_build_url = ""
absolute_build_url = "https://anish.lakhwara.com/" absolute_build_url = "https://anish.lakhwara.com/"
files_folder = 'public/' files_folder = 'public/'
_folder = 'public/'
build_folder = "output/" build_folder = "output/"
assets_folder = "./basant/assets/" assets_folder = "./basant/assets/"
medias_folder = "./basant/media/" medias_folder = "media/"
raw_folder = "raw/" raw_folder = "raw/"
template_main = "./basant/partial/main.html" template_main = "./basant/partial/main.html"
template_nav = "./basant/partial/nav.html" template_nav = "./basant/partial/nav.html"

View file

@ -32,11 +32,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1649667661, "lastModified": 1662446902,
"narHash": "sha256-9cbstidkXdAC3ZzokV6clgCoeLSbbs2tis9KFsqCzTM=", "narHash": "sha256-Dmsd3jSG2ldZUlhFaIwunqgMf14EEK7ylXpw+OPDLxE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a48aeae76ad50bb15ad9bda2cf51d7ae5c621853", "rev": "3bfaf06b12253ddaafe64a67f4ed39b547d41667",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -47,14 +47,15 @@
}, },
"poonam": { "poonam": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2",
"vimwiki-cli": "vimwiki-cli"
}, },
"locked": { "locked": {
"lastModified": 1650036007, "lastModified": 1680876003,
"narHash": "sha256-ybTF+wYqdjZcmidtTXPmyBpGsjdOGApDNw7ri5E6Uac=", "narHash": "sha256-3aN6OSLrDpMHgViYr+C0qV7bVULpoN2vkcEdeKPq7B8=",
"ref": "main", "ref": "main",
"rev": "4864d9de300f3dc3e70becc36442b1494da6a3b2", "rev": "65bb6b4d5f1f3e6f022b939b7feaf927c5c712cd",
"revCount": 325, "revCount": 588,
"type": "git", "type": "git",
"url": "ssh://gitea@git.sealight.xyz/aynish/kitaab" "url": "ssh://gitea@git.sealight.xyz/aynish/kitaab"
}, },
@ -70,6 +71,28 @@
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"poonam": "poonam" "poonam": "poonam"
} }
},
"vimwiki-cli": {
"inputs": {
"nixpkgs": [
"poonam",
"nixpkgs"
]
},
"locked": {
"lastModified": 1662448409,
"narHash": "sha256-Xd8CuFcEpEQK/TjNBXcp1HqPJCc7LwkMqKa1WiAP1Zc=",
"ref": "main",
"rev": "a73c4695cf116c2e8194a5caa837c2f9e1a7e2fb",
"revCount": 7,
"type": "git",
"url": "ssh://gitea@git.sealight.xyz/aynish/vimwiki-cli"
},
"original": {
"ref": "main",
"type": "git",
"url": "ssh://gitea@git.sealight.xyz/aynish/vimwiki-cli"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -50,6 +50,7 @@
buildInputs = [ poonam.defaultPackage.${system} self.packages.${system}.basant ]; buildInputs = [ poonam.defaultPackage.${system} self.packages.${system}.basant ];
configurePhase = '' configurePhase = ''
cp -r ${poonam.defaultPackage.${system}}/public/ ./ cp -r ${poonam.defaultPackage.${system}}/public/ ./
cp -r ${poonam.defaultPackage.${system}}/assets/ ./
''; '';
buildPhase = '' buildPhase = ''
${self.packages.${system}.basant}/bin/main.py ${self.packages.${system}.basant}/bin/main.py