summary refs log tree commit diff
path: root/lib
Commit message (Collapse)AuthorAge
* Merge pull request #37752 from ryantm/fix-urlsMatthew Justin Bauer2018-03-25
|\ | | | | treewide: use more HTTPS URLs
| * treewide: use more HTTPS URLsRyan Mulligan2018-03-24
| | | | | | | | | | | | | | | | Uses the HTTPS url for cases where the existing URL has a permanent redirect. For each domain, at least one fixed derivation URL was downloaded to test the domain is properly serving downloads. Also fixes jbake source URL, which was broken.
* | riscv-pk: Set platforms properlyShea Levy2018-03-24
|/
* Remove obsolete /nix/var/nix/{manifests,channel-cache}Eelco Dolstra2018-03-20
|
* lib: Add `lib.platforms.windows`John Ericson2018-03-20
|
* lib: Make `platforms.all` actually match all platformsJohn Ericson2018-03-20
| | | | | | Otherwise obscure cross-compilations are hampered. `all` breaks all but the initial derivation (which we can't even write yet) in an open world setting however, so we really shouldn't have it.
* lib: Make platform predicates greppableJohn Ericson2018-03-19
|
* Merge pull request #37395 from obsidiansystems/lib-meta-platformJohn Ericson2018-03-19
|\ | | | | lib: Factor in tiny bit of `meta.platform` checking
| * lib: Factor in tiny bit of `meta.platform` checkingJohn Ericson2018-03-19
| | | | | | | | I need it in stdenv and release-lib, so that seems motivation enough.
* | Merge pull request #37359 from obsidiansystems/lib-darwin-reorgJohn Ericson2018-03-19
|\ \ | | | | | | lib: Split Darwin into macOS and iOS
| * | lib: Split Darwin into macOS and iOSJohn Ericson2018-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | add the CPAL-1.0 licenseMoritz Küttel2018-03-18
|/ / | | | | | | | | The 'Common Public Attribution License 1.0' is used for projectlibre and required for packaging it into nixpkgs.
* | Merge pull request #34444 from obsidiansystems/meta-checkJohn Ericson2018-03-18
|\| | | | | lib: Fix #30902
| * lib, stdenv: Check `meta.platforms` against host platform and be open worldJohn Ericson2018-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #36985 from obsidiansystems/no-allButJohn Ericson2018-03-14
|\| | | | | treewide: get rid of platforms.allBut
| * treewide: get rid of platforms.allButJohn Ericson2018-03-14
| | | | | | | | | | | | | | 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.
* | lib.isStorePath: Fix derivation detectionShea Levy2018-03-09
| |
* | lib-tests: Don't depend on /bin/shShea Levy2018-03-08
| | | | | | https://hydra.nixos.org/build/70748333
* | rename lib/maintainers-list.nix into maintainers/maintainer-list.nixJan Malakhovski2018-03-06
| | | | | | | | | | | | 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.
* | Merge pull request #36250 from sengaya/add-ansible-lintJörg Thalheim2018-03-06
|\ \ | |/ |/| ansible-lint: init at 3.4.20
| * ansible-lint: init at 3.4.20Thilo Uttendorfer2018-03-04
| |
* | maintainers: remove null fieldsGraham Christensen2018-03-05
| |
* | Merge pull request #36168 from ryantm/majorminorJörg Thalheim2018-03-04
|\ \ | |/ |/| a single version attribute for expressions previously using "majorVersion"
| * lib: add versions libraryRyan Mulligan2018-03-04
| |
* | Revert "Revert "Convert maintainer file entries to attributes, add github ↵Graham Christensen2018-03-04
| | | | | | | | handles""
* | Revert "Convert maintainer file entries to attributes, add github handles"Graham Christensen2018-03-03
| | | | | | | | This reverts commit aa47bac04f06aeea993dc2e2cc6649fde4f31ed7.
* | Revert "lib/maintainers: correct wrong (clashing) github handles"Graham Christensen2018-03-03
| | | | | | | | This reverts commit 8e4c39adeb2c7ffa7e220b7ef609231d94b1e117.
* | Revert "lib/maintainers: add new maintainers before maintainers merge"Graham Christensen2018-03-03
| | | | | | | | This reverts commit aecebe828082c60053887e823c13a416eb138cd3.
* | Revert "lib/maintainers: rename file to maintainers-list.nix"Graham Christensen2018-03-03
| | | | | | | | This reverts commit 24684008df7b7c748eeca64de1270a0e6c460a61.
* | lib/maintainers: rename file to maintainers-list.nixProfpatsch2018-03-04
| | | | | | | | | | | | 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`.”
* | lib/maintainers: add new maintainers before maintainers mergeProfpatsch2018-03-04
| | | | | | | | | | Add new maintainers that were added before merging the new `maintainers.nix` file format.
* | lib/maintainers: correct wrong (clashing) github handlesProfpatsch2018-03-04
| | | | | | | | | | Corrected every handle that had no commits to nixpkgs, manually researched the correct handles by looking at maintained packages & blames/history on Github.
* | Convert maintainer file entries to attributes, add github handlesProfpatsch2018-03-04
|/ | | | | | | | | | | | | 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.
* Merge pull request #36215 from xnaveira/py-junos-ezncJörg Thalheim2018-03-03
|\ | | | | Py junos eznc
| * pythonPackages.scp: init at 0.10.2Xavier Naveira2018-03-02
| |
* | lib.addPassthru: removed as scheduledVladimír Čunát2018-03-03
| |
* | pythonPackages.pymetar: add myself as maintainerAndrey Golovizin2018-03-02
|/
* maintainers: add myselftimor2018-03-01
|
* untrunc: init at 2018.01.13Erik Arvstedt2018-03-01
|
* fix LD_PRELOAD error for bearbabariviere2018-03-01
|
* nixos/ceph: init module (#35299)lejonet2018-03-01
| | | | | 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.
* prebuilt android tools: Init using SDKJohn Ericson2018-02-27
| | | | Expose as an option for the cross stdenv.
* Merge pull request #35247 from telent/mips32John Ericson2018-02-27
|\ | | | | lib, treewide: Add missing MIPS arches, and fix existing usage
| * lib, treewide: Add missing MIPS arches, and fix existing usageDaniel Barlow2018-02-23
| | | | | | | | | | | | | | | | | | 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
* | maintainers: add teozkrTeo Klestrup Röijezon2018-02-26
| |
* | maintainers: add lblascLuka Blaskovic2018-02-26
| |
* | Only build libseccomp on supported systemsShea Levy2018-02-24
| |
* | gnu-efi: Fix aarch64 cross-buildShea Levy2018-02-24
| |
* | gnu-efi: Only build on efi-enabled systemsShea Levy2018-02-24
| |
* | kexectools: Only build on kexecable architectures.Shea Levy2018-02-24
| |