Félix Baylac-Jacqué
931ba79d94
Hnix: add hydra job.
2020-12-11 19:57:57 +01:00
Anton Latukha
a3265899bf
Merge request #769 form 0.11.1: cabal, changelog
2020-12-09 18:57:14 +02:00
Anton-Latukha
6c071d36a1
form 0.11.1
2020-12-09 18:45:44 +02:00
Guillaume Maudoux
6a91375c28
Update CHANGELOG.md
...
I mainly removed the line about populating builtin list as it is not relevant for users. And added the `builtins.substring` fix.
2020-12-09 10:45:05 +01:00
Anton-Latukha
fbed7a656c
CHANGELOG: explain changes
2020-12-09 01:22:16 +02:00
Anton Latukha
fae8c24e8f
Merge request #766 CI: GitHub: add Nixpkgs integration test
...
This is a tiny project that I want eventually to move into the group.
Details: https://github.com/Anton-Latukha/test-haskell-nixpkgs-integration-action
Implementation gist: https://github.com/Anton-Latukha/test-haskell-nixpkgs-integration-action/blob/main/run-action.sh
This test is to run before release - to know if the project works clean in Nixpkgs, or needs overrides there.
2020-12-03 00:31:21 +02:00
Anton-Latukha
52f39938c0
CI: GitHub: workflow: add project Nixpkgs-integration test
2020-12-02 23:30:00 +02:00
Anton-Latukha
106dbf3b63
CI: GitHub: style clean-up
...
M .github/workflows/Cabal-Linux.yml
M .github/workflows/On-Readme-update.yml
M .github/workflows/On-Release-Cabal-Linux.yml
M .github/workflows/Optional-Nix-dev-env-macOS.yml
M .github/workflows/Optional-Nix-dev-env-main.yml
2020-12-02 22:31:09 +02:00
Anton Latukha
d9f5e009f3
Merge request #765 clean-up {neat-interpolation, data-fix} derivation overrides
...
clean-up derivation overrides
2020-12-02 22:27:02 +02:00
Anton-Latukha
def857264d
default.nix: rm data-fix override
2020-12-02 17:14:44 +02:00
Anton-Latukha
ee24f93a8b
default.nix: rm neat-interpolation override
2020-12-02 17:14:44 +02:00
Anton-Latukha
92fe5496ee
default.nix: upd rev
2020-12-02 17:14:44 +02:00
Anton-Latukha
8c18321e74
Changelog: add Progress section
2020-11-29 14:36:11 +02:00
Anton Latukha
484f4dac4d
Merge request #748 shell.nix: use Haskell notation, explicit attrs
2020-11-18 23:47:06 +02:00
Anton-Latukha
a277ad4857
shell.nix: add explanation why explicit defaults set
2020-11-18 22:26:03 +02:00
Guillaume Maudoux
ad078200f9
Work around nix default values behavior
2020-11-18 11:53:36 +01:00
Guillaume Maudoux
ead52c1719
Merge pull request #757 from layus/fix-a-lot
...
Various fixes and bugfixes encountered while testing
2020-11-18 10:24:00 +01:00
Guillaume Maudoux
2af45ba385
Fix unused param warning
2020-11-18 10:04:09 +01:00
Guillaume Maudoux
5c72d9530c
Restore some `sort -k4` of order in the builtins
2020-11-18 09:42:06 +01:00
Guillaume Maudoux
50baea5e1e
Fix `assert` parser to accept top-level nix forms
2020-11-18 09:42:06 +01:00
Guillaume Maudoux
dc31c5e64f
Fix pathExists to also accept dirs
2020-11-18 09:42:06 +01:00
Guillaume Maudoux
53b4db2525
Fix builtins.substring for negative lengths
2020-11-18 09:42:06 +01:00
Guillaume Maudoux
3ac720b5aa
Complete and cleanup builtins list
2020-11-18 09:42:06 +01:00
Guillaume Maudoux
2a7a447a7d
Fix occurences of name-shadowing
2020-11-18 09:42:06 +01:00
Guillaume Maudoux
b6b06224c5
Remove very verbose debug statements
2020-11-18 09:42:06 +01:00
Guillaume Maudoux
19790fd1fc
Show faulty string in fromStringNoContext error
2020-11-18 09:42:06 +01:00
Guillaume Maudoux
d32a6fbaf3
Fix isString to refrain from coercing values
...
Derivations can be automatically coerced to strings. They are however
not strings and `isString` should return `False` on them.
2020-11-18 09:42:06 +01:00
Guillaume Maudoux
48ed345075
Disable debug logging on thunk force
2020-11-18 09:42:06 +01:00
Guillaume Maudoux
59698de718
Handle errors located in raw strings
2020-11-18 09:42:06 +01:00
Joe Hermaszewski
6bc278c859
Merge pull request #759 from haskell-nix/joe-actions
...
Bump install-haskell cachix-action and install-nix-action
2020-11-17 18:39:36 +08:00
Joe Hermaszewski
c0f5b691d1
Bump install-haskell cachix-action and install-nix-action
...
Closes https://github.com/haskell-nix/hnix/issues/758
install-nix-action requires an explicit `nix_path` now, do not set this
when it is just used to install nix-instantiate for tests
2020-11-17 15:31:27 +08:00
Joe Hermaszewski
b1f7397807
Merge pull request #756 from layus/fix-impl
...
Make `->` right assosciative
2020-11-17 14:58:21 +08:00
Guillaume Maudoux
e2ad934492
Make `->` right assosciative
...
As per the nix source code 61e816217b/src/libexpr/parser.y (L296-L307)
The bug was found while parsing firefox 5030e5cdc7/pkgs/applications/networking/browsers/firefox/common.nix (L76-L77)
2020-11-16 14:32:00 +01:00
Anton Latukha
26543bb530
default.nix: upd rev ( #754 )
2020-11-03 18:46:36 +02:00
Anton Latukha
b21bb48bf5
hnix.cabal: version: increment to major release 0.11.0 ( #751 )
2020-11-02 19:13:31 +02:00
Anton Latukha
9d0addaa4b
CHANGELOG.md: add 0.11.0 ( #749 )
2020-11-02 17:57:04 +02:00
Anton-Latukha
b8cc8dfdee
default.nix: set Hoogle to false by default (true is in shell.nix)
2020-11-01 20:52:57 +02:00
Anton-Latukha
45752fc633
shell.nix: use Haskell notation, use explicit attrs
...
Since variadic (...) attr passing does not work in Nix - the least of evils - is
to expicitly state the few attrs affecting the `shell.nix`.
2020-11-01 20:49:40 +02:00
Joe Hermaszewski
75e3a73bbe
Merge pull request #741 from expipiplus1/joe-fix-qq
...
Fix QQ Text lifting error
2020-11-01 11:47:49 +08:00
Joe Hermaszewski
c0ed91f8c2
Merge pull request #744 from expipiplus1/joe-sourcepos-whitespace
...
Use pre-whitespace position for source end locations
2020-11-01 11:46:38 +08:00
Joe Hermaszewski
6b9d4d1890
Restrict type of parens and brackets to prevent negative use of NExprLoc
...
it is not generally appropriate to have higher-order parsers operate on
annotated locations as they are liable to perform changes to the parser which
are not captured in the annotation.
See https://github.com/haskell-nix/hnix/pull/739 and
https://github.com/haskell-nix/hnix/pull/744 for examples.
2020-10-29 15:28:02 +02:00
Joe Hermaszewski
dba7650bc5
Correct location annotation for parenthesized expressions
...
At the moment parentheses are not included in the location annotation
for nix expressions. This changes the code to include any parentheses in
the SrcSpan of the underlying expression. Information which is difficult
to recover otherwise.
2020-10-29 15:28:02 +02:00
Joe Hermaszewski
4202bac068
Remove Generic1 instance for NKeyName
...
See https://github.com/haskell-nix/hnix/issues/225
2020-10-26 18:57:17 -07:00
Joe Hermaszewski
731ed878e1
Use pre-whitespace position for source end locations
...
Fixes https://github.com/haskell-nix/hnix/issues/743
2020-10-25 17:47:11 +08:00
Joe Hermaszewski
9920802798
Fix QQ Text lifting error
...
Work around https://gitlab.haskell.org/ghc/ghc/-/issues/12596 using
https://stackoverflow.com/questions/38143464/cant-find-inerface-file-declaration-for-variable
2020-10-23 15:04:28 +08:00
Anton Latukha
820499daff
[auto] upd README TOC
2020-10-04 14:30:21 +00:00
Anton Latukha
50c6301b8d
README.md: REPL: add laziness and strictness ( #738 )
...
It is not ideal placement, but because of the current CLI design there is no ideal placement at all, except to place implications of every key in its own headline, which would mean to duplicate most of `--help` in README.
#663 already shows that `--help` is not understandable, because currently everything is intermingled.
Further rehashing of README is of course possible, but I see no way to lay-out needed info cleanly (there is a lot of if/else cases) without the redesign of the CLI.
2020-10-04 17:29:50 +03:00
Anton Latukha
e18d3cc9a2
[auto] upd README TOC
2020-09-30 18:05:59 +00:00
Anton-Latukha
7b999da3da
README.md: m upd and rephrasing
2020-09-30 21:05:26 +03:00
Anton Latukha
e1a2a22d63
[auto] upd README TOC
2020-09-30 17:45:19 +00:00