From b2dbb6ff9e4b85ec3f9e25afaae3c2d3339e8340 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Thu, 8 Feb 2024 01:25:47 +0300 Subject: [PATCH] Use src = self. --- flake.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 2db174c..a0a50ec 100644 --- a/flake.nix +++ b/flake.nix @@ -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; [