sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || 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/nixcon2018
andymandias has quit [Quit: ZNC 1.7.2 - https://znc.in]
andymandias has joined #nixos
buffet_ has joined #nixos
buffet has quit [Ping timeout: 246 seconds]
jgt has joined #nixos
<{^_^}> [nixpkgs] @kquick closed pull request #30632 → multicompiler: add multicompiler package → https://git.io/vdbos
jgt has quit [Ping timeout: 258 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
anton_ has quit [Quit: No Ping reply in 180 seconds.]
anton_ has joined #nixos
polman has joined #nixos
ottidmes has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj8VO
anton_ has quit [Client Quit]
anton_ has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f9f3d6b210f (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
sudoforge has joined #nixos
<sudoforge> is 'running udev...' expected to take over 5 minutes when booting the iso in virtualbox?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61692 → Backport vscode haskell extensions to 19.03 → https://git.io/fj8Ve
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-19.03: https://git.io/fj8V3
<sudoforge> not quite sure how to debug that \_('',)_/
dansho has quit [Read error: Connection reset by peer]
jluttine has quit [Ping timeout: 258 seconds]
dansho has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61576 → Gnome/3.32.2 → https://git.io/fjlip
<{^_^}> [nixpkgs] @worldofpeace pushed 26 commits to master: https://git.io/fj8VZ
freeman42x has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61577 → libsoup: 2.66.1 -> 2.66.2 → https://git.io/fjlPk
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fj8Vc
dansho has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fj8VC
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61573 → librsvg: 2.44.13 -> 2.44.14 → https://git.io/fjli4
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to staging-next: https://git.io/fj8Vl
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61598 → gtk-doc: build with meson, etc → https://git.io/fjlxf
polman has quit [Excess Flood]
acarrico has quit [Ping timeout: 252 seconds]
ddellacosta has quit [Ping timeout: 246 seconds]
Ariakenom has quit [Quit: Leaving]
ddellacosta has joined #nixos
tbenst__ has joined #nixos
tbenst_ has quit [Read error: Connection reset by peer]
wfranzini has quit [Remote host closed the connection]
jluttine has joined #nixos
wfranzini has joined #nixos
_ris has quit [Ping timeout: 252 seconds]
lovesegfault has quit [Quit: WeeChat 2.4]
Guest34 has joined #nixos
lovesegfault has joined #nixos
acarrico has joined #nixos
<ekleog> Has anyone already seen a collision error with `python.withPackages`? (I'm having one with a file in /bin)
alp has quit [Remote host closed the connection]
Matthieu` has joined #nixos
InFlames has joined #nixos
<sudoforge> 15 minutes on and still 'running udev...' in virtualbox. not a great first impression, nixos :|
Matthieu_ has quit [Ping timeout: 246 seconds]
jgt has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #61693 → brakeman: 4.5.0 -> 4.5.1 → https://git.io/fj8Vg
jgt has quit [Ping timeout: 259 seconds]
qubasa_ has joined #nixos
InFlames has quit [Ping timeout: 252 seconds]
Matthieu` has quit [Ping timeout: 252 seconds]
InFlames has joined #nixos
fusion809 has quit [Remote host closed the connection]
<worldofpeace> files starting with a `.` aren't allowed in the nix store right?
Qubasa has quit [Ping timeout: 255 seconds]
<samueldr> in the store, yes, but as `name`, I'm not sure
<samueldr> see how wrappers rename to .foo-wrapped
ddellacosta has quit [Ping timeout: 246 seconds]
<worldofpeace> Currently I'm fetching a source archive for a build and it has a file named with a "." that's missing. so only fixed output stuff?
silver has quit [Read error: Connection reset by peer]
<clever> worldofpeace: the default name of the derivation is based on the filename of the thing your downloading
<clever> worldofpeace: but you can add a name= to the fetchurl call to change it
Guest34 has quit [Ping timeout: 258 seconds]
acarrico has quit [Ping timeout: 255 seconds]
<worldofpeace> thanks clever turns out something weirder was going on, not related to nix
polman has joined #nixos
<aanderse> need opinion
<aanderse> packaging a game
<aanderse> the game comes as 2 packages generally
<aanderse> a game engine which includes the executable itself, and then the art+content package
<aanderse> upstream suggests installing both into the same directory
<aanderse> i'm thinking package the engine, then symlinkJoin the art+content derivation in with the engine
<aanderse> is there a naming scheme i should use?
dftxbs3e has quit [Ping timeout: 250 seconds]
JustAnotherNixUs has quit [Quit: Page closed]
jgt has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @jb55 opened pull request #61695 → xinetd: exec xinetd on launch → https://git.io/fj8VM
fusion809 has joined #nixos
InFlames has quit [Ping timeout: 258 seconds]
drakonis1 has quit [Ping timeout: 258 seconds]
polman has quit [Excess Flood]
o1lo01ol1o has joined #nixos
esmerelda has quit [Ping timeout: 246 seconds]
work_ has quit [Quit: Connection closed for inactivity]
drakonis1 has joined #nixos
greenerworld has joined #nixos
<greenerworld> hello everyone, new nixos user here
esmerelda has joined #nixos
<greenerworld> so I'm a software developer and I use jetbrains products for my work everyday
<greenerworld> is there a way to make plugin install and other options reproducible?
<greenerworld> mainly webstorm, pycharm, golang
<slack1256> you can make reproducible environments for python, golang, javascript but I am not sure you can make it from a jetbrains(?) product
<slack1256> the cli (nix-build, nix-env, nix-shell) are your friends!
<greenerworld> what I meant was this; when I install from scratch with config file
<greenerworld> let's say I want prettier plugin in webstorm to be installed with it
<greenerworld> or my keymap's
alexherbo23 has joined #nixos
alexherbo2 is now known as Guest22637
Guest22637 has quit [Killed (card.freenode.net (Nickname regained by services))]
alexherbo23 is now known as alexherbo2
<greenerworld> btw, mitbitt irc client provided in graphical installation iso is banned from freenode
<samueldr> hm? mibitt is not referrenced in nixpkgs, where do you see that?
<greenerworld> irc://irc.freenode.net/nixos
<greenerworld> when I click the following irc links, firefox suggests opening with mitbitt
<samueldr> that's the irc url scheme, but any irc client could use it... though yeah, was about to say, maybe firefox suggests it :/
<samueldr> yeah, seeing that from my end on an install
<samueldr> that's an annoyance :(
<greenerworld> +1
<bohan> i'm at lost.. isn't matrix supposed to be linked with irc?
<samueldr> there is a matrix-only channel, and one linked with the irc channel, AFAIK
<bohan> oh, i didn't pay attention to that
<bohan> dman, and i thought matrix was irc-friendly
<bohan> having matrix channels not relayed to irc ain't friendly
<drakonis> oh mibbit?
bohan[m] has joined #nixos
<samueldr> not sure I follow
drakonis_ has joined #nixos
drakonis_ has quit [Client Quit]
<samueldr> there is the linked channel, not sure the right matrix nomenclature
<samueldr> and in addition to it, there is another independent nixos channel
<drakonis> that's a thing firefox still does for some reason?
<drakonis> there's another one, what?
<bohan[m]> Now i'm on the right matrix channel
<bohan[m]> And gonna quit the useless one that's not linked to IRC
lovesegfault has quit [Ping timeout: 252 seconds]
lovesegfault has joined #nixos
<drakonis> greenerworld: this is firefox's fault
<drakonis> its entirely their fault for linking to mibbit
<bohan> miss the golden age where moz had a native irc client
drakonis has quit [Ping timeout: 248 seconds]
jgt has joined #nixos
<slack1256> thunderbird still has an irc client, that is still moz right?
<worldofpeace> aanderse: what does the art and content package do? like extras?
<worldofpeace> aanderse: and a lot of games packages appear to use `buildEnv`
<aanderse> worldofpeace: not extra, actually required to play the game
<aanderse> the engine itself is not a game, just an engine with little content
Supersonic has quit [Ping timeout: 257 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #61648 → pythonPackages.pylint: 2.2.3 -> 2.3.1 → https://git.io/fj8V5
<aanderse> need the actual art+content package to do anything
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/fj8Vd
<worldofpeace> ahh, buildEnv with those things not exposed should be right then
<{^_^}> [nixpkgs] @marsam merged pull request #61693 → brakeman: 4.5.0 -> 4.5.1 → https://git.io/fj8Vg
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj8VF
jgt has quit [Ping timeout: 258 seconds]
<greenerworld> so one quick question, does nix compile every software or does it just download it from the repo's or from a remote url and installs it?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2439b3049b1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Supersonic has joined #nixos
drakonis has joined #nixos
drakonis1 has quit [Ping timeout: 248 seconds]
<aanderse> <3 worldofpeace
<{^_^}> worldofpeace's karma got increased to 21
<aanderse> thanks
<worldofpeace> you're welcome aanderse <3
<drakonis> greenerworld: only compiles when the package isnt available on the cache
<drakonis> so, if you have any custom package definition, it'll compile
slack1256 has left #nixos [#nixos]
o1lo01ol1o has quit [Remote host closed the connection]
drakonis_ has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/705986f5a98 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
drakonis has quit [Ping timeout: 252 seconds]
Tiez has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #61494 → pytricia: init at version 2019-01-16 → https://git.io/fjlfq
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj8wv
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61688 → android-file-transfer: fix hash of version 3.8 → https://git.io/fj8am
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj8wU
jb55 has quit [Quit: WeeChat 2.4]
sellout- has quit [Ping timeout: 268 seconds]
jb55 has joined #nixos
sellout- has joined #nixos
jgt has joined #nixos
jgt has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
Miyu-chan has joined #nixos
Miyu-chan is now known as Guest70768
o1lo01ol1o has quit [Ping timeout: 255 seconds]
orivej has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60420 → qtwebkit: fix path for libgdk-x11-2.0, it's in gtk2 apparently → https://git.io/fjGPk
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fj8wZ
toppler`` has quit [Ping timeout: 255 seconds]
toppler`` has joined #nixos
ricekrispie has joined #nixos
ricekrispie2 has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/705986f5a98 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
init_6 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @thefloweringash to staging « jackaudio: restrict aften dependency to Darwin »: https://git.io/fj8wW
<{^_^}> [nixpkgs] @worldofpeace closed pull request #61670 → jackaudio: restrict aften dependency to Darwin → https://git.io/fj8wl
jgt has joined #nixos
jgt has quit [Ping timeout: 248 seconds]
___laika has joined #nixos
endformationage has quit [Ping timeout: 268 seconds]
greenerworld has quit [Ping timeout: 256 seconds]
___laika has quit [Quit: WeeChat 2.4]
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 258 seconds]
esmerelda has quit [Ping timeout: 245 seconds]
init_6 has quit []
polman has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 255 seconds]
palo1 is now known as palo
Glider_IRC_ has quit [Ping timeout: 268 seconds]
___laika has joined #nixos
iqubic has joined #nixos
jgt has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/705986f5a98 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
ddellacosta has quit [Ping timeout: 268 seconds]
jgt has quit [Ping timeout: 252 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
abathur has quit [Ping timeout: 244 seconds]
knupfer has joined #nixos
ym555 has quit [Quit: leaving...]
esmerelda has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2439b3049b1 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
init_6 has joined #nixos
detran has quit [Ping timeout: 255 seconds]
detran has joined #nixos
b has quit [Quit: Lost terminal]
jgt has joined #nixos
detran has quit [Quit: ZNC 1.7.1 - https://znc.in]
jgt has quit [Ping timeout: 258 seconds]
detran has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bcc56cbce65 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
rauno has joined #nixos
mexisme_ has joined #nixos
cybrian has quit [Quit: cya]
cybrian has joined #nixos
rauno has quit [Ping timeout: 252 seconds]
Izorkin has quit [Ping timeout: 258 seconds]
slack1256 has joined #nixos
<gentauro> anybody using `glances` for system monitoring?
<gentauro> I noticed that it has the long `nixos` bin paths which are a bit challenging to read (it's the same with `htop`) but, if I start `glances -w` in a RESTful mode, it's only the binary name that is show
<gentauro> my question is, have anybody in here actually managed to run the terminal version with only binary names?
jgt has joined #nixos
<slack1256> gentauro: I don't know about glances, but on htop you can configure it to only show the basename of the program and not the whole path
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<gentauro> slack1256: roger that (thx)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61612 → geoclue: 2.5.2 -> 2.5.3 → https://git.io/fj8vi
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj8rn
<gentauro> slack1256: oh, sometimes you just have to read the "help" (it's actually the `/` key shortcut) :D
jgt has quit [Ping timeout: 250 seconds]
Glider_IRC has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61355 → libsForQt5.quazip: fix darwin build → https://git.io/fjWt9
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @ryan4729 to master « libsForQt5.quazip: fix darwin build (#61355) »: https://git.io/fj8rc
<slack1256> gentauro: It is a good ability to know where to look for help
<slack1256> I wish gnu/linux systems where better documented in general
<slack1256> as in-system documentation, not the web kind
<slack1256> So people would have an standard way to look for help. Gnu info kind of does this for certain programs though.
jgt has joined #nixos
init_6 has quit []
linarcx has joined #nixos
jgt has quit [Ping timeout: 258 seconds]
slack1256 has quit [Remote host closed the connection]
Ariakenom has joined #nixos
jgt has joined #nixos
xelxebar has quit [Quit: ZNC 1.7.1+deb2~bpo9+1 - https://znc.in]
pointfourone has joined #nixos
pointfourone has quit [Read error: Connection reset by peer]
pointfourone has joined #nixos
ixxie has joined #nixos
ricekrispie2 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #61697 → pijul: 0.11.0 -> 0.12.0 → https://git.io/fj8ro
xelxebar has joined #nixos
ricekrispie has quit [Ping timeout: 258 seconds]
xelxebar has quit [Remote host closed the connection]
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Taeradan opened pull request #61698 → neo.map: fix URL → https://git.io/fj8r1
fusion809 has joined #nixos
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @samsonan-it to release-19.03 « Merge #60201: neo.map: fix URL »: https://git.io/fj8ry
<{^_^}> [nixpkgs] @vcunat pushed commit from @samsonan-it to release-18.09 « Merge #60201: neo.map: fix URL »: https://git.io/fj8r9
<{^_^}> [nixpkgs] @vcunat closed pull request #61698 → neo.map: fix URL → https://git.io/fj8r1
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #61623 → kdiff3: 1.7.x -> 1.8.1 → https://git.io/fj8r5
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fj8rd
xelxebar has quit [Remote host closed the connection]
polman has quit [Ping timeout: 255 seconds]
polman has joined #nixos
rfold has joined #nixos
mexisme_ has quit [Ping timeout: 252 seconds]
mexisme_ has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<jluttine> I have some dbus-type systemd user-services. When I log in the first time after reboot, they don't work. No errors in logs or anything suspicious, they just don't work, that is, they cannot be reached via dbus. When I log out and log in again, then they work normally. What could be wrong?? (I'm using my own desktop environment creation, so I'm probably missing something there..)
<jluttine> Those non-functioning services start together with graphical-session.target
<jluttine> I noticed that some dbus activation environment stuff is run after graphical-session.target has already been started, so this is my first guess
xelxebar has joined #nixos
gwen has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/920d066ded1 (from 22 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @dtzWill opened pull request #61699 → rustc: 1.34.0 -> 1.34.2, security → https://git.io/fj8oL
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
qualiaqq has quit [Quit: ERC (IRC client for Emacs 26.2)]
Izorkin has joined #nixos
ottidmes has joined #nixos
civodul has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
gxt has joined #nixos
<eyJhb> Is there something besides unetbootin for creating a live USB? Can't find yumi, liveusb, multisystem or startup disk creator in the repo
<tilpner> eyJhb: For the NixOS ISO? You can use dd, cp, or cat
<{^_^}> [nixpkgs] @vcunat opened pull request #61700 → nixos/release-notes: mention length of release support → https://git.io/fj8oB
<tilpner> (cat with shell redirection into /dev/foo, not standalone)
polman has quit [Read error: Connection reset by peer]
<eyJhb> tilpner: should have mentioned, Ubuntu Live USB :)
<tilpner> eyJhb: Should work just the same
<tilpner> If you have GNU cp: cp foo.iso /dev/sdx
<tilpner> As root
xelxebar has quit [Quit: ZNC 1.7.2+deb2~bpo9+1 - https://znc.in]
<tilpner> (Some other cp variants try to delete /dev/sdx and recreate it, instead of rewriting the file)
xelxebar has joined #nixos
vid has joined #nixos
thc202 has joined #nixos
polman has joined #nixos
xelxebar has quit [Quit: ZNC 1.7.2+deb2~bpo9+1 - https://znc.in]
xelxebar has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #61659 → kanji-stroke-order-font: init at 4.002 → https://git.io/fj8oQ
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/fj8o7
xelxebar has quit [Quit: ZNC 1.7.2+deb2~bpo9+1 - https://znc.in]
toppler`` has quit [Ping timeout: 258 seconds]
<eyJhb> tilpner: never really had trouble with it before, but everything seem to not play that nicely... But should dd if=ubuntu.iso of=/dev/sdc work?
<tilpner> eyJhb: Yes, assuming root and correct paths
<eyJhb> But wouldn't I need to change the boot flag/set it?
<tilpner> No
<tilpner> eyJhb: If that doesn't work, verify hashes
toppler`` has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #61667 → cnstrokeorder: init at 0.0.4.7 → https://git.io/fj8oN
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj8oA
esmerelda has quit [Ping timeout: 258 seconds]
v0|d has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @livnev opened pull request #61701 → tree-from-tags: init at 1.0 → https://git.io/fj8oj
<eyJhb> thanks, will try tilpner :) - Btw. if you have any experience with testdisk/mac os x parition recovert etc. I would greatly appreciate it ;)
<tilpner> I have never used a mac for anything
<tilpner> If it's anything like recovery from ext4, get a large external drive, run the tool and come back a day later to find a billion files with names that make no sense
<eyJhb> Haha, I have taken a complete copy using dd, so currently working on that. Didn't want to risk screwing the drive even more.. And currently It basically finds... Nothing :(
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eyJhb> And doesn't help, that even if it finds anything, it is encrypted (the whole partition)
<{^_^}> [nixpkgs] @jagajaga merged pull request #60859 → moc: refactor options, add patches → https://git.io/fj8KJ
<{^_^}> [nixpkgs] @jagajaga pushed 2 commits to master: https://git.io/fj8KU
_d0t has joined #nixos
<_d0t> hi! How do I reinstall grub? `nixos-rebuild boot --install-bootloader` goes for a full system update, which isn't something I want right now.
hamishmack has joined #nixos
<rfold> nix-prefetch-url keeps failing because I'm on a really crappy connection. So I downloaded the file using Firefox instead, and I now have it in my home folder. Can I cause fetchurl { url = <original url>; sha256 = "..."; } to copy this file to the Nix store?
<rfold> Like, I have the file, and I want to put it in the Nix store /as if/ fetchurl put it there.
polman has quit [Excess Flood]
fendor has joined #nixos
esmerelda has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
<tilpner> rfold: You can nix-store --add
<rfold> tilpner: does the part after the hash in the Nix store path not matter?
<tilpner> rfold: And then Nix will evaluate the fetchurl, look for the hash, and find it's already there
vid has quit [Read error: Connection reset by peer]
polman has joined #nixos
<rfold> If I take the hash from the store path and put it in sha256 it says it's the wrong length.
<tilpner> You're calculating the hash wrong
<rfold> OK, I did nix-prefetch-url file:///home/r/Garbage/psalm.phar and this seems to work
<tilpner> IINM use nix-hash --type sha256 --base32
<tilpner> Maybe with --flat
<tilpner> Yes, --flat seems right if it's a single file
<rfold> Thanks, I didn't know that fetchurl only looks at the hash.
<tilpner> I'm not entirely sure how the name is handled
<tilpner> So I might have just told a bunch of nonsense
<tilpner> But I think fetchurl derives the name from the URL
<tilpner> If that doesn't work, you can at least use requireFile, which is meant to be used with manual downloading of files
<tilpner> But that would require everyone else to also download it manually
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3366e982e81 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
polman has quit [Ping timeout: 255 seconds]
_d0t has quit [Ping timeout: 268 seconds]
vid has joined #nixos
polman has joined #nixos
Guest70768 is now known as Myrl-saki
Myrl-saki is now known as Miyu-saki
Miyu-saki is now known as Guest57666
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
ajs124 has quit [Quit: Gateway shutdown]
_ris has joined #nixos
ajs124 has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a7e559a5504 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> [nixpkgs] @mguentner opened pull request #61702 → pgloader: re-init at 3.6.1 → https://git.io/fj8KB
lukego has joined #nixos
Guest57666 has quit [Changing host]
Guest57666 has joined #nixos
Guest57666 is now known as Miyu-saki
vid has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #61703 → tridactyl-native: init at 1.14.9 → https://git.io/fj8Kg
hke has quit [Quit: The Lounge - https://thelounge.github.io]
iqubic has quit [Ping timeout: 252 seconds]
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #61426 → spdk: 18.04 -> 19.01.1 → https://git.io/fjW8d
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj8Ki
hke has joined #nixos
gwen has quit [Quit: Leaving]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3366e982e81 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
wfranzini has joined #nixos
hke has quit [Client Quit]
tilpner has quit [Quit: WeeChat 2.4]
tilpner has joined #nixos
iSma[m] has joined #nixos
erictapen has quit [Quit: leaving]
hke has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #59401 → mxisd: 1.2.0 -> 1.4.3 → https://git.io/fjmn5
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fj8Kd
ardumont has quit [Ping timeout: 252 seconds]
mexisme_ has quit [Ping timeout: 258 seconds]
NightTrain has joined #nixos
vid has joined #nixos
troydm has joined #nixos
<lostman> Hi folks. Would it be possible in NixOS to set my user's shell to be `nix-shell user-env.nix` so that I can always have some things in scope?
<tilpner> lostman: Even if it is, why would you want that?
<tilpner> lostman: You can use users.users.lostman.packages to make packages available to just one user
linarcx has joined #nixos
<lostman> tilpner: for example if I just want to write some Rust that uses some C library then on NixOS it won't just work. I need to enter nix-shell
<tilpner> See direnv and lorri
<lostman> tilpner: even if I install it as system library or user package. It's going to be there but not accessible
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<lostman> and I don't want to write little custom configs all the time
<lostman> it doesn't make sense to me. For messing around with some things
<lostman> So why not have some sort of "gobal" environment?
<lostman> nix knows where it is and wrapped cargo knows where to look for it, but only in nix shell
<tilpner> See direnv and lorri
Synthetica has joined #nixos
<lostman> yeah, i know of them and I don't want to use them
alexherbo21 has joined #nixos
<tilpner> Okay
<lostman> might as well write shell.nix every time I want to do somethign
<lostman> I'm just curious why is it so hard to have any sort of default?
alexherbo2 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @mdevlamynck opened pull request #61704 → plasma-applet-volumewin7mixer: v23 -> v24 → https://git.io/fj869
<andi-> if you want your user shell to always inherit some enviroment just set `users.users.me.packages = [ somepkg ];`?
<lostman> if I could somehow set up the right cflags and ldflags for the default user shell then most of the things I ever want to do would just work out of the box without piling on any additional tools
<lostman> andi-: but if I add a library there, will it work with clang?
<symphorien> lostman: adding something along the lines of `if [ -z $IN_NIX_SHELL ]; then exec nix-shell user-env.nix; fi` in .bashrc might work
<andi-> lostman: not sure why I'd like to have that... Why not just have that lib for the projects that need it? Isn't the benefit of nix being able to have a clean(er) environment?
<infinisil> And with direnv it's very much automatic
<lostman> andi-: because that's how every single linux system behaves? I can always write custom configs for my projects, and I do
<infinisil> No need to manually nix-shell
<lostman> just want a sane default, like on "normal" linux
<andi-> lostman: every single one besides NixOS (and Guix, …)
<lostman> I don't see any downside of doing that
<lostman> so why not?
<lostman> it should cost nothing, do what I want and make me happy :) should be good enough!
<andi-> I obviously want my computer to just do something different from what seems to be your vision :D
jakkn has joined #nixos
<infinisil> It will cost you some purity!
<lostman> andi-: and that's why I'm asking how *I* can do it on my laptop and not telling you that *you* should do it on yours, haha
<infinisil> lostman: i mean the nix-shell in bashrc solution by symphorien might work, try it
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a7e559a5504 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<lostman> entering nix-shell is a bit slow though. I can probably live with that but is there no better way? can I put something in configuration.nix?
<andi-> lorri
<jakkn> morning, I'm struggling to understand the section "Testing Configuration Changes in a VM" in this guide https://nixos.wiki/wiki/NixOS:extend_NixOS. What is the nixos-rebuild -I flag for?
<andi-> that should be faster if nix-shell entering is stlow for you
<symphorien> jakkn: -I is using the clone of nixpkgs passed as argument instead of the default (upstream) one
Ryuul has joined #nixos
<lostman> andi-: so just exec lorri?
<lostman> from bash? could try that
<lostman> but just so I know I covered all the options, is there no way of doing that cleanly from configuration.nix?
<tilpner> Not an intended way. You can probably hack it together, but that's going to be a bunch of trial and error until it works
<jluttine> How can I specify a directory in writeTextDir name? I wrote something like writeTextDir "foo/bar/john.doe" ''lorem ipsum'', and nix complains about invalid character '/'
<symphorien> you would have to source the relevant part of stdenv/setup.sh in your bashrc
vid has quit [Ping timeout: 246 seconds]
__monty__ has joined #nixos
<andi-> jluttine: writeTextDir just means that it puts the file in a directory not a specific directory.
troydm has joined #nixos
<tilpner> jluttine: You want writeTextFile
is_null has joined #nixos
Ryuul has quit [Client Quit]
<tilpner> jluttine: It takes a destination argument. See trivial-builders.nix
<jluttine> ok, thanks. then i don't understand writeTextDir.. i mean, how does it determine both the directory name and the filename if i'm not allowed to use '/' character..
<jakkn> andi-: where is the default path to '/path/to/nixos/'? I'm on a fresh nixos install and wound up here as I'd like to test my config changes in a VM before applying them. I still struggle to understand what this option does..
<jluttine> or the directory is just the nix store directory..
<jluttine> yeah, i suppose so
<lostman> tilpner: I tried constructing my own NIX_CFLAGS_COMPILE and NIX_LDFLAGS and that almost works. If I do nix-shell -p it picks those up. But from my user's bash it doesn't. Even though both use the same wrapped clang. Not sure what other magic nix-shell is doing so I thought I'll try using it
<jluttine> ok, thanks, i'll use writeTextFile
<jakkn> symphorien: gah, I tagged the wrong person above --^
<tilpner> lostman: Right, I don't know all of what nix-shell does
<symphorien> jakkn: the default is specified in $NIX_PATH
<Synthetica> For some reason relative imports don't seem to work in the Python lib I'm trying to package, is this a known issue?
linarcx has quit [Ping timeout: 252 seconds]
<jakkn> symphorien: ah thanks, do I understand it correctly then that the content of nixpkgs is what defines my system, and I need this option in order to clone the host to VM?
<symphorien> without this option, the vm is not built with *your* changes to nixpkgs, but the original nixpkgs as defined in $NIX_PATH
<symphorien> so you don't test *your* changes
<jakkn> dammit, now I'm confused again
<symphorien> with nixpkgs and a configuration.nix you can build a system
<symphorien> nixos-rebuild build-vm does just that, and runs the system in a vm
<jakkn> right, this I understand
<symphorien> to test changes to nixpkgs, you can modify nixpkgs, and then build a vm from this copy of nixpkgs
<symphorien> by default, nixos-rebuild uses the nixpkgs in $NIX_PATH
<symphorien> this one is read-only
knupfer has joined #nixos
<symphorien> so you after you modify your own copy of nixpkgs, you must point nixos-rebuild to this copy
<symphorien> this is what -I nixpkgs=/path/to/clone does
acarrico has joined #nixos
<jakkn> what is the exact definition of 'modifying my own copy of nixpkgs'? Is it simply changing configuration.nix, or something more?
<tilpner> jakkn: If you only made changes to your configuration.nix, you don't need to pass a custom nixpkgs path
<symphorien> git clone https://github.com/NixOS/nixpkgs
<jakkn> ooooh
<jakkn> I haven't thouched this
<tilpner> You don't need to do that, if you don't plan to make changes to it
nD5Xjz has quit [Ping timeout: 246 seconds]
<jakkn> now I see
nD5Xjz has joined #nixos
wfranzini has quit [Remote host closed the connection]
<jakkn> I was thinking nixpkgs was the output of something. I've seen this repo multiple times, but I got stuck in confusion.
wfranzini has joined #nixos
<tilpner> nixpkgs is the library of packages and modules that can be used to build a system
<{^_^}> [nixpkgs] @romildo opened pull request #61705 → zuki-themes: 3.32-1 -> 3.32-2 → https://git.io/fj8ic
<jakkn> I've made no changes to nixpkgs and only want to test changes to configuration.nix, so I should be fine to proceed with the default then. Thanks! :)
<tilpner> If you're not able to log into the VM, you need to set a password with configuration.nix
<{^_^}> [nixpkgs] @CarlOlson closed pull request #29478 → roswell: init at version 17.9.10.82 → https://git.io/v5dWz
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c6f75452096 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
lukego has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #61706 → flare: init at 1.10 → https://git.io/fj8io
<arianvp> isn't this a No-OP ?
<arianvp> systemd.targets."acme-selfsigned-certificates" = mkIf cfg.preliminarySelfsigned {};
<arianvp> doesn't mkIf return {} if bool is not true? am I right this always created the "acme-selfsigned-certificates" target?
<arianvp> even if that boolean is false?
rfold has quit [Ping timeout: 258 seconds]
<arianvp> shouldn't it be instead: systemd.targets = mkIf x { targets.acme-selfsigned-certificates = {}; }
init_6 has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 4 commits to staging: https://git.io/fj8iy
<{^_^}> [nixpkgs] @vcunat merged pull request #61179 → stdenv, cacert: $NIX_SSL_CERT_FILE changes → https://git.io/fjCei
srid has quit [Ping timeout: 255 seconds]
thc202 has quit [Quit: thc202]
<{^_^}> [nixpkgs] @saschagrunert opened pull request #61707 → Add CRI-O package → https://git.io/fj8iH
silver has joined #nixos
silver_ has joined #nixos
<genesis> if someone can merge this https://github.com/NixOS/nixpkgs/pull/60913 , that's just an update
<{^_^}> #60913 (by bignaux, 2 weeks ago, open): z88dk: 20180217 -> unstable-2019-02-02
srid has joined #nixos
travelion has quit [Quit: bye]
travelion has joined #nixos
dycan has joined #nixos
silver_ has quit [Client Quit]
<averell> I got one lying around for a month too, if anyone's feeling like it :) #59512
<{^_^}> https://github.com/NixOS/nixpkgs/pull/59512 (by averelld, 4 weeks ago, open): Rstudio upgrade
travelion has quit [Client Quit]
<{^_^}> [nixpkgs] @romildo opened pull request #61708 → stilo-themes: init at 3.32-3 → https://git.io/fj8ib
ixxie has quit [Ping timeout: 255 seconds]
travelion has joined #nixos
linarcx has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to staging « gnutls: fix tests after 79bd4ad57 (PR #61179) »: https://git.io/fj8iA
gchristensen has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
Matthieu` has joined #nixos
<Baughn> Is there anything like a "reserved" configuration.nix namespace for user use? I'm guessing not.
init_6 has quit []
<pie_> is there a way to do rec { ${a} = somefunction; somethingelse = ${a} stuff; } ? it complains for me about the ${a} on the right side
linarcx has quit [Quit: WeeChat 2.4]
<pie_> apparently ${a} is acceptable on the left >_>
shibboleth has joined #nixos
xelxebar has joined #nixos
xelxebar has quit [Remote host closed the connection]
<tilpner> Baughn: There's no guarantee that will stay undefined, but it doesn't seem likely to be used
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj8PJ
<{^_^}> [nixpkgs] @c0bw3b merged pull request #26537 → lifelines: init at unstable-2019-05-07 → https://git.io/vH9yC
<pie_> lane _mine_ :D
kp__ has joined #nixos
rfold has joined #nixos
<pie_> huh. "In the case where an attribute name is just a single antiquotation, the quotes can be dropped:" ( https://nixos.org/nix/manual/ )
<pie_> kinda weird but ok
<pie_> but i still dont see a way to use that with a rec set
<infinisil> Yeah I don't think there is on
<infinisil> e
kp__ has quit [Client Quit]
<Baughn> tilpner: Gotcha. I went with 'me'.
kp__ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61705 → zuki-themes: 3.32-1 -> 3.32-3 → https://git.io/fj8ic
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj8PY
<bennofs[m]> ,nix-locate fw_setenv
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/a7e559a5504 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fj8PG
<{^_^}> [nixpkgs] @aanderse merged pull request #61464 → sfxr: init at 1.2.1 → https://git.io/fjW1f
<Izorkin> aanderse: updated pr
<infinisil> bennofs[m]: It's just ,locate
<bennofs[m]> ,locate fw_setenv
<{^_^}> Couldn't find in any packages
<bennofs[m]> ah, :/
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
Matthieu` has quit [Ping timeout: 258 seconds]
NinjaTrappeur has quit [Quit: WeeChat 2.3]
ixxie has joined #nixos
NinjaTrappeur has joined #nixos
<{^_^}> [nixpkgs] @bignaux opened pull request #61709 → gbdk-n: init at unstable-2019-03-14 → https://git.io/fj8PV
<genesis> :)
<aanderse> Izorkin: hopefully easier for someone to merge then, thanks
<gentauro> I just realized that I don't have "python" installed by default :o
<gentauro> so I tried to add `python3` to my "configuation.nix"
<gentauro> and then added "python37Packages.pip"
<gentauro> to install pythong pkgs. The problem I'm getting is something about "read-only" ...
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<gentauro> so I'm guessing I'm not doing "python the nixos way". Can anybody give a hint? Thx in advance
troydm has joined #nixos
<pie_> is there a builtin for getting variables that are currently in scope?
<pie_> also is there a proper enumeration of builtins/primops/whatever somewhere? even if they arent documented
<pie_> or do i just have to read all the c sources
<jakkn> I'm having a hard time getting past the display manager when running result/bin/run-vmhost-vm
_ris has quit [Ping timeout: 245 seconds]
<jakkn> any pitfalls I should watch out for? I'm trying to run the same configuration.nix as host.
neeasade has quit [Ping timeout: 268 seconds]
<jakkn> I log on, then screen goes dark and a terminal flashes, before I'm back at login prompt.
<jakkn> seeing various errors in journalctl about "unable to open display :0"
<gchristensen> if your xserver's configuration is very specific to your host, like hardware, display configuration, etc.
BuGless1 has quit [Quit: Leaving.]
<tilpner> > lib.fix (self: { ${n} = x: x; y = self.${n} 42; }) # pie
<{^_^}> undefined variable 'n' at (string):253:20
<tilpner> > let n = "f"; in lib.fix (self: { ${n} = x: x; y = self.${n} 42; }) # pie
<{^_^}> { f = <CODE>; y = <CODE>; }
<jakkn> gchristensen: nothing fancy, only xserver.enable, xserver.displayManager.sddm.enable and xserver.windowManager.i3.enable
<pie_> tilpner, yeah but thats a hack :P
<pie_> infinisil, not sure what youre trying to say, does builtins actually tab complete everything now?
<tilpner> > :p let n = "f"; in lib.fix (s: with s; { ${n} = x: x; y = ${n} 42; }) # pie
<{^_^}> error: syntax error, unexpected DOLLAR_CURLY, at (string):253:56
<tilpner> Aww, doesn't work with with
sb0 has joined #nixos
<infinisil> tilpner: -> #nix-lang, we're discussing it there too
<infinisil> pie_: Also replying in #nix-lang ;)
jmeredith has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60913 → z88dk: 20180217 -> unstable-2019-02-02 → https://git.io/fj8Xf
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj8XJ
NinjaTrappeur has quit [Quit: WeeChat 2.4]
<marek> how do I find why packages are up for update?
<marek> list get just a list
<clever> marek: nix-diff can be used to compare 2 .drv files and see what is changing
<hyper_ch> last GoT ep will air in a few hours :(
Orbstheorem has joined #nixos
<marek> clever: hmm, so I would nixos-rebuild build and nix-diff it with current system?
<clever> marek: dont need to do the full rebuild, nixos-rebuild dry-run is enough
v0|d has joined #nixos
NinjaTrappeur has joined #nixos
<marek> clever: hmm and where is the currect drv? I cannot find it in /run/current-system
<clever> marek: run nix-store --query --deriver
<clever> 22:39 <clever> [root@amd-nixos:~]$ nix-diff $(nix-store --query --deriver /run/current-system) $(nix-instantiate '<nixos/nixos>' -A system)
<clever> marek: this will show the differences between the current system, and the current configuration.nix
<marek> clever: you rocks :) thank you!
Matthieu` has joined #nixos
jakkn has quit [Quit: leaving]
NinjaTrappeur has quit [Quit: WeeChat 2.4]
Matthieu` has quit [Ping timeout: 258 seconds]
Matthieu` has joined #nixos
aristid has quit [Ping timeout: 258 seconds]
lostman has quit [Quit: Connection closed for inactivity]
aristid has joined #nixos
<marek> Baughn: thank you!
ardumont has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 4 commits to release-18.09: https://git.io/fj8XM
acarrico has quit [Ping timeout: 246 seconds]
ixxie has quit [Ping timeout: 244 seconds]
domogled has quit [Quit: domogled]
Synthetica has quit [Quit: Connection closed for inactivity]
kp__ has quit [Quit: WeeChat 2.4]
wucke13 has quit [Quit: ZNC 1.7.2 - https://znc.in]
toppler`` has quit [Ping timeout: 258 seconds]
dycan has quit [Remote host closed the connection]
NinjaTrappeur has joined #nixos
<ekleog> anyone using docker on nixos?
srid has quit [Ping timeout: 248 seconds]
<ekleog> I'm trying to `docker-compose up` a relatively trivial http://ekleog.xelpaste.net/xudUWq ; and it's failing with “disk full” while extracting it (while I'm pretty far from full disk)
toppler`` has joined #nixos
<clever> ekleog: what does `df -i` report?
<clever> ekleog: what about `watch -d "df -h ; df -i"` while docker-compose is running
<ekleog> less than 1% everywhere, and `-` on `/` and `/nix` (which are 0 used / 0 free, they're btrfs)
<ekleog> and the watch doesn't show any moving digits
ThatDocsLady has joined #nixos
<clever> ekleog: what about the btrfs metadata stuff?
<ekleog> (it's supposed to be <100MB according to docker-compose)
Synthetica has joined #nixos
<ekleog> well, to be precise it moves from 31G free on / to 30G free and back to 31G free after having failed
<Synthetica> I'm trying to use a Python package in nix-shell, enviornment, but relative imports aren't working properly. Could someone take a look? https://gist.github.com/Synthetica9/e0ac0f2477ab96c8e13f7448979adce7
<ekleog> hmmm so it looks like from the names of the files, it's extracting a bit further (in alphabetical order) on each attempt…
<ekleog> scratch that I just got contradicted by the last attempt
<{^_^}> [nix] @edolstra pushed to run-in-pts « Set $TERM »: https://git.io/fj81u
<ekleog> clever: so with `watch -d btrfs filesystem usage .` I can confirm that btrfs metadata don't go anywhere near to their may (still have 400MB free, and it moves by less than 20MB)
<ekleog> anywhere near to their max*
<clever> ekleog: all i can think of then is `strace -o logfile -ff docker-compose up`
<clever> and then analyze the log to see what failed
<clever> ekleog: perhaps starting with `grep ENOSPC logfile.*`
mexisme_ has joined #nixos
<ekleog> clever: hmmm ISTR that doesn't work with docker because docker-compose will be delegating most operations to its daemon, but will try, thanks!
<clever> ekleog: you can also do `strace -o logfiles -ff -p <something>` against the pid of the daemon
<ottidmes> clever: I was wondering how do you handle secret files, such as SSH private keys, when e.g. using your kexec install. Do you copy those over manually once you enter the kexec'ed installer?
<clever> ottidmes: for ssh private keys, i usually just let the server auto-generate random ones
srid has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
<clever> ottidmes: but i can see how you cant verify the identify of the system you initially ssh into after a kexec, and it could be a malicious vm
<ottidmes> clever: besides private keys there are other such files, generally what I believe you put in a secrets attrset
<clever> ottidmes: most of the time, i would just scp them over, or use nixops deployment.keys
<ottidmes> I originally planned to gpg encrypt them all based on .gitignore file listing the secret file patterns, but in practice its too annoying so I tend to just copy over the files via scp afterwards manually on per-need basis
<ottidmes> guess I will combine the two, automatically scp the secret files based on the .gitignore listing trick
<clever> ottidmes: i have plans to add the kexec stuff into nixops
<clever> ottidmes: so you could just use deployment.keys directly
<ottidmes> clever: thanks for your input, better to try to keep things simple
<ottidmes> clever: that would be nice
<ekleog> grmblwhat openat(AT_FDCWD, "/usr/lib64/python3.7/__pycache__/bdb.cpython-37.pyc", O_WRONLY|O_CREAT|O_CLOEXEC, 0644) = -1 ENOSPC (No space left on device)
wucke13 has joined #nixos
<ottidmes> clever: right now I tend to just install NixOS directly, and only add nixops when this becomes convenient (so not really they way its mostly intended to be used)
<clever> ekleog: this process may be inside a docker container, find the chain of ancestors (where clone() returned its pid), and then see if any of them did clone() with weird namespace related flags, or called mount
<clever> ekleog: maybe just search for `mount(` in all logs, only one thing should be doing it
<{^_^}> [nixpkgs] @Kjuvi opened pull request #61711 → spark: 2.2.1 -> 2.4.3 → https://git.io/fj81i
<wucke13> Is somebody over hear able to merge? If so, please have a look: https://github.com/NixOS/nixpkgs/pull/53013
<{^_^}> #53013 (by wucke13, 20 weeks ago, open): betaflight-configurator: init at 10.5.1
xok has joined #nixos
<xok> hello all...
<xok> in Centos there's a package called fcgi-devel
<xok> does NIXOS have something like that?..
<xok> I can't find it...
<tilpner> > fcgi
<{^_^}> "<derivation /nix/store/4h3r0lnqs86ir6y3gfa8y3n4rgxyql6x-fcgi-2.4.0.drv>"
<tilpner> It has the headers and libraries
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
_ris has joined #nixos
<ekleog> clever: so I tried to investigate it further without success, the `mount` matches are http://ekleog.xelpaste.net/typ9H6/raw ; and there's http://ekleog.xelpaste.net/eSE14Z/raw between the last 2 mounts ; so nothing looking particularly weird to me
<clever> ekleog: i think /var/lib/docker/btrfs/subvolumes/648592fdb43c4df55d71f9592c2d4202d9b83dc027c10d6b5158cda8d0d4aacf is a btrfs subvolume, that it is then using as the rootfs for the docker container
<clever> ekleog: does that somehow have any special permissions like quotas?
<ekleog> clever: I never set quotas for my btrfs, so I'd assume there's none
<ekleog> (esp. none smaller than something that wouldn't fit the uncompressed data of a ~100MB compressed image)
<clever> cant think of anything else to check
Deathmist[m] has joined #nixos
<ekleog> `sudo btrfs qgroup show -pcreF .` -> `ERROR: can't list qgroups: quotas not enabled` (and the btrfs subvolume directory does not actually exist after completion of `docker-compose up`)
MmeQuignon has joined #nixos
goibhniu1 has joined #nixos
<xok> how do I search for packages?..
<xok> I am doing nix search PACKAGE
<ekleog> … well I'm just going to run that docker from inside an ubuntu vm I guess
<xok> but it doesn't alway return correct values...
<clever> xok: https://nixos.org/nixos/packages.html is also an option
Matthieu` has quit [Ping timeout: 246 seconds]
<xok> clever: thanks...
nD5Xjz has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #61713 → minify: 2.0.0 -> 2.5.0, module → https://git.io/fj81A
nD5Xjz has joined #nixos
st4ll1 has quit [Quit: ZNC 1.7.1 - https://znc.in]
st4ll1 has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
fusion809 has quit [Remote host closed the connection]
esmerelda has quit [Ping timeout: 246 seconds]
nD5Xjz has quit [Ping timeout: 248 seconds]
MmeQuignon has quit [Read error: Connection reset by peer]
nD5Xjz has joined #nixos
MmeQuignon has joined #nixos
o1lo01ol1o has joined #nixos
detran has quit [Ping timeout: 258 seconds]
xelxebar has joined #nixos
freeman42x has joined #nixos
cybrian has quit [Quit: cya]
xelxebar has quit [Remote host closed the connection]
cybrian has joined #nixos
piratemj has joined #nixos
piratemj has left #nixos ["Leaving"]
xelxebar has joined #nixos
esmerelda has joined #nixos
gspia has quit [Quit: Leaving]
detran has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
goibhniu1 has quit [Ping timeout: 252 seconds]
mmlb2 has quit [Ping timeout: 246 seconds]
linarcx has joined #nixos
gchristensen has quit [Quit: Connection closed for inactivity]
eyJhb has quit [Quit: Bye]
eyJhb has joined #nixos
gspia has joined #nixos
<Ralith> rycee: it's really frustrating how home-manager's dconf support breaks at the drop of a hat and prevents me from updating without restarting my session :/
<ekleog> clever: hmmmmm
<ekleog> when I try to run a VM I'm getting “The I/O cache encountered an error while updating data in medium "ahci-0-0" (rc=VERR_DISK_FULL).”
<Ralith> starting a new login shell seems like a workaround
<ekleog> and then I just resume the VM and it moves on a bit before doing it again
knupfer has joined #nixos
<ekleog> I'm starting to wonder about some hardware failure…
<ekleog> there's nothing frightening in smartctl --all though
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
orivej has joined #nixos
<ekleog> … and zsh bails out on me with `zsh: can't rename /home/ekleog/.directory_history/home/ekleog/history.new to $HISTFILE` every second command
<ekleog> nothing showing any kind of btrfs reaching full disk or metadata showing full disk, though…
<clever> ekleog: it sounds like the host btrfs is "full" so it cant expand the disk image for the ubuntu vm
<ekleog> yeah that's kind of what I'm feeling too
<clever> ekleog: id say you should hit up some btrfs experts in maybe #btrfs, or switch to zfs :P
<ekleog> but it's not metadata as I can just easily create files [a-f] in $HOME (exceptI have to run each command twice for zsh to let it through)
<clever> dmesg?
<ekleog> the day zfs will be supported by mainline I'll consider switching to it :p
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<ekleog> nothing appearing
<ekleog> but I do have write errors in journalctl -f too
<alexarice[m]> Does anyone else loose connection to dns servers on any `nixos-rebuild switch` command?
<ekleog> will try on #btrfs anyway, thanks :)
<alexarice[m]> only seem to be able to fix it by restarting
<clever> alexarice[m]: what are the contents of /etc/resolv.conf before&after?
<alexarice[m]> will check now
dftxbs3e has joined #nixos
<wucke13> zathura-pdf-poppler breaks constantly for me, as the download disappears once they have a new version upstream. What can we do about it? Why isn't it cached by Hydra?
MmeQuignon has quit [Ping timeout: 255 seconds]
<alexarice[m]> wucke13: Cache will be reset whenever a dependency updates I expect
sb0 has quit [Quit: Leaving]
<wucke13> alexarice[m], I think that's not the cause. AFAIK this is happening becaus of the poppler people changing something, not because nixpkgs changing?
gchristensen has joined #nixos
<alexarice[m]> wucke13: I was trying to explain why hydra is not caching the build, and this is probably because it caches the old build, then a dependency updates and so it tries to rebuild but this fails and so it has no cached copy for the build you request
<alexarice[m]> I could be misunderstanding though
<wucke13> alexarice[m]: Ahh, I see
<wucke13> alexarice[m]: guess you're right.
<alexarice[m]> I guess the only option for fixing the package is having a mirror of the file?
<alexarice[m]> wucke13: if you need a temporary work around you could pin a nixpkgs version and hydra might have a cached build available
<alexarice[m]> clever: /etc/resolv.conf is wiped out by the switch. It starts with `# Generated by NetworkManager` before and starts with `# Generated by resolvconf` after. Is there a way to fix this
esmerelda has quit [Remote host closed the connection]
<wucke13> Hmmh
<rycee> Ralith: Yeah, the dconf modules requires dbus which doesn't work very well under nixos.
<alexarice[m]> clever: actually reloading sway somehow fixes this for the moment
<Ralith> rycee: `sudo -u $(whoami) -i` to get the latest env seems to be an effective workaround, would it make sense to wire that in?
<Ralith> or is this a nixos bug?
<rycee> Ralith: Not certain how specifically it would help but if it works then I would be happy to merge a PR.
<Ralith> I have no idea how any of this works but I'm guessing it's something to do with nixos having started a new dbus while my session still has environment variables pertaining to an old one
sm has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
<{^_^}> [nixpkgs] @c0bw3b opened pull request #61714 → Package some DNS security tools → https://git.io/fj8DU
<{^_^}> [nixpkgs] @c0bw3b closed pull request #30542 → Package some security/pentesting tools → https://git.io/vdQvT
<rycee> Sounds quite plausible. NixOS doesn't use socket activated dbus session so the socket address will change each time the session is started.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/589907bd387 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/66af519580b (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<rycee> On the other hand we try to work around this in HM by starting a new dbus user session just to read the dconf settings.
<rycee> I'm not sure how to improve things. Generally it works well for me so I haven't had much opportunity for debugging. So if a sudo works then I'd be happy to use it. Not sure how to guarantee that sudo is set up, though.
<Ralith> do you rarely/never update NixOS without restarting your session?
ddellacosta has joined #nixos
<ekleog> clever: so if you're interested in #btrfs' verdict: I had 400MiB metadata free but that's not enough, one needs at least ~1G, and I did not have any space left (all the free space was allocated to data), so I needed to balance the btrfs to get some free data space reallocated to metadata :)
<astal> i changing value in pkgs.derivation (i.e confluence) through the packageOverrides. how can i bind this with service derivation?
esmerelda has joined #nixos
<astal> enough clues as i need to look
<clever> ekleog: thats what i initially thought it was
ddellacosta has quit [Ping timeout: 246 seconds]
detran has quit [Ping timeout: 246 seconds]
<ekleog> indeed, I had been tricked by the fact 400MiB was like 20% of the metadata space, but apparently it's because I created this btrfs a few years ago with an allocator that was wrong for SSDs
<ekleog> (which resulted in a too small metadata range)
<gentauro> I'm assuming that by using `cron` this way -> https://nixos.wiki/wiki/Cron it would be a system "crontab" right? How do I make a user specific cron with NixOS?
<{^_^}> [nixpkgs] @lopsided98 opened pull request #61715 → linux_hardkernel_4_14: 4.14.102-156 -> 4.14.120-160 → https://git.io/fj8D0
<gentauro> oh, nevermind
<gentauro> maybe I should just read it :D
dftxbs3e has quit [Quit: Leaving.]
<clever> ekleog: ive found that its always too small for nixos, due to how /nix/store/ behaves
<ekleog> clever: it's not even on my /nix partition :D
<clever> ah
<clever> i just zfs for every filesystem on the box :P
detran has joined #nixos
<ekleog> the /nix partition has like metadata that is 4 times what the metadata for / was, for a smaller fs, so I guess btrfs correctly noticed metadata needed to be big
MmeQuignon has joined #nixos
jboy has quit [Remote host closed the connection]
Glider_IRC_ has joined #nixos
jboy has joined #nixos
mmlb2 has joined #nixos
Glider_IRC has quit [Ping timeout: 244 seconds]
o1lo01ol1o has joined #nixos
domogled has joined #nixos
drakonis has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @symphorien opened pull request #61716 → nixos/all-firmware.nix: only include firware for the host platform → https://git.io/fj8Db
xok has quit [Quit: Leaving.]
Notkea has quit [Ping timeout: 246 seconds]
Notkea has joined #nixos
<genesis> bonjour Notkea
<Notkea> hi :o
<rycee> Ralith: Hmm, I mostly do nixos-rebuild switch and/or home-manager switch while logged into an X session. Typically I don't bother relogging afterwards.
<Ralith> doing the latter after the former seems to be very dicey for me
xok has joined #nixos
endformationage has joined #nixos
<rycee> Ralith: On systems where I use home manager as a nixos module then I might occasionally relog because HM is bad at detecting whether a user systemd is already running. Which seems to be related to the dbus user session issue again, user systemd does not work properly unless the dbus is socket activated.
<Ralith> I'm not using the nixos module at all; been using HM since before that was a thing and never changed
<rycee> If you're having issues with robustness when running HM standalone I think you'd have even more issues running it as a nixos module :-/
<Ralith> that is a bit counterintuitive
zupo has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
shibboleth has quit [Quit: shibboleth]
domogled has quit [Ping timeout: 258 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @maralorn opened pull request #61717 → nixos/nextcloud: Add services.nextcloud.autoUpdateApps → https://git.io/fj8yW
dftxbs3e has joined #nixos
ixxie has joined #nixos
steve-chavez has joined #nixos
<steve-chavez> Hello! How can I see https://nixos.org/nixos/options.html locally through `nix repl`?
<symphorien> You can see it with man configuration.nix
<steve-chavez> Recently I learn that I can see https://nixos.org/nixos/packages.html through `nix repl`. Was wondering if it was possible to do the same with options.
<symphorien> I don't know about nix repl
o1lo01ol1o has joined #nixos
tilpner has quit [Quit: WeeChat 2.4]
<steve-chavez> symphorien: Thank you! Didn't know about man configuration.nix.
xok has left #nixos [#nixos]
knupfer has quit [Remote host closed the connection]
mertdhjkl has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<v0id72[m]> hi all
<v0id72[m]> just wondering if someone could help me out with making changes to the i3status.conf file. As its in a store folder which I cannot edit
<clever> v0id72[m]: what part do you want to change?
<v0id72[m]> most of the file :) Like wifi etc - add the weather just really customize it more.
<clever> it looks like its currently in the same package as the binary, so you need a override against the i3status package
toppler`` has quit [Ping timeout: 258 seconds]
<clever> i3status = super.i3status.overrideDerivation (drv: { postInstall = "cp ${./input.txt} $out/etc/i3status.conf"; });
<symphorien> v0id72[m]: create a file in /etc
<symphorien> The file in the store is just a default
<v0id72[m]> cool thanks a bunch!
<symphorien> If nothing in your home directory or /etc is found
<clever> Unable to find the configuration file (looked at ~/.i3status.conf, $XDG_CONFIG_HOME/i3status/config, /etc/i3status.conf and $XDG_CONFIG_DIRS/i3status/config)
<v0id72[m]> I have been trying on my own to find the answer for far too long. "_
<clever> the error mentions it looking in 4 places
<v0id72[m]> yep
<v0id72[m]> I used locate and it was only in the store folders
toppler`` has joined #nixos
Tiez has quit [Quit: WeeChat 2.4]
knupfer has joined #nixos
tilpner has joined #nixos
<v0id72[m]> @clever could you point me to a doc about doing the overide? Think I did it incorrectly
<alexoundos[m]> Is there a way to check integrity/authentity of `narinfo` file? I see there is a signature field, but it seems to target the `nar` file (not narinfo).
ixxie has quit [Ping timeout: 258 seconds]
mexisme_ has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
<clever> v0id72[m]: its in the nixpkgs docs
vid has joined #nixos
zupo has joined #nixos
zupo_ has joined #nixos
nD5Xjz has quit [Ping timeout: 246 seconds]
nD5Xjz_ has joined #nixos
mexisme_ has quit [Ping timeout: 255 seconds]
zupo has quit [Ping timeout: 258 seconds]
talqu has joined #nixos
<marek> what am I missing with nix review here, please? https://gist.github.com/mmahut/425145d2a3f4eae453dbd0240add0388
knupfer has joined #nixos
<talqu> hi, inside nix shell i run `cabal new-repl` and the project compiles with no errors. However, outside nix shell, executing `nix-build release.nix` i get errors from the module in which i use lucid library: Couldn't match expected type ‘T.Text’ with actual type ‘[Char]’ In the first argument of ‘value_’, namely..
<talqu> what is it im missing and doing wrong?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #61702 → pgloader: re-init at 3.6.1 → https://git.io/fj8KB
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fj8yh
<{^_^}> [nixpkgs] @etu merged pull request #61466 → phpPackages: add php packages → https://git.io/fjWD6
<{^_^}> [nixpkgs] @etu pushed 4 commits to master: https://git.io/fj8Se
<talqu> I was missing {-# LANGUAGE OverloadedStrings #-} in that module. Hmm, cabal new-repl didn't complain about that. Is there any flag I can pass to make cabal new-repl complain the same way nix-build does
<clever> talqu: it may be differences between your .cabl file, and whatever new-repl reads
<clever> talqu: nix ignores the new thing
alexherbo213 has joined #nixos
alexherbo21 has quit [Ping timeout: 244 seconds]
hhes has quit [Quit: hhes]
mexisme_ has joined #nixos
djahandarie has joined #nixos
djahandarie has quit [Changing host]
<__monty__> talqu: Check if you maybe have a .ghc.environment file.
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/589907bd387 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oida has quit [Quit: byez]
mexisme has joined #nixos
oida has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
gagbo has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
alexherbo2137 has joined #nixos
alexherbo213 has quit [Ping timeout: 258 seconds]
ng0 has joined #nixos
drakonis_ has joined #nixos
cheriimoya_ has joined #nixos
alp has joined #nixos
mertdhjkl has quit [Quit: Page closed]
oida has quit [Quit: byez]
ondrejs has joined #nixos
oida has joined #nixos
steve-chavez has quit [Quit: Page closed]
<ondrejs> hello. I want to compile (a haskell project) on my local nixos and then move the binary to a server. When I try that, the server does not understand how to run. Can you please advise? I tried static linking but that turned out horrible (eventually needed a hack with replacing files which I don't know how to do as /nix is read-only https://www.fpcomplete.com/blog/2016/10/static-compilation-with-stack)
<ondrejs> * the server is also running nixos
alexherbo21372 has joined #nixos
<clever> ondrejs: here is a very stripped down (non-cabal) example of static linking on nix, https://github.com/cleverca22/nix-tests/blob/master/haskell-init/default.nix#L3-L13
<clever> ondrejs: i used https://github.com/nh2/static-haskell-nix as an example, it may have more info on doing it via cabal
alexherbo2137 has quit [Ping timeout: 268 seconds]
<nh2> ondrejs: what OS is your server?
<clever> ondrejs: if you are dealing with nix on both ends, then you can just use nix-copy-closure, to copy the binary, and everything it depends on
<ondrejs> nh2: nixos as well
<ondrejs> clever: the links seems to be for when you're using nix instead of stack, right? I am not there yet
<ondrejs> clever: nix-copy-closure looks very promising! Going to try that, thank you
<clever> ondrejs: any binary you build with bare stack will break when copied to another machine, and can even break if you simply run a garbage collection
<ondrejs> all right, I see it'd good to convert my project to nix then (ideally preserving stack as it's nice for iterative builds)
<ondrejs> *it'd be
talqu has quit [Remote host closed the connection]
<ondrejs> or maybe using stack's nix integration is enough? e.g. stack build --nix
<clever> ondrejs: that still doesnt put the binary into the nix store, so it has the same problems
MmeQuignon has quit [Ping timeout: 244 seconds]
<clever> only something you can build with nix-build will be portable to other nix machines
MmeQuignon has joined #nixos
ym555 has joined #nixos
<ondrejs> clever: I see, nix build it is. Thank you. It's kind of sad I have to maintain two ... dependency managers or what are they
<clever> ondrejs: you can auto-generate the nix code from the stack.yaml file
<clever> ondrejs: and you can still get (single-cabal level) incremental building with nix
<{^_^}> [nixpkgs] @etu opened pull request #61720 → phpPackages.phpstan: 0.11.6 -> 0.11.7 → https://git.io/fj89q
knupfer has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @etu merged pull request #61661 → waybar: 0.6.1 -> 0.6.5 → https://git.io/fj89O
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fj893
cheriimoya_ has quit [Ping timeout: 246 seconds]
esmerelda has quit [Ping timeout: 246 seconds]
cheriimoya_ has joined #nixos
<v0id72[m]> clever: still lost as I added it to my configuration.nix file and still no go
vid has quit [Ping timeout: 268 seconds]
<clever> v0id72[m]: environment.etc."i3status.conf".text = ''config goes here''; i believe
ayerhart has quit [Quit: ayerhart]
<v0id72[m]> lol im still running in circles it appears :)
hedning_ has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
lunik1 has quit [Ping timeout: 258 seconds]
lunik1 has joined #nixos
__monty__ has quit [Quit: leaving]
<nh2> ondrejs: use stack2nix. That way you can continue to incrementally build with cabal, and build stuff with nix easily using your normal lts resolver
<nh2> ondrejs: sorry, I meant "incrementally build with stack"
<ondrejs> nh2: thanks, that's what I found. I've been compiling it the past 15 minutes :-)
<{^_^}> [nixpkgs] @mguentner opened pull request #61721 → matrix-synapse: 0.99.3.2 -> 0.99.4 → https://git.io/fj891
MmeQuignon has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Izorkin opened pull request #61722 → nginxModules.pinba: init at 13.05.2019 → https://git.io/fj89D
<cizra> If a package produces 2 executables, one of which is only useful during building the packaging (it downloads non-code game assets), how should I manage it? I wouldn't want to install it in system.
<cizra> I suppose I could compile it in a preBuild hook, but it looks very inelegant.
<nh2> cizra: couldn't you just skip copying it to `$out`?
<nh2> so that the built package doesn't have it?
<cizra> nh2: Well, my main package gets built by executing scons on project root. The helper/downloader gets built by running scons in a subdir. Should I make separate nix expressions for building them?
<{^_^}> [nixpkgs] @lopsided98 opened pull request #61723 → buildbot: 2.1.0 -> 2.3.0 → https://git.io/fj899
<nh2> cizra: I'm not super sure, but you can also delete stuff from `$out` in e.g. `postInstall` if you just want to get rid of the executable at the end
esmerelda has joined #nixos
<cizra> Yeah, but how should I make it get built in my nixpkgs?
<v0id72[m]> clever: seems like nothing is going well. Just wondering could I not just make it a the super package its own .nix file and add that into the import?
<clever> v0id72[m]: environment.etc should be the simplest way, that will just create a file in /etc/
<clever> v0id72[m]: what happens when you try that method?
<v0id72[m]> after rebuild check and the file was not present
<clever> v0id72[m]: can you pastebin your configuration.nix?
<v0id72[m]> sure give me a min to fix it :)
lambda-11235 has joined #nixos
gchristensen has quit [Quit: Connection closed for inactivity]
MichaelRaskin has quit [Quit: MichaelRaskin]
<v0id72[m]> @clever https://pastebin.com/mMRwUUjx
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61622 → guake: 3.5.0 -> 3.6.3 → https://git.io/fj89x
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj89p
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #61726 → refind: allows building for aarch64 → https://git.io/fj89h
zeta_wolf has joined #nixos
<nh2> cizra: I'm not sure, unfortunately I don't know how scons builds are to be best made so far
nD5Xjz_ has quit [Ping timeout: 245 seconds]
nD5Xjz has joined #nixos
<zeta_wolf> for some reason this emacs package is not being recognized, why is that? https://hastebin.com/zogosevocu.rb https://hastebin.com/gituhehopu.bash https://melpa.org/#/?q=nix-haskell-mode
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<samueldr> seems nix-haskell-mode is a quite recent melpa package, and that melpa-generated.nix doesn't know about it
<samueldr> (though I know next to nothing about the emacs infra in nixpkgs)
<nh2> cizra: I'm not sure, unfortunately I don't know how scons builds are to be best made so far
<samueldr> looking here, zeta_wolf, looks like it was inited late march https://github.com/matthewbauer/nix-haskell-mode/commits/
<zeta_wolf> samueldr: so i just have to wait then?
esmerelda has quit [Ping timeout: 258 seconds]
<samueldr> not sure, but I would assume so
eraserhd has quit [Ping timeout: 258 seconds]
<samueldr> it's bound to make a diff, with the added stuff; maybe you can then just include that bit into the list in your config, depending on how the emacs infra works
ondrejs has quit [Quit: Page closed]
<samueldr> I did something similar for vim stuff, updated the generated set, added what was missing, used the diff to know how to import it
fenedor has joined #nixos
MmeQuignon has joined #nixos
<zeta_wolf> samueldr: ok, sounds good, i setup nixos to do automatic upgrades, so that is fine, the only thing i haven't done yet is set emacs to do automatic upgrades, i'll try that to see if the package will be recognized afterwards, thanks for the help
<zeta_wolf> samueldr++
<{^_^}> samueldr's karma got increased to 87
fendor has quit [Ping timeout: 244 seconds]
esmerelda has joined #nixos
rfold has quit [Quit: WeeChat 2.4]
<marek> any way to generate a configuration nix file from a drv?
gchristensen has joined #nixos
<nh2> marek: what exactly does that mean? A configuration.nix file is a text file like any other, so you sure can write a derivation that generates one
<nh2> but maybe that's not what you mean
zeta_wolf has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lilyball opened pull request #61727 → chit: 0.1.13 -> 0.1.14 → https://git.io/fj8Hg
aristid has quit [Quit: WeeChat 2.4]
aristid has joined #nixos
<clever> v0id72[m]: line 227, its commented out, and the value should be a string, not a call to callPackage
ng0 has quit [Quit: Alexa, when is the end of world?]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nixos
zupo has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
lovesegfault has quit [Quit: WeeChat 2.4]
Miyu-saki has quit [Quit: WeeChat 2.4]
ThatDocsLady has quit [Ping timeout: 252 seconds]
m0rphism has quit [Ping timeout: 244 seconds]
zupo has quit [Ping timeout: 244 seconds]
Miyu-saki has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61706 → flare: init at 1.10 → https://git.io/fj8io
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj8Hx
st4ll1_ has joined #nixos
st4ll1 has quit [Ping timeout: 246 seconds]
lovesegfault has joined #nixos
zupo has joined #nixos
lovesegfault has quit [Client Quit]
abathur has joined #nixos
lovesegfault has joined #nixos
lovesegfault has quit [Client Quit]
lovesegfault has joined #nixos
<v0id72[m]> @clever is that all that is wrong then?
ym555_ has joined #nixos
<clever> v0id72[m]: possibly
ym555 has quit [Ping timeout: 246 seconds]
<v0id72[m]> i started just making xserver it's own .nix file as I thought it would be easier and can slim down the crap i have
Rovanion has quit [Ping timeout: 244 seconds]
<Baughn> Hmmmmm.
<Baughn> On kernel 4.19.37, I get read/write speeds to my NVMe of ~1.2 GB/s.
<Baughn> On kernel 4.19.38, I get ~400 MB/s.
<gchristensen> ZFS?
<Baughn> Encrypted ZFS, well guessed.
<gchristensen> encryption?
<Baughn> I think I know the problem, but is there a fix? :/
<Baughn> ...ah
<Baughn> THanks!
<{^_^}> #61076 (by Mic92, 1 week ago, merged): linux_5_0: restore __kernel_fpu_{begin,restore}
<Baughn> This is definitely doing bad things to my battery life and performance.
zupo has quit [Ping timeout: 245 seconds]
Ariakenom has quit [Quit: Leaving]
andrewrk has left #nixos ["Leaving"]
justanotheruser has quit [Ping timeout: 255 seconds]
<Baughn> gchristensen: That looks like it's already in my repository. Should it be affecting the 4.19 kernel?
<gchristensen> yeah they backported it to 4.x series
mbrgm_ has joined #nixos
<gchristensen> I think we'd accept a PR applying that same patch to the other ones, on stable too
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
<Baughn> I mean, the patch. I'm running 4.19.42 at the moment, from a nixpkgs including the PR you linked.
<Baughn> ...eh, I'll just try 5.x
<gchristensen> yes, the PR I linked is only applying the patch to 5.x
<gchristensen> so we'd need a PR applying that patch to the other kernels
<Baughn> Got it. I've limited data at present, or I'd try it.
<Baughn> Thanks for the pointer, at least!
Rovanion has joined #nixos
klntsky has quit [Quit: WeeChat 1.6]
wfranzini has quit [Remote host closed the connection]
jmeredith has joined #nixos
wfranzini has joined #nixos
mmlb28 has joined #nixos
silver has quit [Read error: Connection reset by peer]
mmlb2 has quit [Ping timeout: 255 seconds]
oldandwise has joined #nixos
fenedor has quit [Read error: Connection reset by peer]
lovesegfault has quit [Quit: WeeChat 2.4]
oldandwise has quit [Client Quit]
<{^_^}> [nixpkgs] @veprbl merged pull request #61723 → buildbot: 2.1.0 -> 2.3.0 → https://git.io/fj899
<{^_^}> [nixpkgs] @veprbl pushed commit from @lopsided98 to master « buildbot: 2.1.0 -> 2.3.0 (#61723) »: https://git.io/fj8Q3
zupo has joined #nixos
gagbo has quit [Ping timeout: 258 seconds]
zupo has quit [Ping timeout: 258 seconds]
mkoenig has quit [Remote host closed the connection]
toppler`` has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
toppler`` has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/68d0d556b94 (from 56 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
hamishmack has quit [Ping timeout: 268 seconds]
drakonis has quit [Quit: WeeChat 2.4]
acarrico has joined #nixos
drakonis has joined #nixos
drakonis1 has joined #nixos
drakonis2 has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
drakonis has quit [Ping timeout: 250 seconds]
drakonis1 has quit [Ping timeout: 250 seconds]
zupo has quit [Ping timeout: 258 seconds]
nDuff has joined #nixos
freeman42x has quit [Ping timeout: 264 seconds]
esmerelda has quit [Ping timeout: 255 seconds]
Profpatsch has quit [Quit: WeeChat 0.4.3]
adamantium has joined #nixos
Profpatsch has joined #nixos
Profpatsch has quit [Client Quit]
Profpatsch has joined #nixos
o1lo01ol1o has joined #nixos