about summary refs log tree commit diff
path: root/lib
Commit message (Collapse)AuthorAge
* maintainers.nix: add jokoIoannis Koutras2016-07-13
|
* lfe: init at 1.1.1 (#16865)Eric Bailey2016-07-12
| | | | | This is a first pass at adding an LFE package. N.B. man pages are ignored for now.
* mypy-lang: init at 0.4.2Martin Gammelsæter2016-07-11
|
* libqrencode: init at 3.4.4Adolfo E. García2016-07-11
| | | | | | * libqrencode: init at 3.4.4 * libqrencode: add maintainer #16861
* Really remove library functionsEelco Dolstra2016-07-11
| | | | | Throwing a message like "removed 2016-02-29 because unused and broken" is unhelpful because it doesn't show what function was removed.
* solarus: init at 1.4.5Nathan Moore2016-07-05
|
* Merge pull request #16594 from mpscholten/maphosts2Joachim Fasting2016-07-02
|\ | | | | maphosts: init at 1.1.1
| * maphosts: init at 1.1.1Marc Scholten2016-06-29
| |
* | transgui: init at 5.0.1-svn-r986Ram Kromberg2016-07-01
| |
* | drumstick: init at 1.0.2Scott Olson2016-06-30
|/
* zsh-completions: init at version 0.18.0 (#16512)Ole Jørgen Brønner2016-06-27
| | | | | "This projects aims at gathering/developing new completion scripts that are not available in Zsh yet. The scripts are meant to be contributed to the Zsh project when stable enough."
* Merge pull request #16500 from carlsverre/add/siftzimbatm2016-06-26
|\ | | | | sift: init at 0.8.0
| * sift: init at 0.8.0Carl Sverre2016-06-25
| | | | | | | | | | | | sift is a fast and powerful alternative to grep. https://sift-tool.org
* | git-ant-tools.git-extras: 3.0.0 -> 4.1.0Christine Koppelt2016-06-25
|/
* Replace `./../*` with `../*` in Nix expressions (#16414)John Ericson2016-06-22
|
* Merge pull request #16377 from aszlig/improve-escape-shell-argzimbatm2016-06-21
|\ | | | | lib: Make escapeShellArg more robust
| * lib: Make escapeShellArg more robustaszlig2016-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoting various characters that the shell *may* interpret specially is a very fragile thing to do. I've used something more robust all over the place in various Nix expression I've written just because I didn't trust escapeShellArg. Here is a proof of concept showing that I was indeed right in distrusting escapeShellArg: with import <nixpkgs> {}; let payload = runCommand "payload" {} '' # \x00 is not allowed for Nix strings, so let's begin at 1 for i in $(seq 1 255); do echo -en "\\x$(printf %02x $i)" done > "$out" ''; escapers = with lib; { current = escapeShellArg; better = arg: let backslashEscapes = stringToCharacters "\"\\ ';$`()|<>\r\t*[]&!~#"; search = backslashEscapes ++ [ "\n" ]; replace = map (c: "\\${c}") backslashEscapes ++ [ "'\n'" ]; in replaceStrings search replace (toString arg); best = arg: "'${replaceStrings ["'"] ["'\\''"] (toString arg)}'"; }; testWith = escaper: let escaped = escaper (builtins.readFile payload); in runCommand "test" {} '' if ! r="$(bash -c ${escapers.best "echo -nE ${escaped}"} 2> /dev/null)" then echo bash eval error > "$out" exit 0 fi if echo -n "$r" | cmp -s "${payload}"; then echo success > "$out" else echo failed > "$out" fi ''; in runCommand "results" {} '' echo "Test results:" ${lib.concatStrings (lib.mapAttrsToList (name: impl: '' echo " ${name}: $(< "${testWith impl}")" '') escapers)} exit 1 '' The resulting output is the following: Test results: best: success better: success current: bash eval error I did the "better" implementation just to illustrate that the method of quoting only "harmful" characters results in madness in terms of implementation and performance. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @edolstra, @zimbatm
* | coturn: init at 4.5.0.3 (#16284)Benjamin Saunders2016-06-21
|/
* Merge pull request #16189 from zimbatm/usershell-configzimbatm2016-06-19
|\ | | | | User shell config
| * Use shell packages to select the user's shellzimbatm2016-06-12
| | | | | | | | The string type is still available for backward-compatiblity.
* | Merge pull request #16180 from zimbatm/shell-escapingzimbatm2016-06-19
|\ \ | | | | | | Escape all shell arguments uniformly
| * | Escape all shell arguments uniformlyzimbatm2016-06-12
| |/
* | adapta-gtk-theme: Init at 3.21.2Severen Redwood2016-06-18
| |
* | Merge pull request #16289 from zimbatm/old-nix-cleanupEelco Dolstra2016-06-17
|\ \ | | | | | | Remove unecessary branching on old nix versions
| * | Remove unecessary branching on old nix versionszimbatm2016-06-17
| | | | | | | | | | | | | | | All these builtins are available since 1.10 or earlier (1.10 being the lib/minver.nix)
* | | i3-gaps: init at 4.12Franz Thoma2016-06-16
|/ /
* / buildkite-agent: init at 2.1.8Paweł Pacana2016-06-13
|/ | | | | | | | * nixos module included * install compiled binary * only one platform now * limited config options * relies on providing ssh keys for agent
* Merge pull request #16097 from mimadrid/update/klavaro-3.02Joachim Fasting2016-06-10
|\ | | | | klavaro: 3.01 -> 3.02
| * Add myself as maintainermimadrid2016-06-09
| |
* | maintainers: add chris-martinChris Martin2016-06-04
| |
* | Merge pull request #15939 from ChrisJefferson/fix-gapJoachim Fasting2016-06-04
|\ \ | | | | | | gap : 4.4.12 -> 4.8.3
| * | gap : 4.4.12 -> 4.8.3Chris Jefferson2016-06-03
| |/
* | nixos/modules/misc/version.nix: check that .git is a directoryobadz2016-06-03
| | | | | | | | | | That's not the case for git submodules Fixes #15928
* | pktgen: init at 3.0.00Ruslan Babayev2016-06-02
|/
* Fix display of deprecated option definition warningsEelco Dolstra2016-06-01
| | | | | Looks like this was accidentally left commented out by 5f077e229625583072ebf63ea48b11170771b0ed.
* syncthing: 0.12.25 -> 0.13.4 (#15730)Paul Hendry2016-05-30
| | | | * Rename v0.12.25 package from 'syncthing' to 'syncthing012' * Remove syncthing011
* mtx: init at 1.3.12Redvers Davies2016-05-28
|
* properly fix the maintainer.matthewbauer problemVladimír Čunát2016-05-27
| | | | | There was inconsisten usage of maintainers.matthewbauer and mbauer. /cc @matthewbauer I chose the github identifier, as it's customary.
* Merge branch 'staging'Vladimír Čunát2016-05-27
|\ | | | | | | Includes a security update of libxml2.
| * Merge branch 'master' into stagingVladimír Čunát2016-05-26
| |\ | | | | | | | | | ... to get the systemd update (rebuilding ~7k jobs).
| * \ Merge branch 'master' into stagingVladimír Čunát2016-05-23
| |\ \ | | | | | | | | | | | | That's to get mesa rebuild from master, as it's nontrivial.
| * \ \ Merge: make dev output references explicitVladimír Čunát2016-05-22
| |\ \ \ | | | | | | | | | | | | | | | | | | | | This is a rebase of most commits from #14766, resolving conflicts and a few other evaluation problems.
| | * | | treewide: Make explicit that 'dev' output of curl is usedTuomas Tynkkynen2016-05-19
| | | | |
* | | | | facetimehd, facetimehd-firmware: Add grahamc as a maintainerGraham Christensen2016-05-26
| |_|_|/ |/| | |
* | | | lib.lists: fix fold exampleDomen Kožar2016-05-26
| | | |
* | | | Improve types.listOf error messageEelco Dolstra2016-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an option value is not a list, you now get The option value `bla' in `file.nix' is not a list. rather than value is a string while a list was expected, at .../nixpkgs/lib/lists.nix:49:56
* | | | modules/misc/version.nix: populate nixosRevision based on <nixpkgs/.git> ↵obadz2016-05-24
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | when possible (#15624) Example: $ nixos-option system.nixosLabel Value: "16.09.git.4643ca1"
* | | adding me to maintainersNikolaMandic2016-05-20
| | |
* | | maintainers: update cstrahan's email addressCharles Strahan2016-05-19
|/ /
* | Merge #15354: add tracefilegen and tracefilesimVladimír Čunát2016-05-19
|\ \