Skip to content

Commit 6ea6d01

Browse files
Add a flake file
1 parent bda82a0 commit 6ea6d01

4 files changed

Lines changed: 110 additions & 55 deletions

File tree

.packcheck.ignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.packcheck.ignore
22
.github/workflows/packcheck.yml
3-
cabal.project
3+
cabal.project
4+
flake.lock
5+
flake.nix

default.nix

Lines changed: 0 additions & 54 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 = "Packdiff Development Environment";
3+
4+
inputs = {
5+
basepkgs.url = "git+ssh://git@github.com/composewell/streamly-packages?rev=76420910d9c74e5fc1d92d680499c97e4f94e873";
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 = "packdiff";
14+
sources = basepkgs.nixpack.lib.localSource "packdiff" ./.;
15+
packages = basepkgs.nixpack.lib.devPackage "packdiff";
16+
#sources = import ./sources.nix;
17+
#packages = import ./packages.nix;
18+
};
19+
}

0 commit comments

Comments
 (0)