Robert Hensing
04cc7f90f3
Merge pull request #7675 from obsidiansystems/tighten-export-refs-test
...
Tighten up the `exportReferencesGraph` tests
2023-01-24 11:35:16 +01:00
Andrea Ciceri
f58759816d
Tighten up the exportReferencesGraph
tests
...
Add an `$` at the end of the `grep` regex. Without it, `checkRef foo`
would always imply `checkRef foo.drv`. We want to tell these situations
apart to more precisely test what is going on.
2023-01-23 20:41:32 -05:00
Felix Uhl
dc4aa383e9
doc: fix anchor links in and to glossary
2023-01-24 00:19:43 +01:00
dependabot[bot]
57f9dcaeb2
Bump zeebe-io/backport-action from 1.0.1 to 1.1.0
...
Bumps [zeebe-io/backport-action](https://github.com/zeebe-io/backport-action ) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/zeebe-io/backport-action/releases )
- [Commits](https://github.com/zeebe-io/backport-action/compare/v1.0.1...v1.1.0 )
---
updated-dependencies:
- dependency-name: zeebe-io/backport-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 22:00:50 +00:00
John Ericson
e68e8e3cee
Merge branch 'path-info' into ca-drv-exotic
2023-01-23 16:54:45 -05:00
John Ericson
a91709a604
Try to fix #7669
...
The issue *seems* to be the cross jobs, which are missing the `CXXFLAGS`
needed to get rapidcheck.
PR #6538 would be really nice to resurrect which will prevent the
`configureFlags` from going out of sync between the regular build and
the cross build again.
2023-01-23 15:47:26 -05:00
John Ericson
4540e7b940
Don't add StorePathDescriptor
for now
...
We don't need it yet, we can add it back later.
2023-01-23 12:58:27 -05:00
Eelco Dolstra
f503ba1b8b
Merge pull request #7595 from cole-h/show-setting-value
...
nix/show-config: allow getting the value of a specific setting
2023-01-23 17:56:39 +01:00
John Ericson
c67e0cc58c
Merge remote-tracking branch 'upstream/master' into path-info
2023-01-23 11:47:20 -05:00
Robert Hensing
9b56683398
Merge pull request #7447 from aakropotkin/read-file-type
...
Read file type
2023-01-23 17:37:22 +01:00
Robert Hensing
0a9acefeb5
Merge pull request #7657 from obsidiansystems/fix-7655
...
Fix #7655
2023-01-23 15:42:59 +01:00
Robert Hensing
a58e9c3860
Merge pull request #7639 from obsidiansystems/output-names
...
Test store paths, with property tests, fix bug
2023-01-23 15:21:23 +01:00
John Ericson
018e2571aa
Test store paths, with property tests
...
The property test in fact found a bug: we were excluding numbers!
2023-01-23 07:05:50 -05:00
John Ericson
685395332d
Better-scope Store
forward declarations
2023-01-23 07:05:50 -05:00
John Ericson
7fe308c2f8
Add rapidcheck
dependency for testing
...
Property tests are great!
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2023-01-23 07:05:50 -05:00
Robert Hensing
37c533ed27
rl-next.md: Minor improvement
2023-01-23 11:28:31 +01:00
Théophane Hufschmitt
90e630a542
Merge pull request #7641 from layus/coerce-strings-fixups
...
Coerce strings fixups
2023-01-23 09:39:00 +01:00
Alex Ameen
153ee460c5
primop: add readFileType, optimize readDir
...
Allows checking directory entry type of a single file/directory.
This was added to optimize the use of `builtins.readDir` on some
filesystems and operating systems which cannot detect this information
using POSIX's `readdir`.
Previously `builtins.readDir` would eagerly use system calls to lookup
these filetypes using other interfaces; this change makes these
operations lazy in the attribute values for each file with application
of `builtins.readFileType`.
2023-01-22 13:45:02 -06:00
John Ericson
0afdf4084c
Fix #7655
...
We had some local variables left over from the older (more
complicated) implementation of this function. They should all be unused,
but one wasn't by mistake.
Delete them all, and replace the one that was still in use as intended.
2023-01-21 23:55:06 -05:00
John Ericson
88d8f6ac48
Expand tests to reproduce #7655
...
The original `builtins.getContext` test from
1d757292d0
would have caught this. The
problem is that b30be6b450
adding
`builtins.appendContext` modified that test to make it test too much at
once, rather than adding a separate test.
We now have isolated tests for both functions, and also a property test
showing everything put together (in the form of an eta rule for strings
with context). This is better coverage and properly reproduces the bug.
2023-01-21 23:50:09 -05:00
Robert Hensing
3c08a3e6b6
PR template: Specify path to integration tests
2023-01-20 16:23:52 +01:00
Robert Hensing
261c25601d
Use the official, documented NixOS runTest interface
2023-01-20 16:23:52 +01:00
Robert Hensing
74026bb101
tests: Move NixOS tests to tests/nixos
...
This will allow contributors to find them more easily.
2023-01-20 15:33:13 +01:00
Robert Hensing
04de0dd0b4
Merge pull request #7577 from hercules-ci/pr-template
...
.github: Add pull request template
2023-01-20 14:36:09 +01:00
Robert Hensing
dfbdde6d07
Update .github/PULL_REQUEST_TEMPLATE.md
2023-01-20 14:06:46 +01:00
Robert Hensing
7f04a54214
Update .github/PULL_REQUEST_TEMPLATE.md
2023-01-20 13:56:14 +01:00
Valentin Gagarin
e90d7570a3
Merge pull request #7647 from fps/operator_doc
...
doc: fix update operator description
2023-01-20 13:54:51 +01:00
Florian Paul Schmidt
4ff9ed5c2d
doc: fix update operator description
2023-01-20 13:21:45 +01:00
Guillaume Maudoux
a0642305ab
Use complete '__toString' attribute name
...
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-01-20 13:06:00 +01:00
Guillaume Maudoux
ee4b849b17
Fix unreachable error message
...
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-01-20 13:01:03 +01:00
Théophane Hufschmitt
fdc02d2b6a
Merge pull request #7490 from fricklerhandwerk/doc-realise
...
define the terms "realise" and "valid" for store paths
2023-01-20 11:19:45 +01:00
Eric Wolf
4d50995eff
Fix url parsing for urls using file+
...
`file+https://example.org/test.mp4 ` should not be rejected with
`unexpected authority`.
2023-01-20 10:31:26 +01:00
Valentin Gagarin
b911307d7a
Merge pull request #7629 from phip1611/patch-3
2023-01-19 16:41:20 +01:00
Philipp Schuster
9469b1bb30
doc: update language/index.md
...
- make `<nixpkgs>` visible (was blank in the rendered version)
2023-01-19 15:11:20 +01:00
Guillaume Maudoux
a9fa2c758b
Always display addErrorContext messages in (expanded) traces
2023-01-19 14:14:19 +01:00
Guillaume Maudoux
6228b6b950
Discuss re-entrant errors and design
2023-01-19 14:12:26 +01:00
Guillaume Maudoux
ca7c5e08c1
Add tests for error traces, and fixes
2023-01-19 14:10:56 +01:00
Guillaume Maudoux
e4726a0c79
Revert "Revert "Merge pull request #6204 from layus/coerce-string""
...
This reverts commit 9b33ef3879
.
2023-01-19 13:23:04 +01:00
Eelco Dolstra
38b90c618f
Merge pull request #7640 from marceltransier/patch-2
...
Fix update operator usage in operators.md
2023-01-19 11:12:10 +01:00
Eelco Dolstra
5a0865b591
Merge pull request #7638 from marceltransier/patch-1
...
Fix markdown error in operators.md
2023-01-19 11:04:52 +01:00
Marcel Transier
8b9325ec4a
Fix update operator usage in operators.md
2023-01-19 10:20:41 +01:00
Marcel Transier
9141b74eb7
Fix markdown error in operators.md
...
Escape logical or pipe in markdown table according to https://github.github.com/gfm/#example-200
2023-01-18 22:34:49 +01:00
Eelco Dolstra
2513eba46a
Merge pull request #7636 from asymmetric/relnotes-flakre-reg
...
Relase notes: add empty flake registry
2023-01-18 18:04:27 +01:00
Lorenzo Manacorda
913782af4d
Relase notes: add empty flake registry
...
Introduced in #5420
2023-01-18 17:34:19 +01:00
Eelco Dolstra
0510aa40a3
Merge pull request #7631 from edolstra/output-names
...
OutputSpec: Allow all valid output names
2023-01-18 17:09:15 +01:00
Eelco Dolstra
75c89c3e5e
Add test for OutputsSpec::Names
...
From @Ericson2314.
2023-01-18 16:34:37 +01:00
Eelco Dolstra
8a3b30822b
Fix indentation
2023-01-18 16:33:39 +01:00
Philipp Schuster
70e193d64b
Update binary-cache-substituter.md ( #7628 )
...
`binary-caches` is deprecated and `substituters` the new recommended option.
2023-01-18 15:08:20 +00:00
Eelco Dolstra
ee1372d246
Merge pull request #7627 from edolstra/fetchTarball-channel
...
Restore support for channel: URLs in fetchTarball
2023-01-18 14:26:35 +01:00
Eelco Dolstra
1ebfa6ba2d
Add some tests for illegal output names
2023-01-18 14:21:17 +01:00