pkgs.package.override - res of lib.makeOverridable (used by callPackage),
overrides arguments of callPackage
https://nixos.org/nixos/nix-pills/override-design-pattern.html
pkgs.foo.override { arg1 = val1; arg2 = val2; ... }
pkgs.package.override - res of lib.makeOverridable (used by callPackage),
overrides arguments of callPackage
https://nixos.org/nixos/nix-pills/override-design-pattern.html
pkgs.foo.override { arg1 = val1; arg2 = val2; ... }
;; Required setup for emacs init file | |
(package-initialize) | |
(require 'org) | |
(require 'org-protocol) | |
;; Set 'my-org-directory' to the base directory of all of | |
;; your org files (with a trailing slash). For me it's: | |
(setq my-org-directory "/scp:org:/home/orgmode/") | |
;; But it could be a local directory for you |
nix run --impure github:nix-community/nixGL -- nix run nixpkgs#universal-android-debloater
;; For Windows emacs this file belongs to $env:APPDATA | |
;; (GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-07-05) | |
;; If you don't have MELPA in your package archives: | |
(require 'package) | |
(add-to-list | |
'package-archives | |
'("melpa" . "http://melpa.org/packages/") t) | |
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t) ; Org-mode's repository | |
(package-initialize) | |
(package-refresh-contents) |
$ nix shell nixpkgs#nixVersions.nix_2_20 --command nix-shell --pure
with
let
nixpkgs = builtins.fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.11";
pkgs = import nixpkgs { config = {}; overlays = []; };
$ nix-shell -p inxi.out -p pciutils -p virtualglLib.out -p vpl-gpu-rt --run "inxi -G"
when upgrading emacs 29.4 to 30.1 my plugins didn't work anymore, starting with corfu-global-mode giving error symbol definition void.
this minad/corfu#412 (comment) link finally gave the right impulse just that I installed all packages anew doing M-x list-packages
and there reinstalling every package I use including use-package
.
also, even when on the plus side of news, on windows I only need one LNK-File to start a emacs daemon automatically with emacsclient anymore: "C:\Program Files\Emacs\emacs-30.1\bin\emacsclientw.exe" -c -a ""
starting in "C:\Program Files\Emacs\emacs-30.1\bin"
devshell probably best (alternatively with https://github.com/ssine/pptx2md):
nix shell nixpkgs#lesspipe
nix shell nixpkgs#libreoffice
eval "$(lesspipe.sh)"
less file.pptx