aboutsummaryrefslogtreecommitdiff
path: root/package.nix
diff options
context:
space:
mode:
authorSomeoneSerge <else@someonex.net>2024-07-31 13:03:04 +0000
committerSomeoneSerge <else@someonex.net>2024-07-31 13:03:04 +0000
commita857029b2bfae6dc64573c035491ce7eb73ed5ac (patch)
treeac7fdbcdadca2b3dfcc2309e89ddbd111b71f50e /package.nix
parent19f7eac1ec285ab9d0b76b4c10e02c2e40dec8be (diff)
.#evanix: remove .nix files from src
Diffstat (limited to 'package.nix')
-rw-r--r--package.nix15
1 files changed, 14 insertions, 1 deletions
diff --git a/package.nix b/package.nix
index 56561f6..06ff619 100644
--- a/package.nix
+++ b/package.nix
@@ -13,7 +13,20 @@
stdenv.mkDerivation (finalAttrs: {
name = "evanix";
- src = ./.;
+ src =
+ let
+ fs = lib.fileset;
+ in
+ fs.toSource {
+ root = ./.;
+ fileset = fs.unions [
+ ./src
+ ./tests
+ ./include
+ ./meson.build
+ ./meson_options.txt
+ ];
+ };
nativeBuildInputs = [
uthash
meson