diff options
-rw-r--r-- | bash/x.sh | 2 | ||||
-rw-r--r-- | default.nix | 12 |
2 files changed, 13 insertions, 1 deletions
@@ -16,5 +16,5 @@ isLinux && { xdg-mime default firefox.desktop text/html xdg-mime default firefox.desktop text/xml - xdg-mime default nautilus.desktop inode/directory # FIXME + xdg-mime default nautilus.desktop inode/directory } diff --git a/default.nix b/default.nix index c27faff..9ce1e8a 100644 --- a/default.nix +++ b/default.nix @@ -14,6 +14,17 @@ in with pkgs; with pkgs.stdenv; rec { touch $out ''; }; + fixme = mkDerivation { + name = "dotfiles-fixme"; + src = ./.; + phases = "unpackPhase buildPhase"; + buildInputs = [ pkgs.ag ]; + buildPhase = '' + ag FIXME --ignore default.nix || { + touch $out + } + ''; + }; }; test = mkDerivation rec { name = "dotfiles-test"; @@ -21,6 +32,7 @@ in with pkgs; with pkgs.stdenv; rec { phases = "unpackPhase buildPhase"; buildInputs = [ subtasks.shellcheck + subtasks.fixme ]; buildPhase = '' echo "Ran tests for:" |