Change Helix to nixpkgs now that it's updated
This commit is contained in:
		
							parent
							
								
									84ec39981c
								
							
						
					
					
						commit
						73f84b50da
					
				
					 4 changed files with 20 additions and 78 deletions
				
			
		| 
						 | 
					@ -2,12 +2,7 @@
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# SPDX-License-Identifier: LGPL-3.0-or-later
 | 
					# SPDX-License-Identifier: LGPL-3.0-or-later
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{
 | 
					{ flake-parts-lib, lib, ... }:
 | 
				
			||||||
  flake-parts-lib,
 | 
					 | 
				
			||||||
  inputs,
 | 
					 | 
				
			||||||
  lib,
 | 
					 | 
				
			||||||
  ...
 | 
					 | 
				
			||||||
}:
 | 
					 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  imports = [ ../../base ];
 | 
					  imports = [ ../../base ];
 | 
				
			||||||
  options.perSystem = flake-parts-lib.mkPerSystemOption (
 | 
					  options.perSystem = flake-parts-lib.mkPerSystemOption (
 | 
				
			||||||
| 
						 | 
					@ -78,7 +73,7 @@
 | 
				
			||||||
              category = " Helix";
 | 
					              category = " Helix";
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
          ];
 | 
					          ];
 | 
				
			||||||
          packages = [ inputs.helix.packages.${system}.helix ];
 | 
					          packages = [ pkgs.helix ];
 | 
				
			||||||
          devshell.startup.helix_config.text = ''
 | 
					          devshell.startup.helix_config.text = ''
 | 
				
			||||||
            mkdir -p .helix
 | 
					            mkdir -p .helix
 | 
				
			||||||
            ${pkgs.uutils-coreutils-noprefix}/bin/rm -rf ./${helix.directory.name}
 | 
					            ${pkgs.uutils-coreutils-noprefix}/bin/rm -rf ./${helix.directory.name}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										69
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										69
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							| 
						 | 
					@ -128,25 +128,6 @@
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "helix": {
 | 
					 | 
				
			||||||
      "inputs": {
 | 
					 | 
				
			||||||
        "nixpkgs": "nixpkgs_3",
 | 
					 | 
				
			||||||
        "rust-overlay": "rust-overlay"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1752674572,
 | 
					 | 
				
			||||||
        "narHash": "sha256-rCAwXmLQJQVHRpquWTQV1fDurHhf4beUzqDi6FVkdEo=",
 | 
					 | 
				
			||||||
        "owner": "helix-editor",
 | 
					 | 
				
			||||||
        "repo": "helix",
 | 
					 | 
				
			||||||
        "rev": "2ee11a0a9d9b9951b5b64b54be05379cc030230b",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "helix-editor",
 | 
					 | 
				
			||||||
        "repo": "helix",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "lix": {
 | 
					    "lix": {
 | 
				
			||||||
      "flake": false,
 | 
					      "flake": false,
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
| 
						 | 
					@ -216,27 +197,11 @@
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "nixpkgs_3": {
 | 
					    "nixpkgs_3": {
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1740560979,
 | 
					        "lastModified": 1752809442,
 | 
				
			||||||
        "narHash": "sha256-Vr3Qi346M+8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic=",
 | 
					        "narHash": "sha256-7fALxZGWDspRe79LaDwIdmkDl568Cphfvr83PGCXUUQ=",
 | 
				
			||||||
        "owner": "nixos",
 | 
					 | 
				
			||||||
        "repo": "nixpkgs",
 | 
					 | 
				
			||||||
        "rev": "5135c59491985879812717f4c9fea69604e7f26f",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "nixos",
 | 
					 | 
				
			||||||
        "ref": "nixos-unstable",
 | 
					 | 
				
			||||||
        "repo": "nixpkgs",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "nixpkgs_4": {
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1751949589,
 | 
					 | 
				
			||||||
        "narHash": "sha256-mgFxAPLWw0Kq+C8P3dRrZrOYEQXOtKuYVlo9xvPntt8=",
 | 
					 | 
				
			||||||
        "owner": "NixOS",
 | 
					        "owner": "NixOS",
 | 
				
			||||||
        "repo": "nixpkgs",
 | 
					        "repo": "nixpkgs",
 | 
				
			||||||
        "rev": "9b008d60392981ad674e04016d25619281550a9d",
 | 
					        "rev": "e821e03193486359aa942372be2d9c1f377b7a18",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "original": {
 | 
					      "original": {
 | 
				
			||||||
| 
						 | 
					@ -246,7 +211,7 @@
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "nixpkgs_5": {
 | 
					    "nixpkgs_4": {
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1747958103,
 | 
					        "lastModified": 1747958103,
 | 
				
			||||||
        "narHash": "sha256-qmmFCrfBwSHoWw7cVK4Aj+fns+c54EBP8cGqp/yK410=",
 | 
					        "narHash": "sha256-qmmFCrfBwSHoWw7cVK4Aj+fns+c54EBP8cGqp/yK410=",
 | 
				
			||||||
| 
						 | 
					@ -267,33 +232,11 @@
 | 
				
			||||||
        "devshell": "devshell",
 | 
					        "devshell": "devshell",
 | 
				
			||||||
        "flake-parts": "flake-parts",
 | 
					        "flake-parts": "flake-parts",
 | 
				
			||||||
        "git-hooks-nix": "git-hooks-nix",
 | 
					        "git-hooks-nix": "git-hooks-nix",
 | 
				
			||||||
        "helix": "helix",
 | 
					 | 
				
			||||||
        "lix-module": "lix-module",
 | 
					        "lix-module": "lix-module",
 | 
				
			||||||
        "nixpkgs": "nixpkgs_4",
 | 
					        "nixpkgs": "nixpkgs_3",
 | 
				
			||||||
        "treefmt-nix": "treefmt-nix"
 | 
					        "treefmt-nix": "treefmt-nix"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "rust-overlay": {
 | 
					 | 
				
			||||||
      "inputs": {
 | 
					 | 
				
			||||||
        "nixpkgs": [
 | 
					 | 
				
			||||||
          "helix",
 | 
					 | 
				
			||||||
          "nixpkgs"
 | 
					 | 
				
			||||||
        ]
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1740623427,
 | 
					 | 
				
			||||||
        "narHash": "sha256-3SdPQrZoa4odlScFDUHd4CUPQ/R1gtH4Mq9u8CBiK8M=",
 | 
					 | 
				
			||||||
        "owner": "oxalica",
 | 
					 | 
				
			||||||
        "repo": "rust-overlay",
 | 
					 | 
				
			||||||
        "rev": "d342e8b5fd88421ff982f383c853f0fc78a847ab",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "oxalica",
 | 
					 | 
				
			||||||
        "repo": "rust-overlay",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "systems": {
 | 
					    "systems": {
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1681028828,
 | 
					        "lastModified": 1681028828,
 | 
				
			||||||
| 
						 | 
					@ -311,7 +254,7 @@
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "treefmt-nix": {
 | 
					    "treefmt-nix": {
 | 
				
			||||||
      "inputs": {
 | 
					      "inputs": {
 | 
				
			||||||
        "nixpkgs": "nixpkgs_5"
 | 
					        "nixpkgs": "nixpkgs_4"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1752055615,
 | 
					        "lastModified": 1752055615,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -17,7 +17,6 @@
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
 | 
					    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
 | 
				
			||||||
    treefmt-nix.url = "github:numtide/treefmt-nix";
 | 
					    treefmt-nix.url = "github:numtide/treefmt-nix";
 | 
				
			||||||
    helix.url = "github:helix-editor/helix";
 | 
					 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
  outputs =
 | 
					  outputs =
 | 
				
			||||||
    # https://flake.parts/options/flake-parts.html
 | 
					    # https://flake.parts/options/flake-parts.html
 | 
				
			||||||
| 
						 | 
					@ -38,15 +37,9 @@
 | 
				
			||||||
                dictionary = [
 | 
					                dictionary = [
 | 
				
			||||||
                  "Asahi"
 | 
					                  "Asahi"
 | 
				
			||||||
                  "Catppuccin"
 | 
					                  "Catppuccin"
 | 
				
			||||||
                  "Devshell"
 | 
					 | 
				
			||||||
                  "Flake"
 | 
					 | 
				
			||||||
                  "Jujutsu"
 | 
					 | 
				
			||||||
                  "LanguageTool"
 | 
					 | 
				
			||||||
                  "LLMs"
 | 
					                  "LLMs"
 | 
				
			||||||
                  "LTeX"
 | 
					 | 
				
			||||||
                  "NixOS"
 | 
					 | 
				
			||||||
                  "Nushell"
 | 
					                  "Nushell"
 | 
				
			||||||
                  "REUSE"
 | 
					                  "Reece"
 | 
				
			||||||
                  "SOPS"
 | 
					                  "SOPS"
 | 
				
			||||||
                  "Stylix"
 | 
					                  "Stylix"
 | 
				
			||||||
                ];
 | 
					                ];
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -100,6 +100,17 @@
 | 
				
			||||||
          };
 | 
					          };
 | 
				
			||||||
        in
 | 
					        in
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
 | 
					          languages.en-us.dictionary = [
 | 
				
			||||||
 | 
					            "Devshell"
 | 
				
			||||||
 | 
					            "FileCopyrightText"
 | 
				
			||||||
 | 
					            "Flake"
 | 
				
			||||||
 | 
					            "Jujutsu"
 | 
				
			||||||
 | 
					            "LanguageTool"
 | 
				
			||||||
 | 
					            "LTeX"
 | 
				
			||||||
 | 
					            "NixOS"
 | 
				
			||||||
 | 
					            "REUSE"
 | 
				
			||||||
 | 
					            "SPDX"
 | 
				
			||||||
 | 
					          ];
 | 
				
			||||||
          editors.helix.languages.language-server = {
 | 
					          editors.helix.languages.language-server = {
 | 
				
			||||||
            # https://ltex-plus.github.io/ltex-plus/supported-languages.html
 | 
					            # https://ltex-plus.github.io/ltex-plus/supported-languages.html
 | 
				
			||||||
            ltex-ls-plus = {
 | 
					            ltex-ls-plus = {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue