about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/elm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/compilers/elm/default.nix')
-rw-r--r--nixpkgs/pkgs/development/compilers/elm/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/compilers/elm/default.nix b/nixpkgs/pkgs/development/compilers/elm/default.nix
index 6815eb71e25f..9ae361ddf442 100644
--- a/nixpkgs/pkgs/development/compilers/elm/default.nix
+++ b/nixpkgs/pkgs/development/compilers/elm/default.nix
@@ -282,8 +282,11 @@ in lib.makeScope pkgs.newScope (self: with self; {
         }
       );
 
-      elm-land = nodePkgs."elm-land".overrideAttrs (
-        old: {
+      elm-land =
+        let
+          patched = patchNpmElm nodePkgs.elm-land;
+        in
+        patched.override (old: {
           meta = with lib; nodePkgs."elm-land".meta // {
             description = "A production-ready framework for building Elm applications.";
             homepage = "https://elm.land/";