mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-05 03:02:34 +01:00
nix update
This commit is contained in:
parent
25cd1cb923
commit
65ff33b213
2 changed files with 21 additions and 20 deletions
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728228884,
|
"lastModified": 1730207978,
|
||||||
"narHash": "sha256-E9JaDKGi21oUypH0P9881lbkhi6USNJ6XL2tFzU5uuE=",
|
"narHash": "sha256-FnFkAqwoXfBoyWGBIVy17rT6sJK8HI09SlPmh6WKYJo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "ff0da78cfd41aa1784910ce1fea89119822013ce",
|
"rev": "6a1c602a1637c3b22c8a0b7123413ad84d7c51fe",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -60,22 +60,23 @@ let
|
||||||
"10-nui" = plugin "nui.nvim";
|
"10-nui" = plugin "nui.nvim";
|
||||||
};
|
};
|
||||||
|
|
||||||
mzte-nv-compiler =
|
# TODO: build mzte-nv-compiler in nix
|
||||||
let
|
#mzte-nv-compiler =
|
||||||
path = "${builtins.getEnv "HOME"}/.local/bin/mzte-nv-compile";
|
# let
|
||||||
in
|
# path = "${builtins.getEnv "HOME"}/.local/bin/mzte-nv-compile";
|
||||||
if (builtins.pathExists path) then
|
# in
|
||||||
# This derivation exists to patch a potentially mismatched dynamic linker.
|
# if (builtins.pathExists path) then
|
||||||
stdenvNoCC.mkDerivation
|
# # This derivation exists to patch a potentially mismatched dynamic linker.
|
||||||
{
|
# stdenvNoCC.mkDerivation
|
||||||
name = "mzte-nv-compiler-patched";
|
# {
|
||||||
nativeBuildInputs = [ pkgs.autoPatchelfHook ];
|
# name = "mzte-nv-compiler-patched";
|
||||||
buildInputs = with pkgs; [ luajit ];
|
# nativeBuildInputs = [ pkgs.autoPatchelfHook ];
|
||||||
dontUnpack = true;
|
# buildInputs = with pkgs; [ luajit ];
|
||||||
buildPhase = ''
|
# dontUnpack = true;
|
||||||
cp ${/. + path} $out
|
# buildPhase = ''
|
||||||
'';
|
# cp ${/. + path} $out
|
||||||
} else "";
|
# '';
|
||||||
|
# } else "";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.cgnix.nvim-plugins = lib.mkOption { };
|
options.cgnix.nvim-plugins = lib.mkOption { };
|
||||||
|
@ -97,7 +98,7 @@ in
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
# Compile
|
# Compile
|
||||||
${if mzte-nv-compiler != "" then "${mzte-nv-compiler} plugins" else ""}
|
#$ {if mzte-nv-compiler != "" then "$ {mzte-nv-compiler} plugins" else ""}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue