diff --git a/modules/vlang-fix.nix b/modules/vlang-fix.nix deleted file mode 100644 index ca1e63f..0000000 --- a/modules/vlang-fix.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ config, lib, pkgs, ... }: - -# This is a temporary workaround for -# https://github.com/NixOS/nixpkgs/issues/131539 - -{ - nixpkgs.overlays = [ - (self: super: { - vlang = super.vlang.overrideAttrs (_: { - postInstall = '' - find $out/lib/cmd/tools -maxdepth 1 -name 'v*.v' | - HOME=$TMPDIR xargs -P0 -n1 ${pkgs.python3}/bin/python -c \ - 'import os,sys,pty; pty.spawn([os.getenv("out")+"/bin/v",sys.argv[1]])' - ''; - }); - }) - ]; -}