Skip to content
Permalink
Browse files

nix-upgrade-scripts: init at 0.0.4

  • Loading branch information
peterhoeg committed Jul 24, 2017
1 parent e89343d commit 36f24cb7cbfa515d13d096aed7308cc3f48611f2
Showing with 32 additions and 0 deletions.
  1. +30 −0 pkgs/tools/package-management/nix-upgrade-scripts/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
@@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, nix }:

stdenv.mkDerivation rec {
name = "nix-upgrade-scripts-${version}";
version = "0.0.4";

src = fetchFromGitHub {
owner = "peterhoeg";
repo = "nix-upgrade-scripts";
rev = "v${version}";
sha256 = "13v91nniwrs1fr92msrq6sq7vy1whrlxqd1ll4q3p1nrnbzpnxkn";
};

installPhase = ''
mkdir -p $out/bin
cp -r bin lib $out/
for f in $out/bin/* ; do
substituteInPlace $f \
--replace '/usr/bin/env nix-shell' ${nix}/bin/nix-shell
done
chmod +x $out/bin/*
'';

meta = with stdenv.lib; {
description = "Scripts for making package upgrades easier";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.unix;
};
}

nix-serve = callPackage ../tools/package-management/nix-serve { };

nix-upgrade-scripts = callPackages ../tools/package-management/nix-upgrade-scripts { };

nixos-artwork = callPackage ../data/misc/nixos-artwork { };

nixos-container = callPackage ../tools/virtualization/nixos-container { };

0 comments on commit 36f24cb

Please sign in to comment.
You can’t perform that action at this time.