From c735e6fcd814d2b29324c3509d3bbdc060e34d94 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Sat, 3 Sep 2022 18:45:26 -0400 Subject: [PATCH] remove vlang patch --- modules/vlang-fix.nix | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 modules/vlang-fix.nix 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]])' - ''; - }); - }) - ]; -}