fix call to pkgs.writeText

This commit is contained in:
Quinn Dougherty 2022-08-30 11:23:15 +08:00
parent 05a7d5c09a
commit 21eeb63cf2

View File

@ -6,7 +6,7 @@ rec {
raw = pkgs.lib.importJSON ../packages/squiggle-lang/package.json; raw = pkgs.lib.importJSON ../packages/squiggle-lang/package.json;
modified = pkgs.lib.recursiveUpdate raw { devDependencies."@types/lodash" = "^4.14.182"; }; modified = pkgs.lib.recursiveUpdate raw { devDependencies."@types/lodash" = "^4.14.182"; };
packageJsonString = builtins.toJSON modified; packageJsonString = builtins.toJSON modified;
in pkgs.writeText "packages/squiggle-lang/patched-package.json"; in pkgs.writeText "packages/squiggle-lang/patched-package.json" packageJsonString;
yarn-source = pkgs.mkYarnPackage { yarn-source = pkgs.mkYarnPackage {
name = "squiggle-lang_yarnsource"; name = "squiggle-lang_yarnsource";
src = ../packages/squiggle-lang; src = ../packages/squiggle-lang;