| Commit message (Expand) | Author | Age | Files | Lines |
| * | lib.derivations: fix comment typo | Yueh-Shun Li | 2023-06-02 | 1 | -1/+1 |
| * | Merge pull request #234070 from tweag/pathType-tests•••Init `nixVersions.minimum` and fix `lib` tests for all Nix versions | Robert Hensing | 2023-06-01 | 4 | -97/+104 |
| |\ |
|
| | * | lib/tests: Also run with nixVersions.minimum and nixVersions.unstable•••The previous commits ensure that the tests also succeed with those
versions
| Silvan Mosberger | 2023-06-01 | 1 | -42/+52 |
| | * | lib/tests: Fix when run with Nix 2.3 | Silvan Mosberger | 2023-06-01 | 2 | -10/+15 |
| | * | lib/tests/filesystem.sh: Check success and failure separately | Silvan Mosberger | 2023-06-01 | 1 | -46/+37 |
| | * | lib.filesystem.pathType: Fix tests for Nix >= 2.14 | Silvan Mosberger | 2023-05-25 | 1 | -2/+3 |
| * | | lib.systems.doubles: add big-endian MIPS linux doubles•••We already have examples for these, but since we didn't actually
recognise the doubles, it wasn't possible to build any packages for
them without setting allowUnsupportedSystem.
| Alyssa Ross | 2023-06-01 | 2 | -5/+5 |
| * | | lib.systems: remove mipsisa(32|64)r6 triples•••These arc the same as the normal triples apart for a difference in
-march, so there's no need for them to be separate triples.
| Alyssa Ross | 2023-06-01 | 2 | -20/+10 |
| * | | lib.concatMapAttrs: Simplify stack trace | Robert Hensing | 2023-05-31 | 1 | -1/+5 |
| |/ |
|
| * | Merge pull request #224834 from tweag/pathType-and-co•••Improvements to pathType, pathIsDirectory and pathIsRegularFile | Robert Hensing | 2023-05-23 | 5 | -22/+197 |
| |\ |
|
| | * | lib/filesystem.nix: Update top comment•••Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
| Silvan Mosberger | 2023-05-22 | 1 | -1/+3 |
| | * | lib.filesystem.pathType: Use new builtins.readFileType if available•••Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
| Silvan Mosberger | 2023-05-22 | 1 | -11/+15 |
| | * | lib.filesystem.pathType and co.: Improve documentation | Silvan Mosberger | 2023-05-22 | 1 | -3/+40 |
| | * | lib.filesystem.pathType: Improve error for non-existent paths•••Previously it would fail with
error: attribute 'nonexistent' missing
at nixpkgs/lib/filesystem.nix:29:10:
28| if dirOf path == path then "directory"
29| else (readDir (dirOf path)).${baseNameOf path};
| ^
30|
| Silvan Mosberger | 2023-05-22 | 2 | -1/+6 |
| | * | lib.filesystem.pathType: Fix for filesystem root argument•••Previously this function couldn't handle / being passed, it would throw
an error:
error: attribute '' missing
at nixpkgs/lib/filesystem.nix:24:20:
23| */
24| pathType = path: (readDir (dirOf path)).${baseNameOf path};
| ^
25|
Consequently this also fixes the
lib.filesystem.{pathIsDirectory,pathIsRegularFile} functions.
| Silvan Mosberger | 2023-05-22 | 2 | -1/+9 |
| | * | lib.filesystem: Minor refactor•••Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
| Silvan Mosberger | 2023-05-22 | 1 | -4/+6 |
| | * | lib.filesystem.pathType and co.: Add tests•••Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
| Silvan Mosberger | 2023-05-22 | 2 | -0/+91 |
| | * | lib.sources.pathType and co.: Move to lib.filesystem•••These functions only work with the filesystem, they don't import
anything as sources
| Silvan Mosberger | 2023-04-05 | 3 | -21/+47 |
| * | | 23.11 is Tapir23.11-pre | Raito Bezarius | 2023-05-22 | 1 | -1/+1 |
| * | | Merge pull request #233050 from NixOS/bsl-is-redistributable•••lib/licenses: Business Source License 1.1 is redistributable | Ryan Lahfa | 2023-05-22 | 1 | -0/+1 |
| |\ \ |
|
| | * | | lib/licenses: Business Source License 1.1 is redistributable•••It is written in its text, still unfree though and cannot be used for *production*.
| Raito Bezarius | 2023-05-20 | 1 | -0/+1 |
| * | | | Merge pull request #232808 from ncfavier/mkPackageOption-nullable•••lib/options: nullable mkPackageOption | Robert Hensing | 2023-05-22 | 3 | -7/+38 |
| |\ \ \ |
|
| | * | | | lib/tests: add mkPackageOption tests | Naïm Favier | 2023-05-20 | 2 | -0/+24 |
| | * | | | lib/options: nullable mkPackageOption•••It is sometimes useful to allow setting a package option to `null` to
skip installing the package. See
https://github.com/nix-community/home-manager/pull/3668#issuecomment-1554044171
for example.
| Naïm Favier | 2023-05-19 | 1 | -7/+14 |
| * | | | | lens: Change lens' listed license from MIT to their own proprietary license.•••Although Lens is based on a free core component ("OpenLens"), the tarballs
provided by Mirantis include a proprietary version of Lens that requires
a subscription.
As the proprietary option offers additional features, it would not be wise
to simply rewrite the derivation and base it on the FOSS source code.
Instead, implementing a new derivation for OpenLens is likely the better
approach.
| Martin Wurm | 2023-05-22 | 1 | -0/+6 |
| | |/ /
|/| | |
|
| * | | | lib: fix typos | figsoda | 2023-05-19 | 1 | -1/+1 |
| |/ / |
|
| * | | lib.types.submoduleWith: Interoperate with older version of submoduleWith | Robert Hensing | 2023-05-17 | 1 | -3/+5 |
| * | | licenses: add CC-BY-NC-ND-4.0 | COLAMAroro | 2023-05-15 | 1 | -0/+6 |
| * | | Merge pull request #210461 from benwbooth/jxplorer | Sandro | 2023-05-15 | 1 | -0/+5 |
| |\ \ |
|
| | * | | JXplorer: init at 3.3.1.2 | Ben Booth | 2023-05-12 | 1 | -0/+5 |
| * | | | Merge pull request #230523 from hercules-ci/fast-nixos-test-eval•••Fast nixos test eval | Robert Hensing | 2023-05-11 | 1 | -0/+8 |
| |\ \ \ |
|
| | * | | | lib.types.pkgs: init•••A nominal type.
| Robert Hensing | 2023-05-10 | 1 | -0/+8 |
| * | | | | lib.systems: remove (accidental?) rust/rustc alias•••I imagine this was supposed to be rustc = args.rustc, like the other
two lines. This meant that we accepted both rust and rustc
attributes, with the same effect. I doubt anybody was using the
undocumented, probably-accidental "rust" spelling, but we should
remove it before somebody starts.
In fact, we don't need to set rustc here at all, because no value
platforms.select could return will ever include a rustc key (unlike
the other two), so then rustc will be filled in later, when args is
merged into final.
| Alyssa Ross | 2023-05-09 | 1 | -1/+1 |
| * | | | | Merge pull request #228013 from amjoseph-nixpkgs/pr/qemuArch/mips•••lib/systems: add mips64[el] entries to qemuArch | Adam Joseph | 2023-05-09 | 1 | -0/+1 |
| |\ \ \ \ |
|
| | * | | | | lib/systems: add mips64[el] entries to qemuArch•••This commit adds `mips64el` to the `qemuArch` table.
| Adam Joseph | 2023-04-24 | 1 | -0/+1 |
| * | | | | | Merge pull request #230353 from ncfavier/defaultText-only•••lib/options: fix rendering of options with only a defaultText | Naïm Favier | 2023-05-08 | 1 | -3/+3 |
| |\ \ \ \ \ |
|
| | * | | | | | lib/options: fix rendering of options with only a defaultText•••Some options have their default value set in the `config` instead of
`default`, for example to push `mkDefault`s down an attribute set.
In those cases, it's useful to provide a `defaultText` for informational
purposes.
| Naïm Favier | 2023-05-06 | 1 | -3/+3 |
| * | | | | | | Merge master into staging-next | github-actions[bot] | 2023-05-07 | 10 | -49/+261 |
| |\ \ \ \ \ \
| | |_|/ / /
| |/| | | | |
|
| | * | | | | | lib.modules: configurationClass -> class•••This simplifies the documentation. `configuration` is implied by `_type`.
| Robert Hensing | 2023-05-06 | 2 | -2/+2 |
| | * | | | | | lib.modules: in evalModules return move _module.class -> configurationClass | Robert Hensing | 2023-05-06 | 2 | -11/+2 |
| | * | | | | | lib.modules: Change class declaration in module to _class | Robert Hensing | 2023-05-06 | 4 | -10/+10 |
| | * | | | | | lib/tests/modules.sh: Add submodule + class tests | Robert Hensing | 2023-05-06 | 2 | -1/+49 |
| | * | | | | | lib/modules: Move class out of specialArgs | Robert Hensing | 2023-05-06 | 3 | -12/+30 |
| | * | | | | | lib/modules.nix: Deduplicate documentation•••`file://./..` looks redundant, but makes the url clickable in vscode.
| Robert Hensing | 2023-05-06 | 1 | -29/+2 |
| | * | | | | | lib/modules: Only interpret class declaration in non-shorthand mode•••This is to avoid stealing keys from submodules. `class` might be
common enough that reinterpreting existing `class` attributes in
configurations as a declaration leads to fairly widespread problems.
| Robert Hensing | 2023-05-06 | 4 | -1/+19 |
| | * | | | | | lib/modules.nix: Refactor: extract applyModuleArgs | Robert Hensing | 2023-05-06 | 1 | -5/+6 |
| | * | | | | | lib/modules.nix: Refactor: evaluate applyModuleArgsIfFunction in attrs case | Robert Hensing | 2023-05-06 | 1 | -1/+1 |
| | * | | | | | lib/modules.nix: Restore old collectModules interface | Robert Hensing | 2023-05-06 | 1 | -1/+1 |
| | * | | | | | lib/modules: Explain that a configuration can't be loaded as a module | Robert Hensing | 2023-05-06 | 2 | -2/+7 |
| | * | | | | | lib/modules: Improve error when a configuration is imported•••This is appears to be a fairly common mistake for beginners who want
to build larger things from the system configurations, such as NixOps
networks, etc. Further explanation seems appropriate.
| Robert Hensing | 2023-05-06 | 3 | -0/+14 |