about summary refs log tree commit diff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2018-03-19lib: Make platform predicates greppableJohn Ericson2-57/+55
2018-03-19Merge pull request #37395 from obsidiansystems/lib-meta-platformJohn Ericson1-0/+19
lib: Factor in tiny bit of `meta.platform` checking
2018-03-19lib: Factor in tiny bit of `meta.platform` checkingJohn Ericson1-0/+19
I need it in stdenv and release-lib, so that seems motivation enough.
2018-03-19Merge pull request #37359 from obsidiansystems/lib-darwin-reorgJohn Ericson2-6/+16
lib: Split Darwin into macOS and iOS
2018-03-19lib: Split Darwin into macOS and iOSJohn Ericson2-6/+16
I noticed LLVM accepts `ios` as its own OS in platform triples; a recent change as far as I know. I see it also accepts `macos*` for macOS (formerly OS X). If it's now customary to distinguish iOS like so (rather than guessing from the aarch, lets add both so our OSes are still disjoint, and make Darwin a family instead. But changing the config everywhere would probably be a mass rebuild, and I'm not sure how well other software supports OSes besides "darwin", so I'm keeping that the default name for macOS for now.
2018-03-18add the CPAL-1.0 licenseMoritz Küttel1-0/+5
The 'Common Public Attribution License 1.0' is used for projectlibre and required for packaging it into nixpkgs.
2018-03-18Merge pull request #34444 from obsidiansystems/meta-checkJohn Ericson4-3/+31
lib: Fix #30902
2018-03-15lib, stdenv: Check `meta.platforms` against host platform and be open worldJohn Ericson4-3/+31
First, we need check against the host platform, not the build platform. That's simple enough. Second, we move away from exahustive finite case analysis (i.e. exhaustively listing all platforms the package builds on). That only work in a closed-world setting, where we know all platforms we might build one. But with cross compilation, we may be building for arbitrary platforms, So we need fancier filters. This is the closed world to open world change. The solution is instead of having a list of systems (strings in the form "foo-bar"), we have a list of of systems or "patterns", i.e. attributes that partially match the output of the parsers in `lib.systems.parse`. The "check meta" logic treats the systems strings as an exact whitelist just as before, but treats the patterns as a fuzzy whitelist, intersecting the actual `hostPlatform` with the pattern and then checking for equality. (This is done using `matchAttrs`). The default convenience lists for `meta.platforms` are now changed to be lists of patterns (usually a single pattern) in `lib/systems/for-meta.nix` for maximum flexibility under this new system. Fixes #30902
2018-03-14Merge pull request #36985 from obsidiansystems/no-allButJohn Ericson1-1/+2
treewide: get rid of platforms.allBut
2018-03-14treewide: get rid of platforms.allButJohn Ericson1-1/+2
Negative reasoning like `allBut` is a bad idea with an open world of platforms. Concretely, if we add a new, quite different sort of platform, existing packages with `allBut` will claim they work on it even though they probably won't.
2018-03-09lib.isStorePath: Fix derivation detectionShea Levy2-1/+10
2018-03-08lib-tests: Don't depend on /bin/shShea Levy1-1/+1
https://hydra.nixos.org/build/70748333
2018-03-06rename lib/maintainers-list.nix into maintainers/maintainer-list.nixJan Malakhovski2-3961/+1
Many commits unrelated to `lib` touch that file, this will make `git log ./lib` much saner. This is what I meant in https://github.com/NixOS/nixpkgs/pull/36119#issuecomment-370184101.
2018-03-06Merge pull request #36250 from sengaya/add-ansible-lintJörg Thalheim1-0/+5
ansible-lint: init at 3.4.20
2018-03-05maintainers: remove null fieldsGraham Christensen1-3/+3
2018-03-04Merge pull request #36168 from ryantm/majorminorJörg Thalheim2-1/+48
a single version attribute for expressions previously using "majorVersion"
2018-03-04lib: add versions libraryRyan Mulligan2-1/+48
2018-03-04ansible-lint: init at 3.4.20Thilo Uttendorfer1-0/+5
2018-03-04Revert "Revert "Convert maintainer file entries to attributes, add github ↵Graham Christensen3-808/+3956
handles""
2018-03-03Revert "Convert maintainer file entries to attributes, add github handles"Graham Christensen2-3943/+804
This reverts commit aa47bac04f06aeea993dc2e2cc6649fde4f31ed7.
2018-03-03Revert "lib/maintainers: correct wrong (clashing) github handles"Graham Christensen1-34/+65
This reverts commit 8e4c39adeb2c7ffa7e220b7ef609231d94b1e117.
2018-03-03Revert "lib/maintainers: add new maintainers before maintainers merge"Graham Christensen1-40/+0
This reverts commit aecebe828082c60053887e823c13a416eb138cd3.
2018-03-03Revert "lib/maintainers: rename file to maintainers-list.nix"Graham Christensen2-1/+1
This reverts commit 24684008df7b7c748eeca64de1270a0e6c460a61.
2018-03-04lib/maintainers: rename file to maintainers-list.nixProfpatsch2-1/+1
Based on a request by @oxij: “Can we also rename this file to `maintainers/maintainers-list.nix` while we at this? Motivation: much saner `git log ./lib`.”
2018-03-04lib/maintainers: add new maintainers before maintainers mergeProfpatsch1-0/+40
Add new maintainers that were added before merging the new `maintainers.nix` file format.
2018-03-04lib/maintainers: correct wrong (clashing) github handlesProfpatsch1-65/+34
Corrected every handle that had no commits to nixpkgs, manually researched the correct handles by looking at maintained packages & blames/history on Github.
2018-03-04Convert maintainer file entries to attributes, add github handlesProfpatsch2-804/+3943
Based on https://github.com/NixOS/nixpkgs/pull/34842, the nix-instantiate output was pretty-printed and the validity of the github handles manually verified, by automatically checking whether the user handles exist on github (https://github.com/userhandle, status 200 or 404). Each handle under 5 characters was manually checked (because the collision probability with non-maintainer accounts is high), each missing entry was manually researched. The script used is kept in `maintainers/scripts` as an example of how to work with the mainainers list through nix’ JSON interface.
2018-03-03Merge pull request #36215 from xnaveira/py-junos-ezncJörg Thalheim1-0/+1
Py junos eznc
2018-03-03lib.addPassthru: removed as scheduledVladimír Čunát2-7/+1
2018-03-02pythonPackages.pymetar: add myself as maintainerAndrey Golovizin1-0/+1
2018-03-02pythonPackages.scp: init at 0.10.2Xavier Naveira1-0/+1
2018-03-01maintainers: add myselftimor1-0/+1
2018-03-01untrunc: init at 2018.01.13Erik Arvstedt1-0/+1
2018-03-01fix LD_PRELOAD error for bearbabariviere1-0/+1
2018-03-01nixos/ceph: init module (#35299)lejonet1-0/+1
All 5 daemon types can be enabled and configured through the module and the module both creates the ceph.conf required but also creates and enables specific services for each daemon, based on the systemd service files that upstream provides.
2018-02-27prebuilt android tools: Init using SDKJohn Ericson4-6/+20
Expose as an option for the cross stdenv.
2018-02-27Merge pull request #35247 from telent/mips32John Ericson5-6/+9
lib, treewide: Add missing MIPS arches, and fix existing usage
2018-02-26maintainers: add teozkrTeo Klestrup Röijezon1-0/+1
2018-02-26maintainers: add lblascLuka Blaskovic1-0/+1
2018-02-24Only build libseccomp on supported systemsShea Levy1-0/+2
2018-02-24gnu-efi: Fix aarch64 cross-buildShea Levy1-1/+2
2018-02-24gnu-efi: Only build on efi-enabled systemsShea Levy1-0/+1
2018-02-24kexectools: Only build on kexecable architectures.Shea Levy1-0/+3
2018-02-23lib, treewide: Add missing MIPS arches, and fix existing usageDaniel Barlow5-6/+9
Existing "mips64el" should be "mipsel". This is just the barest minimum so that nixpkgs can recognize them as systems - although required for building individual derivations onto MIPS boards, it is not sufficient if you want to actually build nixos on those targets
2018-02-23maintainers: add svsdepVasyl Solovei1-0/+1
2018-02-22Merge pull request #35356 from troydm/masterFranz Pletz1-0/+1
rtl8192eu: init at 4.4.1
2018-02-22rtl8192eu: init at 4.4.1troydm1-0/+1
2018-02-21Merge pull request #35134 from xeji/mfcl2720dwJörg Thalheim1-0/+1
mfcl2720dwlpr / mfcl2720dwcupswrapper: init at 3.2.0-1
2018-02-20z88dk: init at unstable-2018-02-20 (#35244)Jörg Thalheim1-0/+5
fixes #35039
2018-02-20Merge pull request #35117 from suvash/add-docker-credential-gcrlewo1-0/+1
docker-credential-gcr: init at 1.4.3