aboutsummaryrefslogtreecommitdiff
path: root/default.nix (unfollow)
Commit message (Expand)AuthorFilesLines
2019-06-02Use GPLv3 or later in footerEuAndreh1-1/+1
2019-06-02Update utils.nix to now use local README.css fileEuAndreh2-5/+336
2019-06-02Update utils.nix...Fix boolean logic bug on overwriting docs. EuAndreh1-1/+1
2019-06-02Format utils.nixEuAndreh1-1/+3
2019-06-02Don't overwrite current content in publishScriptEuAndreh1-1/+4
2019-06-02Update generated utils.nixEuAndreh1-14/+10
2019-06-01Make hunspell call more clearEuAndreh1-2/+8
2019-06-01Fix check-spelling.sh linter offensesEuAndreh1-5/+6
2019-06-01Format Nix code (linter offense)EuAndreh2-17/+18
2019-06-01Move test code out of default.nix...- use common utils.nix code for generic test derivation; - move spell checking code into standalone Bash file. EuAndreh4-90/+155
2019-05-22Use pinned version of hakyll...Current unstable is marked as broken. Also see: - https://github.com/NixOS/nixpkgs/pull/61593 EuAndreh1-2/+8
2019-05-22Check spelling with hunspell and fix current errors...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. EuAndreh9-27/+73
2019-05-22Fix hakyll build: use proper src for subtasks.docs...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 :) EuAndreh1-0/+1
2019-05-22Fail hunspellCheck when hunspell detects spelling mistakesEuAndreh1-0/+7
2019-05-22Setup hunspell spellchecking to run against HTML outputEuAndreh2-1/+29
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-21TODOs.orgEuAndreh1-4/+5
2019-05-21Add simple "About Me" pageEuAndreh1-1/+5
2019-05-21Add actual tests to website CLIEuAndreh4-10/+27
2019-05-21Add Hakyll _cache/ folder to .gitignoreEuAndreh1-2/+5
2019-05-21Remove racket package from shell derivationEuAndreh1-1/+0
2019-05-21Exclude pastebin/skeleton.org in subtasks.fixme runEuAndreh1-1/+1
2019-05-21TODOs.orgEuAndreh1-3/+3
2019-05-20Extend buildInputs instead of overrindingEuAndreh1-1/+1
2019-05-20TODOs.orgEuAndreh1-0/+5
2019-05-19Split default.nix tasksEuAndreh1-32/+73
2019-05-19Add shebang to env.shEuAndreh1-0/+4
2019-05-19Use NixOS instead of Debian of CI build OS.EuAndreh2-10/+4
2019-01-05Print CLI errors using Term::ANSIColor.EuAndreh6-13/+28
2019-01-05Add BATS tests to CLI usage and basic interactions....Also, remove custom =nix-shell= shebang from Perl files. Instead, we should inherit Perl from the =shell= derivation in default.nix. EuAndreh7-19/+68
2019-01-01TODOs.org.EuAndreh1-1/+3
2018-12-30Generate pastebin HTML with pandoc....Instead of generating the HTML manually inside Emacs (=, e e h h=) and than commiting the file to the repo, we now use a more generic approach with pandoc, not tied to any Elisp configuration. EuAndreh6-601/+7
2018-12-30Use creation date of pastebin instead of dynamic exported date.EuAndreh4-3/+9
2018-12-30Edit newly created pastebin with vi.EuAndreh1-3/+6
2018-12-29Allow website subcommands to be run on any folder.EuAndreh1-2/+5
2018-12-29Revert to file derived from template + envsubst.EuAndreh1-11/+11
2018-12-29WIP: Manually modify generated .build.yml.EuAndreh1-20/+12
2018-12-29Test Dhall generated .build.yml file.EuAndreh1-20/+28
2018-12-29Improve usage message when arguments are missing.EuAndreh2-11/+15
2018-12-29Print realpath of generated files.EuAndreh3-1/+6
2018-12-29Run podchecker in Nix test step.EuAndreh1-1/+1
2018-12-29Add website-slides as Perl subcommand.EuAndreh3-27/+70
2018-12-29Fix forwarding of arguments to sub-scripts.EuAndreh1-4/+9
2018-12-29Use Getopt::Long and Pod::Usage to build basic CLI.EuAndreh4-86/+182
2018-12-29Add =test= to default.nix and run in on CI.EuAndreh2-0/+14
2018-12-29WIP: Use Perl instead of Racket for CLI.EuAndreh4-43/+75
2018-12-24Add initial Racket CLI for handling scripts.EuAndreh3-0/+46
2018-12-24Build and publish website using Nix; remove Makefile.EuAndreh6-100/+52