forked from tweag/rules_nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
dirname
hack from nix_path concatenation
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`).
- Loading branch information
1 parent
1b52674
commit 083c1ce
Showing
4 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ pkgs ? import ./nix/default.nix {} }: | ||
{ pkgs ? import ./nixpkgs.nix {} }: | ||
|
||
with pkgs; | ||
|
||
|