Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Builder default.nix logic #146

Merged
merged 3 commits into from
Oct 7, 2019
Merged

Builder default.nix logic #146

merged 3 commits into from
Oct 7, 2019

Conversation

Profpatsch
Copy link
Collaborator

@Profpatsch Profpatsch commented Sep 5, 2019

Finally solves the issue of watching way too many files. See commit messages for details.

Merge #117 first! Edit: the utf8-test will break, because it’s still broken on #117. Is now based on `master`.

@grahamc grahamc force-pushed the builder-add-transitive-source-detection-tests branch 2 times, most recently from eccd66f to ab6535e Compare September 23, 2019 19:25
@Profpatsch Profpatsch force-pushed the builder-default.nix-logic branch 2 times, most recently from 89b6fdd to 19f2b19 Compare October 4, 2019 18:23
@Profpatsch Profpatsch changed the base branch from builder-add-transitive-source-detection-tests to master October 4, 2019 18:23
@Profpatsch
Copy link
Collaborator Author

@grahamc This is based on master now and can be reviewed independently.

This should make it easier to see encoding issues.
We need a finer differentiation to implement the `default.nix` logic.

Also add a bunch of comments to describe what is parsed in the first
place.
For a directory import like `import ./foo`, nix imports
`./foo/default.nix` but only prints `./foo` to its log output.
This commit reproduces that behaviour.

We were watching way too many files, e.g. `import <nixpkgs> {}` meant
we’d watch all of nixpkgs recursively. This should be solved now.

Fixes #58
@grahamc grahamc merged commit d05f00a into master Oct 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants