Emacs Abort Dialog
A fatal error has occurred!
Would you like to attach a debugger?
Select:
YES — to debug Emacs, or
NO to abort Emacs and produce a backtrace
(emacs_backtrace.txt in current directory).
(Before clicking YES, type
`gdb -p `, then `continue` inside GDB.)
As in take a break take a kitkat
# build python nix shell from a local `./requirements.txt` | |
mkdir ./env | |
cat > ./env/flake.nix << 'EOF' | |
{ | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
flake-utils.url = "github:numtide/flake-utils"; | |
poetry2nix = { | |
url = "github:nix-community/poetry2nix"; | |
inputs.nixpkgs.follows = "nixpkgs"; |
- nix-community/poetry2nix#1823
- nix-community/poetry2nix#1729
- https://github.com/adisbladis/uv2nix?tab=readme-ov-file
- https://docs.astral.sh/uv/
- https://adisbladis.github.io/uv2nix/FAQ.html
- https://stackoverflow.com/questions/64677802/nix-openai-python-dev-environment-build-failure
- https://pypi.org/project/cffi/#files
- https://stackoverflow.com/questions/76762901/fetchpypi-doesnt-fetch-the-right-url-to-load-a-whl-file-to-build-a-package
- NixOS/nixpkgs#344218
I've spent the day trying to get this setup working with GitHub and given the number of gotcha's I encountered, it seemed like a good idea to document how I finally got this working with as few hacks as possible. There's a lot of documentation out there (some of it old and misleading) and committing here for posterity will help me remember this when I inevitably need to do this again.
Passwords are simply not enough these days. Regardless of the company, breaches (and the associated Personally Identifiable Information harvested) are a matter of not if, but when. There are a number of things you can do to protect yourself, but being on the tin-foil-hat side of paranoia, means there are a few Commandents that I adhere to (and recommend for other folks)[Insert link to Fight Club Rules for the Secure Internet].
That being said, if you use 2-factor authentication and have committed to using a hardware token such as the Yubikey, then you're already ahead of the curve. The problem is that wh
in command mode (vim): :wa
followed by :T bash -c 'nix eval ".#nixosConfigurations.HOST.config.system.build.toplevel" --show-trace'
<@lxsameer:matrix.org> hey folks, do you know how I can extend the following derivation:
drv = pkgs.haskell.pcakages.ghc96.withPackages (p: (with p;[ .....]);
with more haskell packages that use the same compiler instance?
(pkgs.haskell.packages.ghc96.override { overrides = hself: hsuper: { ...; } }).withPackages ...;
cat multilinetest.nix
{
test = ''
fields: ["wanted", "queued"]
'';
}
the gimp.gtk attribute from passthru is used by plug-ins (https://discourse.nixos.org/t/solved-overriding-gimp-attributes-and-a-dependent-package/51003/4)
another example https://github.com/NixOS/nixpkgs/blob/086b448a5d54fd117f4dc2dee55c9f0ff461bdc1/pkgs/development/libraries/ffmpeg/generic.nix#L35
https://discourse.nixos.org/t/right-way-to-install-kodi-and-plugins/19181/35