qcal: move sample config to prevent collision
qcard has a sample config file with the same name, if using home-manager with both qcard and qcal would then lead to a collision
This commit is contained in:
parent
48b8ce5925
commit
930336411c
1 changed files with 3 additions and 3 deletions
|
@ -18,12 +18,12 @@ buildGoModule rec {
|
|||
# to that config file in the nix store
|
||||
preBuild = ''
|
||||
substituteInPlace helpers.go \
|
||||
--replace " config-sample.json " " $out/share/config-sample.json "
|
||||
--replace " config-sample.json " " $out/share/qcal/config-sample.json "
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share
|
||||
cp config-sample.json $out/share/
|
||||
mkdir -p $out/share/qcal
|
||||
cp config-sample.json $out/share/qcal/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue