Skip to content

Commit

Permalink
Update Nix
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduchesne committed Aug 31, 2022
1 parent 66e1556 commit cba72e7
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 12 deletions.
15 changes: 12 additions & 3 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,16 @@ the checksum for the fixed output derivation for the vendored Go packages.
> **Note:** The following steps require a 2.X release of the `nix` command.
```console
$ cd nix
$ nix develop
$ ./release <major>.<minor>.<patch>
cd nix
nix develop
./release <major>.<minor>.<patch>
```

You can also do it with Docker:

```console
docker run -it -v /tmp:/tmp -v $(pwd):/workdir -w /workdir nixos/nix
cd nix
nix develop --extra-experimental-features nix-command --extra-experimental-features flakes
./release <major>.<minor>.<patch>
```
4 changes: 2 additions & 2 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
with pkgs;
buildGoModule rec {
pname = "jsonnet-language-server";
version = "0.7.2";
version = "0.8.0";

ldflags = ''
-X main.version=${version}
'';
src = lib.cleanSource ../.;
vendorSha256 = "sha256-UEQogVVlTVnSRSHH2koyYaR9l50Rn3075opieK5Fu7I=";
vendorSha256 = "sha256-tsVevkMHuCv70A9Ohg9L+ghH5+v52X4sToI4bMlDzzo=";

meta = with lib; {
description = "A Language Server Protocol server for Jsonnet";
Expand Down
12 changes: 6 additions & 6 deletions nix/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nix/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ with pkgs;
mkShell {
buildInputs = [
gnused
go_1_16
go_1_19
golangci-lint
gopls
nix-prefetch
Expand Down

0 comments on commit cba72e7

Please sign in to comment.