| Commit message (Expand) | Author | Age | Files | Lines |
... | |
* | Fix 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 :)
| EuAndreh | 2019-05-22 | 1 | -0/+1 |
* | Fail hunspellCheck when hunspell detects spelling mistakes | EuAndreh | 2019-05-22 | 1 | -0/+7 |
* | Setup hunspell spellchecking to run against HTML output | EuAndreh | 2019-05-22 | 2 | -1/+29 |
* | Add formatNix subtask and use it as buildInput for test derivation | EuAndreh | 2019-05-22 | 1 | -0/+9 |
* | Format default.nix file using nixfmt | EuAndreh | 2019-05-22 | 1 | -16/+17 |
* | Add nixfmt to mkShell derivation | EuAndreh | 2019-05-22 | 1 | -0/+2 |
* | TODOs.org | EuAndreh | 2019-05-21 | 1 | -4/+5 |
* | Add simple "About Me" page | EuAndreh | 2019-05-21 | 1 | -1/+5 |
* | Add actual tests to website CLI | EuAndreh | 2019-05-21 | 4 | -10/+27 |
* | Add Hakyll _cache/ folder to .gitignore | EuAndreh | 2019-05-21 | 1 | -2/+5 |
* | Remove racket package from shell derivation | EuAndreh | 2019-05-21 | 1 | -1/+0 |
* | Exclude pastebin/skeleton.org in subtasks.fixme run | EuAndreh | 2019-05-21 | 1 | -1/+1 |
* | TODOs.org | EuAndreh | 2019-05-21 | 1 | -3/+3 |
* | Extend buildInputs instead of overrinding | EuAndreh | 2019-05-20 | 1 | -1/+1 |
* | TODOs.org | EuAndreh | 2019-05-20 | 1 | -0/+5 |
* | Split default.nix tasks | EuAndreh | 2019-05-19 | 1 | -32/+73 |
* | Add shebang to env.sh | EuAndreh | 2019-05-19 | 1 | -0/+4 |
* | Use NixOS instead of Debian of CI build OS. | EuAndreh | 2019-05-19 | 2 | -10/+4 |
* | Print CLI errors using Term::ANSIColor. | EuAndreh | 2019-01-05 | 6 | -13/+28 |
* | Add 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.
| EuAndreh | 2019-01-05 | 7 | -19/+68 |
* | TODOs.org. | EuAndreh | 2019-01-01 | 1 | -1/+3 |
* | Generate 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.
| EuAndreh | 2018-12-30 | 6 | -601/+7 |
* | Use creation date of pastebin instead of dynamic exported date. | EuAndreh | 2018-12-30 | 4 | -3/+9 |
* | Edit newly created pastebin with vi. | EuAndreh | 2018-12-30 | 1 | -3/+6 |
* | Allow website subcommands to be run on any folder. | EuAndreh | 2018-12-29 | 1 | -2/+5 |
* | Revert to file derived from template + envsubst. | EuAndreh | 2018-12-29 | 1 | -11/+11 |
* | WIP: Manually modify generated .build.yml. | EuAndreh | 2018-12-29 | 1 | -20/+12 |
* | Test Dhall generated .build.yml file. | EuAndreh | 2018-12-29 | 1 | -20/+28 |
* | Improve usage message when arguments are missing. | EuAndreh | 2018-12-29 | 2 | -11/+15 |
* | Print realpath of generated files. | EuAndreh | 2018-12-29 | 3 | -1/+6 |
* | Run podchecker in Nix test step. | EuAndreh | 2018-12-29 | 1 | -1/+1 |
* | Add website-slides as Perl subcommand. | EuAndreh | 2018-12-29 | 3 | -27/+70 |
* | Fix forwarding of arguments to sub-scripts. | EuAndreh | 2018-12-29 | 1 | -4/+9 |
* | Use Getopt::Long and Pod::Usage to build basic CLI. | EuAndreh | 2018-12-29 | 4 | -86/+182 |
* | Add =test= to default.nix and run in on CI. | EuAndreh | 2018-12-29 | 2 | -0/+14 |
* | WIP: Use Perl instead of Racket for CLI. | EuAndreh | 2018-12-29 | 4 | -43/+75 |
* | Add initial Racket CLI for handling scripts. | EuAndreh | 2018-12-24 | 3 | -0/+46 |
* | Build and publish website using Nix; remove Makefile. | EuAndreh | 2018-12-24 | 6 | -100/+52 |
* | Remove =all= target from Makefile. | EuAndreh | 2018-12-22 | 1 | -3/+0 |
* | Add favicon.ico image file. | EuAndreh | 2018-12-22 | 2 | -0/+3 |
* | Add script to scaffold new pastebin skeleton. | EuAndreh | 2018-12-22 | 4 | -0/+33 |
* | Fix template path. | EuAndreh | 2018-12-22 | 1 | -1/+1 |
* | TODOs.org: add teaser link. | EuAndreh | 2018-12-22 | 1 | -0/+3 |
* | Cleanup home content. | EuAndreh | 2018-12-22 | 1 | -9/+3 |
* | Rely on Nix semantics to not build things twice....Instead of improving the current logic, we can reliably expect that Nix will
produce the same output given the same input.
| EuAndreh | 2018-12-21 | 1 | -4/+2 |
* | Update links to source code. | EuAndreh | 2018-12-21 | 1 | -1/+1 |
* | TODOs.org. | EuAndreh | 2018-12-21 | 1 | -1/+3 |
* | s/EuAndreh's Blog/EuAndreh's blog/. | EuAndreh | 2018-12-21 | 1 | -2/+2 |
* | Put article name before blog name in page titles. | EuAndreh | 2018-12-21 | 1 | -1/+1 |
* | Add .build.yml file to build and publish website. | EuAndreh | 2018-12-21 | 1 | -0/+16 |