1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00
Commit graph

20 commits

Author SHA1 Message Date
zowoq
e88eb66c2b mapAttrsFlatten -> mapAttrsToList
deprecated in 473e469d5a
2024-07-27 13:37:28 +10:00
Weijia Wang
def1e23be8 treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
Emily
e2187d633c fish: simplify babelfishTranslate 2023-08-05 22:57:44 +01:00
Emily
e65825ca9e fish: add default for babelfishPackage
This option should probably be dropped but I'd prefer to batch that
with using Babelfish by default (or unconditionally, as Home Manager
does) so as to avoid multiple independent breaking changes.

Fixes: #632
2023-08-05 21:36:54 +01:00
Emily
e65131e69c treewide: convert all option docs to Markdown
This process was automated by [my fork of `nix-doc-munge`]; thanks
to @pennae for writing this tool! It automatically checks that the
resulting documentation doesn't change, although my fork loosens
this a little to ignore some irrelevant whitespace and typographical
differences.

As of this commit there is no DocBook remaining in the options
documentation.

You can play along at home if you want to reproduce this commit:

    $ NIX_PATH=nixpkgs=flake:nixpkgs/c1bca7fe84c646cfd4ebf3482c0e6317a0b13f22 \
      nix shell nixpkgs#coreutils \
      -c find . -name '*.nix' \
      -exec nix run github:emilazy/nix-doc-munge/0a7190f600027bf7baf6cb7139e4d69ac2f51062 \
      {} +

[my fork of `nix-doc-munge`]: https://github.com/emilazy/nix-doc-munge
2023-06-24 10:48:55 +01:00
Tianyao Chou
a3cab812ac add escape to shell aliases 2022-06-30 19:21:36 +02:00
Ryan Burns
771f01c4e6 fish: fix fenv function path 2021-02-04 17:52:27 -08:00
Kevin Griffin
aa5611cc81
fish: fix fenv reference on 20.09
Referring to the deprecated package first causes
an error to be thrown before the correct package can be selected.
2021-01-30 11:27:01 +09:00
Kevin Griffin
867ef96e0b
fish: add babelfish translation option
Configuration may be ran through fenv at shell start time
(as previously) or translated to fish at build time with
a specified babelfish package.
2021-01-17 10:30:27 +09:00
Andrew Childs
676ef10377 Unify environment configuration and don't run in child shells
This should enable `nix run` to work under shells like fish and zsh,
as well as making child shells not needlessly reset any environment
that should be inherited.

Implementation adapted from NixOS.
2018-10-25 01:00:52 +09:00
Colin Barrett
a069111873 Set PATH since that's not being done by setEnvironment 2017-10-15 23:42:37 -04:00
Colin Barrett
1dd1f60f90 nixos -> nix_darwin 2017-10-15 23:26:16 -04:00
Colin Barrett
a6cd3bb61f Port over the NixOS fish module 2017-10-15 23:26:16 -04:00
Daiderd Jordan
e8355cdd93
system-build: change type of setEnvironment and setAliases
On NixOS system.build.setEnvironment also is a writeText
2017-10-07 12:41:33 +02:00
Daiderd Jordan
a8b4770275
environment: include extraInit in set-environment script 2017-10-07 12:27:43 +02:00
Daiderd Jordan
88a11d28f1
bash: enable by default 2017-07-09 10:16:57 +02:00
Daiderd Jordan
1b6f56f5b8
environment: include /usr/sbin and /sbin in systemPath
Don't extend initial PATH adding extra entries should be done through
appending environment.systemPath or manually extending it with
environment.extraInit or similar options.
2017-05-15 19:46:34 +02:00
Daiderd Jordan
1c30a6ab2d
fish: link /share/fish when enabled 2017-05-13 15:05:36 +02:00
Daiderd Jordan
367a05488f
fish: use writeText for foreign-env 2017-02-02 19:40:08 -06:00
Eric Bailey
75575107a6
Add programs.fish module
In nix-darwin, `config.system.build.setEnvironment is a string containing a
script, not a filename, so our usage is a bit different from NixOS's.
2017-02-02 00:04:17 -06:00