Skip to content

Commit

Permalink
Merge pull request #378 from input-output-hk/hasura-1.3.3-niv-update
Browse files Browse the repository at this point in the history
Update niv pins for graphql-engine 1.3.3 and fix cli-ext install
  • Loading branch information
jbgi authored Nov 26, 2020
2 parents 6dbd988 + 8a8cc9b commit 99237e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
5 changes: 2 additions & 3 deletions nix/nixos/cardano-graphql-service.nix
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,8 @@ in {
installHasuraCLI = ''
# always start with no plugins so future upgrades will work
rm -rf ~/.hasura/plugins
# TODO: identify how to get what's needed without the install of the broken plugin
hasura plugin install cli-ext
cp ${hasura-cli-ext}/bin/cli-ext-hasura-linux ~/.hasura/plugins/bin/hasura-cli_ext
mkdir -p ~/.hasura/plugins/store/cli-ext/v${hasura-cli-ext.version}
ln -s ${hasura-cli-ext}/bin/cli-ext-hasura-linux ~/.hasura/plugins/store/cli-ext/v${hasura-cli-ext.version}/cli-ext-hasura-linux
'';
in lib.mkIf cfg.enable {
systemd.services.cardano-graphql = {
Expand Down
14 changes: 7 additions & 7 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"graphql-engine": {
"branch": "master",
"branch": "refs/tags/v1.3.3",
"builtin": false,
"description": "Blazing fast, instant realtime GraphQL APIs on Postgres with fine grained access control, also trigger webhooks on database events.",
"homepage": "https://hasura.io",
"owner": "hasura",
"repo": "graphql-engine",
"rev": "de7e6d1f8472956aca2c2c0e3f6e8e6f7091c80a",
"sha256": "1jipygc6bp15cq4wr3yngs7knpak24w0z518fkzfzahxmd910kjh",
"rev": "8c9ffbeb6d60226970f69b6ef5b08d9551d944e2",
"sha256": "1kc0dfxww05dzj61xn0qfq977xkwlzdv51knxf22ciw9xg58c000",
"type": "tarball",
"url": "https://github.com/hasura/graphql-engine/archive/de7e6d1f8472956aca2c2c0e3f6e8e6f7091c80a.tar.gz",
"url": "https://github.com/hasura/graphql-engine/archive/8c9ffbeb6d60226970f69b6ef5b08d9551d944e2.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"graphql-parser-hs": {
Expand Down Expand Up @@ -69,10 +69,10 @@
"homepage": null,
"owner": "hasura",
"repo": "pg-client-hs",
"rev": "5b112acaaae15664e2bc0817b1a17f44f04df69b",
"sha256": "1zn1qcx3c6sjr4fmbc165irzfxhcyyc8c1b11nsilgpwwl7brcsg",
"rev": "77e9ddaef5c2b6aae829d66295644beebfb55ff1",
"sha256": "17igykbig8yhf35sv5a3j9z2avsinf38c5nj0h2r0kvklnazm696",
"type": "tarball",
"url": "https://github.com/hasura/pg-client-hs/archive/5b112acaaae15664e2bc0817b1a17f44f04df69b.tar.gz",
"url": "https://github.com/hasura/pg-client-hs/archive/77e9ddaef5c2b6aae829d66295644beebfb55ff1.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}
}

0 comments on commit 99237e2

Please sign in to comment.