-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add flake to test out purescript2nix
- Loading branch information
1 parent
3385f8a
commit a9fed64
Showing
3 changed files
with
145 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,30 @@ | ||
{ | ||
inputs = { | ||
nixpkgs = { | ||
url = "github:NixOS/nixpkgs"; | ||
}; | ||
purescript2nix = { | ||
url = "github:considerate/purescript2nix/considerate/registry"; | ||
}; | ||
flake-utils = { | ||
url = "github:numtide/flake-utils"; | ||
}; | ||
}; | ||
outputs = inputs: | ||
inputs.flake-utils.lib.eachDefaultSystem (system: | ||
let | ||
pkgs = import inputs.nixpkgs { | ||
inherit system; | ||
overlays = [ inputs.purescript2nix.overlay ]; | ||
}; | ||
uint = pkgs.purescript2nix { | ||
src = ./.; | ||
}; | ||
in | ||
{ | ||
packages = { | ||
default = uint; | ||
}; | ||
defaultPackage = uint; | ||
}); | ||
} |
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,6 +1,10 @@ | ||
package: | ||
name: "uint" | ||
version: 7.0.0 | ||
dependencies: [ "prelude", "maybe", "numbers", "enums", "gen" ] | ||
publish: | ||
license: "MIT" | ||
location: "https://github.com/purescript-contrib/purescript-uint.git" | ||
workspace: | ||
set: | ||
registry: 8.6.0 |