From d1b930a30908ea02cdea3b6fabc6dbd81728da2d Mon Sep 17 00:00:00 2001 From: liv Date: Sat, 28 Sep 2024 21:24:26 +0200 Subject: [PATCH] remove zed for now --- home/features/desktop/default.nix | 1 - overlays/default.nix | 36 +++++++++++++++---------------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/home/features/desktop/default.nix b/home/features/desktop/default.nix index 22e4658..487eb21 100644 --- a/home/features/desktop/default.nix +++ b/home/features/desktop/default.nix @@ -11,7 +11,6 @@ home.packages = with pkgs; [ vesktop - zed-editor obsidian kdenlive audacity diff --git a/overlays/default.nix b/overlays/default.nix index f5b2b1f..13ee7e7 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -6,24 +6,24 @@ # This one contains whatever you want to overlay # You can change versions, add patches, set compilation flags, anything really. # https://nixos.wiki/wiki/Overlays - modifications = final: prev: { - zed-editor = final.callPackage prev.zed-editor.override { - rustPlatform = final.rustPlatform // { - buildRustPackage = args: - final.rustPlatform.buildRustPackage (args // { - patches = - (args.patches or [ ] ++ [ ./zed-use-custom-cosmic-text.patch ]); - cargoLock = { - lockFile = ./zed.Cargo.lock; - outputHashes = args.cargoLock.outputHashes // { - "cosmic-text-0.11.2" = - "sha256-ld9mrvtZIEftenn1D5IuXFQikJU2GAil6MCsrIh9o14="; - }; - }; - }); - }; - }; - }; + # modifications = final: prev: { + # zed-editor = final.callPackage prev.zed-editor.override { + # rustPlatform = final.rustPlatform // { + # buildRustPackage = args: + # final.rustPlatform.buildRustPackage (args // { + # patches = + # (args.patches or [ ] ++ [ ./zed-use-custom-cosmic-text.patch ]); + # cargoLock = { + # lockFile = ./zed.Cargo.lock; + # outputHashes = args.cargoLock.outputHashes // { + # "cosmic-text-0.11.2" = + # "sha256-ld9mrvtZIEftenn1D5IuXFQikJU2GAil6MCsrIh9o14="; + # }; + # }; + # }); + # }; + # }; + # }; # When applied, the unstable nixpkgs set (declared in the flake inputs) will # be accessible through 'pkgs.unstable'