Use src = self.

This commit is contained in:
Dmitry Voronin 2024-02-08 01:25:47 +03:00
parent 894a69222c
commit b2dbb6ff9e

View file

@ -16,10 +16,11 @@
version = "1.0"; version = "1.0";
# Fetch sources. # Fetch sources.
src = pkgs.fetchurl { src = inputs.self;
url = "https://git.voronind.com/voronind/nixos_sample_package/archive/v1.tar.gz"; # src = pkgs.fetchurl {
hash = "sha256-zAXcCiRqOgMBChqabFjCmAaux1Yb9N+Y5jcE22zT3OI="; # url = "https://git.voronind.com/voronind/nixos_sample_package/archive/v1.tar.gz";
}; # hash = "sha256-zAXcCiRqOgMBChqabFjCmAaux1Yb9N+Y5jcE22zT3OI=";
# };
# Bins go here. # Bins go here.
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [