diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-04-07 23:26:14 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-04-07 23:26:14 +0200 |
commit | 09ff17ff426ea228054bf2e1c981c3e0c38f6a04 (patch) | |
tree | 2e9137d721b15169541998285c8319a95f3e4ac0 /posts | |
parent | 8a378a37c342a750f067c9c2d07c59c4f47e4e96 (diff) | |
download | dirty-haskell.org-09ff17ff426ea228054bf2e1c981c3e0c38f6a04.tar dirty-haskell.org-09ff17ff426ea228054bf2e1c981c3e0c38f6a04.tar.gz dirty-haskell.org-09ff17ff426ea228054bf2e1c981c3e0c38f6a04.tar.bz2 dirty-haskell.org-09ff17ff426ea228054bf2e1c981c3e0c38f6a04.tar.xz dirty-haskell.org-09ff17ff426ea228054bf2e1c981c3e0c38f6a04.zip |
pwutil.nix argument documentation
Diffstat (limited to 'posts')
-rw-r--r-- | posts/pwutil.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/posts/pwutil.md b/posts/pwutil.md index 85b174b..69a780d 100644 --- a/posts/pwutil.md +++ b/posts/pwutil.md | |||
@@ -58,6 +58,15 @@ A `~/.nixpkgs/config.nix` allowing one to do so might look thus: | |||
58 | } | 58 | } |
59 | ~~~ | 59 | ~~~ |
60 | 60 | ||
61 | The derivation takes some arguments (write those in `{}` above): | ||
62 | |||
63 | `main ? null` | ||
64 | ~ Overwrite `pwutil.hs` with a file path | ||
65 | |||
66 | `with<Package> ? false` | ||
67 | ~ `<Package>` is one of Encfs, Pwgen, or Ssh a the current time. | ||
68 | If `true` wraps executables to have `$PATH` include `<Package>`. | ||
69 | |||
61 | ### `Types.hs` | 70 | ### `Types.hs` |
62 | 71 | ||
63 | `PWLocation` describes the location of a file containing a YAML object mapping human readable identifiers to account information. | 72 | `PWLocation` describes the location of a file containing a YAML object mapping human readable identifiers to account information. |