about summary refs log tree commit diff
path: root/lib
Commit message (Collapse)AuthorAge
* added myself to maintainers.nixMounium2016-08-03
|
* lib: refactor nixpkgsVersion with fileContentsEric Sagnes2016-08-01
|
* lib: refactor commitIdFromGitRepo with fileContentsEric Sagnes2016-08-01
|
* lib: add fileContents functionEric Sagnes2016-08-01
|
* Add geant4 licenseJosef Kemetmueller2016-07-31
| | | | | This license was left out during the geant4 pull request: https://github.com/NixOS/nixpkgs/pull/3963
* matrix-synapse: Only run StartPre script when data folder doesn't exist (#17216)Robin Lambertz2016-07-28
|
* lib/sources.nix@commitIdFromGitRepo: remove use of lib.splitStringobadz2016-07-27
| | | | | | | | lib.splitString was blowing up the stack in instances where the .git/packed-refs file was too large. We now use a regexp over the whole file instead. Closes #16570
* v8: fix 4.5.107 buildProglodyte2016-07-24
| | | | | | | Similar to #14272, but fixes 4.5 build rather than generic. - Ignores errors due to strict-overflow warnings - Strips clang-only '-Wno-format-pedantic' flag out since this build uses gcc
* Add gocd agent and server service packages (#16273)Shawn Warren2016-07-23
| | | | | | | GoCD is an open source continuous delivery server specializing in advanced workflow modeling and visualization. Update maintainers list to include swarren83. Update module list to include gocd agent and server module. Update packages list to include gocd agent and server package. Update version, revision and checksum for GoCD release 16.5.0.
* Merge pull request #17178 from amiloradovsky/add-evilwmJoachim F2016-07-22
|\ | | | | evilwm: init at 1.1.1 (#17104)
| * evilwm: init at 1.1.1 (#17104)Andrew Miloradovsky2016-07-22
| | | | | | | | Minimalist window manager for the X Window System
* | pythonPackages.jenkinsapi: init at 0.2.32Dmytro Rets2016-07-20
|/
* doctl: init at 1.3.1 (#17066)Langston Barrett2016-07-19
|
* commandergenius: init at 194betaHans-Christian Esperer2016-07-15
|
* 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