From 7dc6bd5377a9879f9dbb4e54372d22fad41966ab Mon Sep 17 00:00:00 2001 From: WilliButz Date: Sun, 8 Sep 2024 16:42:29 +0200 Subject: [PATCH] flake: use napalm fork to avoid stackoverflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It seems that the set of npm dependencies is large enough for foldl to overflow the stack since the latest update. Use the fork with the fix for now until its properly upstreamed. Fixes #31 Flake lock file updates: • Updated input 'napalm': 'github:nix-community/napalm/e1babff744cd278b56abe8478008b4a9e23036cf' (2024-06-09) → 'github:willibutz/napalm/b492440d9e64ae20736d3bec5c7715ffcbde83f5' (2024-09-08) --- flake.lock | 11 ++++++----- flake.nix | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index ccbc7b0..997332e 100644 --- a/flake.lock +++ b/flake.lock @@ -81,15 +81,16 @@ ] }, "locked": { - "lastModified": 1717929455, - "narHash": "sha256-BiI5xWygriOJuNISnGAeL0KYxrEMnjgpg+7wDskVBhI=", - "owner": "nix-community", + "lastModified": 1725806412, + "narHash": "sha256-lGZjkjds0p924QEhm/r0BhAxbHBJE1xMOldB/HmQH04=", + "owner": "willibutz", "repo": "napalm", - "rev": "e1babff744cd278b56abe8478008b4a9e23036cf", + "rev": "b492440d9e64ae20736d3bec5c7715ffcbde83f5", "type": "github" }, "original": { - "owner": "nix-community", + "owner": "willibutz", + "ref": "avoid-foldl-stack-overflow", "repo": "napalm", "type": "github" } diff --git a/flake.nix b/flake.nix index 77625fc..3454966 100644 --- a/flake.nix +++ b/flake.nix @@ -25,7 +25,7 @@ }; }; napalm = { - url = "github:nix-community/napalm"; + url = "github:willibutz/napalm/avoid-foldl-stack-overflow"; inputs = { nixpkgs.follows = "nixpkgs"; flake-utils.follows = "flake-utils";