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";
# Fetch sources.
src = pkgs.fetchurl {
url = "https://git.voronind.com/voronind/nixos_sample_package/archive/v1.tar.gz";
hash = "sha256-zAXcCiRqOgMBChqabFjCmAaux1Yb9N+Y5jcE22zT3OI=";
};
src = inputs.self;
# src = pkgs.fetchurl {
# url = "https://git.voronind.com/voronind/nixos_sample_package/archive/v1.tar.gz";
# hash = "sha256-zAXcCiRqOgMBChqabFjCmAaux1Yb9N+Y5jcE22zT3OI=";
# };
# Bins go here.
nativeBuildInputs = with pkgs; [