diff options
author | Eric Kim-Butler <eric@kimbutler.xyz> | 2023-12-15 21:56:01 +0100 |
---|---|---|
committer | Eric Kim-Butler <eric@kimbutler.xyz> | 2023-12-15 22:26:31 +0100 |
commit | c70ba88ba86ceb9eda165ed1a6c1e40a37f3dfba (patch) | |
tree | 6067a4f43905c0938aabb278e8266d5b979dea7d /pkgs/shells | |
parent | 203ecda835bcf69633df7183459283543dd4a874 (diff) |
nushell: 0.88.0 -> 0.88.1
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/nushell/default.nix | 6 | ||||
-rw-r--r-- | pkgs/shells/nushell/plugins/formats.nix | 6 | ||||
-rw-r--r-- | pkgs/shells/nushell/plugins/gstat.nix | 6 | ||||
-rw-r--r-- | pkgs/shells/nushell/plugins/query.nix | 6 |
4 files changed, 18 insertions, 6 deletions
diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix index 4a7da71db2a7a..901ac8fc27466 100644 --- a/pkgs/shells/nushell/default.nix +++ b/pkgs/shells/nushell/default.nix @@ -22,7 +22,7 @@ }: let - version = "0.88.0"; + version = "0.88.1"; in rustPlatform.buildRustPackage { @@ -33,10 +33,10 @@ rustPlatform.buildRustPackage { owner = "nushell"; repo = "nushell"; rev = version; - hash = "sha256-kqN/R5SD+vMJV039/YZvO9OIfjqIRGTZVcTrqBkl+9E="; + hash = "sha256-UuKXonAEMX57pZwP37N1FuUtkRE+3xB6Oj30yxSpJk4="; }; - cargoHash = "sha256-Mdm5E3TUlMIDpL4VaZf/5OZQ6UVU70qicbdAS8seWSI="; + cargoHash = "sha256-oc2Coo5bwX6ASRhXJ4KtzDKhPLBe+ApIpTwsOznOASs="; nativeBuildInputs = [ pkg-config ] ++ lib.optionals (withDefaultFeatures && stdenv.isLinux) [ python3 ] diff --git a/pkgs/shells/nushell/plugins/formats.nix b/pkgs/shells/nushell/plugins/formats.nix index 3a9ebe9002fce..fbc2c0711614f 100644 --- a/pkgs/shells/nushell/plugins/formats.nix +++ b/pkgs/shells/nushell/plugins/formats.nix @@ -5,14 +5,18 @@ , pkg-config , IOKit , Foundation +, libclang , nix-update-script }: rustPlatform.buildRustPackage rec { pname = "nushell_plugin_formats"; inherit (nushell) version src; - cargoHash = "sha256-K1ZKz0635yWE16mPtJwlfwt2QrqnwsbDm1ot5nTr0RI="; + cargoHash = "sha256-eGRaYbYB+zHT8rXm6aCrnPVgyDA8ltsg0GOYgghmov0="; + env = lib.optionalAttrs stdenv.isDarwin { + LIBCLANG_PATH = "${libclang.lib}/lib"; + }; nativeBuildInputs = [ pkg-config ]; buildInputs = lib.optionals stdenv.isDarwin [ IOKit Foundation ]; cargoBuildFlags = [ "--package nu_plugin_formats" ]; diff --git a/pkgs/shells/nushell/plugins/gstat.nix b/pkgs/shells/nushell/plugins/gstat.nix index e72f3b19f8a2d..6563a9c295ff3 100644 --- a/pkgs/shells/nushell/plugins/gstat.nix +++ b/pkgs/shells/nushell/plugins/gstat.nix @@ -5,14 +5,18 @@ , nushell , pkg-config , Security +, libclang , nix-update-script }: rustPlatform.buildRustPackage rec { pname = "nushell_plugin_gstat"; inherit (nushell) version src; - cargoHash = "sha256-veQfK1eeVi15TCEiTZaaNAxUXc0LgjLgfP3WJ6rWtWQ="; + cargoHash = "sha256-Ar5rFPHf+ugZuugVKVRFACYhh3F0JvQtfp6KibPIByw="; + env = lib.optionalAttrs stdenv.isDarwin { + LIBCLANG_PATH = "${libclang.lib}/lib"; + }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; cargoBuildFlags = [ "--package nu_plugin_gstat" ]; diff --git a/pkgs/shells/nushell/plugins/query.nix b/pkgs/shells/nushell/plugins/query.nix index 71679cf069ff6..274848f8e8fc3 100644 --- a/pkgs/shells/nushell/plugins/query.nix +++ b/pkgs/shells/nushell/plugins/query.nix @@ -4,14 +4,18 @@ , nushell , IOKit , CoreFoundation +, libclang , nix-update-script }: rustPlatform.buildRustPackage { pname = "nushell_plugin_query"; inherit (nushell) version src; - cargoHash = "sha256-oS6FtCNWi5eL+uTlH5DiFrXvtwrE9GyXNL15cSFbBcU="; + cargoHash = "sha256-NVdXbpmGBAcv47jbel2cccoe0m2FInSSOnMWofqtpiM="; + env = lib.optionalAttrs stdenv.isDarwin { + LIBCLANG_PATH = "${libclang.lib}/lib"; + }; buildInputs = lib.optionals stdenv.isDarwin [ IOKit CoreFoundation ]; cargoBuildFlags = [ "--package nu_plugin_query" ]; |