Skip to content

Commit

Permalink
Add flake to test out purescript2nix
Browse files Browse the repository at this point in the history
  • Loading branch information
considerate committed Jan 9, 2023
1 parent 3385f8a commit a9fed64
Show file tree
Hide file tree
Showing 3 changed files with 145 additions and 0 deletions.
111 changes: 111 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions flake.nix
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;
});
}
4 changes: 4 additions & 0 deletions spago.yaml
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

0 comments on commit a9fed64

Please sign in to comment.