Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dirname hack from nix_path concatenation #34

Merged
merged 1 commit into from
Oct 23, 2018

Conversation

Profpatsch
Copy link
Contributor

Previously we applied dirname to each path, which meant we could
only use nix files named default.nix (because of nix’s defaulting to
that file). Now we can name files directly (see the WORKSPACE file
for an example that calls nixpksgs-pin.nix).

Previously we applied `dirname` to each path, which meant we could
only use nix files named `default.nix` (because of nix’s defaulting to
that file). Now we can name files directly (see the `WORKSPACE` file
for an example that calls `nixpksgs-pin.nix`).
Copy link
Contributor

@thufschmitt thufschmitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A big 👍 since this hack wasn't adding anything but forced some weird workarounds on the client side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants