File tree 3 files changed +45
-0
lines changed
3 files changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ use flake
Original file line number Diff line number Diff line change @@ -35,3 +35,6 @@ __pycache__
35
35
36
36
# Compiled code supplement
37
37
/peony-code.zip
38
+
39
+ # direnv
40
+ .direnv
Original file line number Diff line number Diff line change
1
+ {
2
+ description = "A Flake for Applying Grackle to gokv" ;
3
+
4
+ inputs = {
5
+ nixpkgs . url = "nixpkgs" ;
6
+ } ;
7
+
8
+ outputs = { nixpkgs , ...} : let
9
+ system = "x86_64-linux" ;
10
+ in {
11
+ devShells . "${ system } " . default = let
12
+ pkgs = import nixpkgs {
13
+ inherit system ;
14
+ } ;
15
+ grackle = pkgs . buildGoModule {
16
+ name = "grackle" ;
17
+ src = pkgs . fetchFromGitHub {
18
+ owner = "mjschwenne" ;
19
+ repo = "grackle" ;
20
+ rev = "18dbbd313c299d74895f566aae028eeba62a699a" ;
21
+ hash = "sha256-GDo3c3VbRl0FR7sJ2Cvmdau+rBRcxwb/sGAEwV5seFQ=" ;
22
+ } ;
23
+ vendorHash = "sha256-Wk2v0HSAkrzxHJvCfbw6xOn0OQ1xukvYjDxk3c2LmH8=" ;
24
+ checkPhase = false ;
25
+ } ;
26
+ in
27
+ pkgs . mkShell {
28
+ # create an environment with the required coq libraries
29
+ packages = with pkgs ; [
30
+ # coq deps
31
+ coqc
32
+
33
+ # grackle
34
+ grackle
35
+ ] ;
36
+
37
+ shellHook = ''
38
+ '' ;
39
+ } ;
40
+ } ;
41
+ }
You can’t perform that action at this time.
0 commit comments