-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add project.ncl and nickel.lock.ncl, use them for this very flake. For now use only devshells. Update cachix/install-nix-action to install Nix 2.17 that doesn't evaluate `packages` for all systems on `nix flake check`. Preparation for dogfooding future improvements from #58
- Loading branch information
Showing
4 changed files
with
77 additions
and
51 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
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
organist = import "./lib/nix.ncl", | ||
} |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
let inputs = import "./nickel.lock.ncl" in | ||
let organist = inputs.organist in | ||
let import_nix = organist.lib.import_nix in | ||
|
||
{ | ||
shells = | ||
organist.shells.Bash | ||
& { | ||
build.packages = { | ||
nickel-lang-cli = import_nix "nickel#nickel-lang-cli", | ||
parallel = import_nix "nixpkgs#parallel", | ||
gnused = import_nix "nixpkgs#gnused", | ||
}, | ||
}, | ||
} | ||
| organist.contracts.OrganistExpression |