From 0c5e2cfb33199d623883c5aa7b48aff31da10976 Mon Sep 17 00:00:00 2001 From: Qyriad Date: Sat, 6 Apr 2024 18:12:35 -0600 Subject: package: just use fileset from lib The following command is now sufficient to build Lix from outside of the flake: nix-build -E 'let pkgs = import { }; in pkgs.callPackage ./package.nix { build-release-notes = false; nix-doc = pkgs.callPackage ./nix-doc/package.nix { }; }' Change-Id: Ie6b14b446480ac07c7266d4fba20042b04cc35b9 --- package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.nix') diff --git a/package.nix b/package.nix index 8b1fb48ff..b972407f1 100644 --- a/package.nix +++ b/package.nix @@ -21,7 +21,6 @@ curl, doxygen, editline, - fileset, flex, git, gtest, @@ -85,6 +84,7 @@ }, }: let inherit (__forDefaults) canRunInstalled; + inherit (lib) fileset; version = lib.fileContents ./.version + versionSuffix; -- cgit v1.2.3