gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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
sanscoeur has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @schmittlauch opened pull request #54228 → exfat-nofuse: backport unbreak for 4.18 and 4.20 → https://git.io/fh4Sc
erictapen has quit [Ping timeout: 240 seconds]
sanscoeu_ has quit [Ping timeout: 240 seconds]
peacememories has joined #nixos
<{^_^}> [nixpkgs] @alexfmpe opened pull request #54229 → Fix typo → https://git.io/fh4SK
cyphase has joined #nixos
jmgai has quit [Ping timeout: 245 seconds]
dermetfan has quit [Ping timeout: 246 seconds]
acarrico has joined #nixos
m15k has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to python-unstable: https://git.io/fh49X
<{^_^}> [nixpkgs] @hedning merged pull request #54220 → gnome3.gnome-settings-daemon: 3.30.1.2 -> 3.30.2 → https://git.io/fh4Xi
<{^_^}> [nixpkgs] @hedning pushed commit from @r-ryantm to master « gnome3.gnome-settings-daemon: 3.30.1.2 -> 3.30.2 (#54220) »: https://git.io/fh4Hk
jasongrossman has joined #nixos
hedning has quit [Quit: hedning]
hyperfekt has joined #nixos
eadwu has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.pygraphviz: use pkgs.pkgconfig and improve expression »: https://git.io/fh4Hu
mbrgm_ has joined #nixos
steell has quit [Ping timeout: 245 seconds]
<hyperfekt> I'm trying to make a new complex type that is an intradependent attrset and was wondering whether the merge or the check happens first when options are evauluated. Does anyone know more details or where the code for runtime type checking is located?
andi- has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.pygraphviz: use pkgs.pkgconfig and improve expression »: https://git.io/fh4Hg
steell has joined #nixos
mbrgm_ is now known as mbrgm
mbrgm has quit [Ping timeout: 250 seconds]
alex`` has quit [Ping timeout: 258 seconds]
tdbgamer has joined #nixos
irdr has quit [Remote host closed the connection]
srhb has quit [Quit: ZNC 1.7.1 - https://znc.in]
srhb has joined #nixos
irdr has joined #nixos
aleph- has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @clacke opened pull request #54231 → python: pythonparser: init at 1.3 → https://git.io/fh4QI
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54232 → debootstrap: 1.0.112 -> 1.0.114 → https://git.io/fh4QL
<ottidmes> ,locate types.nix
tmaekawa has quit [Quit: tmaekawa]
<{^_^}> Couldn't find in any packages
<ottidmes> ,find types.nix
<{^_^}> ,find is temporarily unimplemented
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.gst-python: use pkgs.pkgconfig »: https://git.io/fh4Ql
cyounkins has quit [Remote host closed the connection]
andi- has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> hyperfekt: and I believe this is relevant: https://github.com/NixOS/nixpkgs/blob/master/lib/modules.nix#L257-L341
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @clacke opened pull request #54233 → python: sphinx-argparse: init at 0.2.5 → https://git.io/fh4QE
<ottidmes> hyperfekt: this seems to be about your actual question about merge and check: https://github.com/NixOS/nixpkgs/blob/master/lib/modules.nix#L369-L372
<{^_^}> [nix] @sevanspowell opened pull request #2638 → Update instructions for Haskell script using nix-shell interpreter → https://git.io/fh4Qa
cyounkins has quit [Ping timeout: 258 seconds]
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fh4Qd
<{^_^}> [nixpkgs] @ryantm merged pull request #54229 → Fix typo → https://git.io/fh4SK
<fl0_id_> soo.... how to find out why my virtual box install only goes to rescue shell/single user?
<fl0_id_> when I log in there as root everything seems to be fine
<hyperfekt> ottidmes: Great, looks like modules.nix is what I was looking for, thanks for your help! :)
<hyperfekt> ottidmes++
<{^_^}> ottidmes's karma got increased to 10
<{^_^}> [nixpkgs] @clacke opened pull request #54234 → python: sphinxcontrib-wavedrom: init at 2.0.0, Sphinx: 1.7.9 -> 1.8.3, wavedrom: init at 0.1 → https://git.io/fh47e
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
Guanin has quit [Remote host closed the connection]
cyounkins has quit [Read error: No route to host]
cyounkins has joined #nixos
labancle has joined #nixos
<johnw> is it possible, on a Hydra builder, to ensure that one particular expression only ever builds once at a time on that builder?
WinchellsM has quit [Quit: Lost terminal]
<johnw> the sandboxing doesn't quite work on darwin, so I can't partitions jobs into separate network namespaces, and I have a test that's overcommitting a port
<{^_^}> [nixpkgs] @peterhoeg merged pull request #53990 → esphome: init at 1.10.1 → https://git.io/fhCua
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fh47u
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to staging: https://git.io/fh47g
<labancle> johnw: hi :)
<{^_^}> [nixpkgs] @peterhoeg merged pull request #54165 → msmtp: 1.8.1 -> 1.8.2 → https://git.io/fh84D
hellrazor has joined #nixos
<johnw> labancle: hi! :)
<labancle> johnw: functional all the way ehhh?
<johnw> you bet
<labancle> johnw: I've just realised who you are Mr. Wiegley
<labancle> john: am I right?
<labancle> johnw: am I right?
<Guest68469> nix-env -iA nixpkgs.jira-cli installing 'jira-cli-2.2' error: jira-2.0.0 not supported for interpreter python2.7 (use '--show-trace' to show detailed location information)
Guest68469 is now known as judson
<johnw> you are right
<judson> nix-env -iA nixpkgs.jira-cli installing 'jira-cli-2.2' error: jira-2.0.0 not supported for interpreter python2.7 (use '--show-trace' to show detailed location information)
<judson> :(
hellrazo1 has quit [Ping timeout: 272 seconds]
<labancle> johnw: me you briefly at the first emacsconf in London
<labancle> johnw: met you briefly at the first emacsconf in London
<johnw> ah, nice!
<johnw> that was fun; glad to see you're also a Nix-er
<labancle> johnw: its new to me
<labancle> johnw: need some advice...
<johnw> my advice is to use it, for everything you can ;)
<labancle> johnw: the only way I could tramp (emacs) into my (new) nixos machine from my ubuntu machine was to add some symlinks
<labancle> so I want to add some code to my configuration.nix to create the symlinks
<johnw> i've had to jump through some hoops to get it all working as well
<labancle> tramp couldn't find sudo, ls, uname or base64, even after altering tramp-remote-path
<labancle> so I symlinked them to /bin
<labancle> but I want this done automatically by nix
<johnw> you used (add-to-list 'tramp-remote-path "/run/current-system/sw/bin")?
<labancle> yep
<johnw> hmm
<labancle> actually I did it throught the customization buffer
<johnw> same difference
<labancle> but more generally I want to know how to make those kind of changes in configuration.nix
<labancle> I think system.activationScripts might have something to do with it
<labancle> yeah, I had a look at some of your nix stuff on github
<labancle> didn't notice that though
<labancle> in any case surely there must be a simple way of adding custom shell code to configuration.nix?
<johnw> of course there is
<johnw> envirionment.extraInit
<labancle> aha! thats what I was after
<labancle> is that in environment.nix?
hyperfekt has quit [Ping timeout: 256 seconds]
<johnw> i don't know where it goes, actually
<johnw> darwin user here
<labancle> is the modules code and lib code documented anywhere, or do I have to grep the sources?
<johnw> I've never had to access those resources before, so I don't know
ddellaco_ has quit [Remote host closed the connection]
<labancle> how did you find out about environment.extraInit?
<johnw> just googled now
<ottidmes> labancle: https://nixos.org/nixos/options.html might be useful to you
<johnw> "configuration.nix how add bash profile"
<ottidmes> labancle: and this to look through other people's configurations: https://search.tx0.co/
npmccallum_ has joined #nixos
<labancle> ottidmes: that is very useful, thanks!
perique has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fh454
<johnw> night peeps
<labancle> johnw: clearly you are a better googler than I.
<labancle> btw.. anyone here tried guix?
<labancle> johnw: goodnight :)
Peetz0r has quit [Ping timeout: 246 seconds]
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to python-unstable: https://git.io/fh45X
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54236 → clamav: 0.101.0 -> 0.101.1 → https://git.io/fh45M
<labancle> johnw: thankyou for your help
npmccallum_ has quit [Quit: npmccallum_]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54237 → acpica-tools: 20181213 -> 20190108 → https://git.io/fh45b
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54210 → git-secret: 0.2.4 -> 0.2.5 → https://git.io/fh4go
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fh45x
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54193 → zafiro-icons: 0.8.1 -> 0.8.3 → https://git.io/fh4Ug
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fh4dv
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54238 → capstone: 4.0 -> 4.0.1 → https://git.io/fh4dt
slack1256 has joined #nixos
cyounkins has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54153 → picard-tools: 2.18.21 -> 2.18.23 → https://git.io/fh8YE
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fh4d3
cyounkins has joined #nixos
spacekookie_ has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed to master « zeroad: 0.0.23 -> 0.0.23b »: https://git.io/fh4dc
<{^_^}> [nixpkgs] @vbgl merged pull request #53776 → zeroad: 0.0.23 -> 0.0.23b → https://git.io/fhZ9p
jasongro` has joined #nixos
iqubic` has joined #nixos
tA- has joined #nixos
Piece_Maker has joined #nixos
hyper_ch_ has joined #nixos
hyper_ch_ has joined #nixos
hyper_ch_ has quit [Changing host]
srhb- has joined #nixos
chris|_ has joined #nixos
pmade has joined #nixos
slikts has joined #nixos
slikts has joined #nixos
slikts has quit [Changing host]
cyounkins has quit [Ping timeout: 250 seconds]
slack1256 has quit [Remote host closed the connection]
tdbgamer_ has joined #nixos
steell_ has joined #nixos
drgbr_ has joined #nixos
palo1 has joined #nixos
slyfox_ has joined #nixos
__red___ has joined #nixos
andersk_ has joined #nixos
atriq has joined #nixos
irdr_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #54053 → yubikey-manager: 1.0.1 -> 2.0.0 → https://git.io/fhlev
mounty1 has joined #nixos
tdbgamer has quit [*.net *.split]
srhb has quit [*.net *.split]
irdr has quit [*.net *.split]
spacekookie has quit [*.net *.split]
the-kenny has quit [*.net *.split]
acarrico has quit [*.net *.split]
jasongrossman has quit [*.net *.split]
steell has quit [*.net *.split]
endformationage has quit [*.net *.split]
palo has quit [*.net *.split]
andersk has quit [*.net *.split]
PLPD-Bot has quit [*.net *.split]
mounty has quit [*.net *.split]
iqubic has quit [*.net *.split]
tA| has quit [*.net *.split]
hyper_ch has quit [*.net *.split]
srk has quit [*.net *.split]
tv has quit [*.net *.split]
troydm has quit [*.net *.split]
drgbr has quit [*.net *.split]
slyfox has quit [*.net *.split]
chris| has quit [*.net *.split]
Taneb has quit [*.net *.split]
callahad28 has quit [*.net *.split]
mcnesium has quit [*.net *.split]
devalot has quit [*.net *.split]
`slikts has quit [*.net *.split]
__red__ has quit [*.net *.split]
mmlb has quit [*.net *.split]
jeaye has quit [*.net *.split]
Boobie has quit [*.net *.split]
Acou_Bass has quit [*.net *.split]
palo1 is now known as palo
Piece_Maker is now known as Acou_Bass
pmade is now known as devalot
chris|_ is now known as chris|
sorki has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #54025 → libsForQt5.vlc: 3.0.5 -> 3.0.6 → https://git.io/fhW2L
sorki is now known as srk
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54239 → gnome3.accerciser: 3.22.0 -> 3.31.4 → https://git.io/fh4d6
thc202 has quit [Ping timeout: 240 seconds]
mmlb has joined #nixos
callahad28 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #54206 → gnome3.gnome-sound-recorder: 3.28.1 -> 3.28.2 → https://git.io/fh4Eh
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fh4d1
<{^_^}> [nixpkgs] @jtojnar closed pull request #54239 → gnome3.accerciser: 3.22.0 -> 3.31.4 → https://git.io/fh4d6
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54030 → xpad: 5.3.0 -> 5.4.0 → https://git.io/fhWww
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fh4dy
<{^_^}> [nixpkgs] @jtojnar merged pull request #54201 → flatpak-builder: 1.0.1 -> 1.0.2 → https://git.io/fh4lI
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fh4d9
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54240 → ammonite: 1.6.0 -> 1.6.2 → https://git.io/fh4d5
mcnesium has joined #nixos
<disasm> anyone have an xps usb-c laptop? How do you get the thing to boot on a usb thumb drive? The bios boot doesn't even show the usb stick plugged into the adapter that came with the laptop. I'm pretty sure my usb stick has both efi and legacy boot loaders. I also tried making a recovery usb stick and booting it and it doesn't boot either. Lastly, I attempted adding an EFI boot option to the menu but the bios
<q6AA4FD> labancle: i've tried guix. pretty buggy
<disasm> doesn't show the usb stick either.
PLPD-Bot has joined #nixos
the-kenny has joined #nixos
jeaye has joined #nixos
endformationage has joined #nixos
troydm has joined #nixos
<disasm> never thought booting off USB was going to be the hardest part to getting nixos working, lol
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54028 → wavebox: 4.5.9 -> 4.5.10 → https://git.io/fhWVz
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fh4db
Peetz0r has joined #nixos
tv has joined #nixos
acarrico has joined #nixos
<q6AA4FD> disasm: do other images work with the same setup?
jmgai has joined #nixos
justbeingglad has joined #nixos
<samueldr> disasm: I can safely assumed you `dd`'d the image, right?
<disasm> oh... I just found a support article saying only the right port works for booting!
<samueldr> :o
<disasm> lemme try that...
doyougnu has joined #nixos
<samueldr> disasm: link to the article, please, for posterity
<gchristensen> :o
* samueldr palms face
hph^ has quit []
<samueldr> not enough to make the usb-c format a complete mystery meat sandwich, you also have to make them not handle usb equally for their basic use?
<samueldr> though yeah, I was about to say: the nixos image, when dd'd should work with UEFI, except with some specific bas UEFI :(
cyounkins has joined #nixos
<samueldr> I mean, the darn thing even works with UEFI on AArch64 (and armv7l with grub from git)
jmgai has quit [Ping timeout: 272 seconds]
sheth has quit [Quit: Lost terminal]
strobelight has joined #nixos
Rusty1 has joined #nixos
ng0_ has joined #nixos
hamishmack has joined #nixos
<q6AA4FD> c
lopsided98 has quit [Ping timeout: 250 seconds]
ng0 has quit [Ping timeout: 256 seconds]
lopsided98 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill closed pull request #53922 → msmtpm: 1.8.1 -> 1.8.2 → https://git.io/fhn7J
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54241 → brave: 0.58.18 -> 0.58.21 → https://git.io/fh4Fg
<fl0_id_> so ... any debugging ideas for nixos virtual box install that only goes to rescue shell? (not the early kernel limited one)
<fl0_id_> no obvious log errors
sigmundv_ has quit [Ping timeout: 245 seconds]
<samueldr> are the mounts alright?
jtojnar has quit [Read error: Connection reset by peer]
jasongro` has quit [Read error: Connection reset by peer]
talyz has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<samueldr> this could sound like what happens if systemd cannot mount something
jtojnar has joined #nixos
talyz has joined #nixos
Supersonic has quit [Ping timeout: 268 seconds]
iqubic` is now known as iqubic
<gchristensen> I'd like to execute some commands when a user's logind session is locked with loginctl lock-session. any ideas on getting this signal from the user in to the root systemd?
<gchristensen> oops, I'd like to run some commands as *root* :)
<samueldr> it might not have a signal, considering multiple concurrent users could be "at the console" simultaneously
<samueldr> (just guessing here though)
<gchristensen> hrm quite likely
<fl0_id_> samueldr, lemme check
Supersonic has joined #nixos
strobelight_ has joined #nixos
strobelight is now known as Guest3611
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
strobelight_ is now known as strobelight
ng0_ has quit [Quit: Alexa, when is the end of world?]
o1lo01ol1o has quit [Remote host closed the connection]
Guest3611 has quit [Ping timeout: 245 seconds]
srl295 has quit [Quit: Connection closed for inactivity]
<CMCDragonkai> Python used to have majorVersion attribute.
<CMCDragonkai> pkgs.python36.majorVersion
<CMCDragonkai> this was removed recently
<CMCDragonkai> is there an equivalent somewhere?
cyounkins has quit [Ping timeout: 252 seconds]
jasongrossman has joined #nixos
Peetz0r has quit [Ping timeout: 252 seconds]
spacekookie_ is now known as spacekookie
d4g_ has joined #nixos
<samueldr> > python36.sourceVersion
<{^_^}> { major = "3"; minor = "6"; patch = "8"; suffix = ""; }
<fl0_id_> samueldr, mount says root and /nix/store is there
<fl0_id_> onyl /nix/store shows as ro, not sure if that is normal
<samueldr> /nix/store as ro is normal
<samueldr> so it might not be for that cause
<fl0_id_> also from resuce shell, after running dhcpd manually I can use nixos-switch etc
d4g has quit [Ping timeout: 246 seconds]
<CMCDragonkai> samueldr: How did you find that commit so quickly!
<samueldr> CMCDragonkai: tig, then /majorVersion :)
<samueldr> CMCDragonkai: so: half luck half good commit hygiene from our contributors
<CMCDragonkai> samueldr: so you searched through the commit history?
<CMCDragonkai> samueldr: what's tig?
<samueldr> tig is a TUI for git
<samueldr> TUI is a GUI in a console
acarrico has quit [Ping timeout: 272 seconds]
sanscoeur has joined #nixos
<iqubic> How do I import nixos-unstable into a *.nix file?
<iqubic> I have the channel available, just not imported.
spacekookie has quit [Quit: **more agressive swooshing**]
spacekookie has joined #nixos
<jackdk> (import <nixos-unstable> {})
o1lo01ol1o has joined #nixos
<jackdk> as the RHS of a let expr, or default param or whatever
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54242 → bento4: 1.5.1-627 -> 1.5.1-628 → https://git.io/fh4bo
<iqubic> Cool.
<iqubic> So `let nixos-unstable = import <nixos-unstable> {} in...`
o1lo01ol1o has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<iqubic> That works.
<iqubic> Do I have to set the unfree flag before I try to install unfree stuff in my configuration.nix?
perique has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fl0_id_> samueldr, complains about not mounting vbox shared folder and not finding pcm_oss module...
labancle has left #nixos ["tired"]
<fl0_id_> samueldr, ok so it seems that by default it fails hard if the shared folder cannot be mounted...
<fl0_id_> I really didn't think that could be it
<fl0_id_> Any idea how to disable that?
strobelight has quit [Ping timeout: 250 seconds]
cyounkins has joined #nixos
<samueldr> hm, did you change the config or update nixos or was it from a fresh virtualbox install?
* samueldr searches for the right option meanwhile
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<samueldr> fileSystems.<...>.options = [ /* ... */ "nofail" ];
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54243 → box2d: 2.3.0 -> 2.3.1 → https://git.io/fh4bx
<iqubic> So I'm having an issue with building my nixos config: https://paste.pound-python.org/show/vPnqx4e8dT1AR8ES9oes/
<samueldr> add `allowUnfree = true` inside the braces of your import
<iqubic> Why is that needed?
<iqubic> And also, what exactly does that mean>
<samueldr> the nixpkgs.config options aren't given to a nixpkgs you import
<samueldr> unstable = import <nixos-unstable>{allowUnfree = true;};
<iqubic> Ah, I see.
cyounkins has quit [Ping timeout: 240 seconds]
<samueldr> nixpkgs.config end up doing that behind the scene
<iqubic> Still not working.
<iqubic> let nixos-unstable = import <nixos-unstable> {allowUnfree = true;}; in...
ddellacosta has joined #nixos
<samueldr> come on iqubic :/ read the error message
<{^_^}> [nixpkgs] @marsam opened pull request #54244 → brakeman: 4.3.1 -> 4.4.0 → https://git.io/fh4NK
<fl0_id_> samueldr, I made a fresh install, with the options as they are in the docs
<fl0_id_> but they are outdated anyway, as also rngd is not mentioned which has to be disabled for emulation
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54245 → linuxPackages.bcc: 0.7.0 -> 0.8.0 → https://git.io/fh4NM
* fl0_id_ is looking for the page to edit nixos docs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54246 → python37Packages.beancount: 2.1.3 -> 2.2.0 → https://git.io/fh4NQ
orivej has joined #nixos
reilithion has quit [Quit: Leaving]
<iqubic> samueldr: the error message says that the anonymous function was called with an unexpected argument.
<samueldr> that's not what you pasted
<iqubic> oh?
<samueldr> what you pasted: https://paste.pound-python.org/show/Fv0OlvwH6CQYgqLobVHs/ "nixos-rbuild switch" "bash: nixos-rbuild: command not found"
<iqubic> Right...
<iqubic> Is that better?
lassulus_ has joined #nixos
<fl0_id_> samueldr, any idea where to submit a pull request to the online docs? google is not helping
<samueldr> fl0_id_: the docs are in the nixpkgs repository
<iqubic> samueldr: Do you know how to fix this issue?
<samueldr> iqubic: sorry, it's `import <nixos-unstable> { config.allowUnfree = true; }` it looks like it's on `config`
ddellacosta has quit [Remote host closed the connection]
<iqubic> I see.
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
<iqubic> That works.
<iqubic> Well... I'm pissed off.
<iqubic> The latest Discord update wasn't installed for me when I pulled Discord from unstable just now.
<{^_^}> [nixpkgs] @jtojnar pushed to staging « python.pkgs.pygtk: fix build »: https://git.io/fh4pK
<fl0_id_> samueldr, while I am editing that ... any idea why the docs say that fsck should be disabled for virtualbox?
marusich has joined #nixos
<buckley310> Can someone with packaging experience give this a glance? I've never submitted a package, but I want to try submitting this, and I'm not sure if there are any gotchas I dont know about yet. https://gist.github.com/buckley310/b28a0b14cb0619ad4109e6b8a0d63ef7 Also, all that's required is dropping this in the appropriate folder, and then adding an entry to the top-level package list, right?
<samueldr> fl0_id_: sorry, absolutely no idea about virtualbox installs :/
<iqubic> So I now find myself unable to use the latest version of the Discord desktop client on Nixos.
<iqubic> Even pulling Discord from unstable fails to solve this issue.
<samueldr> iqubic: what's the output of `nix-info`?
<iqubic> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.1.3, channels(root): "nixos-18.09.1922.97e0d53d669, nixos-unstable-18.09pre147850.2428f5dda13", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<iqubic> Do I need to update the url that my nixos-unstalble is using?
tmaekawa has joined #nixos
<iqubic> I.E. this: nixos-unstable-18.09pre147850.2428f5dda13"
sanscoeur has quit [Remote host closed the connection]
<iqubic> samueldr: You there? Able to help me?
<samueldr> iqubic: maybe, what's the output of sudo nix-channel --list ?
<samueldr> maybe it only needs to be updated, though, depending on the url for it
<{^_^}> [nixpkgs] @step21 opened pull request #54247 → nixos/nixpkgs: virtualbox docs update → https://git.io/fh4ju
Peetz0r has joined #nixos
<samueldr> okay, so the url is fine, to update it `sudo nix-channel --update nixos-unstable`
<fl0_id_> samueldr, ok pull request submitted, let's see how that goes
<samueldr> when you add (or update) a channel, it will not synchronize under your feet with the current state. You need to make a concious and active effort to update channels
eadwu has quit [Ping timeout: 264 seconds]
gagbo has quit [Ping timeout: 250 seconds]
Peetz0r has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54250 → alsaUtils: 1.1.7 -> 1.1.8 → https://git.io/fhBvn
o1lo01ol1o has quit [Remote host closed the connection]
Peetz0r has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54251 → armadillo: 9.200.6 -> 9.200.7 → https://git.io/fhBvH
<iqubic> samueldr: I just updated my unstable channel, and discord still ain't working.
<samueldr> did you rebuild after updating?
<iqubic> Yes.
zachmane has joined #nixos
<iqubic> It built a whole lot of new stuff. Including Discord.
<samueldr> what's the output of nixos-info now? did you check that the current channel have updated to when discord was updated?
<iqubic> Certainly has updated.
<samueldr> the current revision of unstable doesn't include the discord update
<iqubic> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.1.3, channels(root): "nixos-18.09.1922.97e0d53d669, nixos-unstable-19.03pre166449.be445a9074f", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<samueldr> at be445a9074f discord is at 0.0.5
<iqubic> Is that the latest version?
<samueldr> I think the latest is 0.0.8, though I'm not a discord user
<iqubic> 0.0.8 is the latest.
<iqubic> Why the heck won't Discord let me use an older version???
<samueldr> that would be for them to explain
<iqubic> so, what can I do now?
<{^_^}> [nixpkgs] @Moredread opened pull request #54252 → electrum: 3.2.3 -> 3.2.4 → https://git.io/fhBJJ
<duoi> what does the S stand for after NiXo?
<samueldr> duoi: it's NixOS, as in Nix (based) Operating System (unless I'm wholly uniformed)
<samueldr> uninformed*
a-dringus has joined #nixos
<duoi> samueldr nah it's NiXo-S
<samueldr> duoi: I'm confused, where do you see that?
<iqubic> I'm so pissed that I cant use discord right now because of stupid stuff.
<duoi> samueldr nixo comes from a latin words meaning to "struggle" or to "rest"
<duoi> or to "strain"
o1lo01ol1o has quit [Remote host closed the connection]
<a-dringus> Can anyone tell me how to reset my root password in grub? How do I do init=/bin/bash like I would on a regular Linux. I have no idea what path to use.
<samueldr> ah, then S must come from "Struggling to make a joke" ;)
<iqubic> duoi: I think you are wrong.
<duoi> samueldr ?
<samueldr> it's not based on the latin word that's for sure
<ottidmes> duoi: what then about Nix, and all other Nix prefixed projects?
a-dringus_ has joined #nixos
<duoi> ottidmes they reference Unix
jmgai has joined #nixos
<duoi> (pronounced "eunuchs", referencing the eunuchs at AT&T that came up with it)
a-dringus has quit [Ping timeout: 256 seconds]
<jasongrossman> a-dringus_: You have /bin/sh. It's an exception to NixOS's usual rules about where to put binaries.
<{^_^}> [nixpkgs] @Moredread opened pull request #54253 → electrum: 3.2.3 -> 3.2.4 (security) → https://git.io/fhBkl
<jasongrossman> a-dringus_: And it's actually bash.
jmgai has quit [Ping timeout: 245 seconds]
sanscoeur has joined #nixos
<fl0_id_> iqubic, can you use web based discord instead?
abathur has joined #nixos
<abathur> so uh
<abathur> I have a problem that feels a little dumb, but I'm having a hard time landing on the right search term
<iqubic> fl0_id_:
<mdash> duoi: 'nix' is latin for 'snow', hence the snowflake logo :p
<mdash> abathur: hi
<abathur> I've got an in-development personal script from my macos system that uses the default md5 command to create names for some history files generated by rlwrap
<abathur> and searching for md5 + nixpkgs
<abathur> is
<abathur> impossible :)
<iqubic> fl0_id_: I can, but I generally like the desktop client better.
<mdash> abathur: you're looking for md5sum?
<fl0_id_> iqubic, i get that, just trying to offer some solutions
<iqubic> totally fine.
<abathur> mdash: ah--that's probably what'll get me sorted
<fl0_id_> is there actually a firefox package that is not versioned? (meaning always at latest)
o1lo01ol1o has joined #nixos
<iqubic> fl0_id_: I want the same thing, but for Discord.
<abathur> there's a generic bsd md5 on macos at /sbin/md5, I just couldn't craft a search for what I was looking for in nix that didn't return a mountain of results :)
<mdash> abathur: not a lot of bsd stuff in nixpkgs :)
<ottidmes> abathur: install nix-index, then you can use nix-locate like this: nix-locate /bin/md5, and it would have shown among quite a few (but managable) others: coreutils.out 0 s /nix/store/wm8va53fh5158ipi0ic9gir64hrvqv1z-coreutils-8.29/bin/md5sum
<iqubic> So is there any way to get Discord versin 0.0.8 in Nixos right now?
<fl0_id_> iqubic, just writing firefox seems to link to the latest
<fl0_id_> at least the latest for that release
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<abathur> mdash: yeah; I assume I'll be able to tweak the syntax and run it on the coreutils version
<fl0_id_> (but that is also the latest stable so it's fine)
<iqubic> I don't care about firefox.
<iqubic> I want the latest Discord.
<abathur> ottidmes: nice tip!
mtesseract has joined #nixos
tdbgamer_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mtesseract has quit [Ping timeout: 268 seconds]
<ottidmes> iqubic: I tried simply bumping it to 0.8, but that causes: file /nix/store/428y39isdr9v3vjs8q3sbg2lq0cpz9p4-discord-0.0.8/opt/discord/Discord is not a valid ELF executable (invalid SHT_ entry:1) so it seems to need some work
pie__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54254 → atop: 2.3.0 -> 2.4.0 → https://git.io/fhBmS
pie_ has quit [Ping timeout: 245 seconds]
<iqubic> ottidmes: that sucks.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54255 → bfs: 1.3.1 -> 1.3.2 → https://git.io/fhBO6
fusion809 has quit [Ping timeout: 250 seconds]
slack1256 has joined #nixos
<fl0_id_> samueldr, is it normal that apps like firefox etc do not show up in the apps menu in kde for example?
<fl0_id_> or start menu or whatever kde calls it
counting1ort has joined #nixos
countingsort has quit [Ping timeout: 240 seconds]
gmarmstrong has joined #nixos
jasongrossman has quit [Ping timeout: 246 seconds]
gmarmstrong has quit [Client Quit]
zachmane has quit [Ping timeout: 250 seconds]
sinner has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sinner is now known as Guest99648
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54256 → autoconf-archive: 2018.03.13 -> 2019.01.06 → https://git.io/fhBnD
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54257 → blueman: 2.0.7 -> 2.0.8 → https://git.io/fhBCC
a-dringus_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed to staging « python.pkgs.dbus-python: fix build »: https://git.io/fhBla
reinhardt has joined #nixos
Guest99648 has quit [Ping timeout: 245 seconds]
sinner has joined #nixos
sinner is now known as Guest30375
abathur has quit [Quit: abathur]
<{^_^}> [nixpkgs] @worldofpeace pushed to staging « python.pkgs.gst-python: fix build »: https://git.io/fhBBr
hamishmack has joined #nixos
ottidmes has quit [Ping timeout: 268 seconds]
sheth has joined #nixos
endformationage has quit [Quit: WeeChat 2.3]
slack1256 has quit [Ping timeout: 272 seconds]
jonafato has quit [Quit: ZNC - http://znc.in]
marusich has quit [Remote host closed the connection]
Rusty1 has quit [Quit: Konversation terminated!]
<buckley310> If I create and submit a package, does that make me the maintainer, and do I add myself to maintainer-list.nix?
<wedens> buckley310: you add yourself to the list and to meta.maintainers attribute in the derivation
<buckley310> ok, ty
<{^_^}> [nixpkgs] @aij opened pull request #54258 → zfsUnstable: 0.8.0-rc2 -> 0.8.0-rc3 → https://git.io/fhB2U
DrWowa has joined #nixos
doyougnu has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
<DrWowa> hello, i have questions about contributing to nixpkgs:
<DrWowa> 1) its ok to just bump version of program and what branch prefer to send pull request (i bump teamviwer from v13 to latest v14)
<wedens> DrWowa: of course it's ok. typically all PRs are opened to master (unless backporting is required)
<jackdk> if the changed package does not force many rebuilds, master is fine. if it changes lots, base it off staging
<jackdk> https://github.com/NixOS/nixpkgs/pull/54258 is a recent example of the commit message to use
<{^_^}> #54258 (by aij, 7 minutes ago, open): zfsUnstable: 0.8.0-rc2 -> 0.8.0-rc3
o1lo01ol1o has quit [Ping timeout: 246 seconds]
xkapastel has joined #nixos
<DrWowa> thanks for answers!
octalsrc[m] has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
jackdk has quit [Ping timeout: 272 seconds]
justbeingglad has quit [Quit: Leaving.]
jmgai has joined #nixos
mattikus has joined #nixos
jmgai has quit [Ping timeout: 268 seconds]
Guest30375 has quit [Ping timeout: 252 seconds]
sinner has joined #nixos
sinner is now known as Guest46078
mattikus has quit []
mattikus has joined #nixos
Guest46078 has quit [Read error: Connection reset by peer]
<pbogdan> can I use something besides nix-store --query --roots to see what's keeping a store path alive?
palo1 has joined #nixos
carlosdagos has quit [Quit: Connection closed for inactivity]
ncb^ has joined #nixos
palo has quit [Ping timeout: 244 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @DrWowa opened pull request #54259 → Update teamviewer from 13.1.3026 to 14.1.3399 → https://git.io/fhByh
<fl0_id_> so ... does nixos generally add desktop file / app menu entries?
<fl0_id_> or can i make it do it
<{^_^}> [nixpkgs] @buckley310 opened pull request #54260 → vmware-horizon-client: init at 4.10.0-11053294 → https://git.io/fhBS5
<buckley310> first package :) hope I didn't bork it up o.o
vk3wtf has joined #nixos
<fl0_id_> ah. i rebooting doesn't help, running kbuildsycoca5
<fl0_id_> helps
<{^_^}> [nixpkgs] @CMCDragonkai opened pull request #54261 → azure-storage-python: init at 1.4.0 → https://git.io/fhBQ5
joehh has quit [Ping timeout: 240 seconds]
<immae> pbogdan: Is `nix-store --gc --print-roots` what you’re looking for?
jmgai has joined #nixos
<jonge> hi there. how can i check if the NIX_PATH of my nixbld{0-31} users is set correctly? any easy way to print it?
<{^_^}> [nixpkgs] @srhb merged pull request #54184 → kubernetes: 1.13.1 -> 1.13.2 → https://git.io/fh8xp
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fhB5C
<srhb-> buckley310: I think you could be a little more granular in your function args rather than grabbing pkgs wholesale? :)
jasom has quit [Quit: WeeChat 2.0.1]
<buckley310> ah.... lets see...
<srhb-> buckley310: But looks good in general! Grats on the first PR :D
<buckley310> ^_^ neat
<{^_^}> [nixpkgs] @worldofpeace pushed to staging « python.pkgs.pyatspi: fix build »: https://git.io/fhBN7
sinner has joined #nixos
zachmane has joined #nixos
sinner is now known as Guest37458
<buckley310> is the "pkgs: with pkgs;" from line 73 something i should replace? or just the other references?
<buckley310> I'm guessing yes, but im not 100% sure
<buckley310> srhb-,
<LnL> yeah, add those as arguments instead
<LnL> otherwise certain things like .override won't work as expected
srhb- has quit [Quit: ZNC 1.7.1 - https://znc.in]
srhb has joined #nixos
jmgai has quit [Ping timeout: 245 seconds]
<buckley310> updated
Ariakenom has joined #nixos
zachmane has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
tilpner has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #51864 → vsftpd: compile with OpenSSL for SSL support → https://git.io/fpQNS
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fhBhi
<{^_^}> [nixpkgs] @Mic92 merged pull request #54163 → racket: fix drracket crashes on file dialogs → https://git.io/fh88k
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhBhD
<{^_^}> [nixpkgs] @peterhoeg merged pull request #53495 → zoneminder: init at 1.32.3 and add NixOS module → https://git.io/fhs35
<{^_^}> [nixpkgs] @peterhoeg pushed 6 commits to master: https://git.io/fhBhb
<{^_^}> [nixpkgs] @peterhoeg merged pull request #48101 → nixos pykms: run via DynamicUser → https://git.io/fxnmM
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fhBhp
jonafato has joined #nixos
cheriimoya has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
civodul has joined #nixos
hyper_ch2 has joined #nixos
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to release-18.09 « racket: fix drracket crashes on file dialogs »: https://git.io/fhBjM
<{^_^}> [nixpkgs] @Mic92 merged pull request #54228 → exfat-nofuse: backport unbreak for 4.18 and 4.20 → https://git.io/fh4Sc
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.09: https://git.io/fhBjy
jonafato has quit [Quit: ZNC - http://znc.in]
<{^_^}> [nixpkgs] @smaximov opened pull request #54262 → gem-config: support rbnacl v6.0.0 → https://git.io/fhBj5
<q6AA4FD> jonge: i'm pretty sure your nixbld users don't actually use NIX_PATH, they should get an expression to build, and your own user does the searching
<Yaniel> has anyone looked into blender 2.8 yet?
Tucky has joined #nixos
<q6AA4FD> you could also do `sudo -u nixbld1 echo $NIX_PATH` (though they might also either inherit yours/it might not matter)
sheth has quit [Remote host closed the connection]
juliendehos has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #50561 → lib: implement `setPrio` → https://git.io/fpcC6
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhReC
reinhardt has quit [Ping timeout: 250 seconds]
<ar1a> https://github.com/ar1a/dotfiles/tree/master/nixos chucked my nixos config on github! thanks for the help yesterday everyone
<etu> ar1a: woo :-)
<{^_^}> [nixpkgs] @7c6f434c merged pull request #54243 → box2d: 2.3.0 -> 2.3.1 → https://git.io/fh4bx
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhReN
<{^_^}> [nixpkgs] @7c6f434c merged pull request #54254 → atop: 2.3.0 -> 2.4.0 → https://git.io/fhBmS
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhRvI
jonafato has joined #nixos
<teto2> anyone using flameshot ? just wanted to try and it just closes on start without any message. Seems broken on nixos
<etu> teto2: I have it enabled in home-manager "services.flameshot.enable" and it works from there, I had bad luck otherwise so it's not completely broken :/
<teto2> etu: good to know, I will check the magic in HM
dermetfan has joined #nixos
<srhb> teto2: fwiw it works from nix-shell -p flameshot with current unstable
<srhb> At least, no crash here.
<teto2> srhb: which command do you use ? I run $ flameshot gui yet nothing happens
<teto2> it doesn't crash either
<{^_^}> [nixpkgs] @Mic92 merged pull request #54262 → gem-config: support rbnacl v6.0.0 → https://git.io/fhBj5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhRvw
<teto2> just does nothing. Which WM ? I use i3
<ivegotasthma> is it better to install home-manager from the repository or from github?
<srhb> teto2: flameshot gui exits immediately for me as well. I used xmonad.
<ivegotasthma> s/repository/nixpkgs
<teto2> ivegotasthma: github is more up to date
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #54141 → qtxmlpatterns: fix dependency with qtdeclarative → https://git.io/fh8U7
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhRvi
<srhb> teto2: just "flameshot" gives me a tray icon that I can use to make screenshots succesfully.
<teto2> srhb: oh yeah it works too, I checked for it the first time but didn't see it
<teto2> my bad thanks. I guess flameshot gui needs some configuration
<srhb> Possibly. It does look like it's exiting cleanly, but not very informatively.
<srhb> teto2: stat("/home/sarah/.config/Unknown Organization.conf", 0x7ffeb357d960) = -1 ENOENT (No such file or directory) :-)
<teto2> I saw that but the "Unknown Organization.conf" didn't incite me to dig further xD
<srhb> No kidding. :-P
<{^_^}> [nixpkgs] @FRidh pushed 133 commits to python-unstable: https://git.io/fhRfv
phreedom has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @pSub merged pull request #54255 → bfs: 1.3.1 -> 1.3.2 → https://git.io/fhBO6
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fhRf3
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Mic92 pushed to master « zfs: mark as broken on 4.20 »: https://git.io/fhRfV
jmgai has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
goibhniu has joined #nixos
jmgai has quit [Ping timeout: 245 seconds]
counting1ort is now known as countingsort
<{^_^}> [nixpkgs] @FRidh merged pull request #54186 → Python package set: mostly patch updates → https://git.io/fh8he
<{^_^}> [nixpkgs] @FRidh pushed 134 commits to staging: https://git.io/fhRJD
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/088cb13aee0 (from 22 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
apeyroux has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to staging « pubs: fix build with bibtexparser 1.1.0 »: https://git.io/fhRUJ
jmgai has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
jmgai has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos
thc202 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #54247 → nixos/nixpkgs: virtualbox docs update → https://git.io/fh4ju
<{^_^}> [nixpkgs] @Mic92 pushed commit from @step21 to master « nixos/nixpkgs: virtualbox docs update (#54247) »: https://git.io/fhRUM
Makaveli7 has joined #nixos
iqubic` has joined #nixos
lawlesseel has quit [Remote host closed the connection]
lawlesseel has joined #nixos
iqubic has quit [Ping timeout: 250 seconds]
jb55 has joined #nixos
<jonge> q6AA4FD: the reason i'm asking is that i have jobs in my hydra that make nixbld users checkout repos via "fetchgitprivate", for which i need an ssh key hint in the nix_path. that did not work although NIX_PATH is set correctly for the users i tested it with, so i needed to debug this for nixbld users somehow
atriq is now known as Taneb
orivej has quit [Ping timeout: 246 seconds]
obadz has quit [Ping timeout: 250 seconds]
periklis has joined #nixos
sigmundv_ has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
hyper_ch2_ has joined #nixos
lokado has joined #nixos
<lokado> is that possible to install nixos on an uefi machine and boot with grub?
<Yaniel> AFAIK grub supports uefi nowadays just fine
<Yaniel> so yes should be possible
hvemvet has joined #nixos
<lokado> but I didn't find a proper guide to follow...
<etu> lokado: It should "just work"
<etu> lokado: So the install guide should suffice
<etu> lokado: you probably have to enable boot.loader.grub.efiSupport
<lokado> what value should I set to grub.device?
<lokado> the efi partition or the primary disk?
obadz has joined #nixos
<Taneb> I've got a messy line in my nixos config that's something like "package = (pkgs.package.overrideAttrs (oldAttrs: { src = packageSrc; buildInputs = oldAttrs.buildInputs ++ [ pkgs.newDependency]; })).override { dep = pkgs.differentVersion; }"
<Taneb> Is there a nice way to format this?
<{^_^}> [nixpkgs] @markuskowa merged pull request #54242 → bento4: 1.5.1-627 -> 1.5.1-628 → https://git.io/fh4bo
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhRk4
dermetfan has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #54159 → netcdffortran: 4.4.4 -> 4.4.5 → https://git.io/fh8nZ
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhRky
reinhardt has quit [Ping timeout: 264 seconds]
<Taneb> Actually, it looks nice enough if I split it onto multiple lines
<{^_^}> [nixpkgs] @Gerschtli opened pull request #54263 → gitAndTools.overcommit: init at 0.46.0 → https://git.io/fhRk5
<tilpner> Taneb: Personal preference, and not going to help a lot, but I think "old.buildInputs" reads nicer than "oldAttrs.buildInputs": "old buildInputs" vs "buildInputs of/from oldAttrs"
<Taneb> tilpner: I agree
lawlesseel has quit [Remote host closed the connection]
_lawlesseel has joined #nixos
reinhardt has joined #nixos
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @joachifm merged pull request #54252 → electrum: 3.2.3 -> 3.2.4 → https://git.io/fhBJJ
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fhRtC
<{^_^}> [nixpkgs] @joachifm merged pull request #54253 → Backport: electrum: 3.2.3 -> 3.2.4 (security) → https://git.io/fhBkl
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to release-18.09: https://git.io/fhRt0
<{^_^}> [nixpkgs] @joachifm merged pull request #54106 → python37Packages.jsonrpclib-pelix: 0.3.2 -> 0.4.0 → https://git.io/fhlDa
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fhRtg
<{^_^}> [nixpkgs] @volth opened pull request #54264 → perl-packages.nix: cleanup meta → https://git.io/fhRti
hedning has joined #nixos
<lejonet> lokado: You're supposed to do it to the efi partition, as the primary disk from MBR days was to embed it, which it doesn't do with uefi
<wedens> what's needed to be installed on disnix "node"?
<{^_^}> [nixpkgs] @worldofpeace pushed to master « doc/reviewing-contributions: use they pronoun »: https://git.io/fhRml
<ivegotasthma> I got home-manager working, really good piece of software
mattikus has quit [Quit: Connection closed for inactivity]
hellrazo1 has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #54244 → brakeman: 4.3.1 -> 4.4.0 → https://git.io/fh4NK
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhRmj
hellrazor has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #54209 → gmsh: 4.0.7 -> 4.1.0 → https://git.io/fh4gf
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhROs
<{^_^}> [nixpkgs] @dotlambda merged pull request #54137 → python37Packages.cfgv: 1.1.0 -> 1.4.0 → https://git.io/fh8fc
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « python37Packages.cfgv: 1.1.0 -> 1.4.0 (#54137) »: https://git.io/fhR3J
<{^_^}> [nixpkgs] @hedning merged pull request #54222 → evolution-data-server: 3.30.3 -> 3.30.4 → https://git.io/fh4MJ
<{^_^}> [nixpkgs] @hedning pushed commit from @r-ryantm to master « evolution-data-server: 3.30.3 -> 3.30.4 (#54222) »: https://git.io/fhR3I
lord| has quit [Read error: Connection reset by peer]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
phaebz has joined #nixos
Boobie has joined #nixos
<Taneb> Is it possible/reasonable to move the nix store onto a different filesystem of a running NixOS, especially when I want to move it to a filesystem other than the root one?
__monty__ has joined #nixos
<tilpner> Of a running one, as in "without shutting it down"?
<Taneb> Shutting it down is OK
<Taneb> Losing everything is undesirable
<wedens> afaik you can copy /nix/store to another drive/partition and add a mountpoint in nixos config
<tilpner> Yes, I see no problems if you can shut it down
<tilpner> Actually... there might be some, if you have that copyKernels option off?
<ar1a> hey, does anyone know how I could get the ck patches for my kernel in nixos? after reading https://wiki.archlinux.org/index.php/linux-ck im pretty sold on it, but googling didn't help me too much
<Taneb> tilpner: I don't think I do, /boot is a different partition
<wedens> ar1a: `boot.kernelPatches`
<tilpner> Taneb: The problem would be that some files in /boot just tell grub to "go look in /nix", which it might assume to be on the root partition
<tilpner> Taneb: You should verify that your /boot contains actual kernels instead of just a reference
Ariakenom has quit [Ping timeout: 245 seconds]
<tilpner> But I haven't actually hit this problem, it's just a suspicion
<ar1a> how can i search for everything under the pkgs.kernelPatches category? nix search kernelPatches returns nothing, and the nixos package search on the web is no help either
<tilpner> > builtins.attrNames kernelPatches
<{^_^}> [ "bridge_stp_helper" "cpu-cgroup-v2" "genksyms_fix_segfault" "iwlwifi_mvm_support_version_7_scan_req_umac_fw_command" "modinst_arg_list_too_long" "override" "overrideDerivation" "p9_fixes" "raspberry...
<tilpner> "nix repl" would also be useful
<ar1a> how can i see that whole output
<tilpner> Run "nix repl '<nixpkgs>'", then enter kernelPatches. and hit tab a few times
<{^_^}> [nixpkgs] @dotlambda pushed to master « python3.pkgs.cmd2: depend on attrs »: https://git.io/fhRss
<{^_^}> [nixpkgs] @dotlambda closed pull request #54129 → python37Packages.cmd2: 0.9.6 -> 0.9.7 → https://git.io/fhlAb
<tilpner> Or run nix-instantiate --eval -E 'with import <nixpkgs> {}; builtins.attrNames kernelPatches'
<ar1a> damn, what a shame. ck patches aren't there
<ar1a> am i SOL?
<tilpner> You can just fetch them yourself
<{^_^}> [nixpkgs] @smaximov opened pull request #54265 → gem-config: add digest-sha3 → https://git.io/fhRsR
<ar1a> its not just one patch, it's 16
<makefu> ar1a: defining 16 patches is pretty simple :)
<Taneb> tilpner: it looks like I have a kernel in /boot
<Taneb> I'm kind of nervous about this process...
<wedens> just don't erase your old store right away :)
<wedens> and you can rebuild if something goes wrong
simukis has joined #nixos
jmgai has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #54057 → bloop: 1.2.1 -> 1.2.3 → https://git.io/fhlU9
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhRGC
gagbo__ has joined #nixos
jmgai has quit [Ping timeout: 244 seconds]
gagbo_ has joined #nixos
eadwu has joined #nixos
gagbo_work has quit [Ping timeout: 250 seconds]
gagbo__ has quit [Ping timeout: 244 seconds]
eadwu has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #54251 → armadillo: 9.200.6 -> 9.200.7 → https://git.io/fhBvH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhRZY
<{^_^}> [nixpkgs] @dotlambda merged pull request #54118 → python37Packages.jaraco_logging: 1.5.2 -> 2.0 → https://git.io/fhl5b
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fhRZl
grr12314 has joined #nixos
<{^_^}> [nixpkgs] @danbst opened pull request #54266 → overlays: (partially) recursive merge → https://git.io/fhRZw
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.irc: python3 only »: https://git.io/fhRZK
<grr12314> yo, how many of you play eve online?
<grr12314> and how many of you fly a nyx?
danbst has joined #nixos
<danbst> o/ another braindump, this time **recursive overlays** ^^
<{^_^}> [nixpkgs] @Mic92 merged pull request #54246 → python37Packages.beancount: 2.1.3 -> 2.2.0 → https://git.io/fh4NQ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhRZH
<danbst> emm, recursive merge for overlays
Ariakenom has joined #nixos
sheth has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #54241 → brave: 0.58.18 -> 0.58.21 → https://git.io/fh4Fg
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhRns
grr12314 has left #nixos [#nixos]
fuzzy-id has joined #nixos
<fuzzy-id> how can i turn off running tests when using `nix-build' on a haskell project à la “How to build a stand-alone project” from the nixpkgs manual?
ym555 has joined #nixos
<srhb> fuzzy-id: haskell.lib.dontCheck yourPackage
<srhb> Urgh, should really update that section...
gagbo__ has joined #nixos
gagbo_ has quit [Ping timeout: 245 seconds]
jah1234 has joined #nixos
dermetfan has joined #nixos
jah1234 has quit [Read error: Connection reset by peer]
<fuzzy-id> ok, so i figured that out.
<{^_^}> [nixpkgs] @marsam opened pull request #54267 → vale: 1.2.6 -> 1.3.0 → https://git.io/fhRcV
<fuzzy-id> any suggestions how to build docker images from here?
<fuzzy-id> i tried dockertools from nix but that results in an image of ~800mb size packed; unpacked its over 4g…
shibboleth has joined #nixos
<fuzzy-id> i guess one is better off using stack there?
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b3f403bd1ce (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
joehh has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #53646 → gnuradio-osmosdr: 0.1.4 -> 4d83c60, Added support for Soapysdr → https://git.io/fhGA2
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhRcS
<{^_^}> [nix] @edolstra merged pull request #2638 → Update instructions for Haskell script using nix-shell interpreter → https://git.io/fh4Qa
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fhRcH
<{^_^}> [nixpkgs] @markuskowa merged pull request #54218 → gnuradio-rds: 1.0.0 -> 1.1.0 → https://git.io/fh4id
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhRCk
init_6 has joined #nixos
juliendehos has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @hedning opened pull request #54268 → Gnome fixes (gnome-documents and eog) → https://git.io/fhRCg
<{^_^}> [nix] @edolstra pushed to master « unsupported(): Show the name of the unsupported operation »: https://git.io/fhRCF
<ar1a> hey, how can i swap to the unstable nixpkgs channel?
<ar1a> ty
<{^_^}> [nixpkgs] @Mic92 merged pull request #54267 → vale: 1.2.6 -> 1.3.0 → https://git.io/fhRcV
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhRWY
Synthetica has quit [Quit: Connection closed for inactivity]
fendor has joined #nixos
fuzzy-id has quit [Remote host closed the connection]
erictapen has joined #nixos
<{^_^}> [nixpkgs] @taku0 opened pull request #54269 → oraclejdk: 8u191 -> 8u201, 8u202 [Security fixes] → https://git.io/fhRWB
ottidmes has joined #nixos
strobelight has joined #nixos
strobelight_ has joined #nixos
strobelight is now known as Guest31101
fendor has quit [Ping timeout: 268 seconds]
strobelight_ is now known as strobelight
<betaboon> how can i create a file with writeText that starts with a dot ?
hyper_ch2_ has quit [Quit: Page closed]
<tilpner> Not with writeText
Guest31101 has quit [Ping timeout: 264 seconds]
<tilpner> Maybe writeTextFile { name = "foo"; destination = ".foo"; text = "bar"; } does what you want?
<betaboon> tilpner: i tried that, doesnt seem to work either.
Havvy has quit [Ping timeout: 250 seconds]
<betaboon> tilpner: that fails with "failed to produce output path"
Havvy has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker opened pull request #54270 → dockerTools: buildLayeredImage passthru imageTag → https://git.io/fhRlJ
<{^_^}> [nixpkgs] @hedning closed pull request #54156 → libsForQt5.phonon: 4.10.1 -> 4.10.2 → https://git.io/fh8so
itorres1 is now known as itorres
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 250 seconds]
Mateon2 is now known as Mateon1
oida has quit [Remote host closed the connection]
oida has joined #nixos
<tilpner> betaboon: Huh? Where? It definitely builds. It doesn't produce the path you might think it does though
<tilpner> Oh? Sorry, I'm wrong
<tilpner> desination needs to be "/.foo"
<tilpner> Then it builds
Havvy has quit [Ping timeout: 268 seconds]
isHavvy has joined #nixos
<betaboon> tilpner: you're right, i kinda misread the documentation string. (it is kind of contradictory tho: "relative path appended to $out eg "/bin/foo" ")
<betaboon> tilpner: thanks :)
xkapastel has joined #nixos
shibboleth has quit [Quit: shibboleth]
jasongrossman has joined #nixos
<gchristensen> ah that is a confusing way to put it, eh?
<betaboon> gchristensen: yeah. "relative path" made me believe "no leading-/". well yeah it is relative to $out, but in the end an absolute path is expected, right ?
<gchristensen> I don't think "relative" or "absolute" are proper terms here ... heh
<betaboon> gchristensen: sí
jmgai has joined #nixos
strobelight_ has joined #nixos
strobelight is now known as Guest19750
strobelight_ is now known as strobelight
Makaveli7 has quit [Quit: Leaving]
<sheth> happy birthday, NixOS! And to the whole nix-family. Thank you for the love & support, I bid you all a good year!
Guest19750 has quit [Ping timeout: 250 seconds]
jmgai has quit [Ping timeout: 245 seconds]
silver has joined #nixos
<gchristensen> is it the birthday?? :o
<betaboon> does anyone have a good suggestion for postgresql schema migrations? I've been looking at flyway and liquibase.
<{^_^}> [nixpkgs] @offlinehacker opened pull request #54271 → pulumi: 0.16.7 -> 0.16.11, patchelf on linux → https://git.io/fhR86
winem_ has joined #nixos
<betaboon> gchristensen sheth first commit on nixpkgs is march 14 2003
<betaboon> first commit on nix is march 12 2003
<gchristensen> though, it is the 3-year anniversary of the Friday I installed NixOS on my laptop!
<{^_^}> [nixpkgs] @Mic92 pushed to master « android-udev-rules: 20181031 -> 20190114 »: https://git.io/fhR4O
<{^_^}> [nixpkgs] @Mic92 merged pull request #54264 → perl-packages.nix: cleanup meta → https://git.io/fhRti
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fhR4n
<betaboon> gchristensen: how did you figure that out ?
<tilpner> stat /lost+found
<betaboon> tilpner: thanks :D
<gchristensen> sorry, not this laptop, but really the first day I switched to NixOS
<tilpner> Or stat /nix, for the portable solution
<betaboon> gchristensen: i moved my nixos installation to ofter between devices that i lost track
reinhardt has quit [Quit: Leaving]
<srhb> I'd probably have to dig it out by finding my frustrated messages in this channel.
<gchristensen> the first line of my #nixos irc log is 2016-01-15... and then 2016-01-16 16:29:39 is when I first asked for help with at install problem
* tilpner appears to be at 1.99 years
<gchristensen> srhb: bingo :)
<srhb> :-)
<betaboon> have come a long way :D
<disasm> trying to install nixos on my new laptop and /nix/store/f289835yi01lnan49di3dgvdwmnfswv1-zfs-kernel-0.7.12-4.20.2.drv fails to build. This is from nixos-install which uses nix build so I only get the last 10 lines which isn't very helpful. Is there a way I can force it to build with nix-build instead?
<disasm> I did set the channel to nixos-unstable before running nixos-install
<tilpner> Tried nix-build '<nixpkgs/nixos> -A system ?
<tilpner> * Tried nix-build '<nixpkgs/nixos>' -A system ?
<disasm> trying now
<gchristensen> disasm: are you trying to get the 5.0 krnel by chance?
<{^_^}> [nixpkgs] @Mic92 merged pull request #54271 → pulumi: 0.16.7 -> 0.16.11, patchelf on linux → https://git.io/fhR86
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fhRBL
<{^_^}> [nixpkgs] @Mic92 merged pull request #54238 → capstone: 4.0 -> 4.0.1 → https://git.io/fh4dt
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhRBC
<disasm> gchristensen: zfs-kernel-0.7.12-4.20.2
fusion809 has joined #nixos
<gchristensen> ah
slyfox_ is now known as slyfox
<disasm> I think I'm going to try changing channel to 18.09 and switch to unstable after I get this thing booting, see if that works
<gchristensen> 18.09 + zfs stable + linuxKrnel_latest works for me
orivej has joined #nixos
o1lo01ol1o has joined #nixos
acarrico has joined #nixos
ym555_ has joined #nixos
semilattice has joined #nixos
<tilpner> I wish there was to express "install this, but only if you can find a cache that has it"
<tilpner> *was a way to
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<ar1a> is there something like configuration.nix but for a user profile?
* tilpner cancels Blender compilation
<ar1a> so user package management is declarative
<disasm> I think you can set builders to ''
<tilpner> ,declarative ar1a
<{^_^}> ar1a: 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
<tilpner> disasm: But I don't want it to apply to all packages! There are some I want to have, even if I have to compile them locally
<ar1a> oh ive heard of that last one
<tilpner> It does a lot more than handle packages
ym555 has quit [Ping timeout: 245 seconds]
semilattice has quit [Remote host closed the connection]
lokado has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixos-hardware] @Mic92 pushed to nix-env-part2 « add dummy default.nix »: https://git.io/fhRRR
<{^_^}> [nixos-hardware] @Mic92 opened pull request #95 → add dummy default.nix → https://git.io/fhRRo
jomik has joined #nixos
<{^_^}> [nixpkgs] @hedning merged pull request #54268 → Gnome fixes (gnome-documents and eog) → https://git.io/fhRCg
<{^_^}> [nixpkgs] @hedning pushed 3 commits to master: https://git.io/fhRRM
<disasm> well, that worked, reboot time :)
o1lo01ol1o has joined #nixos
<jomik> Hey guys, anyone here that have a clever solution as to how I can make it so that everyone can write to `/sys/class/backlight/intel_backlight/brightness` persist?
<jomik> I guess I can make a systemd unit in my configuration.nix.
<srhb> jomik: udev rules, most often.
<srhb> Since it's not detachable, maybe that's overkill...
<jomik> What would be an alternative? I don't really like having a systemd unit doing it I thinkk.. :P
<jomik> It's to allow xmonad (run by my user) to change backlight..
<gchristensen> I would recommend looking in to why https://www.freedesktop.org/software/systemd/man/systemd-backlight@.service.html isn't already doing that exact task
winem_ has quit [Ping timeout: 264 seconds]
acarrico has quit [Ping timeout: 252 seconds]
<jomik> gchristensen: what do you mean?
<jomik> The service you linked just makes the backlight persist.
<gchristensen> well, that unit already probably exists on your system, and is probabl yalready saving the state
<jomik> I am not needing to save state.
<gchristensen> maybe I'm misunderstanding what is happening?
<jomik> I am needing to be able to change it :P
<disasm> gchristensen: do you know off-hand what file nixos/grub puts the efi boot?
<jomik> I need write access to write to /sys/class/backlight/intel_backlight/brightness
<jomik> To update my backlight.
<gchristensen> disasm: I don't, I uses systemd-boot, sorry
<tilpner> jomik: Is your user in the "video" group?
<gchristensen> jomik: how about xbacklight?
<tilpner> (Check with "groups", not what the config says)
<jomik> gchristensen: I was just gonna use the xmonad module for it.
<gchristensen> ah
<jomik> tilpner: It's not.
<tilpner> Try putting it there
<gchristensen> somehow xbacklight can change brightness without needing special perms
<tilpner> gchristensen: : Is your user in the "video" group?
<gchristensen> no
<jomik> Maybe xbacklight runs as root somehow?
ym555_ has quit [Ping timeout: 272 seconds]
<tilpner> I don't think so, it's not in /run/wrappers
<tilpner> -rw-rw-r-- 1 root video 4.0K Jan 18 14:53 brightness
<gchristensen> it talks to /tmp/.X11-unix/X0
<jomik> tilpner: I have
<jomik> .rw-r--r-- 4,1k root 18 Jan 14:47 /sys/class/backlight/intel_backlight/brightness
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/422b6bd489a (from 12 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<ar> $ stat $(readlink -f $(which xbacklight))
<tilpner> Uhh
<ar> Access: (0555/-r-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
<srhb> Mine is also owned by root:root, apparently I use "light" and not xbacklight
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhR0j
<{^_^}> [nixpkgs] @Mic92 merged pull request #54236 → clamav: 0.101.0 -> 0.101.1 → https://git.io/fh45M
<gchristensen> that is not unique, everything in /nix/store is owned by root
<srhb> Maybe a driver thing..
<gchristensen> so evidently xorg can do it
npmccallum has joined #nixos
<srhb> On an aside, 1060 is a weird max setting for brightness. I wonder what the unit is :P
<jomik> Mine is 937
<tilpner> That's driver-dependent, I think
<srhb> Yeah, it is.
<gchristensen> probably milivolts or something silly :)
<tilpner> IIRC my pinebook has a max brightness of 8
jmgai has joined #nixos
<__monty__> Mine goes from 0-100 but I can't reach the maximum brightness by catting to /sys/class/... And if I cat 0 I can't use the brightness buttons.
<{^_^}> [nixpkgs] @Mic92 merged pull request #54208 → fasm-bin: 1.73.05 -> 1.73.06 → https://git.io/fh4uy
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhRE9
joehh has quit [Ping timeout: 250 seconds]
tmaekawa has joined #nixos
ym555_ has joined #nixos
tmaekawa has quit [Client Quit]
endformationage has joined #nixos
acarrico has joined #nixos
ym555_ is now known as ym555
<jomik> Never really figured out what would be the way to allow XMonad to write to /sys/class/backlight/intel_backlight/brightness :D
<hodapp> haskell one-liner I'm sure
<wedens> jomik: I prefer to use 'light' for that
<{^_^}> [nixpkgs] @Mic92 merged pull request #53634 → manual: limit text width → https://git.io/fhGbq
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhRux
<wedens> jomik: you need suid
<wedens> so... I prefer to use 'light' for that :D
jmgai has quit [Ping timeout: 250 seconds]
Synthetica has joined #nixos
<{^_^}> [nixpkgs] @wedens opened pull request #54272 → font-manager: 0.7.3.1 -> 0.7.4.1 → https://git.io/fhRzG
<jomik> wedens: Doesn't `light` essentially do the same as what you linked in that github link? I.e. set a udev rule where it lets `video` write to `brightness`.
<{^_^}> [nixpkgs] @flokli opened pull request #54273 → programs.ssh.knownHosts: update example to be an attrset → https://git.io/fhRzg
<samueldr> IIRC light papers over backlight differences and has settings for "curves" so you can get something that looks more linear
<jomik> brb
periklis has quit [Remote host closed the connection]
jomik has quit [Quit: WeeChat 2.2]
periklis has joined #nixos
jomik has joined #nixos
<wedens> jomik: well, at least I can get away with `programs.light.enable = true;` :) in general it seems to work more reliable than other backlight controlling apps
init_6 has quit []
<jomik> wedens: True! But then, for me to feel good about it. I'd need to pass the light package that `programs.light` builds into my xmonad.hs in some declarative way :P
<jomik> Though, I need to think up a solution for that anyway. I think I may make a `nix.hs` or a `packages.hs` file that will contain absolute paths to all packages that my xmonad depends on.
<jomik> brb~
jomik has quit [Client Quit]
jomik has joined #nixos
<jomik> I find this odd... Why does `sudo nixos-rebuild switch` not actually activate my new generation on boot? :O
<wedens> ,tell jomik you can't pass it like ${light}/bin/light it resides in /run/wrappers/bin due to suid
<{^_^}> wedens: I'll pass that on to jomik
<jomik> O
<{^_^}> jomik: 24 seconds ago <wedens> you can't pass it like ${light}/bin/light it resides in /run/wrappers/bin due to suid
<jomik> Weird, why wedens ?
<{^_^}> [nixpkgs] @vbgl merged pull request #53798 → coqPackages.QuickChick: init at 1.0.2 for Coq 8.8 → https://git.io/fhZxR
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.QuickChick: init at 1.0.2 for Coq 8.8 »: https://git.io/fhRgR
<jomik> `light` has an udev rule that gives a group `video` write permissions to `brightness`?
<jomik> What's the suid part?
<jomik> I ended up just setting an udev rule with `services.udev.extraRules`, which seems to be essentially what light, xbacklight and brightnessctl does.
<{^_^}> [nixos-hardware] @yegortimoshenko merged pull request #95 → add dummy default.nix → https://git.io/fhRRo
<{^_^}> [nixos-hardware] @yegortimoshenko pushed 2 commits to master: https://git.io/fhRgF
<fusion809> Anyone here have any experience getting VSCode's C/C++ extension to work on NixOS? I cannot figure out how to.
<{^_^}> [nixos-hardware] @yegortimoshenko pushed 0 commits to nix-env-part2: https://git.io/fhRgp
<jomik> What is the issue fusion809 ?
<Taneb> Does anyone know a write-up of migrating a hydra server?
<ar1a> i was changing somethign under services.openssh and then i build switched, and my avahi broke. i rebooted and avahi started working again. changed openssh stuff again and switched, avahi broke again. is this known?
<fusion809> The language server keeps failing to load. I've tried editing c_cpp_properties.json, copying what is here: https://github.com/Microsoft/vscode-cpptools/blob/master/Documentation/LanguageServer/c_cpp_properties.json.md but changing the hardcoded compiler paths to NixOS-appropriate ones (/usr, /usr/local->/home/user/.nix-profile
danbst has quit [Ping timeout: 256 seconds]
<fusion809> I have also tried symlinking ~/.nix-profile/bin/gcc and other compiler paths to /usr/bin, but that hasn't helped either.
<disasm> gchristensen: booted into the new laptop :)
<fusion809> I have assumed c_cpp_properties.json belongs in ~/.config/Code/User, in case that is relevant
jomik has quit [Quit: WeeChat 2.2]
dave_uy has quit [Quit: The Lounge - https://thelounge.github.io]
<gchristensen> disasm: yay!
<wedens> jomik: I don't know why 'light' need suid, but it does have a suid :) btw, 'ping' also works only from /run/wrappers/bin
dave_uy has joined #nixos
<gchristensen> jomik left
<fusion809> In case I got c_cpp_properties.json wrong, here it is: https://gist.github.com/fd8f0f0c3313129d5f82fc0e5260bcec
<fusion809> .
<srhb> Taneb: No, but. It should be as simple as moving the store, DB, various keys, and the hydra gc roots.
<wedens> ,tell jomik: I don't know why 'light' needs suid, but it does have a suid :) btw, 'ping' also works only from /run/wrappers/bin
<{^_^}> wedens: I'll pass that on to jomik:
<gchristensen> light needs suid because it doesn't use X's protocol for adjusting backlights
<fusion809> Noticed a few bits of that json are for mac and edited it a little more and still, when I reload VSCode after editing the config I still get the LanguageServer failing errors. Here is my new json: https://gist.github.com/210ea42bc6575ab892fd0afaac76496e.
<{^_^}> [nixpkgs] @timokau opened pull request #54275 → youtube-dl: 2019.01.16 -> 2019.01.17 → https://git.io/fhR2N
<Taneb> srhb: is there a nice way to move the store?
<jophish> Ericson2314: hey! I'm trying to cross compile some rust code, is this remotely supported in nix at the moment?
<{^_^}> [nixpkgs] @timokau opened pull request #54276 → youtube-dl: 2019.01.16 -> 2019.01.17 → https://git.io/fhRav
<srhb> Taneb: nix copy --all
<wedens> gchristensen: yeah, but udev rules change it to be accessible to "video" group https://github.com/haikarainen/light/blob/master/90-backlight.rules why does it still need a suid? (my understanding of suid is bad, tbh)
<srhb> Taneb: Though if your store is particularly big that will probably crash nix oom. I had to cut the store into pieces and xargs my way to victory recently.
<adisbladis> jophish: Supposedly rust cross compilation should just work nowadays (on unstable/master)
<jophish> I'll give it a try!
<jophish> thanks adisbladis!
* jophish goes on the small journey on remember the incantations for cross compiling in nix
<jophish> perhaps just ns -p pkgsCross.arm-embedded.buildPackages.rustc
<jophish> who knows
DrWowa has quit [Quit: WeeChat 2.2]
equivrel` has quit [Ping timeout: 268 seconds]
<adisbladis> jophish: Yeah looks right to me. Btw, if you've missed it: https://discourse.nixos.org/t/slides-from-my-35c3-cross-compile-workshop/1785
<fusion809> jomik:^ should have pinged you with my reply about VSCode, in case you missed it.
<nikivi> is it possible to have pip be installed when python gets installed via nix?
<nikivi> I need pip installed for VS Code
<nikivi> and also some tools that are pip installable and aren't on nix yet
<symphorien> pip is available and works with nix, but it will fail on python packages with native dependencies
rpg has joined #nixos
jmgai has joined #nixos
hvemvet has quit [Ping timeout: 246 seconds]
<nikivi> symphorien I dont have pip in my path
<nikivi> how do I get it?
<nikivi> I installed `pkgs.python3`
Mark__ has joined #nixos
<nikivi> and `pkgs.python2Full`
<symphorien> nix-env -iA nixos.python36Packages.pip
<symphorien> the full version of python only adds tkinter iirc, not pip
<adisbladis> Or better yet: use python3.withPackages
<adisbladis> python3.withPackages(ps: [ ps.pip ])
<symphorien> adisbladis: does it make a difference when it is a tool which goes in $PATH ?
Mark__ has quit [Client Quit]
<{^_^}> [nixpkgs] @dotlambda merged pull request #54275 → youtube-dl: 2019.01.16 -> 2019.01.17 → https://git.io/fhR2N
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/fhRVn
sinner has joined #nixos
sinner is now known as Guest17325
<{^_^}> [nixpkgs] @dotlambda merged pull request #54276 → [18.09] youtube-dl: 2019.01.16 -> 2019.01.17 → https://git.io/fhRav
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to release-18.09: https://git.io/fhRVB
Ariakenom has quit [Ping timeout: 268 seconds]
sakalli_ has joined #nixos
sakalli_ has quit [Excess Flood]
sakalli_ has joined #nixos
Guest37458 has quit [Ping timeout: 268 seconds]
<Ericson2314> @jophish almost! There's a PR that needs a few final touches.
<adisbladis> Oh, I thought that was merged by now?
<adisbladis> symphorien: I'd not want to find out the hard way.. I've had plenty of confusion around mixing python versions
sakalli_ has quit [Client Quit]
<nikivi> anyone here use VS Code on NixOS?
<nikivi> I get this error of `black` tool not installed https://i.imgur.com/rPaa2NS.png
<nikivi> but I have installed it with nix
<nikivi> I guess the editor doesn't see it
<__monty__> nikivi: Maybe it doesn't call the executable but it calls it via python instead? If that's the case you will need to have a python.withPackages (ps: [ ps.black ]) available to the editor, rather than just any python.
<jophish> Ericson2314: nice!
<jophish> looking forward to using rust for some embedded development
cyounkins has joined #nixos
<adisbladis> jophish: Speaking of which, I was looking into using https://github.com/thepowersgang/mrustc last week
<adisbladis> Might be interesting for you too
<jophish> thanks, I'll take a look
<jophish> but alas, it's getting late here and I have to go to bed
worldofpeace has joined #nixos
<Ericson2314> jophish https://github.com/NixOS/nixpkgs/pull/50866 is the PR. See the last comments for what's left.
<{^_^}> #50866 (by Mic92, 8 weeks ago, open): [WIP] Rust cross compilation
<Ericson2314> I don't know when I'd have time, unlike what I said, so feel free to try to chip off that last bit.
<Mic92> jophish: mention the branch if you work on this and I will integrate it.
cyounkin_ has joined #nixos
cyounkins has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #54240 → ammonite: 1.6.0 -> 1.6.2 → https://git.io/fh4d5
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @r-ryantm to master « ammonite: 1.6.0 -> 1.6.2 »: https://git.io/fhRr0
<{^_^}> [nixpkgs] @bjornfor closed pull request #53989 → nixos/pam: add pam_nologin.so by default → https://git.io/fhCEQ
<{^_^}> [nixpkgs] @dotlambda merged pull request #54102 → python37Packages.jaraco_itertools: 3.0.0 -> 4.0.0 → https://git.io/fhlXD
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fhRok
rpg has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @Mic92 closed pull request #54164 → mpop: 1.4.1 -> 1.4.2 → https://git.io/fh84t
<tilpner> samueldr, gchristensen: I see that you are using borgbackup as a package, but not the module. Is there some problem with the module that I'll only discover later?
<gchristensen> I didn't use the module b/c I created my backup with a password which I shared with something else, and now I don't want to store it, and I don't think you can rotate passwords
<samueldr> there's a module?
<Mic92> yes
<Mic92> and a test
<samueldr> (I was using borg backup before using nixos though)
<orbekk> the module was created after I started using it, so I have my own one too
<samueldr> I should look into using the module then lol
<orbekk> gchristensen: looks like it has a passCommand so you don't need to add your password to the store
<samueldr> pretty sure borg backup allows changing passwords; I'm pretty sure I went from "something not so crazy I input" to "something I don't know my password manager inputs"
<gchristensen> I don't want to store it at all
<tilpner> Ah, that's good, thanks! :)
<tilpner> gchristensen: Does borg key change-passphrase sound relevant?
<gchristensen> I'm pretty sure I did something stupid that makes it not possible
<tilpner> (I haven't used borg much, migrating from duplicity)
<gchristensen> I use a combination of zfs snapshots and borg, and am not too fussed
<tilpner> Do you also stop service to take the snapshot?
<tilpner> (For best consistency)
<gchristensen> no, none of my service states remain between boots anyway
<tilpner> Oh, then I suppose we're backing up different things :)
<tilpner> Thanks! :)
<gchristensen> what are you backing up?
<tilpner> Laptop and server, which would include matrix-synapse and nextcloud
<gchristensen> ah
<tilpner> Still not entirely sure about that postgres
erasmas has joined #nixos
<gchristensen> basically, read the docs and do what it says
<gchristensen> you don't want to get crosswise with db backups
danbst has joined #nixos
<danbst> finally! no more python.override ( pacakgeOverrides = self: super: { override several times more....
<danbst> though I wanted to fix postgresql, but eventually fixed python
sanscoeur has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<Taneb> So, to do a nix copy, I need to say I trust the origin's key on the target?
Ariakenom has quit [Read error: Connection reset by peer]
<clever> Taneb: or use the unsafe --no-check-sigs flag to turn checks off
Tucky has quit [Quit: WeeChat 2.2]
<Taneb> clever: good to know
<clever> Taneb: you must be listed under the destinations trusted-users field (in nix.conf) to disable that safety (root is trusted by default)
<clever> the old nix-copy-closure just disabled sig checks automatically if it was root
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zimbatm pushed to master « terraform_0_12: 0.12.0-alpha2 -> 0.12.0-alpha4 »: https://git.io/fhRiL
fusion809 has joined #nixos
hvemvet has joined #nixos
cyounkin_ has quit [Remote host closed the connection]
xkapastel has quit [Quit: Connection closed for inactivity]
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #54277 → Keybase 2.13.1 → https://git.io/fhRir
Jetien has joined #nixos
matthewbauer has joined #nixos
jmgai has quit [Ping timeout: 272 seconds]
hedning has quit [Ping timeout: 245 seconds]
romildo has joined #nixos
knupfer has joined #nixos
<romildo> Is there any guidelines for installing gnome shell extensions on NxOS?
cyounkins has joined #nixos
<romildo> I mean, those extensions packaged in nixpkgs.
Ariakenom has joined #nixos
hedning has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to staging « orca: use pkgs.pkgconfig »: https://git.io/fhRPI
fendor has joined #nixos
<ivegotasthma> could home-manager be absorbed within the nixos project?
<gchristensen> I think it is probably healthy for it to be separate ... but maybe it could
<ivegotasthma> just curious, because it seems like it's a straight up augmentation
<simpson> There's a history of home-manager-like things being built, proposed for NixOS, and then failed to get in.
<danbst> romildo: services.xserver.desktopManager.gnome3.sessionPath = [ ... ];
<simpson> So probably yes, but only with effort.
<worldofpeace> jtojnar: just realized that file roller has a dbus service. that needs a module right?
<danbst> romildo: ah, maybe it won't work
<danbst> gchristensen: ivegotasthma: it should be absorbed directly into nixpkgs I think. Why not?
<fusion809> Hi, on Arch Linux Nix doesn't work properly due to sandboxing apparently, what kernel config option do I need to enable in order for Nix to work?
o1lo01ol1o has quit [Remote host closed the connection]
<tilpner> danbst: PR reviews are already slow enough as-is, adding more changes doesn't help
<fusion809> I'm going to rebuild the kernel, with the appropriate option set, so that I can use Nix on Arch
<tilpner> danbst: And people who are currently maintainers of home-manager might not be maintainers of nixpkgs (where maintainer is a person with write privileges)
<__monty__> fusion809: Is this a recent change? I'm a happy nix user on arch without a custom kernel. I *am* on LTS however.
<fusion809> __monty__: yep
<fusion809> Arch used to work fine with the standard kernel, but it doesn't anymore
<fusion809> I am using the testing repos though
<danbst> tilpner: I see
<simpson> danbst: I think that, on my prior point, https://github.com/NixOS/nixpkgs/pull/4594 and https://github.com/NixOS/nixpkgs/pull/9250 are required reading before going on this adventure.
<{^_^}> #4594 (by nbp, 4 years ago, closed): Make a configuration management tool based on Nix to manage User Profiles.
<{^_^}> #9250 (by ts468, 3 years ago, open): nixuser: declarative user environments
<symphorien> fusion809: as a stop gap, you can disable the sandbox
<simpson> That said, feel free to break ground, send a PR, etc. But people may expect a more serious design than 'should be absorbed directly into nixpkgs'
<fusion809> symphorien: I have, but it is still deciding to be a pain
<danbst> simpson: nixUP is dead
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<symphorien> fusion809: googling says: sysctl kernel.unprivileged_userns_clone=1
<danbst> one of the reasons I still don't use home-manager, is because it's changes aren't distributed alongside with nixpkgs
<simpson> Mm. That's a feature, not a problem: "This project is under development. I personally use it to manage several user configurations but it may fail catastrophically for you. So beware!"
<tilpner> danbst: So you can save one --update call, or because you think that would improve stability?
<fusion809> When I was debugging this issue on my own, before yas told me to disable sandboxing last time, I decided to rm /nix/store and reinstall with the curl script.
hedning has quit [Remote host closed the connection]
<fusion809> Now I'm getting errors like: error: opening file '/nix/store/i1frskz7j9rgypr1a0w2j66xva8c422r-gnused-4.7.drv': No such file or directory when I try to install gnused
<fusion809> Is there a way to fix this?
hedning has joined #nixos
<symphorien> is nix-store --verify --check-contents happy ?
<fusion809> It gave an error at the end: error: executing SQLite statement 'delete from ValidPaths where path = ?;': constraint failed (in '/nix/var/nix/db/db.sqlite')
<danbst> tilpner: no, it's more like personal inertia. I've lived so much with one nixpkgs (and I do remember times when nixpkgs and nixos were separate)... It's definitely personal, not technical
<clever> fusion809: something depends on it in db.sqlite, sounds like your db is a little corrupt
<symphorien> ah, you removed /nix/store not the full /nix
<symphorien> when reinstalling
<clever> that could also do it
<fusion809> Yep, I did.
<{^_^}> [nixpkgs] @bachp opened pull request #54279 → plex service: allow access to hardware acceleration libraries → https://git.io/fhRMS
<fusion809> So, what should I do? Rm /nix and re-install with the curl script?
<clever> fusion809: thats the simplest thing
o1lo01ol1o has joined #nixos
perique has joined #nixos
cyounkin_ has joined #nixos
<fusion809> Seems to have worked, thanks
<morr>
romildo has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #54280 → nixos/doc: bs=1000000 for dd args → https://git.io/fhRDR
ng0 has joined #nixos
<countingsort> quick question: is the default dm still SLiM? i think remembering it was lightdm the other day, i dont have x installed rn to check though
cyounkins has quit [Ping timeout: 268 seconds]
<lassulus> its lightdm now
<countingsort> thanks
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<countingsort> the manual is outdated then
<{^_^}> [nixpkgs] @zimbatm pushed to master « terraform-docs: 0.5.0 -> 0.6.0 »: https://git.io/fhRD6
o1lo01ol1o has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
<danbst> countingsort: PR a fix
<countingsort> im on it
<danbst> countingsort: cool
romildo has joined #nixos
rpg has joined #nixos
Guest17325 has quit [Read error: Connection reset by peer]
sinner has joined #nixos
sinner is now known as Guest76155
<{^_^}> [nixpkgs] @buffet opened pull request #54281 → Updated default DM in NixOS manual → https://git.io/fhRyw
<{^_^}> [nixpkgs] @vbgl opened pull request #54282 → ocamlPackages.alcotest: 0.8.2 -> 0.8.5 → https://git.io/fhRy6
<{^_^}> [nixpkgs] @danbst merged pull request #54281 → Updated default DM in NixOS manual → https://git.io/fhRyw
<{^_^}> [nixpkgs] @danbst pushed 2 commits to master: https://git.io/fhRyd
<danbst> countingsort: thanks!
lfish has joined #nixos
jacereda has joined #nixos
fendor has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @danbst merged pull request #54280 → nixos/doc: bs=1000000 for dd args → https://git.io/fhRDR
<{^_^}> [nixpkgs] @danbst pushed commit from @matthewbauer to master « nixos/doc: bs=1000000 for dd args (#54280) »: https://git.io/fhRSI
hvemvet has quit [Ping timeout: 240 seconds]
<danbst> matthewbauer: are there any rules about squash-n-merge or regular merge for 1-commit PRs?
<gchristensen> regular merge if the commit is already signed I think
<danbst> gchristensen: ah right
<gchristensen> I don't think there are any specific rules, though
<gchristensen> we could write some! :)
Guest76155 has quit [Ping timeout: 244 seconds]
Jetien has quit [Ping timeout: 268 seconds]
endformationage has quit [Ping timeout: 250 seconds]
hedning_ has joined #nixos
hedning_ has quit [Remote host closed the connection]
ckauhaus has quit [Quit: WeeChat 2.2]
hedning_ has joined #nixos
hedning has quit [Ping timeout: 246 seconds]
hedning_ is now known as hedning
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
romildo has quit [Ping timeout: 245 seconds]
Acou_Bass has joined #nixos
hyper_ch_ has quit [Read error: Connection reset by peer]
hyper_ch has joined #nixos
lfish has quit [Ping timeout: 256 seconds]
perique has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Synthetica has quit [Quit: Connection closed for inactivity]
cyounkins has joined #nixos
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
cyounkins has quit [Remote host closed the connection]
kai_w has quit [Quit: Konversation terminated!]
cyounkins has joined #nixos
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cyounkin_ has quit [Ping timeout: 245 seconds]
Jackneilll has quit [Remote host closed the connection]
cyounkins has quit [Ping timeout: 250 seconds]
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 closed pull request #49723 → gst_all_1: make extensible → https://git.io/fxhod
dsiypl4 has joined #nixos
sanscoeur has joined #nixos
dermetfan has quit [Ping timeout: 245 seconds]
Synthetica has joined #nixos
Jetien has joined #nixos
erictapen has quit [Ping timeout: 250 seconds]
dermetfan has joined #nixos
romildo has joined #nixos
cyounkins has joined #nixos
<Taneb> Trying to nix copy --all, the VM I'm copying from seems to have stopped responding
sinner has joined #nixos
sinner is now known as Guest44358
<sphalerite> Taneb: my guess would be OOM
<Taneb> Ah, it's back online
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<iqubic`> hello
iqubic` is now known as iqubic
fusion809 has quit [Remote host closed the connection]
<danbst> iqubic: hi
fusion809 has joined #nixos
Judson1 has joined #nixos
<iqubic> So is there way to install Discord 0.0.8 on Nixos?
cyounkins has quit [Ping timeout: 268 seconds]
<worldofpeace> iqubic: I think that's on master and stable now
<worldofpeace> stable -> release-18.09
<iqubic> But somehow not on unstable?
<clever> iqubic: it takes a few hours for changes to go from master to unstable
<iqubic> I'm pulling Discord from unstable, and still not getting the latest version.
<LnL> unstable is by definition more likely not to update as frequently
<iqubic> So what should I do?
<clever> iqubic: wait?
<iqubic> For how nuch longer?
<goibhniu> iqubic: you have a lot of options, you could install it from hydra into your user profile
<LnL> wait or pull in the version from master temporarily
<iqubic> IDK how to do any of that. So I'm going to stop complaining and just wait.
<goibhniu> at least you can still use it in your browser
<iqubic> I know.
<danbst> iqubic: nix-channel --add https://github.com/nixos/nixpkgs/archive/master.tar.gz nixpkgs-master ; nix-channel --update nixpkgs-master; nix-env -iA nixpkgs-master.discord
<LnL> iqubic: try nix-env -f https://github.com/NixOS/nixpkgs/archive/master.tar.gz -iA whatever
* goibhniu misses the hydra one-click install button
<clever> goibhniu: open the details page on hydra, find the output path, nix-store -r /nix/store/foo ; nix-env -i /nix/store/foo
<iqubic> I'll just wait.
<LnL> huh, it's gone?
<goibhniu> clever: yeah, the button was nice though
<goibhniu> I have a habit of installing NixOS on computers for people who don't know how to use computers :D
<clever> goibhniu: and then you get stuck supporting them :P
<LnL> goibhniu: click on help of the build outputs https://hydra.nixos.org/build/87264208
<{^_^}> [nixpkgs] @lheckemann opened pull request #54283 → display-managers: use xsession from nix-profile → https://git.io/fhR5G
<goibhniu> so much easier than supporting people on any other distro, it's a breeze
<clever> goibhniu: one such person recently thought of using an ubuntu vm to solve his in-ability ot patchelf :P
rpg has joined #nixos
<LnL> the nix-install-package stuff is gone but there are still instructions for it
<goibhniu> ah, that's nice! thanks, I didn't realise that was there.
Denommus has joined #nixos
<LnL> the install command basically became obsolete since you can use store paths in most of the commands directly now
<goibhniu> my target audience will struggle with copy and paste, but it might work
<Synthetica> Just ssh into their box :P
<clever> Synthetica: one time, i made a custom USB image, that launches my vpn on bootup, with ssh configured to allow me in
<clever> Synthetica: so i could do the entire install remotely
<Synthetica> ... Nice
<Synthetica> clever++
<{^_^}> clever's karma got increased to 71
<goibhniu> I just feel a bit bad about giving them a computer that they can't even install a package on. Although, I don't think they care so much.
jmgai has joined #nixos
<iqubic> I feel like unstable should be updated more often than stable?
<Synthetica> iqubic: Unstable tends to break more often
<goibhniu> iqubic: unstable changes more often, so it has to do more work to get built
<clever> a couple things broke on my machine with the last unstable update
<clever> though it was build-time breakage, that forced me to just remove them from systemPackages, to even update
<iqubic> i see.
<clever> obs-studio and my qemu-user stuff
<iqubic> Does unstable generally have newer versions of software than stable?
<goibhniu> yep
<clever> yeah
<iqubic> except that master has even newer versions??
<goibhniu> but stuff like Firefox (and I'd say Discord too), is backported to stable
jmgai has quit [Ping timeout: 240 seconds]
<clever> iqubic: when master passes a certain set of tests, that version becomes the new unstable
<iqubic> it's been a week or so since I've used the desktop client of Discord.
<goibhniu> that's not terribly unusual, it's the downside of using unstable
<clever> /build/source/plugins/obs-libfdk/obs-libfdk.c:266:27: error: 'AACENC_InfoStruct {aka struct <anonymous>}' has no member named 'encoderDelay'; did you mean 'nDelay'?
<clever> seems to have broken other things as far back as sept, https://github.com/mstorsjo/fdk-aac/issues/93
<{^_^}> mstorsjo/fdk-aac#93 (by rgaufman, 19 weeks ago, closed): libavcodec/libfdk-aacenc.c:292:34: error: ‘AACENC_InfoStruct {aka struct <anonymous>}’ has no member named ‘encoderDelay’
worldofpeace has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 252 seconds]
Mr_Keyser_Soze has joined #nixos
sigmundv_ has quit [Ping timeout: 272 seconds]
<clever> and its already fixed upstream, https://github.com/obsproject/obs-studio/commit/5cf2b5fbf925412620e2a40552d6348203851cb3 just need to update obs-studio in nix
<danbst> does anybody know an example in Nixpkgs on how to put packages not via all-packages.nix, but a separate overlay?
<{^_^}> [nixpkgs] @zimbatm merged pull request #52937 → terraform-providers: new providers + version bumps → https://git.io/fhTMC
<{^_^}> [nixpkgs] @zimbatm pushed 4 commits to master: https://git.io/fhRFO
<danbst> I did modify overlay list in stages.nix for now, but this is ugly
romildo has quit [Ping timeout: 250 seconds]
worldofpeace has joined #nixos
<clever> oh, and the patch is already in master!
reilithion has joined #nixos
erasmas has quit [Quit: leaving]
hedning has quit [Quit: hedning]
hedning has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #54099 → python37Packages.pytest-benchmark: 3.1.1 -> 3.2.2 → https://git.io/fhlik
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « python37Packages.pytest-benchmark: 3.1.1 -> 3.2.2 (#54099) »: https://git.io/fhRbJ
<reilithion> Suppose an application requires an invocation of `make` in its main directory to build the application itself, and then subsequent invocations of `make` in its plugin directories in order to build its plugins. How should this be treated in its `default.nix`?
cyounkins has joined #nixos
<aminechikhaoui> How do I enable the serial console for libvirtd nixops backend
rpg has quit [Quit: Textual IRC Client: www.textualapp.com]
<aminechikhaoui> I added console=ttyS0 to the kernelParams and see it in /proc/cmdline but I'm still not able to run `console <domain>` in virsh
<aminechikhaoui> I think I'm missing something other than the kernel params, any idea ?
sanscoeu_ has joined #nixos
<reilithion> I've thought of adding a `postBuild` script, but I don't know how to reliably `cd` into the plugin directories. (I think I should be doing something like `cd $sourcetree/plugins/one && make` then `$sourcetree/plugins/two && make`, but I don't think `$sourcetree` is right, and I don't know what would be)
<danbst> nbp_: can we get something like NixOS imports = [] for overlays? E.g.: self: super: { imports = [ ./some/other/overlay]; }
<aminechikhaoui> the error I get when trying `console <domain>` is internal error: cannot find character device
sanscoeur has quit [Ping timeout: 246 seconds]
<iqubic> I can't believe that things take a long long long time to get backported.
<aminechikhaoui> oh nevermind re:console issue I think I found the answer in the doc
reinhardt has joined #nixos
<fusion809> What package provides the clangd executable? I've tried clang-tools, cquery, clang itself, clang-analyzer, and probably others I don't recall atm, yet none has added clangd to my PATH
<fusion809> I need it for the ide-cpp package of Atom
<symphorien> ,locate bin clangd
<{^_^}> Found in packages: llvmPackages.libclang
<fusion809> Thanks
Jetien has quit [Ping timeout: 240 seconds]
freeman42x has joined #nixos
<jonaswouters> is there a setting to use the power button of a desktop as as "sleep monitors" button?
lfish has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #54098 → python37Packages.trio: 0.9.0 -> 0.10.0 → https://git.io/fhlKX
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « python37Packages.trio: 0.9.0 -> 0.10.0 (#54098) »: https://git.io/fhRNp
<ottidmes> jonaswouters: if you would be able trigger this via some command then I think you should be able to disable the default behavior from systemd by setting those op the Ignore value and then you would use whatever keybinding program you like to bind the button to that command (since I do not believe you can set a custom command via systemd like that)
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dotlambda closed pull request #54084 → python37Packages.python-docx: 0.8.7 -> 0.8.10 → https://git.io/fhl2f
<symphorien> xset dpms force activate may do what you want iirc
<{^_^}> [nixpkgs] @dotlambda closed pull request #54080 → python37Packages.phonenumbers: 8.10.2 -> 8.10.3 → https://git.io/fhlEZ
<jonaswouters> ottidmes: I'll just make an i3 shortcut as an alternative for now. thanks
<ottidmes> jonaswouters: I needed this (removed newlines for pasting here): services.logind.extraConfig = '' HandlePowerKey=ignore HandleSuspendKey=ignore HandleHibernateKey=ignore '';
<ottidmes> jonaswouters: otherwise it would still poweroff by default even though I did set a shortcut myself
<adisbladis> danbst: Wouldn't that just be `overlays = builtins.map (p: import p) [ ./exwm-overlay ./local ]`
<{^_^}> [nixpkgs] @dotlambda merged pull request #54078 → python37Packages.python-gitlab: 1.6.0 -> 1.7.0 → https://git.io/fhl00
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « python37Packages.python-gitlab: 1.6.0 -> 1.7.0 (#54078) »: https://git.io/fhRA5
<danbst> adisbladis: I want to add postgresql extensions as an overlay inside nixpkgs repo. I have to find out way to inject that into all-packages.nix (or some other way)
<adisbladis> danbst: Ahh, right, so an overlay pulling in another overlay sort of?
<danbst> adisbladis: this is an experiment, but why not - split all-packages into several overlays
<danbst> adisbladis: right
alex`` has joined #nixos
bigvalen has quit [Ping timeout: 250 seconds]
xantoz has quit [Read error: Connection reset by peer]
<ottidmes> danbst: why not: (self: super: postgresqlExtensions = super.lib.fix (super.lib.extends (import ./postgresql-extensions-overlay.nix) (self: {})))
<ottidmes> danbst: with some braces around that postgresqlExtensions of course, my bad
<danbst> ottidmes: and where should I put this? Currently I put it into stages.nix
xkapastel has quit [Quit: Connection closed for inactivity]
xantoz has joined #nixos
freeman42x has quit [Read error: Connection reset by peer]
petersjt014 has joined #nixos
freeman42x has joined #nixos
<ottidmes> danbst: you would add it to your overlay as usual, but I think it is not correct in its current form
<danbst> ottidmes: no, I want to put it into nixpkgs master, not my custom overlays. I can't find a right place for overlays in nixpkgs
fendor has joined #nixos
<ottidmes> danbst: ah like so
bigvalen has joined #nixos
moet has joined #nixos
bandali has quit [Quit: ZNC 1.7.1 - https://znc.in]
cyounkins has quit [Remote host closed the connection]
<ottidmes> danbst: I believe the most common way is like is done for Apache in all-packages.nix, search for "apacheHttpdPackagesFor"
cyounkins has joined #nixos
cyounkins has quit [Read error: Connection reset by peer]
cyounkins has joined #nixos
estrom has joined #nixos
sinner has joined #nixos
sinner has quit [Read error: Connection reset by peer]
sinner has joined #nixos
sinner is now known as Guest56116
<danbst> ottidmes: I see. Maybe I should do this way, but this isn't exactly what I wanted (split all-packages.nix a bit, by using more overlays)
<fusion809> Is there a way of disabling tests for dependencies installed for a nix-shell session? I'm running nix-shell -p gobjectIntrospection gtk3 '(python37.buildEnv.override { extraLibs = with python37Packages; [ matplotlib pygobject3 ]; ignoreCollisions = true; })' so that I can create Matplotlib plots under Julia, but the tests for python3.7-hypothesis is failing.
<danbst> ottidmes: I discovered today that overlays are incredibly cool.
<fusion809> And I'd like to disable the tests to firstly, speed up the setting up of the shell and secondly, fix this install failure.
Guest44358 has quit [Ping timeout: 268 seconds]
<ottidmes> danbst: they indeed are, and I guess you actually could just implement them as such, but to my knowledge this is not yet being done for things like extensions, but I do not see why it would not be possible
acarrico has quit [Ping timeout: 240 seconds]
fresheyeball has joined #nixos
cyounkins has quit [Remote host closed the connection]
rpg has joined #nixos
cyounkins has joined #nixos
<danbst> ottidmes: btw, could you make a little review of my https://github.com/NixOS/nixpkgs/pull/54266 ? I can't find drawbacks, but maybe I'm blind
<{^_^}> #54266 (by danbst, 8 hours ago, open): overlays: (partially) recursive merge
acarrico has joined #nixos
DanC has quit [Quit: Ubuntu maintenance]
aleph- has joined #nixos
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
cyounkins has quit [Ping timeout: 246 seconds]
<cransom_> gchristensen: re: pxebooting with a squashfs. do you recall (or have snippets around) on how you did that? isee the squashfs uses for cd baking and pxe, but the path to make a disk image with squash isn't quite clear to me.
moet has quit [Ping timeout: 250 seconds]
<fresheyeball> ok folks
<gchristensen> sure
<fresheyeball> so I have a real problem
brachiel has joined #nixos
<fresheyeball> my haskell program compiles fine with cabal in the nix-shell
<fresheyeball> but nix-build fails
<fresheyeball> by running out of simplier ticks
<fresheyeball> I did a divide and conquor on my code to find the problem
<fresheyeball> and have reached the conlusion that its a typeclass problem
<fresheyeball> in a specific location in the code
<fresheyeball> shit I just falsified that
lfish has quit [Ping timeout: 256 seconds]
<fresheyeball> ok so that is not the problem
<fresheyeball> regardless, I don't understand looking at the generic builder
<fresheyeball> what is making it so different from running cabal build in the shell
<fresheyeball> I feel like those should match
<ottidmes> fresheyeball: external influences (i.e. impurities) when using the shell, and probably sandboxing when using nix-build, those are the most common causes for differences to my knowledge
ym555 has quit [Ping timeout: 245 seconds]
<ottidmes> danbst: interesting PR, I think it is a good idea, I am not particular happy about the solution, but I get the problem with the other suggetions, if I can think of any better solution I will place a comment.
Guanin has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #54284 → nixos/file-roller: init → https://git.io/fhRhB
<elvishjerricco> fresheyeball: I wonder if cabal-install's optimisation level configuration option overrides any ghc-options in your cabal file. Maybe your nix build is just doing more optimizations?
<gchristensen> cransom_: is that sufficient direction?
ddellacosta has joined #nixos
ddellacosta has quit [Read error: Connection reset by peer]
<iqubic> so is there any way that I can get notified as soon as the lastest version of Discord hits unstable?
ddellacosta has joined #nixos
<tilpner> Yes, write a script that polls the unstable channel, checks against a version, and mails you when it matches the string you set
janneke has joined #nixos
periklis has quit [Ping timeout: 264 seconds]
<danbst> ottidmes: thanks!
<iqubic> tilpner: That sounds like a lot of work.
<tilpner> A few lines, yes
<tilpner> Like... three
<iqubic> A few lines that I don't know.
<tilpner> Great time for learning
<ottidmes> danbst: your pythonPackages fix, how is that with others, do they have the same problem or was it python specific
<danbst> ottidmes: actually, python fix was unrelated to original PR intent, it was that just python didn't use fixpoint correctly
jacereda has quit [Ping timeout: 246 seconds]
<danbst> ottidmes: for example, the mentioned apacheHttpdPackagesFor wouldn't have such problem and would work "out of box"
acarrico has quit [Ping timeout: 268 seconds]
<ottidmes> danbst: just thought of an alternative to marking them explicitly, why not just check for naming conventions? Naively, if it contains "Packages", but I guess it could lead to false positives
<danbst> ottidmes: I mean, apacheHttpdPackagesFor packages
<timokau[m]> iqubic: I'm using a script to poll hydra for breakage (since it won't email me...), that should be easy to adapt
<danbst> ottidmes: this too strict. For example, python27 is an attrset AND a derivation
<danbst> ottidmes: so I can hijack with _merge_python27 = true;
<cransom_> gchristensen: it is. i just need to put in more effort because i think the squashfs enabling part is tailored a bit to the type of system it's being deployed for, so if i'm making amis, it's not going to fit nicely as is.
Makaveli7 has joined #nixos
<danbst> ottidmes: in the end it all works flawlessly, I didn't even expect it would work. I'm currently doing this for postgresql packages, and it works flawlessly too
sanscoeu_ has quit [Remote host closed the connection]
<petersjt014> any chance someone could help me w/ some disk resizing-ish stuff?
<gchristensen> cransom_: I don't follow
<danbst> petersjt014: just throw your problem, maybe someone knows a solution
dermetfan has quit [Read error: Connection reset by peer]
dermetfan has joined #nixos
<petersjt014> I'm working on a nix file to write an aarch64 image with nilfs as the main filesystem, and I dont speak sfdisk or whatever it is
<petersjt014> here's the file sofar:
<ottidmes> danbst: maybe python27Mergable = true to still be camel case and not having to change case for the thing itself like mergePython27 would
<danbst> ottidmes: hm. I guess Mergable suffix isn't that bad. Well, if that can please niksnut then I'll rename that.
lord| has joined #nixos
labancle has joined #nixos
<ottidmes> danbst: I have some ideas, but they would all involve having to evaluate at least part of nixpkgs, which is always too much, because even just evaluating just the names would probably be too much overhead, and my other ideas would incur even more
<danbst> petersjt014: whoops, I don't speak sfdisk too :/
<cransom_> gchristensen: i'm not sure i know either, let me get back to you on that.
<gchristensen> ok, cool
<petersjt014> s'alright. I'm not even sure if sfdisk is the correct tool here
<danbst> ottidmes: why would name evaluation be bad? Isn't it done already?
<clever> petersjt014: i usually use gparted (gui app) for paritition resizing
<clever> danbst: reading the .name of a derivation involves first importing and parsing its default.nix
<petersjt014> right, but that wouldn't really make sense here: https://gist.github.com/petersjt014/b52dfaf91762e4b889035e4535cb67ec
<danbst> clever: ah, I thought ottidmes talked about attribute names
<clever> petersjt014: there is an aws script that will automate expanding a partition, normally used on AMI's
<ottidmes> danbst: I was actually (talking about just the attribute names), but it seems way faster than expected, it must have been something different causing the slowdown
<petersjt014> the thing I'm looking for (in the gist above) is something to resize the root filesystem to fit the partition (which is a thing that's needed I guess)
<petersjt014> the ext4 version starts with "echo ",+," | sfdisk -N2 --no-reread $bootDevice"
<petersjt014> not sure if sfdisk does nilfs filesystems
<clever> petersjt014: sfdisk does absolutely nothing to the filesystem, its purely a partition level tool
<clever> so you must then run the right tool, like resize2fs, after expanding
<ottidmes> danbst: is it correct to assume that every attrset with recurseForDerivations = true should be mergable? if so, I might be able to implement some trickery that might just determine that without the recursion issues
<mdash> i'm trying to package a Python application. When doing stuff for my own use I've chiefly relied on pypi2nix; if I want to write something suitable for submitting to nixpkgs, what's the general plan for coping with version skew in dependencies? I see a couple things in nixpkgs patch requirements.txt
<petersjt014> It does seem to do that--here's the line in context:
<disasm> gchristensen: how's your wireless been with the QCA6174? any issues?
<petersjt014> but now that I think about it, the fs I want to use (nilfs2) supports online resizing--so I think this might not even be necessary
<danbst> ottidmes: it is correct. BUT. You can't know if something is attrset without evaluating things. There lots of functions in all-packages.nix, which you don't want to evaluate until it's time
<clever> petersjt014: online resizing just means the `resize2fs` step can be done while its mounted
erhandsome has joined #nixos
<ottidmes> danbst: I know that, hence me mentioning "implement some trickery" I am going to try if I can succeed
<gchristensen> disasm: ... pretty good
<gchristensen> disasm: sometimes it falls off the bus, though
<danbst> ottidmes: oh. Magic begins :)
jacereda has joined #nixos
Guest56116 has quit [Ping timeout: 268 seconds]
<petersjt014> clever: right. I chose this fs because it's running on a raspberry pi where I don't know how I would sanely or safely bring / offline to resize it
jmgai has joined #nixos
<clever> petersjt014: for most filesystems, the arch doesnt matter when resizing
<clever> petersjt014: so just shutdown, shove it into an SD<->usb adapter, and resize from another box
<clever> petersjt014: or use an initrd level script to resize before mounting /
ym555 has joined #nixos
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jmgai has quit [Ping timeout: 240 seconds]
<disasm> gchristensen: what do you do when it falls of the bus? reboot or something else?
<gchristensen> gdiyeah
<gchristensen> disasm: yeah
<gchristensen> sometimes Fn+PrtScr a few times works
<disasm> oh, does that toggle wifi?
<gchristensen> yeah
o1lo01ol1o has quit [Remote host closed the connection]
<disasm> trackpad works great :) all the weird osx gestures I've gotten used to just work (right click/middle click)
<gchristensen> yeah
<disasm> that was my biggest worry :)
tmaekawa has joined #nixos
sinner has joined #nixos
<gchristensen> :)
tmaekawa has quit [Client Quit]
sinner is now known as Guest69507
<disasm> do you use any usb-c hub/dock at the desk?
<gchristensen> yeah, I have a dell thunderbolt dock
<gchristensen> works pretty well, though I've never had linux handle dynamic, multi-monitor setups well
<disasm> yeah, but manually with xrandr works well?
<gchristensen> yeah
<disasm> can't believe it took me almost 4 hours yesterday to realize usb can only boot on the right port :)
<gchristensen> I can't believe that is a real restriction!
rpg has joined #nixos
<disasm> I was about to buy a mini-sd-card to see if that would boot :)
<ottidmes> danbst: I could probably do it with the magic I had in mind, but things like python27.pkgs make it so that I have to import most files, which would simply be too much of an overhead for this feature
<danbst> ottidmes: what's the magic then?
rpg has quit [Client Quit]
<ottidmes> danbst: basically making it not evaluate any packages, so you just are building a nested attrset without any derivation attrsets
<ottidmes> danbst: by overwriting some of the builtins of Nix
<ottidmes> danbst: so you would do one pass to gather the necessary metadata, and then evaluate as normal
<danbst> ottidmes: but how would recurse into attrset withou evaluating it?
<ottidmes> danbst: by overwriting e.g. callPackage in such a way (through magic) that it will for example return {} or null, and then it would be harmless to evaluate the outer structure of nixpkgs (if the leafs are packages, just the branches if you will)
ncb^ has quit []
jacereda has quit [Ping timeout: 245 seconds]
mbauer has joined #nixos
Mr_Keyser_Soze has quit [Remote host closed the connection]
shibboleth has joined #nixos
halfbit has joined #nixos
<danbst> ottidmes: well... maybe it can work. However python27 itself is called with callPackages, so you'll miss whole python27.pkgs
<ottidmes> danbst: which I could patch with checking for Packages in the name, which would not be that bad if you give a nice error message if it was called Packages but is not mergable, but I doubt my magic would be acceptable to be included in nixpkgs anyway, so what you came up is probably the safest bad
<ottidmes> s/bad/bet/
<labancle> Hi all, does anyone know how to add symlinks to /bin from configuration.nix ?
<ottidmes> labancle: you could write a systemd service that does this
<symphorien> Probably systemd-tmpfiles can do that
<simpson> labancle: Usually /bin is not changed by anything. What did you need in there?
Ralith_ has joined #nixos
<labancle> I tried putting the shell code in environment.extraSetup, but get a "Permission denied" error when I do a rebuild
<ottidmes> labancle: maybe in that case just use activationScripts
<simpson> labancle: Hilarious.
<{^_^}> [nixpkgs] @Mic92 pushed 7 commits to raspberry-cross-fixes: https://git.io/fh0Jk
<fresheyeball> is there a way to see the computed compiler flags in the haskell generic builder?
<labancle> simpson: why so?
npmccallum has quit [Quit: npmccallum]
<Mic92> oh shit
<Mic92> wrong remote
<elvishjerricco> fresheyeball: Any flags that Nix adds will be in the `configureFlags`, which is echoed to the log during building.
<simpson> labancle: Why not? I find inflexible software amusing.
<labancle> ottidmes: I try it thanks
<gchristensen> what the heck? why doesn't TRAMP just manage to get the PATH env of the remote, like anything else which SSH's?
<{^_^}> [nixpkgs] @timokau opened pull request #54285 → sage: fix transient ecl error → https://git.io/fh0J8
<labancle> gchristensen: you're supposed to add an entry to tramp-remote-path, but it doesn't work for me for some reason
<{^_^}> [nixpkgs] @matthewbauer pushed 0 commits to fix-49206: https://git.io/fh0JE
<{^_^}> [nixpkgs] @Mic92 pushed 0 commits to raspberry-cross-fixes: https://git.io/fh0J2
<gchristensen> yeah, but why is that necessary at all, when the tools are in the PATH when SSHing in?
sanscoeur has joined #nixos
<DigitalKiwi> has anyone had problems with kde recently i updated and power management doesn't work anymore there's an error message and the screen brightness buttons don't work and also i had problems with the touchpad stopped working but that might be better now...
slack1256 has joined #nixos
<labancle> gchristensen: don't know
<hodapp> weird, I've not noticed this in TRAMP somehow
mjbauer has joined #nixos
matthewbauer has quit [Ping timeout: 250 seconds]
<gchristensen> that is the other thing, TRAMP works fine for me
mbauer has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
reinhardt has quit [Quit: Leaving]
mjbauer has quit [Client Quit]
<fresheyeball> elvishjerricco:++
<joko> fresheyeball: remove the : :D
<fresheyeball> elvishjerricco++
<{^_^}> elvishjerricco's karma got increased to 10
civodul has joined #nixos
mjbauer has joined #nixos
<elvishjerricco> :P Happy to help
<Mic92> I rebased your stuff onto staging because that has some fixes.
<labancle> gchristensen: what path prefix do you use for connecting to nixos on a remote machine?
<fresheyeball> https://dpaste.de/r4r0
<fresheyeball> I isolated it
<fresheyeball> but now I think this is a ghc bug
<joko> Mic92: could you (or anyone else, in fact) explain to me how to properly use https://github.com/NixOS/nixpkgs/pull/53934 to build configurations to NixOps targets?
<{^_^}> #53934 (by Mic92, 4 days ago, open): prefer-fetch-remote: an overlay to fetch on remote builders
<fresheyeball> so I am going to start removing compiler flags from the generic builder
<fresheyeball> and see if I can't get it to work
<joko> Ah, by setting the NixOps target as a remote builder?
<joko> Missed the title xD
<Mic92> joko: you also need builders-use-substitutes = true
<Mic92> so it download the binary cache itself
<elvishjerricco> Mic92: Oh neat. Does it still need that one revert commit for the user management perl script?
<Mic92> elvishjerricco: Yes. But be aware that I have not tested if it boots. I currently have no rpi3 in near distance.
<fresheyeball> elvishjerricco: https://dpaste.de/LXpa
<fresheyeball> all of those are added
<labancle> gchristensen: I mean, what connection method (ssh, sshx, scp, scpx?)
<fresheyeball> anyone of those you think might cause the issue I posted?
mjbauer has quit [Ping timeout: 240 seconds]
<gchristensen> ssh
<Mic92> elvishjerricco: I try to cleanup and upstream some of your patches.
<elvishjerricco> fresheyeball: Oh I bet I know what's going on.
<elvishjerricco> nixpkgs builds haskell libs with profiling by default. cabal-install does not
<elvishjerricco> I bet the error is in the profiling build part
<elvishjerricco> you can check by seeing if the error occurs while building a .p_o file, not a .o file
<elvishjerricco> Mic92: Thanks :)
<joko> Mic92: kuhl! I'm gonna try this, awesome idea!
<joko> Mic92++
<{^_^}> Mic92's karma got increased to 8
<labancle> gchristensen: have you tried doing a multi-hop from ssh to sudo ?
<gchristensen> na
eadwu has joined #nixos
<fresheyeball> elvishjerricco: trying that
<labancle> gchristensen: what version of tramp are you using?
<fresheyeball> I had no idea that was on be default
<labancle> gchristensen: M-x tramp-version
<gchristensen> 2.3.3.26.1
<elvishjerricco> fresheyeball: Yea that's a kind of recent change. I think 18.09 was the first release with that
<labancle> ah, ok. Mine is 2.2.13.25.2
<labancle> are you on emacs 26?
<gchristensen> 26.1
<fresheyeball> elvishjerricco: other question while I got you
<gchristensen> emacs from 18.09.1898.001b34abcb4
<fresheyeball> I see my library compile twice when I nix-build
<labancle> ok.. I'm using 25.2.2
<elvishjerricco> fresheyeball: Yea, that's because of the profiling.
<labancle> might have something to do with it
<fresheyeball> do you have any idea why that is? why not compile once?
<fresheyeball> oh right
<fresheyeball> p_o
<fresheyeball> I forgot
<elvishjerricco> fresheyeball: Unfortunately you can't only build p_o files because they can't be used for TH
<fresheyeball> yeah, I am using ekg, so that makes sense
<labancle> gchristensen: was that from nixpkgs?
<gchristensen> yea
<fresheyeball> elvishjerricco: that didn't fix it
<elvishjerricco> fresheyeball: But yea having profiling on by default is pretty nice. The exes aren't profiled by default, so they're exactly like normal. But having the libs built with profiling means you can always switch to building a profiled exe without rebuilding the world
<elvishjerricco> fresheyeball: What did you try?
<fresheyeball> enableLibraryProfiling = false;
jacereda has joined #nixos
<labancle> gchristensen: OK, mine is from Ubuntu repos. I'm setting up a new nixos config on another machine from my Ubuntu machine.
o1lo01ol1o has joined #nixos
<labancle> might try installing emacs using nix on ubuntu
<labancle> anyway thanks for the info. I gotta go out for a while now
<elvishjerricco> fresheyeball: So the error is occurring while building a .o file?
<elvishjerricco> can you post the build log?
<elvishjerricco> `nix log -f default.nix attr.path.to.derivation`
<ekleog> When you're not root, is there a way to delete a directory left behind by `nix-build -K`?
<fresheyeball> elvishjerricco: https://dpaste.de/FYVb
labancle has left #nixos ["itchy feet"]
<elvishjerricco> fresheyeball: I'd like to see the whole log if possible.
<fresheyeball> elvishjerricco: there is no path
<fresheyeball> the default.nix returns the derivation
<elvishjerricco> fresheyeball: Oh then just `nix log -f default.nix`
<elvishjerricco> i think
<rain1> does PCSX2 work for anybody on nixos?
slack1256 has quit [Remote host closed the connection]
<rain1> I had a error with it regarding plugin .so libraries
jacereda has quit [Ping timeout: 245 seconds]
<fresheyeball> elvishjerricco: I don't see how to do this
<fresheyeball> nix log -f default.nix
<fresheyeball> says not enough args
<elvishjerricco> oh right
<fresheyeball> and the examples in --help don't cover this
<elvishjerricco> fresheyeball: `nix log -f default.nix outPath` :P
<elvishjerricco> that might work
<elvishjerricco> silly as it is
<fresheyeball> what is outPath?
<elvishjerricco> fresheyeball: In Nix, `"${x}"` checks if `x` is a string. If it's not, it checks if there's a `x.outPath` and interpolates that. So `outPath` is the field in a derivation that actually provides the path
<fresheyeball> interesting
<reilithion> In a build script, do I have access to a shell variable that expands to the directory of the source tree?
<elvishjerricco> reilithion: $src?
matthewbauer[m] has joined #nixos
<fresheyeball> elvishjerricco: I just got an empty vim
<elvishjerricco> wut
<elvishjerricco> try out instead of outPath
stew_ is now known as stew
<fresheyeball> oic
<fresheyeball> sorry trying again
<reilithion> elvishjerricco, Is that the source tree? I was under the impression that that could refer to a tar.gz or other archive file.
<matthewbauer[m]> gchristensen: you should be able to use tramp-own-remote-path
<elvishjerricco> reilithion: Ah. Not sure then
_kwstas has joined #nixos
<gchristensen> matthewbauer[m]: you are on IRC!
<gchristensen> matthewbauer[m]: I wish you were here more often :)
<adisbladis> gchristensen: How are you testing this? What are you trying to do?
<matthewbauer[m]> yeah I've been away for a couple of months
<matthewbauer[m]> should be more available now though...
<matthewbauer[m]> We should set up a nix-mode channel though
<gchristensen> I'm not doing anything
<gchristensen> labancle was having trouble
<fresheyeball> elvishjerricco: no dice
<fresheyeball> do you just want the full output of nix-build?
<fresheyeball> is that what this is intended to do?
drewr has joined #nixos
<elvishjerricco> fresheyeball: Yea, but it makes sure the output from other builds doesn't clobber it up
<elvishjerricco> But I guess that's probably not a factor in this case
<elvishjerricco> still. Frustrating that `nix log -f default.nix` doesn't work
<gchristensen> matthewbauer[m]: should we?
<gchristensen> matthewbauer[m]: it'd probably only have a small few people in it :)
<adisbladis> etu: ^
<fresheyeball> elvishjerricco: can I just turn off all editorializing flags?
<elvishjerricco> fresheyeball: editorializing?
<fresheyeball> flags not needed for an artifact to be produced
<fresheyeball> it compiles with cabal in the nix-shell
cyounkins has joined #nixos
<elvishjerricco> fresheyeball: Yea you could try that. I doubt it'd help. I'd try two things: 1) Configure cabal with -O2 2) Add --ghc-options=-O0 to the nix build. I have a feeling this is a difference in optimization level
aleph- has quit [Ping timeout: 245 seconds]
<fresheyeball> elvishjerricco: why? those flags are not being added by nix
fuk has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
<matthewbauer[m]> gchristensen: yeah maybe not enough yet
<elvishjerricco> fresheyeball: The flags Nix is adding are basically just the default settings of GHC. I'm pretty sure they mostly have zero effect.
<fresheyeball> elvishjerricco: but if I build with cabal in the nix-shell
<fresheyeball> it compiles fine
<fresheyeball> all targets
<elvishjerricco> fresheyeball: That's my point. I think Cabal is telling GHC not to do optimizations, while the Nix build is respecting the -O2 in your cabal file.
<elvishjerricco> So you should try inverting those. Having cabal-install do optimizations, and have Nix not do them
<fresheyeball> let's test that
<fresheyeball> I am going into the shell
shibboleth has quit [Quit: shibboleth]
<fresheyeball> ok I configured with -O2
<fresheyeball> let's see if it fails the same way as nix-build
abaiste^ has joined #nixos
Soo_Slow has joined #nixos
<fuk> Is Nixos the operating system used by whoever deleted all those emails for Mrs. Clinton?
<gchristensen> ...eh?
<fuk> the name looks eerily similar to another word/name which is why i ask
<fuk> was it invented by nixon?
<gchristensen> fuk: it sure sounds like you're trolling. are you trying to troll us?
<fuk> yes indeed, you fucking retard. how did you figure it out?
<gchristensen> good guess, I reckon
<fuk> i will insert things into ur cunt
fuk was banned on #nixos by gchristensen [*!*@177.54.149.227]
fuk was kicked from #nixos by gchristensen [fuk]
<fresheyeball> gchristensen++
<cransom_> well that was productive.
<{^_^}> gchristensen's karma got increased to 63
<ottidmes> well at least they were clear about it :P
* samueldr usually catches up from new to old...
<samueldr> that was quite climactic
<gchristensen> it was nice of them to be honest about it
<LnL> matthewbauer[m]: have you spent any more time on the 10.12 update?
<Soo_Slow> hello, I have 3 questions (mostly regarding nix package manager, than nixos itself). Are there proprietary packages for nix? (personally, Im intrested in discord). Is there a way to install multiple versions of same package? And does old versions exist in repo? (lets say, I need some older wine, but I dont want to download it and compile manually from dev's site)
<samueldr> (1) yes, yes discord
<samueldr> ,unfree Soo_Slow
<{^_^}> Soo_Slow: You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
cyounkins has quit [Remote host closed the connection]
<samueldr> they will not be listed in the list on the nixos.org website though, so you might need to use `nix search` to find unfree software
<fresheyeball> elvishjerricco: I configured with -O2, and built, no problem
<simpson> Some old versions of some specific packages, yes. But it depends. Usually we only carry old versions because they're dependencies of some more-desired package.
cyounkins has joined #nixos
<elvishjerricco> fresheyeball: Huh. Then I dunno
<__monty__> Obviously this is what nixos was named for: https://varuste.net/tiedostot/1/kuvat/tuote2/600/12712201.jpg
<samueldr> ^ but it's not really complicated to get an older version, there are a couple ways, and once more acclimatized to the nix way of life, the become pretty trivial
<elvishjerricco> fresheyeball: Maybe try --ghc-options=-j7
<LnL> Soo_Slow: you can install old versions of software, but we don't continue to maintain multiple versions in most cases
jacereda has joined #nixos
<Soo_Slow> simpson, but, if I've used to download older version while it existed in repo, then its got removed from there - will I still have it locally? (if I understand concept correctly) Or it will be replaced automatically on update?
<{^_^}> [nixpkgs] @timokau merged pull request #54285 → sage: fix transient ecl error → https://git.io/fh0J8
<{^_^}> [nixpkgs] @timokau pushed to master « sage: fix transient ecl error (#54285) »: https://git.io/fh0tQ
<simpson> Soo_Slow: Depends on what you've configured and how you perform updates. In general, you will not be broken by automatic updates.
<symphorien> Soo_Slow: your local set of packages is append only; updates never replace the old packages
<__monty__> I've actually wondered about the versions thing. It's always touted as a feature of nixos that it supports different versions side-by-side. And considering the expression for a certain version should continue to work basically forever, why doesn't nixpkgs just keep all the versions that have every been in nixpkgs?
<Soo_Slow> can you make your own local packages (to be operated by nix package manager)?
<simpson> Yep.
cyounkins has quit [Ping timeout: 268 seconds]
<Soo_Slow> symphorien, but can you remove old versions at once, if you only need actual ones?
<symphorien> yes, with garbage collection
<symphorien> but by default, it is not automatic so until you don't run the gc you know you can rollback to previous versions
<samueldr> __monty__: the "side-by-side" thing is a bit overblown imho, they can work on the same system, but not on the same scope
<adisbladis> __monty__: It would take up a huge amount of space for not much gain. You can mix and match nixpkgs checkouts anyway.
<Soo_Slow> can nix package manager be used on distro without systemd?
<samueldr> yes
<adisbladis> Soo_Slow: Yes, as a matter of fact we have binary packages for linux x86_64, linux aarch64 and osx x86_64
<Soo_Slow> how often packages get updated? (e.g is it closer to arch or debian)
<samueldr> it depends on which channel you follow
<gchristensen> https://repology.org/ search here for nixpkgs
<samueldr> the unstable channel is pretty rolling-release like
<samueldr> the stable channels, cut every 6 month, are more debian-like
<samueldr> and you can make use of more than one channel if you need to
<Soo_Slow> but is unstable.. ugh... really unstable? :'D
<Soo_Slow> or like arch-stable?
<timokau[m]> Probably less stable. IIRC arch packages go through manual testing while nixpkgs-unstable is only tested automatically
<timokau[m]> And not all automatic test failures stop the "release" (channel advancement)
<timokau[m]> The upside is that you can revert to an earlier version at any time
<Soo_Slow> I see
alex`` has quit [Ping timeout: 245 seconds]
<samueldr> there is (1) good automation that tests some basics (e.g. does it boot, does the installer work) before updating and (2) many NixOS contributors use unstable daily on their machines
<samueldr> [citation needed] (for the contributors using unstable)
<__monty__> adisbladis: Would it? Version bumps are often very small diffs, no? So you could factor the expressions to make the extra data minimal.
<gchristensen> my impression is most contributors stick to unstable, actually
<samueldr> gchristensen: on a set of 2 contributors I *know* of, I know that 100% of them use stable :)
<gchristensen> LOL
<Soo_Slow> did anybody there try to make a mixed installation, btw? E.g something like devuan with basic stuff from their repos (so - you wont need to update it often), while the rest (packages, you need to be updated asap) - from nix packages? (
alex`` has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #53945 → python.pkgs.recommonmark: 0.4.0 -> 0.5.0 → https://git.io/fhnpV
<timokau[m]> I use unstable, but it does happen that a package I use breaks (not subtly either, it may fail to build or fail its testsuite)
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fh0qd
<immae> Hi everyone! I have a bundlerEnv (with Gemfile and gemset generated) that fails to build because one of the gems has a build dependency on perl, and I tried to put the buildInputs in the bundlerEnv argument in vain, it’s everything as if it was not given, do you have an idea how I can add that dependency?
<symphorien> Soo_Slow: you can always use nix on any linux distro
<Soo_Slow> symphorien, but is it a good idea, generally?
<symphorien> my experience of this is a mixed bag
knupfer has joined #nixos
<symphorien> I was on an old ubuntu
<adisbladis> __monty__: You probably could.. I wonder what the upside would be.
<timokau[m]> Soo_Slow: Yes I used to do that, only issue I'm aware of is that you may run into problems with different QT versions
<gchristensen> Soo_Slow: it isn't a bad idea
<symphorien> the default theme was broken with the recent gtk apps from nix
<elvishjerricco> Yes Nix has been a surprisingly portable way to install a lot of kinds of software for me
<symphorien> because of gtk3
<elvishjerricco> The only system dependency is basically the kernel abi
<adisbladis> timokau[m]: QT is a cluster #!%@ when it comes to packaging :/
<adisbladis> Too much runtime magic
<samueldr> there are a lot of assumptions for things that it will be used on NixOS, without much care to keep it FHS/XDG compatible for other distros
<fresheyeball> elvishjerricco: ok
<{^_^}> [nixpkgs] @dywedir merged pull request #53215 → tdrop: init at 2018-11-13 → https://git.io/fhqMO
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fh0m3
<fresheyeball> so I have tried reproducing this by configuring with -O2
<fresheyeball> no dice
<__monty__> adisbladis: The upside would be super easy access to any version you want. The downside seems nothing, really? Searching's a bit worse if you grep because of the duplication among versions. Unless nix can summarise output, i.e. (packagename [v1, v2, v3] description).
<samueldr> adisbladis: maybe you're interested in reviewing this: https://github.com/NixOS/nixpkgs/pull/44047
<fresheyeball> and I have gone through every flag that is set to true by default
<{^_^}> #44047 (by samueldr, 25 weeks ago, open): WIP: +RFC: Loads qt plugin paths as registered...
<elvishjerricco> fresheyeball: Did you try with -j7?
<elvishjerricco> I dunno if Cabal does parallel builds by default or not
<adisbladis> Soo_Slow: I've used Nix on Debian, Ubuntu, Arch, Gentoo and RHEL
<gchristensen> if it does, consider reducing -j to like, -j4 :P
rpg has joined #nixos
mounty1 has quit [Quit: Konversation terminated!]
<adisbladis> __monty__: I wonder if this is something that could be accomplished easily through merging multiple channels somehow
<elvishjerricco> gchristensen: Yea we gotta get that PR merged
<adisbladis> samueldr: Nice <3
<fresheyeball> elvishjerricco: I tried `cabal build -j7` and it built instantly
<fresheyeball> I am doing a clean and trying the same command again
<samueldr> adisbladis: I'm asking for reviews since this is pretty much a core change; this could royally break things as much as it could fix it if I get something wrong
<elvishjerricco> fresheyeball: I think -j on the Cabal command line only affects package parallelism, not GHC parallelism
<elvishjerricco> fresheyeball: --ghc-options=-j7
<adisbladis> samueldr: I'll give it a go later tonight :)
<samueldr> :)
<adisbladis> It certainly _looks_ sane
<__monty__> adisbladis: Actually, a practical use is you wouldn't have to jump through as many hoops when you run into a package being incompatible with dependency versions.
<gchristensen> "waiting for locks or build slots..." I might die of old age before this finishes
<yl[m]> w.r.t nixops_state it's a sqlite database. I can see that it hardcodes that nix expression path for every deployment, that means that I cannot share the state with my co-workers as the path won't match and everyone has to `nixops modify` anyway. If everyone had their own state file, would they have problem using nixops?
<samueldr> I think I had three main concerns (whre it's been ages since I wrote this!) [1] I'm not a C++ nor a Qt dev; I could make silly mistakes [2] first setup-hook written, might be doing something wrong, but I don't really think [3] use of /nix/store/*/nix-support which I'm unsure is right
<Soo_Slow> symphorien, but cant you setup different themes for system and nix'es software?
<symphorien> yes sure, you can always spend time to fix things :)
<symphorien> I mean, the interface between os global things and nix packages is not always perfect
<symphorien> nix packages have trouble with opengl on not-nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #54196 → img2pdf: 0.3.2 -> 0.3.3 → https://git.io/fh4sR
<{^_^}> [nixpkgs] @veprbl pushed commit from @r-ryantm to master « img2pdf: 0.3.2 -> 0.3.3 »: https://git.io/fh0mp
<Soo_Slow> I see
<symphorien> but on average it works and is a great way to get recent packages
<Soo_Slow> well, thanks everyone, will give it a try in virtual machine. If everything will go as planned - soon I will migrate from arch :D
<gchristensen> I tried nixos on a VM once
tdbgamer has joined #nixos
<fresheyeball> https://dpaste.de/hwaz
<fresheyeball> how is this possible?
<Church-> fresheyeball: Magic
jmgai has joined #nixos
<samueldr> though the `enableParallelBuilding` sounds like it shouldn't happen :/
<fresheyeball> samueldr: right
<fresheyeball> elvishjerricco: samueldr: also I built with --ghc-options=-j7 in the nix-shell
<fresheyeball> and it compiled fine
chessai has joined #nixos
jmgai has quit [Ping timeout: 250 seconds]
acarrico has joined #nixos
isHavvy has quit [Read error: Connection reset by peer]
<elvishjerricco> fresheyeball: Man that's weird
<elvishjerricco> fresheyeball: I wonder if Cabal has a verbose mode to tell you what flags it invokes GHC with exactly.
Havvy has joined #nixos
<adisbladis> Any particular reason why you dont want tmpfs for / ?
<fresheyeball> elvishjerricco: it does
<gchristensen> adisbladis: I have a whole lot more disk space than RAM space
<adisbladis> Fair enough
<adisbladis> I'm curious because I recently switched to tmpfs for / :)
<samueldr> wait for it
<{^_^}> [nixpkgs] @marsam opened pull request #54287 → nodejs-11_x: 11.6.0 -> 11.7.0 → https://git.io/fh0OZ
acarrico has quit [Ping timeout: 272 seconds]
<elvishjerricco> gchristensen: It'd be interesting to see how much space / root takes most of the time
<samueldr> (or maybe it won't happen) gchristensen is doing it the other way around, fresh zfs whatchamacallit at each boot for /
<reilithion> I kinda feel like "I recently switched to tmpfs for /" is a UNIX-flavored joke about having trouble with your memory.
<adisbladis> Hehe
<reilithion> There are doctors for when old people switch to tmpfs for /
Soo_Slow has quit [Remote host closed the connection]
<samueldr> I think in that specific use case, it makes sense to keep as much RAM free even if it's "peanuts" for /, since it might not be tradeable the other way around
<samueldr> (in some cases) you can't just put memory on the filesystem
<reilithion> Occasionally, I discover I've had /home mounted as tmpfs...
eadwu has quit [Ping timeout: 250 seconds]
<adisbladis> Jokes aside, It's actually a really nice setup
<petersjt014> hi samueldr, would you happen to know what is correct here? : https://gist.github.com/petersjt014/b52dfaf91762e4b889035e4535cb67ec
<petersjt014> more aarch64 adventures
<petersjt014> I dont know if nilfs needs to be resized specially or something
<samueldr> adisbladis: you mean tmpfs for /, yeah I would guess so, any specific mention?
<samueldr> petersjt014: what's the issue?
<adisbladis> samueldr: You do notice pretty quickly when anything is not reproducible
<samueldr> adisbladis: this implies I would reboot!
<rycee> Greetings. Anybody around who knows a bit about string contexts? I'm having this code: https://github.com/rycee/home-manager/blob/f3eb49deffd116a96cb3dacc181fa7d9c08f570a/modules/files.nix#L17-L24 and am wondering whether it actually does what I'm thinking it does.
<adisbladis> samueldr: =)
<petersjt014> I'm trying to create a nixfile to write an aarch64 sdcard image with nilfs as the root filesystem (I found f2fs to be less optimal), and I (ideally) would want the sfdisk resizing code to resize to half-capacity to leave room for swap
<adisbladis> The only thing in my setup which is not really nice at the moment is the browser
<adisbladis> Which I guess is always gonna suck
fendor has quit [Read error: Connection reset by peer]
<petersjt014> but resizing to full size is okay too since nilfs can resize online
<samueldr> adisbladis: :o tmpfs for home too?
<adisbladis> samueldr: Yep
<samueldr> now that's dedication :)
<adisbladis> samueldr: With a few symlinks for persistent stuffs
<samueldr> one of these days, I'll take the time to do something weird like that... not that I haven't done weird things
<samueldr> echo /* -> /Users /Volumes
<samueldr> echo ~ -> /Users/samuel
<samueldr> petersjt014: I still don't know what you're looking for; is there a specific error? something going wrong?
strobelight has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @primeos merged pull request #53963 → python37Packages.cryptography{,_vectors}: 2.3.1 -> 2.4.2 → https://git.io/fhcI3
<{^_^}> [nixpkgs] @primeos pushed 3 commits to staging: https://git.io/fh03s
<petersjt014> I want to only change the root filesystem, but I'm not sure which commands in the postBootCommands block need to stay/be removed
<adisbladis> samueldr: I haven't yet gone full shlevy https://twitter.com/shlevy/status/1073765612726439936
<samueldr> adisbladis: yeah I know :)
<samueldr> not sure anyone should wield as much power all at once :)
<petersjt014> I may be misunderstanding something about how partitions work though
strobelight has joined #nixos
<samueldr> right, if I understand right, you want to know what's missing so this image uses nilfs
<samueldr> the postBootCommands will happen "too late" for this; these are meant to expand the existing partition and filesystem
<gchristensen> my root is at 5mb after about 8hrs
<samueldr> you still will or might need to do things there, to expand, but the actual partitioning happens here https://github.com/NixOS/nixpkgs/blob/197c393c2fd098ff46c722481c3b5576c38a4ba9/nixos/modules/installer/cd-dvd/sd-image.nix#L101-L142
<gchristensen> 128mb after about 1wk
<gchristensen> adisbladis: ^
<samueldr> petersjt014: ^ among that you would need to figure out (sorry I won't know for sure) a way to make the fs (probably mkfs.nilfs) and then figure out a way to make the equivalent of the following for nilfs https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/make-ext4-fs.nix
<samueldr> right now the way the sd-image-aarch64 is included it still makes use of that ext4 formatted fs
estrom has quit [Quit: Leaving]
<adisbladis> gchristensen: Heh, just my /var/log is more than that after a day
<samueldr> if it wasn't for the fact that usb booting aarch64 is annoying, when not impossible, I would suggest (unless you desire to make a reproducible image) booting via usb and installing to the device that way
<samueldr> though, I guess you could sd boot, install to a usb-connected sd card reader
<gchristensen> adisbladis: yikes, what is in there?
<samueldr> logs
<petersjt014> alright, I'll poke around the nilfs manuals and see if I can figure it out. Thanks!
<adisbladis> samueldr: Thanks captain obvious ;)
<samueldr> and it might be easier to, at first, modify a nixpkgs checkout instead of making the file independent, petersjt014
<adisbladis> gchristensen: Docker logs mostly
<petersjt014> I'll keep that in mind
<samueldr> petersjt014: completely break and fix those bits in a branch until you figure out things right, then polish it back
<elvishjerricco> I wonder if there's a file system that stores things on disk, but keeps some essential information in memory so that the disk is effectively reset on reboot without any explicit actions.
<gchristensen> adisbladis: interesting
<elvishjerricco> Like a tmpfs that doesn't use ram
<petersjt014> cool, thanks
<Ralith> elvishjerricco: a filesystem where all the metadata is in-memory
<elvishjerricco> Ralith: Yea
<adisbladis> gchristensen: Not surprising considering that what I'm doing atm is very docker-heavy
<gchristensen> elvishjerricco: you can setup luks to do it, and NixOS's swap partition config supports it
<gchristensen> elvishjerricco: using a random key
<elvishjerricco> gchristensen: Yea that'd do it
<Ralith> gchristensen: if there's on-disk metadata you still have to explicitly reformat, though
<gchristensen> yeah, I suppose so
<elvishjerricco> Oh right. Yea having to reformat would count as an explicit action.
<gchristensen> teh nixos swap module supports it automatically
<gchristensen> anyway, the reset is pretty lightweight, but it'd be nice to not have to pre set it up and just have it work automatically
<elvishjerricco> gchristensen: I feel that way about all disk things :P I wish activation would handle the statefulness of formatting and setting up ZFS datasets
<gchristensen> I 100% don't agree
<gchristensen> (but I think reasonable people can disagree on this)
<elvishjerricco> Oh? Why do you disagree?
<gchristensen> mistakes happen, and automatic formatting is not a forgiving mistake
<elvishjerricco> Yea that's a good point.
<{^_^}> [nixpkgs] @matthewbauer pushed to master « busybox: give priority of 10 »: https://git.io/fh0sz
<gchristensen> I have mistakenly deployed super wrong nixos system configs to very different target systems (for example, deployed my media server to my router by mistake because the IPs got swapped)
__monty__ has quit [Quit: leaving]
<infinisil> Haha
<gchristensen> yeah, thankfully, it was just a haha
<infinisil> Were you able to just rollback?
<gchristensen> yep
<infinisil> NixOS++
sinner has joined #nixos
sinner is now known as Guest22104
_kwstas has quit [Quit: _kwstas]
Guest69507 has quit [Ping timeout: 250 seconds]
<pbb> Hi, on my freshly installed NixOS 18.09 server I'm getting this error:
<pbb> DBI connect('dbname=/nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite','',...) failed: unable to open database file at /run/current-system/sw/bin/command-not-found line 13.
<pbb> somehow the store was not properly initialized?
<symphorien> it is only the command-not-found handler
<symphorien> run sudo nix-channel --update
<pbb> thanks, that helped :-)
dsiypl4_ has joined #nixos
dsiypl4 has quit [Ping timeout: 246 seconds]
<adisbladis> It's unfortunate that nix-channel is required
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
simukis has quit [Quit: simukis]
Soo_Slow has joined #nixos
<Soo_Slow> is there a package for icecat?
knupfer has quit [Ping timeout: 264 seconds]
<simpson> I don't think so. Do you want the branding, or do you just want a Firefox of some sort?
muvlon has joined #nixos
<Soo_Slow> simpson, second. Icecat is kinda like "firefox without garbage" (yet based on stable releases, unlike palemoon)
<muvlon> hi nixos users! i'm experiencing some weird behavior and i'm not sure if it's my own fault
<muvlon> i'm doing declarative users/groups management (with users.mutableUsers = false;) and want to add a group
<simpson> Soo_Slow: I don't know what "without garbage" means. `firefox` is an unbranded Firefox. `firefox-bin` is a branded (unfree) Firefox.
reilithion has quit [Quit: Leaving]
<muvlon> so I did: `users.groups.gpio.members = [ "muvlon" ];`
<clever> muvlon: group changes dont take effect until you relog
<muvlon> after "nixos-rebuild switch", the group exists and muvlon is a member
<gchristensen> firefox is branded, now, simpson
<muvlon> yeah, when i relog, i am in the group
<Soo_Slow> simpson, "without garbage" means there is no pocket and similar stuff in default installation
<muvlon> but here is the weird part: if i reboot, the group is gone :/
<clever> muvlon: your /boot isnt mounted correctly
<clever> muvlon: so all configuration.nix changes are undone at every reboot
<simpson> gchristensen: Oh, huh, TIL.
<muvlon> but they're not all redone, everything else works
<muvlon> i just added some systemPackages and they're here after a reboot
<clever> muvlon: do you have a /boot/ partition?
<Soo_Slow> DigitalKiwi, yeah, this one
<muvlon> yes
<clever> muvlon: is it mounted?
<muvlon> i should add: this is a raspberry pi 3 with nixos aarch64
<muvlon> clever: yes
<clever> muvlon: and are you using the extlinux bootloader in the config?
<muvlon> i am using "generic-extlinux-compatible" so i guess so
<clever> yeah, that should all be working
<muvlon> right, it's quite weird
<clever> muvlon: `ls -ltrh /nix/var/nix/profiles/ /boot/` into a pastebin?
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> muvlon: are you still using the FAT32 boot partition, and is it mounted as expected?
<samueldr> (I just re-read more carefully and see that yes, it's mounted)
<samueldr> muvlon: what's the output of `mount`?
<samueldr> because that looks a bit bare to be the FAT32 partition for a raspberry pi install
<clever> muvlon: and also `ls -ltrh /boot/{nixos,extlinux}/` ?
<adisbladis> Soo_Slow: Iirc icecat is just firefox without branding?
<clever> samueldr: oh yeah, the rpi firmware is mia
<simpson> adisbladis: It would appear that they patch out some features and add in some of their own features.
<clever> muvlon: /boot/ is not mounted
<samueldr> muvlon: /boot isn't mounted
<samueldr> (is there echo?)
<muvlon> right
<simpson> Soo_Slow: I don't see this in nixpkgs right now but it should be possible to add, maybe even by modifying the Fx derivations.
<muvlon> /boot is in the same partition
<muvlon> is this bad?
<clever> muvlon: it must be on the fat32 partition
<muvlon> oh damn
<Soo_Slow> adisbladis, not only. They also remove blobs, telemetry and other similar stuff from firefox
o1lo01ol1o has quit [Remote host closed the connection]
<clever> muvlon: is hardware-configuration.nix un-modified?
<samueldr> clever: not "must", but defaults assume so
<muvlon> i don't have that file
<muvlon> i went off the raspberry pi 3 image which only came with configuration.nix
<samueldr> and on raspberry pi install, it's generally not generated
<samueldr> :)
<clever> muvlon: you will need to add a fileSystems."/boot" = { device = "/dev/something"; }; and then manually mount it, and nixos-rebuild switch
<muvlon> alright, imma try
<samueldr> muvlon: you may want to sudo mv /boot /_boot before mounting
<samueldr> (and mkdir /boot)
<samueldr> so you can reclaim the space
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fh0Zg
<clever> i also try to `chmod 0 /boot/` before i mount the partition
<clever> so it just hard-fails if you forget to mount it
<adisbladis> simpson: TIL
<samueldr> if you ever want to *not* use the FAT32 /boot, here are the instructions https://nixos.wiki/wiki/NixOS_on_ARM#Disable_use_of_.2Fboot_partition
<samueldr> (missing from the instructions: removing the configuration to mount the partition to /boot)
<muvlon> it says vfat, is that fine?
<clever> muvlon: yeah
<muvlon> samueldr, i think i did that
<muvlon> but apparently incorrectly
<samueldr> in the output of `fdisk -l` do you have an asterisk *only* on the line with mmcblk1p2 under Boot?
Makaveli7 has quit [Ping timeout: 246 seconds]
<samueldr> u-boot uses the "Boot(able)" flag from the partition to know wheter to look in there or not for the extlinux.conf files
<muvlon> oh damn
<samueldr> if you only have it for mmcblk1p2 then we have to backtrack
<muvlon> p1 is bootable but p2 isn't
<samueldr> ah, that would do it
<samueldr> in the sample, the following command is used to set it: echo -e 'a\n1\na\n2\nw' | fdisk /dev/mmcblk1
<muvlon> but the /boot that is currently being written by nixos-rebuild is on p2
<yl[m]> is cachix down?
<samueldr> right, so what's going on is that u-boot checks, sees p1 as Bootable, finds extlinux.conf and friends there, uses them
<samueldr> meanwhile, your booted system is told to write the new config on p2
<samueldr> does the explanation seem to match with what you see?
<muvlon> it does
<muvlon> my userland ist correctly update but things that need to happen in initramfs are outdate
<clever> and the rpi must have a fat32 partition to be able to boot
<muvlon> but can uboot boot linux from ext4?
<clever> muvlon: nix-env will persist, but everything in /run/current-system (via configuration.nix) will cease to update
sanscoeu_ has joined #nixos
<clever> muvlon: yeah, u-boot should be able to read ext4
<muvlon> i'll give it a try
<samueldr> muvlon: exactly, once you set the Boot flag only on p2, u-boot should be reading the configs from there
<samueldr> it won't even try checking on p1
<samueldr> * as far as the generic distro thing they do with the extlinux.conf files
<muvlon> can i declaratively set the bootable flag in a .nix file somehow?
<clever> nope
<muvlon> hmm
<clever> its just a one-time flag you have to set with fdisk
<clever> the `b` command
<samueldr> nixos probably won't manage partitions for a good while since it's highly destructive when things go wrong :/
<muvlon> i did do that with fdisk just now
<samueldr> [18:54:08] <samueldr> in the sample, the following command is used to set it: echo -e 'a\n1\na\n2\nw' | fdisk /dev/mmcblk1
<samueldr> ah
sanscoeur has quit [Ping timeout: 240 seconds]
<muvlon> and i think i did it at an earlier time too but then i rebuild the sd image off this config