summaryrefslogtreecommitdiffstats
path: root/nix-script-ls-profiles.sh
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2015-06-05 13:10:10 +0200
committerMatthias Beyer <mail@beyermatthias.de>2015-06-05 13:10:10 +0200
commitcb2b52a46695de056b6c259fbbc74661e25d20f2 (patch)
treeae858fc3f79a2b80b5ee4e867321b6d265a67824 /nix-script-ls-profiles.sh
parentb12c8e040857b5732283369ad5674ed9eb0f2c75 (diff)
Add utility script for more DRY code
Diffstat (limited to 'nix-script-ls-profiles.sh')
-rwxr-xr-xnix-script-ls-profiles.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/nix-script-ls-profiles.sh b/nix-script-ls-profiles.sh
index f40e62a..778ea7d 100755
--- a/nix-script-ls-profiles.sh
+++ b/nix-script-ls-profiles.sh
@@ -1,5 +1,7 @@
#!/usr/bin/env bash
+source $(dirname ${BASH_SOURCE[0]})/nix-utils.sh
+
profiledir=/nix/var/nix/profiles
usage() {