ChanServ changed the topic of #nixos-emacs to: https://github.com/NixOS/nixpkgs/issues/66303 | https://rms.sexy
codygman has joined #nixos-emacs
codygman has quit [Ping timeout: 240 seconds]
bhipple has quit [Ping timeout: 256 seconds]
cole-h has quit [Ping timeout: 240 seconds]
Rovanion has joined #nixos-emacs
<Rovanion> If I wanted to try out emacs27 using Nix, how would I go about it? Say I don't even have Nix installed, because I only understand very little about Nix but am trying to learn.
<adisbladis> Rovanion: We don't have emacs 27 packaged yet. You could potentially do it via an override yourself.
<adisbladis> Emacs 27 is not released yet
<adisbladis> We'll have it as soon as it actually is released.
<adisbladis> You could try out the git emacs with a one-liner: nix-shell -p 'with import <nixpkgs> { overlays = [ (import (builtins.fetchTarball { url = "https://github.com/nix-community/emacs-overlay/archive/master.tar.gz"; })) ]; }; emacsGit'
<Rovanion> The part of the nix-expression that reads (import (builtins.fetchTarball ...)), should I read that as S-expressions or does it mean something else?
<adisbladis> Rovanion: Sort of :)
<adisbladis> You can sort of think of nix like a sexp based language without parens
<adisbladis> Rovanion: https://github.com/tazjin/nix-1p
<Rovanion> I find it slightly disturbing that Nix's associative data structures have mandatory pair separators but lists do not have mandatory element separators.
<Rovanion> Given that derivation, which downloads and uses the emacs-overlay tarball, is it possible for me to override version to be "27.0.90"? Or is the derivation in nixpkgs-unstable better for that purpose? In neither case it seems like they take an argument named version.
<Rovanion> The guide nix-1p was probably the best introduction to the nix language I've read yet.
cole-h has joined #nixos-emacs
johnw has joined #nixos-emacs
<adisbladis> Rovanion: Not trivially. You're gonna have to override at least these attributes: src, name, version
<adisbladis> Perhaps also patches
<adisbladis> We could also add an emacsUnstable to the overlay with pre-release emacs versions?
<adisbladis> And when there is no active pre-release it would just alias the regural emacs derivation
<adisbladis> I do not want to add pre-release emacs to nixpkgs
<adisbladis> etu: Do you have any opinion? :)
<adisbladis> etu: Btw, we should probably make you a member of nix-community and add an emacs team. Currently you are an "Outside Collaborator"
<etu> adisbladis: emacsUnstable seems fine to me
<etu> adisbladis: You're saying that I'm not "in" and cool 8-)
<adisbladis> There is one thing I don't like about adding emacsUnstable though...
<adisbladis> I would have to package it and maintain it by hand
<adisbladis> Like a caveman
<etu> adisbladis: That's part of "seems fine to me" :D
<adisbladis> etu: Gah, I'm not gonna do it.
<adisbladis> I like the overlay to be zero maintenance
neeasade has joined #nixos-emacs
codygman has joined #nixos-emacs
codygman has quit [Quit: Quit]
codygman has joined #nixos-emacs
codygman has quit [Client Quit]
codygman has joined #nixos-emacs
bhipple has joined #nixos-emacs
codygman has quit [Client Quit]
codygman has joined #nixos-emacs
codygman has quit [Client Quit]
codygman has joined #nixos-emacs
codygman has quit [Client Quit]
codygman has joined #nixos-emacs
codygman_itprotv has joined #nixos-emacs
rajivr___ has joined #nixos-emacs