summary refs log tree commit diff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-08-17Merge pull request #17688 from nexusdev/solcJoachim F1-0/+1
Add Solidity (Ethereum compiler)
2016-08-17solc: add maintainer @dbrockDaniel Brockman1-0/+1
2016-08-16gnustep: initArtyom Shalkhakov1-0/+1
Adding new library: gnustep-startup, which packages the core libraries necessary for GNUstep: gnustep-make, gnustep-base, gnustep-gui, gnustep-backend.
2016-08-15visualvm: init at 1.3.8 (#17745)Michal Rus1-0/+1
2016-08-14maintainers.nix: update own email addressMarius Bakke1-1/+1
2016-08-13getVersion: first try drv.version before parsing drv.nameDomen Kožar1-1/+6
2016-08-12fix documentation typo in lib/strings.nix (#17684)Данило Глинський (Danylo Hlynskyi)1-1/+1
2016-08-11treewide: change $IN_NIX_SHELL handlingVladimír Čunát1-1/+1
... to be compatible with https://github.com/NixOS/nix/pull/933 while not breaking compatibility with current nix.
2016-08-10hasSuffix: human readable inputsDomen Kožar1-5/+5
2016-08-10geogebra: init at 5.0.265.0Mohammed Yaseen Mowzer1-0/+6
Closes #17400
2016-08-10flatten: drastically improve performance, see #17626Domen Kožar1-1/+1
2016-08-08lib/sources.nix@commitIdFromGitRepo: parenthesize what should always have beenobadz1-1/+1
Fixes error: cannot coerce a partially applied built-in function to a string, at lib/sources.nix:59:32 I don't understand how this used to work, but doesn't work anymore?
2016-08-07Merge pull request #16506 from Profpatsch/debug-traceRok Garbas1-21/+7
traceSeq, traceValSeq, deprecate strict
2016-08-06cleanSource: filter out also nix result symlinks (#16120)Domen Kožar1-1/+3
2016-08-03added myself to maintainers.nixMounium1-0/+1
2016-08-01lib: refactor nixpkgsVersion with fileContentsEric Sagnes1-2/+4
2016-08-01lib: refactor commitIdFromGitRepo with fileContentsEric Sagnes1-3/+3
2016-08-01lib: add fileContents functionEric Sagnes1-0/+10
2016-07-31Add geant4 licenseJosef Kemetmueller1-0/+5
This license was left out during the geant4 pull request: https://github.com/NixOS/nixpkgs/pull/3963
2016-07-28matrix-synapse: Only run StartPre script when data folder doesn't exist (#17216)Robin Lambertz1-0/+1
2016-07-27lib/sources.nix@commitIdFromGitRepo: remove use of lib.splitStringobadz1-4/+5
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
2016-07-24v8: fix 4.5.107 buildProglodyte1-0/+1
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
2016-07-23Add gocd agent and server service packages (#16273)Shawn Warren1-0/+1
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.
2016-07-22Merge pull request #17178 from amiloradovsky/add-evilwmJoachim F1-0/+1
evilwm: init at 1.1.1 (#17104)
2016-07-22evilwm: init at 1.1.1 (#17104)Andrew Miloradovsky1-0/+1
Minimalist window manager for the X Window System
2016-07-20pythonPackages.jenkinsapi: init at 0.2.32Dmytro Rets1-0/+1
2016-07-19doctl: init at 1.3.1 (#17066)Langston Barrett1-0/+1
2016-07-15commandergenius: init at 194betaHans-Christian Esperer1-0/+1
2016-07-13maintainers.nix: add jokoIoannis Koutras1-0/+1
2016-07-12lfe: init at 1.1.1 (#16865)Eric Bailey1-0/+1
This is a first pass at adding an LFE package. N.B. man pages are ignored for now.
2016-07-11mypy-lang: init at 0.4.2Martin Gammelsæter1-0/+1
2016-07-11libqrencode: init at 3.4.4Adolfo E. García1-0/+1
* libqrencode: init at 3.4.4 * libqrencode: add maintainer #16861
2016-07-11Really remove library functionsEelco Dolstra2-5/+0
Throwing a message like "removed 2016-02-29 because unused and broken" is unhelpful because it doesn't show what function was removed.
2016-07-05solarus: init at 1.4.5Nathan Moore1-0/+1
2016-07-02Merge pull request #16594 from mpscholten/maphosts2Joachim Fasting1-0/+1
maphosts: init at 1.1.1
2016-07-01transgui: init at 5.0.1-svn-r986Ram Kromberg1-0/+1
2016-06-30drumstick: init at 1.0.2Scott Olson1-0/+1
2016-06-29maphosts: init at 1.1.1Marc Scholten1-0/+1
2016-06-27zsh-completions: init at version 0.18.0 (#16512)Ole Jørgen Brønner1-0/+1
"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."
2016-06-26Merge pull request #16500 from carlsverre/add/siftzimbatm1-0/+1
sift: init at 0.8.0
2016-06-26debug.nix: deprecate strictProfpatsch1-21/+3
Replace the implementation by seq and add a deprecation warning. The semantics seems a little bit off, but the function should only be used for debugging.
2016-06-26debug.nix: add traceSeq & traceValSeqProfpatsch1-0/+4
Debugging functions that strictly deep-evaluate the argument that should be traced.
2016-06-25sift: init at 0.8.0Carl Sverre1-0/+1
sift is a fast and powerful alternative to grep. https://sift-tool.org
2016-06-25git-ant-tools.git-extras: 3.0.0 -> 4.1.0Christine Koppelt1-0/+1
2016-06-22Replace `./../*` with `../*` in Nix expressions (#16414)John Ericson1-1/+1
2016-06-21Merge pull request #16377 from aszlig/improve-escape-shell-argzimbatm1-8/+7
lib: Make escapeShellArg more robust
2016-06-21coturn: init at 4.5.0.3 (#16284)Benjamin Saunders1-0/+1
2016-06-20lib: Make escapeShellArg more robustaszlig1-8/+7
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
2016-06-19Merge pull request #16189 from zimbatm/usershell-configzimbatm1-0/+4
User shell config
2016-06-19Merge pull request #16180 from zimbatm/shell-escapingzimbatm1-1/+10
Escape all shell arguments uniformly