Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b896ba6a03dbbf604a4dfa180d14638222fba13b
Choose a base ref
..
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b9ad375933e3e523f0a9dd4f1f51e846014bab10
Choose a head ref
Showing with 4 additions and 4 deletions.
  1. +4 −4 pkgs/by-name/na/nav/package.nix
8 changes: 4 additions & 4 deletions pkgs/by-name/na/nav/package.nix
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
}:

let
arch = if stdenv.hostPlatform.isAarch64 then "aarch64" else "x86_64";
platform = "${arch}-unknown-linux-gnu";
system = stdenv.hostPlatform.parsed.cpu.name;
platform = "${system}-unknown-linux-gnu";
in
stdenv.mkDerivation rec {
pname = "nav";
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [
stdenv.cc.cc
stdenv.cc.cc.lib
libxcrypt-legacy
];

@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
passthru.updateScript = nix-update-script { };

meta = {
description = "The Interactive and Stylish Replacement for ls & cd";
description = "Interactive and stylish replacement for ls & cd";
longDescription = ''
To make use of nav, add the following lines to your configuration:
`programs.bash.shellInit = "eval \"$(nav --init bash)\"";` and