Nix package for GNU version of the Collaborative International Dictionary of English for dictd et al.
Install the NixOS and/or Nix package manager via official instructions;
https://nixos.org/nixos/manual/
This repository may be installed, and managed, via Nix Flake
flake.nix(example)
{
inputs = {
nixpkgs.url = "github:NixOs/nixpkgs-24.05";
dict-gcide.url = "github:nix-utilities/dict-gcide-main";
};
outputs = { self, nixpkgs, dict-gcide }@attrs: {
nixosConfigurations."your-host-name" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
modules = [ ./configuration.nix ];
};
};
}
configuration.nix(snipet)
{ config, pkgs, nixpkgs, dict-gcide, ... }:
{
## ... other configurations redacted...
## Add `dict-gcide` to `services.dictd.DBs` list
services.dictd = {
enable = true;
DBs = [
(pkgs.callPackage dict-gcide { inherit pkgs; })
];
};
}Then rebuild as usual;
sudo nixos-rebuild switch --flake '.#'Options for contributing to dict-gcide and nix-utilities
Start making a Fork of this repository to an account that you have write permissions for.
- Add remote for fork URL. The URL syntax is
[email protected]:<NAME>/<REPO>.git...
cd ~/git/hub/nix-utilities/dict-gcide
git remote add fork [email protected]:<NAME>/dict-gcide.git- Commit your changes and push to your fork, eg. to fix an issue...
cd ~/git/hub/nix-utilities/dict-gcide
git commit -F- <<'EOF'
:bug: Fixes #42 Issue
**Edits**
- `<SCRIPT-NAME>` script, fixes some bug reported in issue
EOF
git push fork mainNote, the
-uoption may be used to setforkas the default remote, eg.git push -u fork mainhowever, this will also default theforkremote for pulling from too! Meaning that pulling updates fromoriginmust be done explicitly, eg.git pull origin main
- Then on GitHub submit a Pull Request through the Web-UI, the URL syntax is
https://github.com/<NAME>/<REPO>/pull/new/<BRANCH>
Note; to decrease the chances of your Pull Request needing modifications before being accepted, please check the dot-github repository for detailed contributing guidelines.
Thanks for even considering it!
Via Liberapay you may
on a
repeating basis.
Regardless of if you're able to financially support projects such as dict-gcide that nix-utilities maintains, please consider sharing projects that are useful with others, because one of the goals of maintaining Open Source repositories is to provide value to the community.
- AUR --
dict-gcide - GNU -- GCIDE
- GitHub --
NixOs/nixpkgs-- Issue248974-- Package request: dict-gcide - GitHub --
github-utilities/make-readme - Nix Book -- Simple C program
- NixOS Manual -- Quick Start to Adding a Package
- NixOS Wiki -- Nixpkgs/Create and debug packages
Nix package for GNU version of the Collaborative International Dictionary of English for dictd et al.
Copyright (C) 2025 S0AndS0
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program. If not, see <https://www.gnu.org/licenses/>.
For further details review full length version of GPL-3.0 License.