add sg-nvim (cody!)

try-kitty
htran 2023-06-22 10:34:20 -07:00
parent eb91f32d53
commit ab8e04f3a0
3 changed files with 35 additions and 30 deletions

View File

@ -101,11 +101,11 @@
"rust-overlay": "rust-overlay_4" "rust-overlay": "rust-overlay_4"
}, },
"locked": { "locked": {
"lastModified": 1687211417, "lastModified": 1687310026,
"narHash": "sha256-VkPp8IJYlxp5Iph9n+2+zHHTSpfF3l9OxYqieD4OKeI=", "narHash": "sha256-20RHFbrnC+hsG4Hyeg/58LvQAK7JWfFItTPFAFamu8E=",
"owner": "ipetkov", "owner": "ipetkov",
"repo": "crane", "repo": "crane",
"rev": "bd65e0e473f55cfd6b4e6d9f1afb360468f3638a", "rev": "116b32c30b5ff28e49f4fcbeeb1bbe3544593204",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -878,11 +878,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1687257796, "lastModified": 1687365523,
"narHash": "sha256-jWF0LtG4GczLGLsBvXIGaCX+JvTLfawVLLJPtB5CMW0=", "narHash": "sha256-2l/cPXDCDVcLNm+EvCRGJcJ9YxxyLbc2vfTah/t8Qwc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "e8b5f8f9b3368dcc4814129d6f66c1af7cf3b6e5", "rev": "1fefd7bb8da0eec6755747f410fa491411a94296",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1202,11 +1202,11 @@
}, },
"nixpkgs-latest": { "nixpkgs-latest": {
"locked": { "locked": {
"lastModified": 1687295202, "lastModified": 1687412861,
"narHash": "sha256-qDl+U3wVPgNmAHiG0dU0o6Ar3O3TRGiXjVFMaiok7og=", "narHash": "sha256-Z/g0wbL68C+mSGerYS2quv9FXQ1RRP082cAC0Bh4vcs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8407b20a4e732c3f1d28d2a9524641e3899e06b8", "rev": "e603dc5f061ca1d8a19b3ede6a8cf9c9fcba6cdc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1301,11 +1301,11 @@
}, },
"nixpkgs_11": { "nixpkgs_11": {
"locked": { "locked": {
"lastModified": 1687245362, "lastModified": 1687335664,
"narHash": "sha256-+f9tH+k3u9lSS136M2LCsl5NJTNPvhmHEiVOcypiu1E=", "narHash": "sha256-gMoOCTUSLozoi+eSe99SGzjNJdgciMOoNxVJlVrqLfs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "205ee073b053fc4d87d5adf2ebd44ebbef7bca4d", "rev": "7b697d9698d5ae350e49e8eeb05c568708bdd9f0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1988,11 +1988,11 @@
"nixpkgs": "nixpkgs_13" "nixpkgs": "nixpkgs_13"
}, },
"locked": { "locked": {
"lastModified": 1687227748, "lastModified": 1687400833,
"narHash": "sha256-1GSi7yk6g9MI6BHKxvhIkpjn4UbN6UUQolzJ/lC79AY=", "narHash": "sha256-rVENiSupjAE8o1+ZXNRIqewUzM2brm+aeme8MUrwl0U=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "57b9614a0ad2cb66e417d928b63c2281c34bdb89", "rev": "fc0a266e836c079a9131108f4334e5af219dbb93",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -2039,18 +2039,18 @@
"rust-overlay": "rust-overlay_5" "rust-overlay": "rust-overlay_5"
}, },
"locked": { "locked": {
"lastModified": 1687295223, "lastModified": 1687413795,
"narHash": "sha256-4KyrXpxhCRTqyc7SiFnqcuG2cPnouJvsoGJuebzCKio=", "narHash": "sha256-LI9F61ObggmKIjZrf9Zabwko9rc5KxcsgfhPDVzOLBI=",
"ref": "cody-init", "ref": "sg-cody-discover",
"rev": "837369cfc9b4bb481c09f86d07b8ba59b722269a", "rev": "229b08f501df95a618bec33c870e9d77f4922266",
"revCount": 97, "revCount": 83,
"type": "git", "type": "git",
"url": "https://git.pegasust.com/pegasust/sg.nvim" "url": "https://github.com/pegasust/sg.nvim"
}, },
"original": { "original": {
"ref": "cody-init", "ref": "sg-cody-discover",
"type": "git", "type": "git",
"url": "https://git.pegasust.com/pegasust/sg.nvim" "url": "https://github.com/pegasust/sg.nvim"
} }
}, },
"std": { "std": {
@ -2127,11 +2127,11 @@
"yants": "yants_2" "yants": "yants_2"
}, },
"locked": { "locked": {
"lastModified": 1687295135, "lastModified": 1687300684,
"narHash": "sha256-D7HEEq9s32gIfV+gwh/KSY0M55p5SlD8X3p6BEHjk+g=", "narHash": "sha256-oBqbss0j+B568GoO3nF2BCoPEgPxUjxfZQGynW6mhEk=",
"owner": "divnix", "owner": "divnix",
"repo": "std", "repo": "std",
"rev": "cef9c4b942f977e6aea766666495e9533eb3ca69", "rev": "80e5792eae98353a97ab1e85f3fba2784e4a3690",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -17,6 +17,8 @@
neovim-nightly-overlay = { neovim-nightly-overlay = {
# need to pin this until darwin build is successful again. # need to pin this until darwin build is successful again.
url = "github:nix-community/neovim-nightly-overlay?rev=88a6c749a7d126c49f3374f9f28ca452ea9419b8"; url = "github:nix-community/neovim-nightly-overlay?rev=88a6c749a7d126c49f3374f9f28ca452ea9419b8";
# url = "github:nix-community/neovim-nightly-overlay";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nix-boost = { nix-boost = {
@ -32,7 +34,7 @@
inputs.nixpkgs.follows = "nixpkgs-latest"; inputs.nixpkgs.follows = "nixpkgs-latest";
}; };
sg-nvim = { sg-nvim = {
url = "git+https://git.pegasust.com/pegasust/sg.nvim?ref=cody-init"; url = "git+https://github.com/pegasust/sg.nvim?ref=sg-cody-discover";
}; };
}; };

View File

@ -1,4 +1,5 @@
# TODO: vim-plug and Mason supports laziness. Probably worth it to explore incremental dependencies based on the project TODO: just install these things, then symlink to mason's bin directory # TODO: vim-plug and Mason supports laziness. Probably worth it to explore incremental dependencies based on the project
# TODO: just install these things, then symlink to mason's bin directory
# One thing to consider, though, /nix/store of `nix-shell` or `nix-develop` # One thing to consider, though, /nix/store of `nix-shell` or `nix-develop`
# might be different from `home-manager`'s (~/.nix_profile/bin/jq) # might be different from `home-manager`'s (~/.nix_profile/bin/jq)
{ {
@ -11,13 +12,15 @@
config, config,
... ...
}: let }: let
inherit (inputs.nixpkgs) system;
# NOTE: Add packages to nvim_pkgs instead, so that it's available at userspace # NOTE: Add packages to nvim_pkgs instead, so that it's available at userspace
# and is added to the path after wrapping. # and is added to the path after wrapping.
# check: nix repl `homeConfigurations.hungtr.config.programs.neovim.finalPackage.buildCommand` # check: nix repl `homeConfigurations.hungtr.config.programs.neovim.finalPackage.buildCommand`
# see: :/--suffix.*PATH # see: :/--suffix.*PATH
# there should be mentions of additional packages # there should be mentions of additional packages
my_neovim = pkgs.neovim-unwrapped; # my_neovim = pkgs.neovim-unwrapped;
inherit (inputs.nixpkgs) system;
my_neovim = inputs.neovim-nightly-overlay.packages.${system}.neovim;
nvim_pkgs = nvim_pkgs =
[ [
# pkgs.gccStdenv # pkgs.gccStdenv