From 52a8b37a1d058f9091ff3223a086e84fc98522b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Sat, 7 Jun 2025 23:15:00 +0200 Subject: [PATCH] devShells: +vim-tw --- nix/devShells/vim-tw.nix | 13 +++++++++++++ nix/sources.json | 12 ++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 nix/devShells/vim-tw.nix diff --git a/nix/devShells/vim-tw.nix b/nix/devShells/vim-tw.nix new file mode 100644 index 00000000..5407dddd --- /dev/null +++ b/nix/devShells/vim-tw.nix @@ -0,0 +1,13 @@ +let + sources = import ../sources.nix; +in + {pkgs ? import sources.pin-vim-tw {}}: + pkgs.mkShell { + name = "vim-tw"; + packages = with pkgs; [ + haskellPackages.cabal-fmt + haskellPackages.cabal-install + haskellPackages.ghc + haskellPackages.haskell-language-server + ]; + } diff --git a/nix/sources.json b/nix/sources.json index aeb21fd1..39df0959 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -187,6 +187,18 @@ "url": "https://github.com/nixos/nixpkgs/archive/c58ed2fc0f592ebc280bfba077ea418ce10213d1.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, + "pin-vim-tw": { + "branch": "master", + "description": "Nix Packages collection & NixOS", + "homepage": "", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "c93c1b3413bd7e235fc22b469bc0d2feec332cf5", + "sha256": "115sdkhyp0pm5rmag4gq0myg2rs20irisgnpf26zjfm92pw8isq4", + "type": "tarball", + "url": "https://github.com/nixos/nixpkgs/archive/c93c1b3413bd7e235fc22b469bc0d2feec332cf5.tar.gz", + "url_template": "https://github.com///archive/.tar.gz" + }, "pin-wireshark": { "branch": "master", "description": "Nix Packages collection & NixOS",