diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-12-19 10:00:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-19 10:00:39 -0500 |
commit | 54d52ec0bfebe39e8032bb95484a9af311a6c66a (patch) | |
tree | f51269991902c5517c6e6e8a073d652207233218 /pkgs/shells | |
parent | bf29ba5a7fc1f08c109d94dc9d083927c0aa50cc (diff) | |
parent | 7c7e2afc5cb11bd6d95fb8b2884128fd33ee273a (diff) | |
download | nixpkgs-54d52ec0bfebe39e8032bb95484a9af311a6c66a.tar nixpkgs-54d52ec0bfebe39e8032bb95484a9af311a6c66a.tar.gz nixpkgs-54d52ec0bfebe39e8032bb95484a9af311a6c66a.tar.bz2 nixpkgs-54d52ec0bfebe39e8032bb95484a9af311a6c66a.tar.lz nixpkgs-54d52ec0bfebe39e8032bb95484a9af311a6c66a.tar.xz nixpkgs-54d52ec0bfebe39e8032bb95484a9af311a6c66a.tar.zst nixpkgs-54d52ec0bfebe39e8032bb95484a9af311a6c66a.zip |
Merge pull request #75932 from filalex77/nushell-0.7.0
nushell: 0.6.1 -> 0.7.0
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/nushell/default.nix | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix index 981853bdaf8..05fef442c31 100644 --- a/pkgs/shells/nushell/default.nix +++ b/pkgs/shells/nushell/default.nix @@ -8,31 +8,31 @@ , libiconv , AppKit , Security -, withAllFeatures ? true +, withStableFeatures ? true }: rustPlatform.buildRustPackage rec { pname = "nushell"; - version = "0.6.1"; + version = "0.7.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = version; - sha256 = "0fdi5c9l8ij2vqcxwi9203mh1qj3lcqsl4kl2rkshqj45hn4ab2a"; + sha256 = "09kcyvhnhf5qsaivgrw58l9jh48rx40i9lkf10cpmk7jvqxgqyks"; }; - cargoSha256 = "11cr88jmy34lzjka7agzfvm13hvg66ksa735rzcdx7lcxha538f3"; + cargoSha256 = "0bdxlbl33kilp9ai40dvdzlx9vcl8r21br82r5ljs2pg521jd66p"; nativeBuildInputs = [ pkg-config ] - ++ stdenv.lib.optionals (withAllFeatures && stdenv.isLinux) [ python3 ]; + ++ stdenv.lib.optionals (withStableFeatures && stdenv.isLinux) [ python3 ]; buildInputs = stdenv.lib.optionals stdenv.isLinux [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ] - ++ stdenv.lib.optionals (withAllFeatures && stdenv.isLinux) [ xorg.libX11 ] - ++ stdenv.lib.optionals (withAllFeatures && stdenv.isDarwin) [ AppKit ]; + ++ stdenv.lib.optionals (withStableFeatures && stdenv.isLinux) [ xorg.libX11 ] + ++ stdenv.lib.optionals (withStableFeatures && stdenv.isDarwin) [ AppKit ]; - cargoBuildFlags = stdenv.lib.optional withAllFeatures "--all-features"; + cargoBuildFlags = stdenv.lib.optional withStableFeatures "--features=stable"; preCheck = '' export HOME=$TMPDIR |