mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Revert "nix-pin: add passthru.updateScript
"
This reverts commit 146dabd4ac
.
breaks evaluation
This commit is contained in:
parent
1cbf988217
commit
b96cc8fb86
1 changed files with 0 additions and 13 deletions
|
@ -20,19 +20,6 @@ let self = stdenv.mkDerivation rec {
|
|||
let api = import "${self}/share/nix/api.nix" { inherit pkgs; }; in
|
||||
{
|
||||
inherit (api) augmentedPkgs pins callPackage;
|
||||
updateScript = ''
|
||||
set -e
|
||||
echo
|
||||
cd ${toString ./.}
|
||||
${pkgs.nix-update-source}/bin/nix-update-source \
|
||||
--prompt version \
|
||||
--replace-attr version \
|
||||
--set owner timbertson \
|
||||
--set repo nix-pin \
|
||||
--set type fetchFromGitHub \
|
||||
--set rev 'version-{version}' \
|
||||
--modify-nix default.nix
|
||||
'';
|
||||
};
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/timbertson/nix-pin";
|
||||
|
|
Loading…
Reference in a new issue