andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2019 || For best support,
xelxebar has quit [Ping timeout: 240 seconds]
mDuff has quit [Ping timeout: 258 seconds]
xelxebar has joined #nixos
UndefinedIsNotAF has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @seppeljordan opened pull request #77958 → pypi2nix: 2.0.2 -> 2.0.3 → https://git.io/JvTAv
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
jgeerds__ has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 252 seconds]
thc202 has quit [Ping timeout: 245 seconds]
xO1 has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
werner291 has quit [Remote host closed the connection]
takeda has quit [Ping timeout: 258 seconds]
slack1256 has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
tilcreator has quit [Ping timeout: 258 seconds]
ixxie has quit [Ping timeout: 272 seconds]
turona has quit [Ping timeout: 272 seconds]
turona has joined #nixos
fusion809 has joined #nixos
dansho has joined #nixos
myskran has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
Neo-- has quit [Ping timeout: 268 seconds]
alex_giusi_tiri has joined #nixos
<Raito_Bezarius> Any reason why I have a permission denied when I try to cp to $out in a derivation?
tilcreator has joined #nixos
<Raito_Bezarius> I tried to use symlinkJoin but I need hard links because I cd into one of the folder and use it with something which refers to the path and do some ../folder from the joined symlink stuff and it does not work because of soft linking
<Raito_Bezarius> Hard linking didn't work ; cp don't work too
<clever> Raito_Bezarius: can you pastebin the entire expr?
zeta_0 has joined #nixos
<Raito_Bezarius> http://ix.io/27H6
<{^_^}> [nixpkgs] @nh2 merged pull request #77605 → Backport: Ceph 14.2.6 → https://git.io/JvJTA
<{^_^}> [nixpkgs] @nh2 pushed 9 commits to release-19.09: https://git.io/JvTxk
<{^_^}> [nixpkgs] @nh2 merged pull request #77604 → ceph: 14.2.5 -> 14.2.6 → https://git.io/JvJTF
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JvTxI
wildtrees has quit [Quit: Leaving]
Synthetica has quit [Quit: Connection closed for inactivity]
<clever> Raito_Bezarius: when cp copies things from /nix/store, the copy inherits the read-only flag, you need to `chmod +w -R` after you copy things
<clever> Raito_Bezarius: or use a flag to cp, to tell it to not preserve that mode bit
<Raito_Bezarius> it fails at the copy step I think
<Raito_Bezarius> cp: cannot create regular file '/nix/store/5djplk586myjvybac8411m3x5x2fjy0i-track-with-node-modules/default.nix': Permission denied
<Raito_Bezarius> for example
<clever> Raito_Bezarius: change it to `cp -rv` and youll see what is happening
<clever> maybe also add an `echo copying $i`
<clever> you should see, it copied 1 item successfully, then it failed on a 2nd item
<clever> because the 1st item created read-only dirs in the way
<Raito_Bezarius> ahhh I see
<Raito_Bezarius> so when I'm using a cp $i/* with a glob, I won't be able to chmod +w -R immediately after right, I'll be forced to use some flag with cp?
<Raito_Bezarius> so what I want rather than cp is install?
<clever> in this case, you can just blindly `chown +w -R $out` each time you copy something
<Raito_Bezarius> Alright, will try this
<Raito_Bezarius> Also, is it expected that nix-build don't cache the derivations built?
Guest92090 has quit [Ping timeout: 258 seconds]
<clever> Raito_Bezarius: if your doing ./. and . changes (for example, due to a result symlink), it will want to build it again
<clever> lib.cleanSource ./.; will remove common mistakes from the source
<Raito_Bezarius> ah! that's it then
<{^_^}> [nixpkgs] @jtojnar opened pull request #77960 → nixos/doc: suggest checking options for declarative package mgmt → https://git.io/JvTxc
<Raito_Bezarius> clever++
<{^_^}> clever's karma got increased to 308
<Raito_Bezarius> thanks!
<{^_^}> [nixpkgs] @nh2 merged pull request #77616 → calibre: 3.48 -> 4.8 → https://git.io/JvJYF
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JvTxW
<{^_^}> [nixpkgs] @nh2 merged pull request #77517 → ibus-engines.table-others: 1.3.9 -> 1.3.11 → https://git.io/JvfGK
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JvTxz
<Raito_Bezarius> clever: hmm, even if there is no result anymore in the source dir, the hash is changing between builds
<Raito_Bezarius> is there a way to visualize a diff between two nix store paths?
<clever> Raito_Bezarius: find the .drv for 2 different builds, and run nix-diff
mexisme_ has joined #nixos
wavirc22 has quit [Ping timeout: 240 seconds]
sigmundv has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvTxy
Rusty1 has joined #nixos
<Raito_Bezarius> alright I should exclude my nix expressions too obviously
<clever> Raito_Bezarius: lib.cleanSourceWith
<Raito_Bezarius> I'm already using gitignoreSrc cleaning
<Raito_Bezarius> Can I compose them?
<clever> Raito_Bezarius: this is also why i tend to put the sources somewhere other then the root of the project
<clever> Raito_Bezarius: so i always do src = ./foo; rather then ./.
<Raito_Bezarius> Yeah makes sense I wanted this to be self contained
<Raito_Bezarius> Bad dir choices :D
<clever> lib.cleanSource and friends, can compose together normally
<clever> if you try to filter the result of a filter, it will just work
<aanderse> hey clever
<aanderse> you have used nixops in the past... right?
<aanderse> or still do?
<clever> aanderse: still do
<aanderse> with or without channels?
<clever> # nixops modify -d house deployments/house.nix -I nixpkgs=https://github.com/nixos/nixpkgs/archive/dae9cf6106d.tar.gz
<clever> aanderse: this forces it to ignore the channels and use that specific rev
<aanderse> yeah
<aanderse> avoiding that for now
<aanderse> trying to sync my channel across from the master nixops server to all slaves
<clever> one sec
<aanderse> infinisil had a good idea earlier, but it didn't seem to quite work
<clever> aanderse: this will take whatever nixpkgs is being used to build the machine (see above to adjust), and put a copy of it at /run/current-system/nixpkgs on the remote machine
<clever> and then adjust NIX_PATH to obey that
<clever> it also intentionally breaks nixos-rebuild, so you cant un-deploy nixops
<infinisil> aanderse: Ahh the pkgs.path thing is the important thing there that's different than what I showed
<infinisil> From clever's code
<aanderse> ah... so `ln -sv ${pkgs.path} $out/nixpkgs` will force the copy from nixops master to slave eh?
<clever> yeah
<infinisil> clever: I suggested using <nixpkgs> directly
<aanderse> infinisil: yeah, i would guess so...
<clever> ${<nixpkgs>} would likely work the same, in this exact case
<clever> it would only differ outside of nixops, if you `nix-build ~/nixpkgs/nixos` and dont change the search path
<aanderse> sometimes i wanna run nix-shell on a machine and thats a problem of course
<aanderse> what with the old channel
<aanderse> thanks both clever and infinisil
<aanderse> clever++
<{^_^}> clever's karma got increased to 310
<aanderse> infinisil++
<{^_^}> infinisil's karma got increased to 194
<clever> when did i break 300? lol
<Ashy> has anyone packaged up the linux version of teams yet?
<{^_^}> [nixpkgs] @nh2 merged pull request #77084 → gthumb: 3.8.2 -> 3.8.3 → https://git.io/JejgW
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JvTpq
<aanderse> Ashy: yes!
<aanderse> it is in unstable
erictapen has joined #nixos
<hpfr[m]> Does anyone else have the empty file /etc/NIXOS on their machines?
<clever> hpfr[m]: its required, thats how shell scripts know your actually on nixos
<clever> hpfr[m]: it stops something like nixos-rebuild from making a total mess all over an ubuntu machine
<hpfr[m]> That seems... brittle
<Ashy> aanderse: hmm, is it just unstable.teams? with unstable defined as: nixpkgs.config.packageOverrides = pkgs: { unstable = import <nixos-unstable> { config = config.nixpkgs.config; }};
<clever> hpfr[m]: i have intentionally side-stepped that, to convert a gentoo into nixos
<hpfr[m]> Exactly, it doesn’t protect much at all
<clever> hpfr[m]: /etc/NIXOS_LUSTRATE helps to clean the gentoo out of your machine on first boot, which makes it much smoother of a transition
<Ashy> aanderse: i get error: attribute 'teams' missing, at /etc/nixos/profiles/desktop.nix:159:5 in my config
<clever> hpfr[m]: its more to prevent accidents, rather then stop intentional actions
<hpfr[m]> It’s annoying to me because it populates auto fill when I’m trying to open a file in /etc/nixos/
<aanderse> Ashy: { allowUnfree = true; }; ?
<clever> hpfr[m]: related, i accidentally ran the nas activate script, on my laptop, and because both are nixos, /etc/NIXOS existed, and it happily steam-roled all of my state :P
<hpfr[m]> But ok thanks for the heads up I was about to remove it
<aanderse> but yeah... that isn't the error
<aanderse> hmm
<aanderse> how old is your unstable channel?
<hpfr[m]> Oof
<clever> hpfr[m]: systemd then promptly dropped into emergency mode, because all of the nas based fstab entries couldnt be found, and it wasnt possible to recover without a reboot
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to release-19.09: https://git.io/JvTpg
<Ashy> aanderse: shouldn't it update every time i run `nixos-rebuild switch --upgrade`?
<Ashy> and yeah allowUnfree=true;
m0rphism has quit [Ping timeout: 240 seconds]
<clever> Ashy: `nixos-rebuild --upgrade` will only `nix-channel --update nixos`, which restricts it to one channel
<DigitalKiwi> i have a hack for that
<DigitalKiwi> that does nix-channel --update
<Ashy> oh right
<DigitalKiwi> enjoy
inferencerules is now known as Guest10851
Guest10851 has quit [Killed (adams.freenode.net (Nickname regained by services))]
<DigitalKiwi> sphalerite++
<{^_^}> sphalerite's karma got increased to 77
inferencerules has joined #nixos
<{^_^}> [nixpkgs] @nyanloutre opened pull request #77961 → dotnetCorePackages updates and Jellyfin switch to dotnet runtime → https://git.io/JvTp1
inferencerules_ has joined #nixos
<Ashy> an --upgrade-all option would be nice for nixos-rebuild
<clever> Ashy: it also checks each channel for a special file
ee194350 has quit [Ping timeout: 268 seconds]
Guest92090 has joined #nixos
<clever> 209 if [ -e "$channelpath/.update-on-nixos-rebuild" ]; then
<clever> if the nixexprs.tar.xz for a channel, contained a .update-on-nixos-rebuild file, then it also gets updated
<clever> but the official channels lack that
h0m1 has quit [Ping timeout: 252 seconds]
ee194350 has joined #nixos
h0m1 has joined #nixos
<inferencerules> is there a way to list upward dependencies of a package somehow? i want to figure out why i'm suddenly pulling in gnome-desktop
<clever> inferencerules: nix-store -q --tree, on the final thing your building
<clever> inferencerules: and maybe nix why-depends on the .drv files
<inferencerules> clever: it's a nixos-rebuild
<Ashy> clever: is there any appetite for adding an --upgrade-all option to nixos-rebuild?
<clever> inferencerules: `nix-rebuild dry-run` will show you the final drv you use as the 1st arg to why-depends
lovesegfault has quit [Ping timeout: 265 seconds]
ngyj_ has quit [Ping timeout: 272 seconds]
<inferencerules> clever: ah great
<clever> inferencerules: nix-store -qR <thatdrv> | grep gnome-desktop, would find the 2nd drv you need to give why-depends
<clever> Ashy: that seems like a simple enough PR that would get merged
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #nixos
vdemeester has quit [Read error: Connection reset by peer]
teozkr has quit [Ping timeout: 272 seconds]
lally has quit [Ping timeout: 265 seconds]
savanni has quit [Read error: Connection reset by peer]
sorear has quit [Read error: Connection reset by peer]
alanz has quit [Read error: Connection reset by peer]
joshmeredith has quit [Read error: Connection reset by peer]
savanni has joined #nixos
vdemeester has joined #nixos
jared-w has quit [Read error: Connection reset by peer]
joshmeredith has joined #nixos
lally has joined #nixos
alanz has joined #nixos
sorear has joined #nixos
jared-w has joined #nixos
sorear has quit [Client Quit]
sorear has joined #nixos
teozkr has joined #nixos
ctp has quit [Ping timeout: 258 seconds]
philipcristiano has quit [Ping timeout: 260 seconds]
philipcristiano has joined #nixos
ctp has joined #nixos
kreisys has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<Ashy> clever: cool i'll send a PR
<kreisys> is it impossible to filter sources that were *downloaded* by nix?
<kreisys> I feel like I hit this every once in a while, work around it somehow, forget all about it and then hit it again :|
<kreisys> cleanSource(/With) can compose but you still have to start with a non-store path.
<kreisys> if I try to filter a niv source (because I don't want to rebuild when there's a change to say README.md) then hydra wants to bite my head off.
kim0 has quit [Quit: Connection closed for inactivity]
<clever> kreisys: you would need to use a postUnpack in something like fetchzip, to edit it before the hashing
<clever> kreisys: and then niv's sha256 wont be right, so you have to abandon niv's help
<kreisys> oh but that's like supremely ugly! I'd have to reimplement what nix can already do using hacky shellcraft :(
<kreisys> ugh I really need my slack :hairpull: emoji now :D
<kreisys> I once worked around it (ab?)using builtins.unsafeDiscardStringContext
<kreisys> but I'm sure there's a very good reason not to do that. otherwise it wouldn't be marked "unsafe"
<clever> nix wont know about you depending on that thing, so it wont copy it to the build machines
<clever> and wont include it in the sandbox
<clever> but, the string itself still changes with the source, and messes with your own hashes
<clever> 2020-01-17 21:34:11 < clever> Raito_Bezarius: this is also why i tend to put the sources somewhere other then the root of the project
<clever> 2020-01-17 21:34:21 < clever> Raito_Bezarius: so i always do src = ./foo; rather then ./.
<clever> kreisys: thats why i avoid keeping source in the root of the repo, and then i can filter off just ./foo with lib.cleanSource
<kreisys> yeah but it's a qa repo I don't want to piss them off 😅
<inferencerules> clever: why-depends seems to just download all the stuff that would be pulled in the full nixos-rebuild - is that right?
<clever> inferencerules: thats a bug in why-depends, youll need to use `nix-store -q --tree` and follow the line up from the problem package
<kreisys> it wouldn't be unfair though since they forced me to much around with maven 🤮
<kreisys> *muck
<{^_^}> [nixpkgs] @marsam merged pull request #77725 → avocode: 4.2.1 -> 4.2.2 → https://git.io/JvUGC
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvThI
<kreisys> oh!
doyougnu has joined #nixos
<kreisys> clever: what if I just give that repo its own hydra project/source/release.nix?
<kreisys> hydra fetches sources outside the nix store no?
<clever> kreisys: hydra-eval-jobset will fetch all sources, then copy them into /nix/store/
<kreisys> but before eval?
<clever> kreisys: and then if the storepaths are different from last time, it runs hydra-eval-jobs to eval it, and turn the nix exprs into a json blob listing all jobs
<clever> hydra-eval-jobs always acts on the copy in the nix store
<kreisys> dammittt
<kreisys> I don't understand the logic behind this limitation
<kreisys> Does it serve any purpose at all other than making my life miserable?
<clever> purity?
<kreisys> I don't see what's impure about taking one store path, removing some files, and creating a new store path without them files.
<clever> if the 1st path has changed, it doesnt know what impact that might have on your transformation
<clever> so it will want to re-apply "removing some files" and rebuild anything down-stream
<clever> (if done in a normal derivation)
erictapen has quit [Ping timeout: 272 seconds]
<kreisys> yeah that's why I don't want to do that in a normal derivation
<clever> filterSource and lib.cleanSource act at eval time
<{^_^}> [nixpkgs] @tbenst opened pull request #77962 → Vscode python → https://git.io/JvThm
<kreisys> yeah exactly so why not on store paths
<clever> so they will just copy a subset of the store path, and create another entry in the store, and the string depends on the files it did copy
<clever> kreisys: what error does hydra give if you try to filter a storepath?
<kreisys> can't refer to store path
<clever> can you paste the exact error msg?
<kreisys> I already b0rked it in a different way so sec I'll have to scrape that off the logs
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<inferencerules> clever: with the tree view i was able to find the offending package, thanks. not sure how the full gnome-desktop crept in as a dependency to evince again, it wasn't last week
<clever> inferencerules: git bisect!
<Ashy> clever: how can i actually test this locally? https://github.com/NixOS/nixpkgs/compare/master...AshyIsMe:nixos-rebuild-all
shibboleth has quit [Quit: shibboleth]
CMCDragonkai1 has joined #nixos
<clever> Ashy: nixos-rebuild -I nixpkgs=/path/to/nixpkgs test
<kreisys> clever: in job ‘pkgs.midnight-automation.x86_64-linux’:
<kreisys> the string 'y1fv29fx5rd4x2wh1c05s91vm317jfjm-source' is not allowed to refer to a store path (such as '/nix/store/y1fv29fx5rd4x2wh1c05s91vm317jfjm-source'), at /nix/store/wrpnqrwpxfxlqh8wcsw4wwy107b3smjd-source/lib/sources.nix:80:67
<clever> Ashy: that will just build the whole system from that directory, and then the new nixos-rebuild command will be in $PATH
<kreisys> tabarnak I redacted it in an ssh vim session so the copy never went to my local clipboard 🤣
zeta_0 has joined #nixos
<kreisys> don't tell d1sasm he would d1sassemble me
<clever> :D
<Ashy> clever: sweet, cheers
<{^_^}> [nixpkgs] @ryantm merged pull request #77915 → vkquake: 1.03.0 -> 1.04.1 → https://git.io/JvTVi
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvThV
<clever> 80 outPath = builtins.path { filter = filter'; path = origSrc; name = name'; };
<clever> kreisys: aha!!, column 67, is the name=
* clever checks source
<kreisys> wha? it can't be croaking on the name!
<clever> } else if (attr.name == state.sName)
<clever> name = state.forceStringNoCtx(*attr.value, *attr.pos);
<clever> kreisys: try adding a name="something"; to your lib.cleanSource call
<kreisys> srsly
<kreisys> mkay
* kreisys trying
<clever> kreisys: id say this is a bug in nixpkgs, it should no-context the name
bvdw has quit [Read error: Connection reset by peer]
<clever> kreisys: or the error msg should be improved, to say that you should give a pure name, rather then letting the impure hash leak thru in the name
<clever> kreisys: if you use the default name, then it will rebuild just as much
bvdw has joined #nixos
<clever> kreisys: because it will always create a clean /nix/store/hash1-hash2-source, and use a dirty hash2 in the name!
<clever> thats exactly the problem that switching cleanSource to .path is meant to fix
<clever> and it sorta made the impure method fatal, by accident!
<kreisys> RIGHT
<kreisys> I saw that before and scratched my head but never thought much ovit
<kreisys> kk hydra is evalling. fingers crossed
alex_giusi_tiri has quit [Quit: Leaving.]
Jonathan15 has joined #nixos
<niten> hey all
<kreisys> and I'm the first one to make a fuss about it?
<niten> i'm having trouble with a cmake build, unable to find a dependency
<niten> it's using pkg-config...the cli tool finds the dep, but the cmake build doesn't, and doesn't really give me any logs to look at
<niten> anybody run into that befor?
Heirlung has quit [Ping timeout: 258 seconds]
<niten> i'm not familiar with cmake or pkg-config, but afaict it ought to be working...it's finding all the other deps just fine
wavirc22 has joined #nixos
Heirlung has joined #nixos
<kreisys> clever: same error but now column 51 😔
<inferencerules> clever: git bisect is amazing
<kreisys> probably the path
<clever> kreisys: thats the path = origSrc; part
<kreisys> uff
<xa0[m]> oh wow
<xa0[m]> git bisect
* clever looks
<xa0[m]> that looks awesome
<xa0[m]> i need to use that sometime
<clever> kreisys: throw EvalError(format("string '%1%' cannot refer to other paths, at %2%") % path % *attr.pos);
<clever> kreisys: whatever you put into path= must be a plain directory, not a derivation with dependencies
<inferencerules> always learning a lot from this channel, but often about things other than nix somehow
<clever> kreisys: fixed-output might work, as long as it has no "runtime" deps, according to `nix-store -qR`
<kreisys> ... nor a derivation without dependencies it seems
<kreisys> it's a niv source
<clever> kreisys: if you -qR the offending path, what does it say?
<kreisys> only that same path
<kreisys> I'm pretty sure niv sources are fixed output
<kreisys> they all have hashes
<clever> kreisys: and the error matches the one i pasted above?
troydm has quit [Ping timeout: 265 seconds]
<kreisys> yeah it's the exact same error from before; only differences being the column and the `/nix/store/` prefix that wasn't in the previous error (because it was the name)
<evanjs> Hrmmmm. Want to use https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Prompt-Unicode.html, but unsure of the best place to use UnicodeData.txt. I see a few various packages, but idk if I should use any of those
<evanjs> e.g. unicodeData = "${pkgs.texlive.combined.scheme-small.out}/tex/generic/unicode-data/UnicodeData.txt"; (not the "smallest" example)
<evanjs> ,locate UnicodeData.txt
zeta_0 has quit [Quit: doing a rebuild switch]
<{^_^}> Found in packages: mkcl, smesh, gnulib, moodle, cmdstan, satysfi, factor-lang, rPackages.BH, gambit-unstable, ibus-engines.uniemoji, vimPlugins.unicode-vim, lispPackages.cl-unicode, python27Packages.nototools, ibus-engines.typing-booster, ibus-engines.typing-booster-unwrapped
<evanjs> wat. gnulib didn't show up on my end
drakonis has quit [Ping timeout: 260 seconds]
zeta_0 has joined #nixos
drakonis has joined #nixos
<evanjs> okay, running nix-index helped. But now I see unicode-character-database.out and have no idea what ---
<evanjs> oh. unicode-character-database.
<evanjs> I need something that updates my nix search and nix-index daily...
<zeta_0> hello guys, when doing a rebuild switch i got this error out of nowhere, what does it mean? https://hastebin.com/umocetojez.bash
<clever> zeta_0: read line 83 of the paste
<zeta_0> the 1st time doing the rebuild i canceled 10 seconds in, then i ran the command again, so i maybe that's what is causing the error?
<clever> zeta_0: that wouldnt cause the error on line 83
<zeta_0> clever: thanks'
<zeta_0> emacs rcirc has this weird bug where i sometimes can't delete single quotes '
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
orivej has joined #nixos
<zeta_0> clever: haskell-ide-engine was giving me a lot of problems, so i after looking for alternatives i found ghcide, i am blown away, it only has a couple of features, but it is very stable and snappy
<clever> zeta_0: personally, i just use bare ghcid and thats it
<xa0[m]> i use weechat for irc in emacs instead
<xa0[m]> all the native irc clients are too ...poor quality
<zeta_0> clever: cool, i installed ghcid as well, is it hard to setup and use?
<xa0[m]> as a matter of a fact, since i've migrated my home system to a nix userspace on gentoo, i should probably switch my emacs setup to a nix one too
<clever> zeta_0: basically, just run `ghcid -c "cabal repl"`, thats it
greizgh has quit [Quit: greizgh]
<zeta_0> xa0[m]: i agree with you, but i prefer to do everything in emacs'
qubasa has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<clever> zeta_0: it will run `cabal repl`, and do a `:r` every time your source changes, thats all it does
<xa0[m]> zeta_O: i do too, honestly. I use exwm, and my home folder is built around the fact that i never leave emacs. I just have weechat running headless under systemd --user, so i can connect through emacs
greizgh has joined #nixos
<DigitalKiwi> Mic92: ping
<xa0[m]> it's a little like having a bouncer, just, on the same system
<zeta_0> clever: if i understand correctly ghcid is only for ghci right? does it work for haskell files?
<clever> zeta_0: both ghcid and ghci are for haskell files
qubasa has joined #nixos
<zeta_0> xa0[m]: oh, you use weechat in emacs, cool
<xa0[m]> yeah. there's a weechat-emacs.el project i've contributed a bit to over the years
andi- has quit [Remote host closed the connection]
inferencerules has quit [Read error: Connection reset by peer]
<zeta_0> clever: oh i see, i need to give ghcid a try then
<zeta_0> clever: i like the way ghcide shows type signatures, it makes it easier for me to follow the mappings
iyzsong has joined #nixos
<zeta_0> xa0[m]: cool, i have been using emacs for a couple of months and i really like it
<xa0[m]> it's excellent. let it infect your life. i do highly reccomend exwm if you like tiling window managers, though it can take some taming
<kreisys> emacs <3
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d1265562b4c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
andi- has joined #nixos
<zeta_0> xa0[m]: nice, i use xmonad, i like it's simplicity
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 252 seconds]
<xa0[m]> fair enough. it's nice to have everything in one place, under one system, though. it essentially promotes emacs buffers to first-class x windows, and adds emacs shortcuts and operations to all other x windows. pretty handy at times
<zeta_0> oh i see, having native support from emacs is very useful
<xa0[m]> in my opinion the only thing missing is collapsing the boundary between browser and emacs some more. currently i use qutebrowser, but it'd be nice to have each tab as an emacs buffer etc.
slack1256 has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
tjg1 has quit [Quit: DON'T KEEP CALM AND FUCK THIS. FUCK THAT. FUCK YOU. FUCK OFF.]
tjg1 has joined #nixos
zeta_0 has quit [Quit: rebuilding']
chagra has joined #nixos
chagra_ has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c438ce12a85 (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d1265562b4c (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
mmlb has quit [Quit: The Lounge - https://thelounge.github.io]
mmlb has joined #nixos
kleisli has joined #nixos
wavirc22 has quit [Read error: Connection reset by peer]
wavirc22 has joined #nixos
smollcato has quit [Remote host closed the connection]
smollcato has joined #nixos
scott_ is now known as scott
<noonien> if i use some files in my derivation from the local directory, will each individual file get its own nix store?
<wedens[m]> yes, if you reference each file individually
<noonien> i put them in a directory, and referenced the directory. but, is there another way of doing it?
<infinisil> noonien: What's your goal?
<wedens[m]> if you do something like "${./dir}/file", then the whole dir will be in the store and youl'' have a path to a "file" in the store
<noonien> currently, i want to select just 2 additional local files to copy into the derivation
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/63a3564987d (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<noonien> yes, that's what i ended up doing, just wondering if there's an alternative if i have a a list of the files
zeta_0 has joined #nixos
alexherbo28 has joined #nixos
<wedens[m]> if you reference each file individually (e.g. "${./dir/file}"), each file will have its own nix store path
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo28 is now known as alexherbo2
alex`` has quit [Ping timeout: 268 seconds]
alex`` has joined #nixos
<DigitalKiwi> is infinisil around
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<infinisil> I think they already left earlier
<infinisil> Oh!
zeta_0 has joined #nixos
<DigitalKiwi> well they were idle for over 3 hours
<DigitalKiwi> and i was wondering
<DigitalKiwi> should i add this instead
<DigitalKiwi> regex-tdfa_1_3_1_0 = doJailbreak (super.regex-tdfa_1_3_1_0.override {
<DigitalKiwi> regex-base = self.regex-base_0_94_0_0;
<DigitalKiwi> });
<DigitalKiwi> since right now that won't build either but i'm not sure anything else uses it so
<infinisil> Yeah this is recommended ^
<infinisil> Fixing as many packages as possible
<DigitalKiwi> should i do in same PR?
<infinisil> Sounds good
<DigitalKiwi> ok
<DigitalKiwi> and to...haskell-updates branch right?
<infinisil> Yup
<DigitalKiwi> 1 or two commits
<DigitalKiwi> i'll do regex-tdfa first and then glirc
mexisme_ has quit [Ping timeout: 252 seconds]
emily has quit [Remote host closed the connection]
domogled has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
emily has joined #nixos
mexisme_ has joined #nixos
<zeta_0> hello guys, does nix package forks of emacs packages? i can't seem to find this ein fork in emacs melpa? https://github.com/dickmao/emacs-ipython-notebook
mexisme_ has quit [Ping timeout: 248 seconds]
<xa0[m]> melpa isn't the totality of packages
<xa0[m]> If it's from github it may not be on melpa
olmter has joined #nixos
<xa0[m]> (I actually avoid melpa altogether, use straight.el, fetches from git instead)
endformationage has quit [Ping timeout: 240 seconds]
<olmter> I need help setting up FDE with ZFS using EFI grub. After running nixos-install it only creates a single file: EFI/NixOS-efi/grubx64.eff
<olmter> If I run strings on it the end contains. "search.fs_uuid aaaaaaaa root\nset prefix=($root)'/root@/boot/grub\n/root@/boot/grub
<olmter> aaaaaaaa represents a nonexistent uuid which might be it trying to look for my ZFS "partition"
<olmter> I have my EFI partition mounted at /efi if that makes a difference.
<zeta_0> so if this fork has not been packaged by nix then i will need to guess i will need to write a nix expression to install it from github
zarel_ has joined #nixos
zarel has quit [Ping timeout: 258 seconds]
wavirc22 has quit [Ping timeout: 268 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
<noonien> how can i evaluate a nix expression and show its output?
<noonien> ah, nix-instantiate --evla
<noonien> eval*
<xa0[m]> zeta_0: yeah
bqv has joined #nixos
domogled has quit [Quit: domogled]
<xa0[m]>
<bqv> Hm
bqv has left #nixos ["WeeChat 2.5"]
init_6 has joined #nixos
myskran has quit [Ping timeout: 272 seconds]
<zeta_0> clever: are you still on, i have a quick question, can i get either ghcid or ghcide to work with ihaskell? or am i just better off sticking with haskell-mode in emacs to setup/configure ihaskell in emacs-ipython-notebook?
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 272 seconds]
cap_sensitive has quit [Ping timeout: 268 seconds]
<olmter> Looks like I'm running into https://github.com/NixOS/nixpkgs/issues/65375
<{^_^}> #65375 (by deliciouslytyped, 25 weeks ago, open): GRUB silently generates wrong config (cryptsetup default is now LUKS2)
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<olmter> LUKS2 support was just added to grub a week ago, so I might be able to override grub with a
<olmter> version from the git repository
cap_sensitive has joined #nixos
zeta_0 has joined #nixos
zeta_0 has quit [Client Quit]
<{^_^}> [nixpkgs] @magnetophon opened pull request #77964 → wmfocus: 1.1.2 -> 1.1.3 → https://git.io/JvkJA
xO1 has joined #nixos
kleisli has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @magnetophon opened pull request #77965 → noise-repellent: unstable-2018-12-29 -> 0.1.5 → https://git.io/JvkUu
cap_sensitive has quit [Ping timeout: 268 seconds]
<NemesisD> how do you all like to set up system packages and stuff in nixos? it seems weird to install with `nix-env -iA` because it doesn't get saved to a config anywhere. should i just be putting all my system packages in a nix file somewhere?
mexisme_ has joined #nixos
<slack1256> I just do `nix-env -iA`. I am fine without having a file that correspond to the current set of packages installed if I can rollback to a know saved state.
<slack1256> *known
<{^_^}> [nixpkgs] @magnetophon opened pull request #77966 → distrho: 2018-04-16 -> 2019-10-09 → https://git.io/JvkUM
drakonis has quit [Ping timeout: 248 seconds]
palo1 has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
eri has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
Sigma has quit [Ping timeout: 260 seconds]
olmter has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Quiark opened pull request #77967 → minetest: update to 5.1.0 and build on Darwin → https://git.io/JvkTU
cap_sensitive has joined #nixos
johnw has quit [Ping timeout: 272 seconds]
cap_sensitive has quit [Client Quit]
hyper_ch has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 272 seconds]
szicari has quit [Ping timeout: 272 seconds]
szicari has joined #nixos
mexisme_ has quit [Ping timeout: 260 seconds]
mexisme_ has joined #nixos
Sigma has joined #nixos
slack1256 has quit [Remote host closed the connection]
hyper_ch has joined #nixos
kleisli has joined #nixos
troydm has joined #nixos
eri has joined #nixos
eri has quit [Ping timeout: 272 seconds]
myskran has joined #nixos
myskran has quit [Ping timeout: 268 seconds]
<danderson> So, I'd like to use nix as a way of easily installing development tools per-project. As in, `cd` to a project's directory, run some command, and nix switches to a profile specific to that project. In that kind of setup, is there a way I can declaratively specify the packages I want?
<danderson> I can wire this up with nix-env -i and some profile switching, but how do I make it reproducible for someone else?
<xa0[m]> Make a shell
<DigitalKiwi> maybe look at direnv/lorri with shell.nix
<danderson> yes! Thanks all.
<DigitalKiwi> <3 lorri
hoobershaggus has joined #nixos
hoobershaggus has quit [Remote host closed the connection]
hoobershaggus has joined #nixos
hoobershaggus76 has joined #nixos
<danderson> lorri was made... for Target? What are they up to...
hoobershaggus76 has quit [Remote host closed the connection]
<hoobershaggus> anyone using nix-on-droid?
<hoobershaggus> i am not looking for support i just think its a neat project
<xa0[m]> Is there a way to make a post request through nix?
<xa0[m]> I expect not but…
<wedens[m]> why would you need that?
init_6 has quit []
chagra has quit [Read error: Connection reset by peer]
chagra has joined #nixos
<xa0[m]> Fontello loader in webpack does a post request
<xa0[m]> Can't sub it out very gently otherwise
<xa0[m]> #curl -sfS -F config=@static/fontello.json -o .fontello http://fontello.com #curl -sfS -o .fontello.zip http://fontello.com/$(cat .fontello)/get #unzip .fontello.zip -d .fontello.src #mv .fontello.src/*
<DigitalKiwi> hoobershaggus: i have it on my phone but i don't do much with it other than use up all my space the other day when i tried to install some haskell stuff that it wanted to build :<
<hoobershaggus> i was going to try setting up bitlbee on it
<hoobershaggus> it works but i cant connect to it from anything other than the phone, android issue i guess
opthomasprime has joined #nixos
hoobershaggus has quit [Remote host closed the connection]
<dansho> ,locate sc
<{^_^}> Found in packages: ping, navit, vocal, hashit, omegat, lightdm, mypaint, bookworm, gnumeric, ideogram, isocodes, mate.eom, sequeler, suricata, ephemeral, mate.caja, mate.mozo, libmypaint, lightdm_qt, mate.atril, torrential, regextester, gegl_0_4.dev, mate.engrampa, mate.libmatekbd, mate.mate-media, mate.mate-menus, mate.mate-panel, mate.mate-utils, mate.mate-themes, pantheon.granite, mate.mate-applets, mate.mate-desktop, and 63 more
NoctisLabs has quit [Ping timeout: 240 seconds]
NoctisLabs has joined #nixos
<{^_^}> [nixpkgs] @kolaente opened pull request #77969 → gitea: 1.10.2 -> 1.10.3 → https://git.io/JvkIB
chagra_ has joined #nixos
chagra has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Th0rgal opened pull request #77970 → wpsoffice: 11.1.0.8865 -> 11.1.0.9080 → https://git.io/JvkIb
bvdw has quit [Read error: Connection reset by peer]
alunduil has quit []
bvdw has joined #nixos
alunduil has joined #nixos
Chiliparrot has joined #nixos
sevanspowell has quit []
sevanspowell has joined #nixos
c00w has quit []
c00w has joined #nixos
blackriversoftwa has quit []
blackriversoftwa has joined #nixos
zupo has joined #nixos
thblt has joined #nixos
thblt has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
thblt has joined #nixos
thblt has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
dm9 has joined #nixos
wavirc22 has joined #nixos
o1lo01ol1o has joined #nixos
mexisme_ has quit [Ping timeout: 272 seconds]
zupo_ has joined #nixos
zupo has quit [Ping timeout: 272 seconds]
mexisme_ has joined #nixos
thblt has joined #nixos
thblt has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
zupo_ has quit [Ping timeout: 265 seconds]
thblt has joined #nixos
thblt has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
aria has quit []
aria has joined #nixos
ngyj_ has joined #nixos
bennofs has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
bennofs has joined #nixos
ng0_ has joined #nixos
jgeerds__ has joined #nixos
ng0 has quit [Ping timeout: 265 seconds]
alexherbo24 has joined #nixos
alex`` has quit [Ping timeout: 272 seconds]
alexherbo2 has quit [Ping timeout: 272 seconds]
alexherbo24 is now known as alexherbo2
leotaku has quit [Ping timeout: 260 seconds]
alex`` has joined #nixos
shabius has quit [Ping timeout: 272 seconds]
fnords has quit []
fnords has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
shabius has joined #nixos
o1lo01ol1o has joined #nixos
Naptra has joined #nixos
gwen has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « python2.pkgs.nixpart0: use correct libselinux bindings »: https://git.io/Jvkmg
__monty__ has joined #nixos
leotaku has joined #nixos
fendor has joined #nixos
wolfshappen has joined #nixos
m0rphism has joined #nixos
ngyj_ has quit [Quit: Leaving]
kleisli has quit [Ping timeout: 268 seconds]
<bennofs> does the nix 2.0 CLI support building arbitrary expressions? Like nix build 'with (import <nixpkgs> {}); (nixos {}).nixos-install'
<bennofs> hmm, nix build '((import <nixpkgs> {}).nixos {}).nixos-install' works...
mexisme_ has quit [Ping timeout: 246 seconds]
<bennofs> seems the heuristic is it must start with a ( to be an expression?
aveltras has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c438ce12a85 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
wavirc22 has quit [Ping timeout: 268 seconds]
wavirc22 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
ng0_ is now known as ng0
o1lo01ol1o has joined #nixos
<tilpner> bennofs: FYI, nixos is a weird special function. If you want to do this with a normal system, they're all in config.system.build instead
dansho has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<bennofs> i don't have any nixos system at hand, only systems with nix installed
<tilpner> You don't need to have NixOS installed to instantiate a NixOS system
h0m1 has quit [Quit: WeeChat 2.7]
<bennofs> didn't want to go through the trouble to write a full nixos config :)
<tilpner> (import dev/nixpkgs/main/nixos { configuration.fileSystems."/" = {}; }).config.system.build.nixos-install
doyougnu has quit [Ping timeout: 245 seconds]
<tilpner> That's how it would usually look like, with dev/nixpkgs/main being a nixpkgs checkout
<{^_^}> [nixpkgs] @LnL7 opened pull request #77972 → rustPackages: make rustc-dev optional → https://git.io/JvkYk
h0m1 has joined #nixos
<bennofs> (import <nixpkgs/nixos> { configuration.fileSystems."/" = {}; }) would probably also work?
<tilpner> (Actually, you don't need to define filesystems here)
<tilpner> Yes, but my <nixpkgs/nixos> is not a nixpkgs checkout
<bennofs> what makes the nixos func special?
<tilpner> It calls <nixpkgs/nixos>, but doesn't give you the result directly
<tilpner> Instead, it does result.config.system.build // result
<tilpner> (It technically doesn't call <nixpkgs/nixos>, but close enough)
<tilpner> See all-packages.nix:24945 for more
mounty has quit [Ping timeout: 260 seconds]
<gwen> Hi, I try to tackle issue #6414 and I managed to build the python interpreter with bluetooth support where `from socket import AF_BLUETOOTH` works.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/6414 (by mvcisback, 4 years ago, open): Python: bluetooth support is missing
<gwen> However, if take `bluePython.buildEnv.override { extraLibs = ...; }` then it doesn't work anymore. Ideas?
vidbina_ has joined #nixos
mounty has joined #nixos
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @snicket2100 opened pull request #77973 → firejail: 0.9.60 -> 0.9.62 → https://git.io/JvkYc
Naptra has quit [Quit: Leaving]
knupfer has joined #nixos
<bennofs> gwen: well, probably bluePython.buildEnv still refers to the original, unmodified python from nixpkgs. But hard to say what is wrong without any code, can you show the nix code you wrote for bluePython?
<gwen> bennofs: Basically, what I did was to introduce a "bluetoothSupport" argument to pkgs/interpreters/python/cpython/default.nix, which included bluez / bluez.dev in nativeBuildInputs / buildInputs on demand.
<gwen> I'll commit the code and push it into my local git repository, then you can quickly see the changes.
<gwen> *fork, not local
knupfer has quit [Ping timeout: 260 seconds]
werner291 has joined #nixos
doyougnu has joined #nixos
<gwen> https://github.com/laikq/nixpkgs/commit/6dca2312cec4521c39f03124b51c6ad08f3c034b // `python3.override {bluetoothSupport=true;}` works with bluetooth, `(python3.override {bluetoothSupport=true;}).buildEnv` does not.
<Valodim[m]> hum
philr has quit [Quit: WeeChat 2.7]
<Valodim[m]> so nixos-in-place installs a nixos 16.09.
<Valodim[m]> I expected to be able to upgrade easily from there, but after updating the channel, nix says it can't evaluate the nixpkgs because that requires nix 2.0, and informs me that on a nixos I should be able to fix that with nixos-rebuild
<Valodim[m]> but nixos-rebuild fails with that exact warning
chloekek has joined #nixos
<symphorien> the easiest way is to upgrade one version by one version, 16.09 -> 17.03 -> 17.09 etc
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Valodim[m]> thanks
<{^_^}> [nixpkgs] @marsam opened pull request #77974 → rage: init at 0.2.0 → https://git.io/JvkYb
<gwen> Valodim[m]: I guess you could also try to install nix 2.0 from the newest repositories, maybe something like `nix.package = (with import <nixos-new> {}).nix;` in `configuration.nix` (where you would have one nixos channel for 16.09 and one nixos-new channel for 19.03)
<Ashy> got a weird issues where firefox won't load any pages but chromium still does
<Ashy> anyone seen this before?
<tilpner> Valodim[m]: I've had more luck with the kexec method, and it doesn't come with the version problem
<tilpner> Valodim[m]: Do you need to keep data from before the installation?
<Valodim[m]> nope
<Valodim[m]> I think I'll try one of the forks of nixos-in-place next time that start with a newer version
<tilpner> Valodim[m]: If you have root on a standard Linux installation, you can use kexec to enter a live NixOS system where you can nuke any partitions because the current system is in memory
<Valodim[m]> shame the upstream script isn't kept up to date
<Ashy> ah it was one of my extensions, lastpass, ublock origin or firefox multiplecontainers
<Valodim[m]> tilpner: ooh, sounds good. got a link handy for that?
<tilpner> Valodim[m]: That's pretty similar to booting off a USB drive, but doesn't require physical access, which makes it great for servers. It can also be automated entirely
rleppink` has joined #nixos
<Valodim[m]> sweet. thanks
<tilpner> Valodim[m]: If you use this with the format "kexec-bundle", you get an executable that drops you into a NixOS shell. You can configure it to have ssh enabled with your key pre-configured
<tilpner> Valodim[m]: For full automation, see https://github.com/cleverca22/nix-tests/tree/master/kexec
<{^_^}> [nixpkgs] @marsam merged pull request #71665 → libdvdnav: 6.0.0 -> 6.0.1 → https://git.io/JeRDO
<{^_^}> [nixpkgs] @marsam pushed commit from @r-ryantm to staging « libdvdnav: 6.0.0 -> 6.0.1 »: https://git.io/JvkOe
mirsal has quit [Quit: authenticating]
gaz[16 is now known as gaz[18
<tilpner> Valodim[m]: Is this for a stratum system, or a personal one?
<Valodim[m]> personal :)
<bennofs> gwen: ok, as far as I can see, .override on a python interpreter won't apply to the buildEnv attribute. The reason for that is this construction here: https://github.com/NixOS/nixpkgs/blob/07b8ab4ff791dc8bcfeea643fd9a1fbedc534bbd/pkgs/development/interpreters/python/default.nix#L116-L117. `self` is the reference that buildEnv uses as the python interpreter, but self is assigned outside of the callPackage. Only the code inside the
<bennofs> function that is passed to callPackage is reevaluated if you .override, so `self` is not recomputed and the package still uses the old `self` (which of course does not support bluetooth)
<Valodim[m]> just fiddling around with nixos on a netcup server
<tilpner> Ahh, kexec is perfect for cloud providers that don't offer NixOS
<Valodim[m]> been using nix for a couple weeks now (since 36c3, to be exact ;) and so far I'm a happy customer :) so now I want to give it a shot on a server
erictapen has joined #nixos
<gwen> bennofs: Yeah, I was just about to write the same ^^ it works if I say `bluePython = python3.override { bluetoothSupport = true; self = bluePython; }` -- but it feels like there needs to be some mechanism that automatically updates `self`.
noudle has joined #nixos
rleppink` has quit [Ping timeout: 272 seconds]
<bennofs> gwen: well, it the package used let self = stdenv.mkDerivation { } ... and not pass the self through the callPackage argument. Not sure why this isn't implemented that way, but I am also not familar enough with python packaging to know if there's some reason for the currrent implementation
<bennofs> s/if the/it would work if the/
<Valodim[m]> but man is this another instance of completely outdated documentation
janneke_ is now known as janneke
<{^_^}> [nixpkgs] @sjmackenzie opened pull request #77975 → amp: git rev 2c88e8 (2019-06-09) -> v0.6.1 → https://git.io/JvkOL
gaz[18 is now known as gaz[20
chagra_ has quit [Ping timeout: 268 seconds]
<bennofs> gwen: ugh, actually, since the default.nix set is not rec and there is a `with pkgs;` the line is equavilent to self = pkgs.python39 so it might be written this way to support some overlay use case?
ixxie has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #77976 → nebula: 1.0.0 -> 1.1.0 → https://git.io/JvkOO
<bennofs> i guess customizing python interpreters without using an overlay is going to be a pain anway because of references to pythonPackages
<Valodim[m]> generating a kexec bundle went smoothly :) uploading now
<pingiun> is there a way to only reload nginx instead of restarting it when rebuilding my config?
<pingiun> nginx will not start up again if I make mistakes in my configuration by accident
<tilpner> Valodim[m]: Just be really careful around handling it, you wouldn't want to accidentally execute it on the wrong machine
fendor_ has quit [Ping timeout: 268 seconds]
vidbina_ has quit [Ping timeout: 258 seconds]
chagra_ has joined #nixos
kraem has joined #nixos
k0ral has joined #nixos
noudle has quit []
doyougnu has quit [Ping timeout: 272 seconds]
<kraem> qyliss: thanks for your help the other day with doing a nixos-rebuild from my nixpkgs fork! i had to delete the
orivej has joined #nixos
<kraem> i had to delete the sha256 from the nix file for it to throw an error and then run `nix-prefetch-url --unpack` to insert the hash
<Valodim[m]> heh, indeed
<gwen> bennofs: Yeah, I will look into overlays. It seems like although `from socket import AF_BLUETOOTH` does work with `bluePython.buildEnv`, I cannot use any packages from `bluePython.buildEnv.override {extraLibs = [...];}` in the interpreter
<k0ral> trying to create a derivation for a python library + application that builds/installs using poetry + pyinstaller: https://github.com/pawamoy/aria2p/blob/master/Makefile ; am I supposed to write the complete build/install steps manually, or is there something from nixpkgs I can re-use ?
<kraem> gchristensen: i've submitted a PR for facetimehd and i'm not sure if i need to update pkgs/os-specific/linux/firmware/facetimehd-firmware/default.nix - i've checked all variables and they seem to be the same in patjak's repo. what do you think?
cosimone has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/07b8ab4ff79 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Shouou has quit [Ping timeout: 272 seconds]
mexisme_ has joined #nixos
o1lo01ol1o has joined #nixos
<xa0[m]> i have a zip file next to my default.nix, how do i use it as source for a derivation?
mexisme_ has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<xa0[m]> i really don't know how i'm meant to solve this and turn it into a derivation. nix won't allow me to make a POST request, so i can't turn this config file into a zip file using fontello's API, and I can't prefetch the zip file and load it alongside the nix config cause apparently that's horribly impure. so what do i do?!
ixxie has quit [Ping timeout: 272 seconds]
ixxie has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #77977 → pythonPackages.sysv_ipc: init at 1.0.1 → https://git.io/JvkOF
sn3rd has joined #nixos
andymandias_ has quit [Quit: ZNC 1.7.4 - https://znc.in]
andymandias has joined #nixos
iyzsong has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @bennofs opened pull request #77978 → python: fix buildEnv passthru when using .override → https://git.io/Jvk3f
<bennofs> gwen: ^^^ that should fix .override issue
thc202 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #76831 → docker-slim: init at 1.26.1 → https://git.io/Jexom
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvk3q
<{^_^}> [nixpkgs] @Ma27 pushed to master « bandwhich: 0.9.0 -> 0.10.0 »: https://git.io/Jvk3m
<{^_^}> [nixpkgs] @marsam merged pull request #77955 → clojure-lsp: 20200114T225020 -> 20200117T215443 → https://git.io/JvTFU
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvk3O
<{^_^}> [nixpkgs] @bennofs merged pull request #76990 → svxlink: init at 19.09.1 → https://git.io/JejkJ
<{^_^}> [nixpkgs] @bennofs pushed commit from @zaninime to master « svxlink: init at 19.09.1 (#76990) »: https://git.io/Jvk33
k0ral has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
ixxie has quit [Ping timeout: 268 seconds]
<symphorien> is there a way to make the network of nixos tests ipv6 enabled ?
alexherbo22 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 248 seconds]
kaliumxyz has quit [Remote host closed the connection]
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo22 is now known as alexherbo2
alex`` has quit [Ping timeout: 265 seconds]
alex`` has joined #nixos
<emily> dconf-editor is pretty hard to use in gnome because the schemas of most applications aren't in scope by default unless you add them to services.xserver.desktopManager.gnome3.sessionPath, so the settings don't show up unless they're edited and even then have no documentation/etc... am I missing something that makes it work better?
rogue_koder_ has quit [Ping timeout: 265 seconds]
myskran has joined #nixos
<sphalerite> DigitalKiwi: what's the occasion for the ++?
<DigitalKiwi> The bash function you wrote
<{^_^}> [nixpkgs] @bennofs merged pull request #77970 → wpsoffice: 11.1.0.8865 -> 11.1.0.9080 → https://git.io/JvkIb
<{^_^}> [nixpkgs] @bennofs pushed commit from @Th0rgal to master « wpsoffice: 11.1.0.8865 -> 11.1.0.9080 »: https://git.io/Jvk3w
Rusty1 has joined #nixos
hoobershaggus has joined #nixos
<{^_^}> [nixpkgs] @mkg20001 opened pull request #77979 → cinnamon.nemo: init at 4.4.1 → https://git.io/Jvk3K
ambro718 has joined #nixos
myskran has quit [Ping timeout: 268 seconds]
chloekek has quit [Quit: WeeChat 2.6]
ixxie has joined #nixos
<{^_^}> [nixpkgs] @mbbx6spp opened pull request #77980 → purescript: 0.13.5 -> 0.13.6 (and add maintainer) → https://git.io/Jvk3M
<{^_^}> [nixpkgs] @k0ral opened pull request #77981 → aria2p: init at 0.7.0 → https://git.io/Jvk3H
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
shyim has quit [Quit: shyim]
chloekek has joined #nixos
shyim has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #77498 → packagekit: 1.1.12 -> 1.1.13 → https://git.io/JvfLc
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @dtzWill to master « packagekit: 1.1.12 -> 1.1.13 (#77498) »: https://git.io/Jvk3F
<{^_^}> [nixpkgs] @edef1c merged pull request #77980 → purescript: 0.13.5 -> 0.13.6 (and add maintainer) → https://git.io/Jvk3M
<{^_^}> [nixpkgs] @edef1c pushed 3 commits to master: https://git.io/Jvk3A
<Valodim[m]> haha. my internet connection is so shit, it turned out to be faster to just build the kexec on the server
<Valodim[m]> same image, just one curl, sh, git and nix later 8)
luc65r has joined #nixos
<luc65r> Hi!
<luc65r> Would it be possible to package this Electron app?
chloekek has quit [Client Quit]
chloekek has joined #nixos
<luc65r> I'm searching examples in Nixpkgs, but none of the Electron apps are built by Nix
<{^_^}> [nixpkgs] @edef1c merged pull request #77969 → gitea: 1.10.2 -> 1.10.3 → https://git.io/JvkIB
<{^_^}> [nixpkgs] @edef1c pushed 2 commits to master: https://git.io/Jvk3h
<luc65r> They are all using binaries and .deb
sn3rd has quit [Ping timeout: 260 seconds]
civodul has joined #nixos
Guest92090 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @edef1c merged pull request #77956 → zopfli: 1.0.2 -> 1.0.3 → https://git.io/JvTFP
<{^_^}> [nixpkgs] @edef1c pushed 2 commits to master: https://git.io/JvksT
<{^_^}> [nixpkgs] @symphorien opened pull request #77982 → nixos/sslh: make it possible (and the default) to listen on ipv6, plus regression test → https://git.io/Jvksq
cosimone_ has quit [Quit: Terminated!]
ixxie has quit [Ping timeout: 260 seconds]
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
ok2`- has joined #nixos
ok2` has quit [Ping timeout: 260 seconds]
ok2`- is now known as ok2`
luc65r has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #77983 → solr: 8.4.0 -> 8.4.1 → https://git.io/JvksD
<sphalerite> DigitalKiwi: huh, was that my idea? x)
<gchristensen> I thought if you listened on '[::]' you'd listen on IPv4 and IPv6 automatically, but symphorien is finding thaht doesn't work -- any ideas? https://github.com/NixOS/nixpkgs/pull/77982/files#r368228044
<Raito_Bezarius> Can I write in the $out path in a nix-shell?
<Raito_Bezarius> Like I want to debug a derivation build process
<sphalerite> yeah, I thought so too…
<sphalerite> Raito_Bezarius: I usually work around it by running `export out=/tmp/$name` as the first command in a nix-shell for that
<sphalerite> Raito_Bezarius: that won't work with placeholders, but I've found their use to be rare enough that it's not been a problem for me yet
<DigitalKiwi> i'd like to think it was a team effort
<sphalerite> DigitalKiwi: oh lol, I forgot. Glad it's still proving useful :D
<DigitalKiwi> it might not be for much longer someone was talking about making a PR for nixos-rebuild --upgrade-all
<bennofs> gchristensen: maybe try just 0? i have no idea if that works though
<hexa-> gchristensen: depends on net.ipv6.bindv6only
<hexa-> should be 0 though
<sphalerite> DigitalKiwi: oh yeah, I guess in that sense I'm _not_ glad it's still helpful xD but yeah, just checked my logs, that was last March. So I think it's fair enough that I forgot :D
* DigitalKiwi forgets what ate yesterday but remembers conversations from years ago
<Raito_Bezarius> sphalerite: I see
myskran has joined #nixos
drewr has joined #nixos
<bennofs> we don't have callPackageWithSelf, do we?
o1lo01ol1o has joined #nixos
chloekek has quit [Quit: WeeChat 2.6]
chloekek has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
gwen has quit [Ping timeout: 240 seconds]
<infinisil> bennofs: What would that do?
<bennofs> just give me access to the result of the callPackage as argument as well
<infinisil> Ah, nothing exists for that I believe
<infinisil> Though makeExtensible is close
<sphalerite> gchristensen: aww, but why?
<thefloweringash> assemble the ipv6 evangelism strike force
<thefloweringash> we're going in!
<sphalerite> thefloweringash: well, is that really ipv6 evangelism?
<gchristensen> maybe a good reason actually
<{^_^}> yrutschle/sslh#161 (by pali, 2 years ago, merged): Ensure that IPv6 socket would listen only for IPv6 connections
mexisme_ has joined #nixos
<pingiun> is the nixos forum not running on nixos? why is there no discourse nixos module yet?
<sphalerite> pingiun: because you haven't written one ;)
<bennofs> nixos forum is hosted by discourse afaik
<Palpares> hi. I have this bash script containing "echo 'hello world'". how can I package this as "hello" cmd ? sorry for this noob question but I haven't found such an example
<pingiun> sphalerite: I might, I want to run it and I don't like docker
<pingiun> bennofs: that makes sense
<sphalerite> bennofs: yep
<sphalerite> pingiun: That does seem to be a common reason for nixos modules being created ;)
<hexa-> gchristensen: Oof.
<sphalerite> pingiun: that would be great, in any case!
mexisme_ has quit [Ping timeout: 260 seconds]
<Raito_Bezarius> I'm using node2nix to get some Nodejs package and I have a global package, I build the derivation and pass it as buildInputs for some new derivation but it complains about not having the global bin in the path it seems like
<Raito_Bezarius> When I do nix-shell, I have the desired global package but unsure if it's due to my env pollution
<Raito_Bezarius> in $PATH, I don't see any reference to the buildInputs I referenced
<Raito_Bezarius> but I see an env var buildInputs
<pingiun> >The only officially supported installs of Discourse are Docker based.
<pingiun> ...
<Raito_Bezarius> It's like buildInputs is ignored
<pingiun> does a nixos module that just starts some dockers make sense?
<scheming_around> If "attr" is an attribute set, what does the syntax "! attr ? ..." mean?
mDuff has joined #nixos
<Raito_Bezarius> *ah*, nativeBuildInputs sounds what I want rather
<sphalerite> pingiun: I don't think so. It seems that discourse is a ruby-on-rails thing? It's doable to package that and get it running with a nixos module, but not a great deal of fun
acarrico has joined #nixos
cosimone has joined #nixos
<adisbladis> pingiun: We're running on a hosted discourse instance
<sphalerite> pingiun: so I'd say either go with the official dockery method, or if you'r ereally hellbent on doing it more nicely, package it :)
<adisbladis> I started that last year https://github.com/NixOS/nixpkgs/pull/59981
<{^_^}> #59981 (by adisbladis, 38 weeks ago, open): WIP: Add discourse package & nixos module
<adisbladis> But yeah, not fun enough to finish
<pingiun> I could try and look at it
<adisbladis> pingiun: That would be fantastic <3
<DigitalKiwi> pingiun++
<{^_^}> pingiun's karma got increased to 1
<sphalerite> scheming_around: the ? operator checks if a set contains some attribute, and adding an ! before it will negate it
<DigitalKiwi> advance payment if you do nothing i expect you to remove that yourself later! :P
<sphalerite> > ! {} ? "foo"
<{^_^}> true
<sphalerite> > ! { foo = null; } ? "foo"
<{^_^}> false
<sphalerite> scheming_around: ^ it certainly is a bit confusing though.
<bennofs> pingiun++
<{^_^}> pingiun's karma got increased to 2
<Raito_Bezarius> If anyone has any idea on this: https://github.com/svanderburg/node2nix/issues/168 that would be awesome
<{^_^}> svanderburg/node2nix#168 (by RaitoBezarius, 19 seconds ago, open): Expose binaries installed by NPM
amf has quit [Quit: WeeChat 2.6]
<DigitalKiwi> how can i see what packages i am a maintainer of
<bennofs> git grep "yournick" ?
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<infinisil> DigitalKiwi: I just recently wrote an expression for this, hold on
<infinisil> Call with `nix-instantiate/nix-build file.nix --argstr maintainer infinisil`
Chiliparrot has joined #nixos
ixxie has joined #nixos
o1lo01ol1o has joined #nixos
ng0_ has joined #nixos
ng0_ is now known as n0
<{^_^}> [nixpkgs] @Kiwi opened pull request #77984 → glirc: 2.33.1 -> 2.34 → https://git.io/JvkcR
<DigitalKiwi> infinisil: how do you do your pastes do you have a script or
<DigitalKiwi> oh infinisil i finally did that PR... :D
ng0 has quit [Ping timeout: 258 seconds]
<jtojnar> /join #botbot
n0 is now known as ng0_
<infinisil> DigitalKiwi: Yeah I wrote this little thing here: https://github.com/Infinisil/system/blob/master/config/new-modules/paste.nix
ng0_ is now known as ng0
<infinisil> Nice :)
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<infinisil> Pasting is then just `cat file.nix | ssh <host> pst nix` or I also have an alias so I can do `cat file.nix | pst nix` and it copies it into my clipboard
<DigitalKiwi> i have a one line bash alias that just rsyns files to my server
o1lo01ol1o has joined #nixos
<DigitalKiwi> i need to update my paste client :(
amf has joined #nixos
<clever> i tend to just run `gist -p file.nix`
<clever> > pkgs.gist
<{^_^}> "<derivation /nix/store/ccl1p0061rdgvj6qfpr31mfi99wkgldn-gist-5.0.0.drv>"
<clever> > pkgs.gist.meta.description
<{^_^}> "Upload code to https://gist.github.com (or github enterprise)"
<DigitalKiwi> it only works with dpaste.de right now and doesn't have all of the features i want
<DigitalKiwi> heh i could package uppity...
<clever> you can also use `gist -u <url> file.nix` to update an existing gist
realrokka has quit [Ping timeout: 265 seconds]
<DigitalKiwi> on the one hand i want to add gist support to apc but on the other i'd like to move away from github stuff...
<{^_^}> [nixpkgs] @bennofs merged pull request #75840 → uberwriter: init at 2019-11-29 (and update dependency pypandoc to unstable) → https://git.io/Je75a
<{^_^}> [nixpkgs] @bennofs pushed 2 commits to master: https://git.io/JvkcX
<AmandaC_> I just use share urls from a designatd folder in my co-admin's nextcloud instance
pbb_ has quit [Remote host closed the connection]
realrokka has joined #nixos
<DigitalKiwi> obviously i just need to write absurd paste server
<{^_^}> [nixpkgs] @bennofs closed pull request #56592 → pythonPackages.pypandoc: 1.4 -> 2019-03-01 → https://git.io/fhAuG
gustavderdrache has joined #nixos
pbb has joined #nixos
<amf> How do I find a package which has a certain file? In debian land I'd use their packages.debian.org interface to see where asoundlib.h lives
<clever> DigitalKiwi: one thing i like about gist, is that you can just `git clone` a gist, to see all of the files and history
<bennofs> ix.io is nice for plain pastes
<o1lo01ol1o> clever: We moved our hydra cache to `s3` and a couple days later half the jobs fail with Aborted: file 'nar/hash_FooBar.nar.xz' does not exist in binary cache s3://Baz`. I emptied the bucket and collected garbage yestarday on the hydra server thinking that would rebuild things but we still have half our jobs failling. How can I figure out what's going missing?
<clever> o1lo01ol1o: when you moved it, files that where on hydra "disappeared" because they are not in the s3 bucket
<clever> o1lo01ol1o: emptying the bucket and GC'ing hydra itself, will only make things worse, because more things will be missing
<symphorien> ,locate asoundlib.h
<symphorien> ^ amf
<{^_^}> Found in packages: alsaLib.dev
<clever> /root/.cache/nix/binary-cache-v6.sqlite /root/.cache/nix/binary-cache-v6.sqlite-journal
<clever> o1lo01ol1o: nix uses these files, to track what nar's exist on a given cache
<DigitalKiwi> 15:22 clever: you can also use `gist -u <url> file.nix` to update an existing gist <-- heh I like to git clone them and git commit --amend --allow-empty-message
<symphorien> amf: you can install this locally with nix-index/nix-locate
<clever> o1lo01ol1o: and if you start deleting things from the cache, it doesnt recover for a month, enless you delete the cache of the cache
CMCDragonkai1 has quit [Ping timeout: 272 seconds]
<DigitalKiwi> clever: i like writing paste clients though :P
<o1lo01ol1o> clever: I see. How can delete the cache of the cache?
<clever> o1lo01ol1o: `rm ~/.cache/nix/binary-cache-v6.sqlite*` as root, on every machine that is having problems
<o1lo01ol1o> gotcha
<amf> symphorien: thanks that is exactly what i wanted!!
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/d1265562b4c (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<clever> o1lo01ol1o: any time you switch the backend of a cache url, or garbage collect, you will have to repeat that whole mess
<clever> o1lo01ol1o: S3 is nice, because you can just forget about it and never GC
<DigitalKiwi> i lied it's actually a script not an alias https://myfriendshate.me/files/upload
<o1lo01ol1o> clever: even the automatic gc's hydra perfomrs itself?
<DigitalKiwi> i do have a one line alias though for my most recent screenshot alias uploadlastscreen='~/bin/upload "$(ls ~/*scrot*png|sort|tail -1)"'
<clever> o1lo01ol1o: yeah
realrokka has quit [Ping timeout: 268 seconds]
<o1lo01ol1o> clever: huh, we hadn't run into that before and I dont' know how many times we ran out of drive space and gc'd
pbb has quit [Quit: No Ping reply in 180 seconds.]
<clever> o1lo01ol1o: it also depends on luck, and if you deleted something that somebody needed
<o1lo01ol1o> anyway, now we're on s3 so we won't have to gc until the sun burns up our credit card
<{^_^}> [nixpkgs] @bennofs closed pull request #77978 → python: fix buildEnv passthru when using .override → https://git.io/Jvk3f
<o1lo01ol1o> clever++
<{^_^}> clever's karma got increased to 311
<DigitalKiwi> clever: is there a way to make gist private gist by default
<DigitalKiwi> clever: that's the #1 reason i don't use it
<DigitalKiwi> i mean i could alias it but
<clever> DigitalKiwi: not that i know of, but ive never had an accident with it, i just always `gist -p`
<DigitalKiwi> alias grep='$(which grep) -i'
<clever> DigitalKiwi: i feel like an alias may lead to more accidents, when you run it on a machine without the alias
<DigitalKiwi> so that but for gist -p
<DigitalKiwi> i use the same .bashrc everywhere i'd use gist which is honestly only one one computer anyway :P
<DigitalKiwi> oh and yes i have an alias for grep without the -i too ;)
mDuff has quit [Ping timeout: 260 seconds]
dongcarl has quit [Quit: The Lounge - https://thelounge.chat]
acarrico has quit [Ping timeout: 240 seconds]
euandreh has quit [Ping timeout: 272 seconds]
<DigitalKiwi> i should make a function that rsyns my .bashrc to all of the places it is!
<o1lo01ol1o> clever: I have another question: the logs are now at `s3://foo/log/hash`; Is there a config I set somewhere to tell hydra where to get them from? otherwise no one can see the logs without having read access on the s3 bucket
<clever> o1lo01ol1o: hydra should still be generating links to those, and the bucket privs should be setup to allow reading any file
<manveru> anyone here want to merge https://github.com/NixOS/nixpkgs/pull/75545 ?
<{^_^}> #75545 (by KimBurgess, 5 weeks ago, open): crystal: 0.31.1 -> 0.32.0
<clever> o1lo01ol1o: for the iohk hydra, ive got everything going almost directly from s3
<manveru> oh, nevermind, just saw there's a 0.32.1 release already :P
<o1lo01ol1o> clever: right, ok. Is there a way to have hydra use `s3::/foo?profile=foo` to obtain the logs? I know that read witout list rights mean it's unlikely anyone will be able to generate a file hash but stil . . .
<scheming_around> If "attr" is an attribute set, what does "attr ? ..." mean?
<scheming_around> I'm trying to make ex7 true in https://nixcloud.io/tour/?id=15
<clever> o1lo01ol1o: you could just put s3:// into the prefix option i linked, but then you rely on the end-user being able to load s3:// url's in a browser
pbb has joined #nixos
realrokka has joined #nixos
<symphorien> scheming_around: it is a boolean indicating whether attr has a attribute with this name iirc
<{^_^}> [nixpkgs] @Ma27 opened pull request #77985 → gcc: remove versions 4.9 and 5 → https://git.io/JvkWo
<{^_^}> [nixpkgs] @nh2 merged pull request #77186 → poppler: 0.83.0 -> 0.84.0 → https://git.io/JejNE
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to staging: https://git.io/JvkW6
drgbr has quit [Ping timeout: 260 seconds]
joepie91 has quit [Ping timeout: 272 seconds]
f0x has quit [Ping timeout: 272 seconds]
drgbr has joined #nixos
<o1lo01ol1o> clever: right, ok.
<o1lo01ol1o> clever++
<{^_^}> clever's karma got increased to 312
<noonien> when was the first release of nixos?
ixxie has quit [Ping timeout: 268 seconds]
<noonien> (not nix, nixos)
drakonis has joined #nixos
drakonis has quit [Client Quit]
<DigitalKiwi> is there a way to remove failed bash commands from history ;_;
<DigitalKiwi> or i guess, not add
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Emantor> DigitalKiwi: use a space before the command to not include it in the history. Delete lines directly from the history file to remove them.
symphorien has quit [Remote host closed the connection]
mexisme_ has joined #nixos
sn3rd has joined #nixos
symphorien has joined #nixos
mexisme_ has quit [Ping timeout: 272 seconds]
<DigitalKiwi> is there a setting to make bash history sync right away instead of after i close the terminal
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5088ef5a19c (from 72 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @ggreif opened pull request #77986 → ghc: 8.8.2-rc1 -> 8.8.2 → https://git.io/Jvklu
Mrmaxmeier has joined #nixos
<DigitalKiwi> i suppose i could do a web search
ixxie has joined #nixos
<myskran> DigitalKiwi: IIRC you can do it by putting `history -a` in your prompt or something
<myskran> I don't recall whether that also depends on any of the history settings you can set with shopt
dominikh has joined #nixos
<myskran> FWIW, I would guess your other question about removing failed commands *can* have a similar answer, but it could be a little annoying if not implemented well
<myskran> you could check whether the previous command failed and then use `history -d` to remove it from your history list, but then you can't use the up arrow (or any other history-navigation keybind) to call up the text of the failed command to fix it
<myskran> so from an experience standpoint what you'd probably want is to keep failed commands in your history list, but avoid saving them to (or retroactively filter them out of) your history *file*
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/Jvk8G
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-19.09: https://git.io/Jvk8c
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
<DigitalKiwi> maybe if it saved a comment of the return status then at least i'd know
<myskran> yeah
<myskran> there are some history projects out there where people try to capture more information including status, but I don't know the details of each well enough to know if it does what you want by default or configurably
<DigitalKiwi> i use fzf idk if that'd be relevant
<myskran> you could accomplish it by taking over the process of loading and writing
<myskran> so you could clear the HISTFILE, and in your rc explicitly load history from a file that you write to
<myskran> and then, also take over the work of writing commands to it--but only successful ones
<myskran> so errored commands would stay in history
<myskran> er, in history's working/memory list
<DigitalKiwi> that sounds like a lot of work
<myskran> solving the issue of fixing the last command, and compromising on the chance of re-running bad commands by not having ones from previous sessions
<DigitalKiwi> i don't actually care if a bad command is in my immediate history i don't have that much short term memory loss usually so maybe just w/e method can get rid of the bad ones
<myskran> yeah
<DigitalKiwi> sometimes i just put them in an alias i should be better about that
<DigitalKiwi> or i have a help alias that tells me what commands i want
<myskran> grin
<myskran> I know hstr is fairly popular, ti might be worth lookiinig into whether ti has the features you want
<DigitalKiwi> function nixhs-tip-adhoc() { echo 'nix-shell -p "haskellPackages.ghcWithPackages (pkgs: with pkgs; [mtl pandoc])"'; }
<myskran> but history si a little odd because it's shell builtin behhavior
<myskran> so "replacinig" history often means, "use an external command to browse your history"
<myskran> yeah
<DigitalKiwi> i have commands that append a text to my .bashrc to so it's easy heh
<DigitalKiwi> too
<myskran> I've been slowly picking on my own history system with the idea that at some point I'd like to be able to roughly bookmark and annotate old commands
<DigitalKiwi> i know grammar i just don't know typing!
delli3_ has joined #nixos
<DigitalKiwi> and apparently need an alias for rsyn=rsync
<myskran> but I only have it up to the point where it's collecting commands in a database
<myskran> ah yeah
<DigitalKiwi> i keep a lot of notes
<clever> > pkgs.sl.meta.description
<{^_^}> "Steam Locomotive runs across your terminal when you type 'sl'"
<clever> for when you mistype ls :P
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
dellie__ has quit [Ping timeout: 245 seconds]
infinisil has joined #nixos
<DigitalKiwi> i usually type alias lsa='$(which ls) -a --color=auto'
<DigitalKiwi> have never typed sl
<myskran> if you used a drop-in system of some sort that databases history and tracks whether the commands succeeded, you can also run a command on start-up to synthesize a history file for bash that only has successful commands
<myskran> but that has some impact on startup time
<myskran> which may or may not matter for you
<DigitalKiwi> i'll just write good code
<myskran> i guess another thing you can do is
<myskran> if you are wanting to clear mostly mistypes that happen freqeuntly
<DigitalKiwi> also i use emacs i don't care that much :P
shibboleth has joined #nixos
<DigitalKiwi> well, sometimes, mostly vim
<myskran> (apologies for my own typos; it's this macbook keyboard I haven't had timie to get serviced...)
<DigitalKiwi> a good programmer blames their tools i think that's what they say
<myskran> bt you can ues the 'HISTIGNORE' env to declare a pattern for commandns that won't go in the list
delli3 has joined #nixos
dongcarl has joined #nixos
<myskran> I've jusut runu outu of emotional energy to fix the errors unless it's critical commuunicatoin; easier to apologize for it :)
<myskran> so if that's what you're hoping to exclude, you can usue it to knock a lot of the usual bad ones out of the list (and also common commands that you never actually navigate back to run)
<myskran> you could also make a lititle alias to nuke the last history item from the list, and exclude that alias itself with HISTIGNORE
delli3 has quit [Max SendQ exceeded]
delli3_ has quit [Ping timeout: 260 seconds]
delli3 has joined #nixos
chagra_ has quit [Ping timeout: 260 seconds]
mallox has joined #nixos
sn3rd has quit [Remote host closed the connection]
sn3rd has joined #nixos
<shyim> Can i rebuild my nix-store? I got broke it
chagra_ has joined #nixos
fusion809 has quit [Remote host closed the connection]
<shyim> nvm got solved by nix-collect-garbage -d
NinjaTrappeur has quit [Quit: WeeChat 2.7]
NinjaTrappeur has joined #nixos
dongcarl has quit [Quit: The Lounge - https://thelounge.chat]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #77977 → pythonPackages.sysv_ipc: init at 1.0.1 → https://git.io/JvkOF
<{^_^}> [nixpkgs] @jonringer pushed commit from @risicle to master « pythonPackages.sysv_ipc: init at 1.0.1 »: https://git.io/Jvk4f
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @fgaz opened pull request #77987 → ikiwiki: 3.20170111 -> 3.20190228 → https://git.io/Jvk4L
supermathieu has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
growpotkin has joined #nixos
o1lo01ol1o has joined #nixos
<supermathieu> Howdy, I got a packaging question that I am not sure how to fix the "right" way. The source is packaged as a deb file, I am using autoPatchelfHook to know the dependencies. I have most of the dependencies met, but I have this issue. The package depends on libelf.so.1 however, nixos provides libelf.so.0.8.13. Now, I was tempted to simply create a symbolic link, but I was wondering, what would be a better approach?
sn3rd has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
chagra_ has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
dongcarl has joined #nixos
Shouou has joined #nixos
dongcarl has quit [Quit: The Lounge - https://thelounge.chat]
<symphorien> in theory, if it does not have the same name, it's not compatible
<symphorien> you should package the right version of libelf.
<symphorien> Note that depending on the package, if the source is available, building from source might be easier.
<supermathieu> symphorien: I agree, but it seems to be some kind of "ubuntu convention" To always have a .so.1
dongcarl has joined #nixos
<symphorien> ah, I didn't know
doyougnu has joined #nixos
remirol is now known as lorimer
<supermathieu> symphorien: Anyway, I stuck with the symbolic link, I got further and found another issue :D
<dongcarl> Hi everyone! I'm quite confused by how node packages like thelounge is updated in nixos
<dongcarl> there seems to be no... package nix file to be found... Only metions in `pkgs/development/node-packages/default-v10.nix`
chagra_ has joined #nixos
<{^_^}> [nixpkgs] @lblasc opened pull request #77989 → llvm_3.5 removal → https://git.io/Jvk4z
ixxie has quit [Ping timeout: 240 seconds]
drakonis has quit [Ping timeout: 272 seconds]
cosimone_ has quit [Quit: Terminated!]
drakonis has joined #nixos
delli3_ has joined #nixos
mexisme_ has joined #nixos
delli3 has quit [Ping timeout: 245 seconds]
<Raito_Bezarius> if you do a Ctrl+F on "thelounge", you'll find the path you wish for I think
<dongcarl> Right, but that's the service, not the package
<dongcarl> I want to upgrade the package...
<Raito_Bezarius> just do a Ctrl+F on "thelounge" again
<Raito_Bezarius> but you can see it has been generated from node2nix
<dongcarl> Hmmm... Is there a way I can _just_ regenerate thelounge?
knupfer has joined #nixos
<Raito_Bezarius> well what do you define thelounge?
mexisme_ has quit [Ping timeout: 245 seconds]
<Raito_Bezarius> its dependencies?
<Raito_Bezarius> i guess the only way is to do create a tmp.json, put thelounge in, do a node2nix on it, and try to merge the .nix expressions
<dongcarl> Raito_Bezarius: Ah I see, yeah I guess that makes sense
<Raito_Bezarius> I don't know if there is a better way though
<dongcarl> Just didn't wanna generate a huge diff and burden reviewers
<Raito_Bezarius> It looks a bit suboptimal, but we can suppose .nix expr are stable sorted
yobj has quit [Remote host closed the connection]
<Raito_Bezarius> (at least automatically generated ones)
<dongcarl> true, thanks for your help!
<evanjs> Alright guys, totally unsure if it's a nix thing, but what can I provide to help diagnose my touchpad issue? Currently:
<Raito_Bezarius> so theorically, the diff should be fine if it's done ~well
<evanjs> gdm-x-session[12671]: (EE) xf86OpenSerial: Cannot open device /dev/input/event11 and "mtrack: cannot open device"
<evanjs> Adding myself to inputs gets touchpad working, but it feels really "off", e.g. different acceleration, scrolling speed, etc
<evanjs> guess I could do gdm debug to start
malSet has joined #nixos
yobj has joined #nixos
o1lo01ol1o has joined #nixos
wildtrees has joined #nixos
delli3 has joined #nixos
wildtrees has quit [Max SendQ exceeded]
o1lo01ol1o has quit [Remote host closed the connection]
<evanjs> okay... turn on gdm debug... the message disappears from journal... what
Shouou has quit [Ping timeout: 265 seconds]
delli3_ has quit [Ping timeout: 245 seconds]
drakonis has quit [Quit: WeeChat 2.6]
<evanjs> and evtest shows that it's getting input just fine. Current stack is nixos 20.03 on GDM+xmonad (none)
hoobershaggus has quit [Remote host closed the connection]
doyougnu has quit [Ping timeout: 260 seconds]
<evanjs> and a raw startx + xterm session seems to have a cursor but wont let me move it, either
<evanjs> would file an issue, just unsure if it's something dumb I'm doing :D
dontMindMeImJust has joined #nixos
delli3 has quit [Ping timeout: 260 seconds]
supermathieu has quit [Quit: Leaving]
delli3 has joined #nixos
wildtrees has joined #nixos
dansho has joined #nixos
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5b9eee22acf (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
dm9 has quit [Quit: WeeChat 2.7]
<evanjs> I think I have confirmed it's somewhere on the X side. Partly due to the errors I'm seeing, as well as the fact that gpm seems to work fine from a tty
opthomasprime has quit [Ping timeout: 240 seconds]
opthomasprime has joined #nixos
chagra_ has quit [Ping timeout: 265 seconds]
knupfer has quit [Remote host closed the connection]
rogue_koder_ has joined #nixos
kleisli has joined #nixos
o1lo01ol1o has joined #nixos
delli3_ has joined #nixos
Ralith_ has quit [Remote host closed the connection]
delli3 has quit [Ping timeout: 260 seconds]
chagra_ has joined #nixos
<chloekek> When a stdenv derivation defines outputs = ["out" "dev"]; how can I build the dev one with nix-build?
<chloekek> nix-build prints the path to the out output.
cosimone has joined #nixos
<chloekek> Ah, .dev is what I need: pkgs.libsodium.dev.
<dontMindMeImJust> nix-build -A dev I believe
o1lo01ol1o has quit [Remote host closed the connection]
UndefinedIsNotAF has joined #nixos
zeta_0 has joined #nixos
o1lo01ol1o has joined #nixos
bogdb has joined #nixos
ixxie has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
mexisme_ has joined #nixos
o1lo01ol1o has joined #nixos
dongcarl has quit [Quit: The Lounge - https://thelounge.chat]
gustavderdrache has quit [Quit: Leaving.]
f0x has joined #nixos
mexisme_ has quit [Ping timeout: 260 seconds]
gkmngrgn has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bbuscarino opened pull request #77990 → jetbrains-mono: init at 1.0.0 → https://git.io/JvkBK
joepie91 has joined #nixos
sn3rd has joined #nixos
<{^_^}> [nixpkgs] @bbuscarino closed pull request #77990 → jetbrains-mono: init at 1.0.0 → https://git.io/JvkBK
erictapen has quit [Ping timeout: 268 seconds]
cosimone has quit [Quit: Quit.]
opthomasprime has left #nixos [#nixos]
cosimone has joined #nixos
snajpa has left #nixos [#nixos]
Shouou has joined #nixos
Shououo has joined #nixos
snajpa has joined #nixos
wildtrees has joined #nixos
snajpa has left #nixos [#nixos]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #77690 → way-cooler: Remove → https://git.io/JvJNy
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvkBP
Shouou has quit [Client Quit]
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
acarrico has joined #nixos
<jeaye> Every time I start a nix shell, I see `bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)`. Any quick fix for that?
szicari has quit [Ping timeout: 272 seconds]
<wnklmnn[m]> Hi, I noticed that when I run "nix-env --upgrade" the program nearly consumes 1.6gb of RAM is this behaviour to be expected?
szicari has joined #nixos
dongcarl has joined #nixos
chagra_ has quit [Quit: WeeChat 2.6]
zupo has joined #nixos
chagra has joined #nixos
<tilpner> ,declarative
<{^_^}> There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
<{^_^}> [nixpkgs] @marsam merged pull request #77976 → nebula: 1.0.0 -> 1.1.0 → https://git.io/JvkOO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvkBA
<tilpner> Just a guess, but I suspect that would slightly improve memory usage
<{^_^}> [nixpkgs] @marsam merged pull request #77958 → pypi2nix: 2.0.2 -> 2.0.3 → https://git.io/JvTAv
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvkBx
dongcarl has quit [Quit: The Lounge - https://thelounge.chat]
mexisme_ has joined #nixos
mac10688 has joined #nixos
<wnklmnn[m]> tilpner so its usual that it uses that much memory. I just wasn't sure if I did something unusual
<{^_^}> [nixpkgs] @marsam opened pull request #77991 → pypy: fix build on darwin → https://git.io/JvkRm
gwen has joined #nixos
Makaveli7 has joined #nixos
isHavvy has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
cosimone has quit [Quit: Quit.]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
snicket has joined #nixos
chloekek has quit [Ping timeout: 265 seconds]
<Raito_Bezarius> I have some pkg which does IFD and it seems like the resulting package after IFD is never cached, is it expected?
<Raito_Bezarius> in particular, I do some node2nix fixed output derivation which *might* use network but I always know the resulting hash, then it produces the usual node package and I pass it as the final derivation
<Raito_Bezarius> But the usual node package is never cached and the nix-diff tells me that my runCommand node2nix is changing
<Raito_Bezarius> But the node2nix is always cached
<Raito_Bezarius> "the set of input sources do not match"
<Raito_Bezarius> FWIW, http://ix.io/27M3 here is my "dynamic node2nix" (this version is w/o fixed output derivation for testing purpose, but I suppose it should be the same basically, ?)
Guest85327 has joined #nixos
<Guest85327> hi all, I installed nixos on a new machine yesterday (having used it for a couple of years) and I'm running into a weird problem I've never had before
<Guest85327> the path is completely screwed up in the x session
<Guest85327> bash isn't on the path, so direnv throws out an error, and lots of things don't work
<Guest85327> everything works perfectly in a tty however
<Guest85327> I start a none+bspwm session via sddm
<Guest85327> anybody have any suggestions about how to debug? it's driving me absolutely crazy
<worldofpeace> Guest85327: 19.09?
<Guest85327> unstable
<Guest85327> i already tried switching to lightdm, with the same result
snicket has left #nixos ["WeeChat 2.6"]
<worldofpeace> Guest85327: "bash isn't on the path, so direnv throws out an error, and lots of things don't work" What terminal are you using? And what's the output of `printenv PATH`
<Guest85327> I use zsh; I set it as my default shell via the system configuration
gkmngrgn has quit [Ping timeout: 268 seconds]
<Guest85327> as for printenv PATH...printenv isn't on the path now -_-
<Guest85327> hang on a sec
<worldofpeace> Guest85327: can you paste that config somewhere for your shell?
<infinisil> Guest85327: echo $PATH should do to
<infinisil> o
<Guest85327> yeah it looks wrong
<Guest85327> /home/patrl/.nix-profile/bin:/home/patrl/.emacs.d/bin:/home/patrl/.config/zsh/plugins/pure
<Guest85327> there's no bash in ~/.nix-profile/bin so that explains that
<Guest85327> in a tty user session everything looks normal however
sn3rd has quit [Ping timeout: 260 seconds]
<worldofpeace> ??? wow
<Guest85327> yeah I'm completely baffled
<{^_^}> [nixpkgs] @schmittlauch opened pull request #77992 → michabo: mark as broken as it's abandoned by upstream → https://git.io/JvkR6
<Guest85327> one relevant thing is that I'm using home-manager
<Guest85327> not sure if that could be playing a role
<Guest85327> otherwise there's nothing very exotic in my setup
<Guest85327> and it was working perfectly until a random unrelated rebuild :-/
puck has quit [Quit: nya]
<worldofpeace> Guest85327: From what nixpkgs rev did you upgrade too?
sn3rd has joined #nixos
<Guest85327> 19.09
<infinisil> Guest85327: What's `echo $__NIXOS_SET_ENVIRONMENT_DONE`?
<worldofpeace> infinisil: ++ to that one
<infinisil> Usually login shells source /etc/profile, which where all variables should be set
<Guest85327> that doesn't return anything
<infinisil> Then I believe your shell might not be started as a login shell
<Guest85327> it returns 1 in a tty however
cosimone has joined #nixos
<Guest85327> I see
<{^_^}> [nixpkgs] @ericnorris opened pull request #77993 → rpm: fix helper script paths → https://git.io/JvkRX
<Guest85327> yes /etc/profile looks normal, and is clearly getting sourced in a tty
dongcarl has joined #nixos
<Guest85327> i'll try installing a de (xfce) and see if /etc/profile gets sourced
<Guest85327> could this be due to something I've inadvertantly screwed up?
domogled has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
wildtrees has joined #nixos
<infinisil> Guest85327: No idea, can you post your nixos config? Maybe there's some clues there
puck has joined #nixos
<Guest85327> sure thing
o1lo01ol1o has joined #nixos
<Guest85327> wolfe-configuration.nix gets softlinked to configuration.nix, wolfe-home.nix to ~/.conig/nixpkgs/home.nix (for home-manager)
dongcarl has quit [Quit: The Lounge - https://thelounge.chat]
<Guest85327> I guess it's the xserver section that is relevant, but I don't see anything non standard there
<infinisil> Guest85327: Oh: users.defaultUserShell = "/run/current-system/sw/bin/zsh";
<infinisil> Hmm..
<infinisil> Guest85327: Yeah you should do `programs.zsh.enable`
<infinisil> In addition to that
<infinisil> I kind of assumed you had that option enabled already
<Guest85327> I have programs.zsh.enable in my home.nix
<Guest85327> so I should have it in the system config too?
o1lo01ol1o has quit [Ping timeout: 265 seconds]
gkmngrgn has joined #nixos
<infinisil> Which is why your $HOME paths are available
<Guest85327> I'll try it
<infinisil> But the system ones aren't sourced by home-manager
<Guest85327> I see
<Guest85327> strange that it worked through several rebuilds :-/
<worldofpeace> Checked my zsh config and I have the same thing going on as infinisil mentioned Guest85327
<infinisil> I feel that was just an unintentional feature
<infinisil> That it worked before
<Guest85327> yeah seems like a weird interaction between home-manager and nixos
<Guest85327> well, thank you sharp-eyed stranger :)
<Guest85327> not sure I would've spotted that
<Guest85327> I only started using home-manager this time round, so still feeling out the right way of dividing up the system and user-level config
Guest85327 has quit [Quit: WeeChat 2.7]
domogled has quit [Ping timeout: 258 seconds]
patrl1 has joined #nixos
dontMindMeImJust has quit [Quit: leaving]
ambro718 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @ldesgoui opened pull request #77994 → chatterino2: use wrapQtAppsHook, unstable-2019-05-11 -> v2.1.7, adopt as maintainer → https://git.io/Jvk0e
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5b9eee22acf (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
snicket has joined #nixos
snicket has left #nixos [#nixos]
Makaveli7 has quit [Quit: WeeChat 2.7]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patrl1 has quit [Quit: WeeChat 2.7]
dongcarl has joined #nixos
dongcarl has quit [Client Quit]
mexisme_ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #76855 → zoneminder: Fix installation location for cgi-bin → https://git.io/Jex95
<{^_^}> [nixpkgs] @veprbl pushed commit from @danielfullmer to master « zoneminder: Fix installation location for cgi-bin (#76855) »: https://git.io/Jvk0l
mallox has quit [Quit: Leaving]
ixxie has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos
<tilpner> wnklmnn[m]: Not necessarily, it depends on what you use Nix for. I'm not intimately familiar with how nix-env --update works, but I vaguely remember it doing name-based matches for upgrades, which would mean it has similar performance properties as the nix-env search and installation without -A have
<tilpner> wnklmnn[m]: That's why I linked ,declarative, those approaches could replace the usage of --update, and thus avoid the performance problems it might have
<noonien> how can one uninstall all packages installed with nix-env?
zupo has joined #nixos
cosimone has quit [Quit: Quit.]
<tilpner> noonien: nix-env -e \*
sn3rd has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @ljli opened pull request #77996 → libguestfs: fix perl commands → https://git.io/JvkEJ
__monty__ has quit [Quit: leaving]
cosimone has joined #nixos
drakonis has quit [Ping timeout: 272 seconds]
Rusty1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JvkER
<{^_^}> [nixpkgs] @mmahut merged pull request #77974 → rage: init at 0.2.0 → https://git.io/JvkYb
zarel_ has quit [Quit: ZNC 1.7.4 - https://znc.in]
zarel has joined #nixos
gwen has quit [Quit: Leaving]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dongcarl has joined #nixos
dongcarl has quit [Client Quit]
<noonien> thank you
dongcarl has joined #nixos
<NoctisLabs> I added `users.users.*.shell = with pkgs; bash_5;` to my config and when I run "bash --version" I'm getting Bash 4 still, how do I force Bash 5?
delli3_ has quit [Ping timeout: 260 seconds]
gentauro has quit [Quit: leaving]
delli3 has joined #nixos
delli3 has quit [Max SendQ exceeded]
gentauro has joined #nixos
<wildtrees> NoctisLabs, have you reloaded your config yet?
myskran has quit [Quit: myskran]
<{^_^}> [nixpkgs] @zowoq opened pull request #77997 → fuse-overlayfs: 0.7.4 -> 0.7.5 → https://git.io/JvkuK
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<NoctisLabs> Yup
<tilpner> NoctisLabs: Have you logged in since?
hpfr has joined #nixos
dongcarl has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ffcfb80781f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
dongcarl has joined #nixos
sameerynho has joined #nixos
<mkg20001> anyone got an idea why aarch64 builds fail in this PR?
<{^_^}> #76321 (by mkg20001, 3 weeks ago, open): qpaeq: init at 13.0
<sameerynho> hey folks, is it possible to use nix, stand alone as a package manager for a software ? I want to see if i can use it for my emacs bundle as a package manager
rleppink` has joined #nixos
johnw has joined #nixos
<jackdk> what do you mean be "stand alone"? Many people use it alongside an arch/ubuntu/fedora/macOS/... install
zeta_0 has joined #nixos
<sameerynho> jackdk: cool, i mean isolated from anyother thing
<sameerynho> jackdk: i want to use it as a package manager for my Emacs bundle which installs internal and external dependencies and does not conflict with other package manager.
<sameerynho> also user should not need any permissions
<{^_^}> [nixpkgs] @primeos merged pull request #77453 → tdesktop: 1.8.15 -> 1.9.3 → https://git.io/Jvvba
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JvkzH
<{^_^}> [nixpkgs] @flokli opened pull request #77998 → e2fsprogs: 1.45.3 -> 1.45.4 → https://git.io/Jvkzp
ixxie has joined #nixos
<DigitalKiwi> mkg20001: did you see https://logs.nix.ci/?key=nixos/nixpkgs.76321&attempt_id=e6afa516-e77f-4f9f-9f45-c79d8c236c54
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<mkg20001> <DigitalKiwi "mkg20001: did you see https://lo"> yes, but I don't see how it relates to the changes in the PR. or did I miss something?
<DigitalKiwi> maybe it was failing before the PR?
<mkg20001> <DigitalKiwi "maybe it was failing before the "> could be. anything I can do about it? or can the PR just be merged with the error?
<DigitalKiwi> if it's possible to fix whatever is failing you could fix it
<{^_^}> [nixpkgs] @MarcFontaine opened pull request #77999 → Cross nixos aarch64 2018 08 05 → https://git.io/Jvkgk
alexherbo20 has joined #nixos
alex`` has quit [Ping timeout: 258 seconds]
alexherbo2 has quit [Ping timeout: 258 seconds]
alexherbo20 is now known as alexherbo2
aveltras has quit [Quit: Connection closed for inactivity]
<mkg20001> <DigitalKiwi "if it's possible to fix whatever"> I tried rebasing staging twice now, always seems to fail
<{^_^}> [nixpkgs] @zowoq opened pull request #78000 → dive: 0.9.0 -> 0.9.1 → https://git.io/Jvkgn
alex`` has joined #nixos
<DigitalKiwi> you could make it only build/be supported on x86_64
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
<mkg20001> <DigitalKiwi "you could make it only build/be "> builder for '/nix/store/8mjdc8hz505aafygfv2v47qnhpdx1lpy-libinput-1.15.0.tar.xz.drv' failed with exit code 1
<mkg20001> just need to restart the build then I guess
<mkg20001> how do I do that?
<DigitalKiwi> i'm not sure i think someone can trigger the bot for you
<DigitalKiwi> i might even be on the list that could if i knew how >.>
Shououo has quit [Quit: Leaving]
<HedgeMage> Grr... Is there a good NixOS cheatsheet somewhere? I'm finding a bunch of things I commonly forget, coming from Gentoo, such as in this case the command to see what software was installed with "nix-env -iA $whatever" when I was testing things out so I can clean up and include some in my config while removing ones that shouldn't still be installed.
<HedgeMage> Thanks, ajs124
Robin has joined #nixos
mexisme_ has joined #nixos
kraem has quit [Quit: outta here]
<jackdk> sameerynho: should be able to do that. I cribbed off https://matthewbauer.us/bauer/ when setting my emacs up, and the result is at https://git.sr.ht/~jack/nix-overlay/tree/master/jack-emacs
mexisme_ has quit [Ping timeout: 260 seconds]
<adisbladis> sameerynho: It sounds like you're simply looking for emacsWithPackages
Robin has quit [Quit: Leaving]
<sameerynho> adisbladis, jackdk thanks folks
o1lo01ol1o has joined #nixos
<adisbladis> sameerynho: Also if you want more up to date emacs packages https://github.com/nix-community/emacs-overlay
<sameerynho> adisbladis: i can't find official page for emacsWithPackages
<hpfr[m]> Getting 522 timeout at http://repo.steampowered.com/steam/pool/steam/ while trying to upgrade, anything I can do
<sameerynho> adisbladis: cheers
<{^_^}> [nixpkgs] @marsam merged pull request #78000 → dive: 0.9.0 -> 0.9.1 → https://git.io/Jvkgn
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvkgS
gustavderdrache has joined #nixos
<jackdk> hpfr[m]: make a cup of tea? 5xx are server errors and that's on steam's end?
<adisbladis> A cupper sounds like the solution in this case :)
<hpfr[m]> jackdk: yeah I know, I was hoping there was a mirror or something
<hpfr[m]> I’ve had problems with repo.steampowered.com in the past as well so I figured I’d ask
<hpfr[m]> Sounds good
<{^_^}> [nixpkgs] @zowoq opened pull request #78001 → amass: 3.0.25 -> 3.4.2 → https://git.io/JvkgQ