forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
48 additions
and
9 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
pkgs/os-specific/linux/ksmbd-tools/0001-skip-installing-example-configuration.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
From 592de67191a3969fcccef6293740c7142793d461 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io> | ||
Date: Wed, 1 Nov 2023 21:54:05 +0100 | ||
Subject: [PATCH] skip installing example configuration | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
This requires root if prefix dir is pointed to /etc, | ||
which we cannot do in nix builds. | ||
|
||
Signed-off-by: Jörg Thalheim <joerg@thalheim.io> | ||
--- | ||
meson.build | 8 ++++---- | ||
1 file changed, 4 insertions(+), 4 deletions(-) | ||
|
||
diff --git a/meson.build b/meson.build | ||
index 5f5935f..8373013 100644 | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -114,10 +114,10 @@ else | ||
runstatedir = rundir | ||
endif | ||
|
||
-install_data( | ||
- sources: 'ksmbd.conf.example', | ||
- install_dir: get_option('sysconfdir') / 'ksmbd', | ||
-) | ||
+#install_data( | ||
+# sources: 'ksmbd.conf.example', | ||
+# install_dir: get_option('sysconfdir') / 'ksmbd', | ||
+#) | ||
|
||
systemdsystemunitdir = get_option('systemdsystemunitdir') | ||
if systemdsystemunitdir == '' | ||
-- | ||
2.42.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters