summaryrefslogtreecommitdiff
path: root/default.nix (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-12-04default.nix: Add remotePUblishScriptEuAndreh1-0/+10
2020-11-03Finish packaging mdpoEuAndreh1-1/+1
2020-11-03Move other Nix files to nix/EuAndreh1-2/+2
2020-11-03default.nix: Init packaging mdpoEuAndreh1-0/+3
2020-11-03default.nix: Enable --trace by defaultEuAndreh1-2/+2
2020-10-30Add esperanto dictionary and spellcheck websiteEuAndreh1-1/+1
2020-10-24Start jekyll server on shell by defaultEuAndreh1-1/+2
2020-10-23default.nix: Remove rec from shell derivationEuAndreh1-1/+1
2020-10-23Add Perl package to default.nixEuAndreh1-0/+1
2020-10-16Add GraphvizBlock pluginEuAndreh1-0/+1
2020-10-11Add note on starting a live serverEuAndreh1-0/+4
2020-10-11Decouple testing with NixEuAndreh1-102/+48
Use Nix for build isolation not for test running.
2020-10-05default.nix: Add site attribute as an alias for subtasks.docsEuAndreh1-0/+1
2020-09-01Add sha256 to downloaded hunspell dictionariesEuAndreh1-11/+28
2020-08-31Add spellchecking back to tests, with support for en, pt and fr dictsEuAndreh1-6/+26
2020-08-29default.nix: Don't use $NIXPKGS from environmentEuAndreh1-1/+3
2020-08-20default.nix: Add fastPublishScript derivationEuAndreh1-0/+4
2020-08-14default.nix: Remove existing HTML before publishingEuAndreh1-1/+1
2020-08-12Allow more folders to contain 'FIXME' textEuAndreh1-1/+9
2020-08-10default.nix: Exclude _posts/ from utils.fixme checkEuAndreh1-1/+1
2020-08-06Ignore FIXME occurrencies inside _pastebin/EuAndreh1-1/+1
2020-08-05Remove HTML Tidy stepEuAndreh1-8/+1
It conflicts with rouge, and changes the visualization of the final HTML. So I can look at a CSS locally served by 'jekyll serve' but in the end final output is different.
2020-08-05Use tidy to format HTMLEuAndreh1-1/+2
More than to lint it :shrug:
2020-02-14Improve error message of tidy-content.shEuAndreh1-1/+5
2020-02-14Add building docs to test derivationEuAndreh1-0/+2
2020-02-14Call tidy-content.sh in build derivationEuAndreh1-1/+1
2020-02-12html tidy wipEuAndreh1-1/+3
2020-02-06Run assert-content.sh in test derivationEuAndreh1-0/+10
2020-02-06Let jekyll create the $out directoryEuAndreh1-1/+0
2020-02-06Format default.nix with nixfmtEuAndreh1-2/+1
2020-02-06Run hunspell in test derivationEuAndreh1-0/+11
2020-02-05Add manual support for multiple languagesEuAndreh1-21/+3
2020-02-05Add bundix Jekyll setupEuAndreh1-0/+7
2020-02-05Delete old filesEuAndreh1-49/+2
2020-01-24Add pastebins.html listing pageEuAndreh1-5/+1
2019-11-15Format default.nix (linter offense)EuAndreh1-2/+2
2019-06-03default.nix :nail_care:EuAndreh1-1/+1
2019-06-03Inline declaration of rootSrcEuAndreh1-2/+1
2019-06-02Don't overwrite current content in publishScriptEuAndreh1-1/+4
2019-06-01Format Nix code (linter offense)EuAndreh1-16/+16
2019-06-01Move test code out of default.nixEuAndreh1-89/+23
- use common utils.nix code for generic test derivation; - move spell checking code into standalone Bash file.
2019-05-22Use pinned version of hakyllEuAndreh1-2/+8
Current unstable is marked as broken. Also see: - https://github.com/NixOS/nixpkgs/pull/61593
2019-05-22Check spelling with hunspell and fix current errorsEuAndreh1-7/+11
The =sort= command requires $LANG to be set in order to sort consistently acrros environments and OSes. hunspell needs it to properly interpret non-ascii characters from the provided custom dictionaries.
2019-05-22Fix hakyll build: use proper src for subtasks.docsEuAndreh1-0/+1
I couldn't find out what was causing the website build to fail. I looked back in the git history and since I remembered the code back in January 1st 2019 was working, I searched for the last commit from that period (before I started working on it again recently). This was the perfect use case for using git bisect. After identifying a good commit back then ( 55e947d7901c17dbb1365a5cfb9f40acd50e903b), I read the =git help bisect= instructions, I only had to find the command to combine with =git bisect run= to test each commit. Initially I considered doing a simple or: nix-build -A subtasks.docs || nix-build -A build This would work, but I later figured that the =publishScript= derivation existed back then, and I could instead use it. The final bisect commands were: git bisect start HEAD 55e947d7901c17dbb1365a5cfb9f40acd50e903b -- git bisect run nix-build -A publishScript git bisect reset After the second command and around 30 seconds and a lot of output, git said: error: build of '/nix/store/299c1mwcwxxl74cvzr13lzlfqfdqxdlc-publish.sh.drv' failed 997bed0f60a8d09fa14544c0d4c489f771e2534c is the first bad commit commit 997bed0f60a8d09fa14544c0d4c489f771e2534c Author: EuAndreh <eu@euandre.org> Date: Sun May 19 01:39:07 2019 -0300 Split default.nix tasks :100644 100644 00572eb6a32da956d18b14e1c00323bba1b34a72 31feb5afc45ed2592b8f7a81b4ba7fe56fbe3fd1 M default.nix bisect run success After looking at how default.nix was before and after the bad commit, I realised that the =src= attribute of the =subtasks.docs= derivation was adapted incorrectly after being changed from the =build= derivation. After fixing it, it worked :) Great job git :)
2019-05-22Fail hunspellCheck when hunspell detects spelling mistakesEuAndreh1-0/+7
2019-05-22Setup hunspell spellchecking to run against HTML outputEuAndreh1-1/+22
2019-05-22Add formatNix subtask and use it as buildInput for test derivationEuAndreh1-0/+9
2019-05-22Format default.nix file using nixfmtEuAndreh1-16/+17
2019-05-22Add nixfmt to mkShell derivationEuAndreh1-0/+2
2019-05-21Remove racket package from shell derivationEuAndreh1-1/+0