Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also 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: ea91f5f614f8
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 16aaf679e65d
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 24, 2020

  1. Copy the full SHA
    6794b7e View commit details
  2. Merge pull request #104811 from zowoq/nix-update

    nix-update: 0.1 -> 0.2
    SuperSandro2000 authored Nov 24, 2020
    Copy the full SHA
    16aaf67 View commit details
Showing with 5 additions and 5 deletions.
  1. +5 −5 pkgs/tools/package-management/nix-update/default.nix
10 changes: 5 additions & 5 deletions pkgs/tools/package-management/nix-update/default.nix
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{ lib
, buildPythonApplication
, fetchFromGitHub
, nix
, nixFlakes
, nix-prefetch
}:

buildPythonApplication rec {
pname = "nix-update";
version = "0.1";
version = "0.2";

src = fetchFromGitHub {
owner = "Mic92";
repo = pname;
rev = version;
sha256 = "0mw31n7kqfr7fskkxp58b0wprxj1pj6n1zs6ymvvl548gs5rgn2s";
sha256 = "12fsxy2rv2dgk8l10ymp10j01jkcbn9w0fv5iyb5db85q4xsrsm5";
};

makeWrapperArgs = [
"--prefix" "PATH" ":" (lib.makeBinPath [ nix nix-prefetch ])
"--prefix" "PATH" ":" (lib.makeBinPath [ nixFlakes nix-prefetch ])
];

checkPhase = ''
$out/bin/nix-update --help
$out/bin/nix-update --help >/dev/null
'';

meta = with lib; {