Loading pkgs/applications/editors/vscode/generic.nix +3 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,8 @@ # Populate passthru.tests tests, extraNativeBuildInputs ? [ ], # Customize FHS environment # Function that takes default buildFHSEnv arguments and returns modified arguments customizeFHSEnv ? args: args, Loading Loading @@ -256,6 +258,7 @@ stdenv.mkDerivation ( unzip imagemagick ] ++ extraNativeBuildInputs ++ lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook asar Loading pkgs/by-name/co/code-cursor/package.nix +5 −6 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ let source = sources.${hostPlatform.system}; in (buildVscode rec { buildVscode rec { inherit useVSCodeRipgrep; inherit (sourcesJson) version vscodeVersion; commandLineArgs = finalCommandLineArgs; Loading @@ -45,6 +45,9 @@ in else source; # for unpacking the DMG extraNativeBuildInputs = lib.optionals hostPlatform.isDarwin [ undmg ]; sourceRoot = if hostPlatform.isLinux then "${pname}-${version}-extracted/usr/share/cursor" else "Cursor.app"; Loading Loading @@ -78,8 +81,4 @@ in ++ lib.platforms.darwin; mainProgram = "cursor"; }; }).overrideAttrs (oldAttrs: { nativeBuildInputs = (oldAttrs.nativeBuildInputs or [ ]) ++ lib.optionals hostPlatform.isDarwin [ undmg ]; }) } Loading
pkgs/applications/editors/vscode/generic.nix +3 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,8 @@ # Populate passthru.tests tests, extraNativeBuildInputs ? [ ], # Customize FHS environment # Function that takes default buildFHSEnv arguments and returns modified arguments customizeFHSEnv ? args: args, Loading Loading @@ -256,6 +258,7 @@ stdenv.mkDerivation ( unzip imagemagick ] ++ extraNativeBuildInputs ++ lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook asar Loading
pkgs/by-name/co/code-cursor/package.nix +5 −6 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ let source = sources.${hostPlatform.system}; in (buildVscode rec { buildVscode rec { inherit useVSCodeRipgrep; inherit (sourcesJson) version vscodeVersion; commandLineArgs = finalCommandLineArgs; Loading @@ -45,6 +45,9 @@ in else source; # for unpacking the DMG extraNativeBuildInputs = lib.optionals hostPlatform.isDarwin [ undmg ]; sourceRoot = if hostPlatform.isLinux then "${pname}-${version}-extracted/usr/share/cursor" else "Cursor.app"; Loading Loading @@ -78,8 +81,4 @@ in ++ lib.platforms.darwin; mainProgram = "cursor"; }; }).overrideAttrs (oldAttrs: { nativeBuildInputs = (oldAttrs.nativeBuildInputs or [ ]) ++ lib.optionals hostPlatform.isDarwin [ undmg ]; }) }