Skip to content

Commit ec0f9ff

Browse files
Add a nix flake file
1 parent 7e582de commit ec0f9ff

4 files changed

Lines changed: 109 additions & 113 deletions

File tree

.packcheck.ignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ appveyor.yml
55
cabal.project
66
cabal.project.user
77
cabal.project.Werror
8-
default.nix
98
stack.yaml
9+
flake.lock
10+
flake.nix

default.nix

Lines changed: 0 additions & 112 deletions
This file was deleted.

flake.lock

Lines changed: 88 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
description = "streamly-statistics";
3+
4+
inputs = {
5+
basepkgs.url = "git+ssh://git@github.com/composewell/streamly-packages?rev=187bde6bd362eced707ed96198ddc193af66ff42";
6+
nixpkgs.follows = "basepkgs/nixpkgs";
7+
nixpkgs-darwin.follows = "basepkgs/nixpkgs-darwin";
8+
};
9+
10+
outputs = { self, nixpkgs, nixpkgs-darwin, basepkgs }:
11+
basepkgs.nixpack.mkOutputs {
12+
inherit nixpkgs nixpkgs-darwin basepkgs;
13+
name = "streamly-statistics";
14+
sources = basepkgs.nixpack.lib.localSource "streamly-statistics" ./.;
15+
packages = basepkgs.nixpack.lib.devPackage "streamly-statistics";
16+
#sources = import ./sources.nix;
17+
#packages = import ./packages.nix;
18+
};
19+
}

0 commit comments

Comments
 (0)