File tree Expand file tree Collapse file tree 1 file changed +36
-1
lines changed Expand file tree Collapse file tree 1 file changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -34,4 +34,39 @@ flowchart LR
34
34
35
35
n1@{ shape: rect}
36
36
n9@{ shape: rect}
37
- ```
37
+ ```
38
+
39
+ # CI/CD
40
+
41
+ Check the sha1 of gitlib like this
42
+
43
+ ``` sh
44
+ nix-shell -p nix-prefetch-git
45
+ nix-prefetch-git https://github.com/jwiegley/gitlib.git bf256617179d853bdbc12e9283b3f570ebb9d9d7 --fetch-submodules
46
+ ```
47
+
48
+ Output is like
49
+
50
+ ```
51
+ git revision is bf256617179d853bdbc12e9283b3f570ebb9d9d7
52
+ path is /nix/store/63bx4k5nwjqwk7gv0a0k8adq796bjbpr-gitlib-bf25661
53
+ git human-readable version is -- none --
54
+ Commit date is 2025-09-04 11:17:27 -0700
55
+ hash is 13k3aymqwzpcijnjjka820nv6rkgakzbvh13glw98p1c4yhqwcbf
56
+ {
57
+ "url": "https://github.com/jwiegley/gitlib.git",
58
+ "rev": "bf256617179d853bdbc12e9283b3f570ebb9d9d7",
59
+ "date": "2025-09-04T11:17:27-07:00",
60
+ "path": "/nix/store/63bx4k5nwjqwk7gv0a0k8adq796bjbpr-gitlib-bf25661",
61
+ "sha256": "13k3aymqwzpcijnjjka820nv6rkgakzbvh13glw98p1c4yhqwcbf",
62
+ "hash": "sha256-bjGOoScsXJQ4fSPAvf5Ub2azLRBITSmtjOx+jqtXY44=",
63
+ "fetchLFS": false,
64
+ "fetchSubmodules": true,
65
+ "deepClone": false,
66
+ "fetchTags": false,
67
+ "leaveDotGit": false,
68
+ "rootDir": ""
69
+ }
70
+ ```
71
+
72
+ Use the "sha256" for the ` --sha256 ` field in the ` cabal.project ` .
You can’t perform that action at this time.
0 commit comments