unmojang / drasl

Yggdrasil-compatible API server for Minecraft
GNU General Public License v3.0
119 stars 20 forks source link

`go-swag.patch` is not applying on `nixos-unstable` #110

Closed misuzu closed 1 month ago

misuzu commented 1 month ago

drasl is broken when building with latest nixos-unstable branch (since https://github.com/NixOS/nixpkgs/pull/349582):

Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/qwl8dk80841b8iz3lm1ds9aaq153jbdl-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
applying patch /nix/store/qgb54w3lvbwx9y5wh2fdy458ywyjn4hg-go-swag.patch
patching file packages.go
Hunk #1 FAILED at 93.
1 out of 1 hunk FAILED -- saving rejects to file packages.go.rej

Here's my flake inputs:

  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
  inputs.drasl.url = "github:unmojang/drasl";
  inputs.drasl.inputs.nixpkgs.follows = "nixpkgs";