aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/x.sh2
-rw-r--r--default.nix12
2 files changed, 13 insertions, 1 deletions
diff --git a/bash/x.sh b/bash/x.sh
index e0700e3..e75cff3 100644
--- a/bash/x.sh
+++ b/bash/x.sh
@@ -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:"