sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
v88m has quit [Ping timeout: 248 seconds]
clever has joined #nixos
thc202 has quit [Ping timeout: 248 seconds]
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @royneary opened pull request #62845 → nim: 0.19.4 -> 0.20.0 → https://git.io/fjzK3
<{^_^}> [nixpkgs] @royneary closed pull request #61786 → nim: 0.19.4 -> 0.19.6 → https://git.io/fj4OD
mexisme_ has quit [Ping timeout: 258 seconds]
<pie__> uhhhhhh
<pie__> the iso's cryptsetup doesnt have a luksOpen (???)
<pie__> ah no it just doesnt tab complete
<pie__> and its apparently the same as cryptsetup open which does tab complete...weird
<pie__> ( joepie91 UX wtf ^ :P )
<clever> pie__: thats why i never use tab completion, its tends to be sloppy
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @marsam merged pull request #62840 → pythonPackages.bjoern: 2.2.3 -> 3.0.1 → https://git.io/fjzou
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjzKl
o1lo01ol1o has joined #nixos
acarrico has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<pie__> clever, program argument parsers should provide tab completion interfaces -_-
<clever> pie__: haskell has a nice one, but you still have to tell the parser if something is a file, enum, or whatever
alp has quit [Ping timeout: 246 seconds]
mexisme_ has joined #nixos
<clever> pie__: ive found a lot of others stop you from completing what would have been normal things
<clever> heck, i cant even complete > existing-file on some stuff!
<pie__> sure, i mean i dont see why this couldnt be done properly though
o1lo01ol1o has joined #nixos
silver has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjzKR
JadoJodo has quit [Quit: The Lounge - https://thelounge.chat]
JadoJodo has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
ks0ne has quit [Quit: Lost terminal]
init_6 has joined #nixos
HangoverGenius has quit [Ping timeout: 252 seconds]
<pie__> clever, can/should I leave systemd-boot on for https://elvishjerricco.github.io/2018/12/06/encrypted-boot-on-zfs-with-nixos.html ?
<pie__> doesnt seem to say anything either way other than "remove your other boot.loader settings"
o1lo01ol1o has joined #nixos
mexisme_ has quit [Ping timeout: 248 seconds]
<elvishjerricco> pie__: That article requires grub, not systemd-boot
<elvishjerricco> The boot loader needs to support LUKS and ZFS
mexisme_ has joined #nixos
iqubic has joined #nixos
<iqubic> I need help writing a default.nix for a very simple C# program that I have.
<iqubic> ,locate mcs
<{^_^}> Found in packages: mono, mono4, coreclr, linux_mptcp.dev, linuxPackages_4_4.kernel.dev, linuxPackages_4_9.kernel.dev, linuxPackages_4_14.kernel.dev
<PyroLagus> huh, that's cool
<iqubic> Basically I just need to import mono, and then run a build.sh script that has been provided.
<pie__> elvishjerricco, ok, makes sense, i didnt really know anything about systemd-boot or how it fits in
<iqubic> But I have no idea what the format of this Default.nix should be.
<pie__> aparrently lots of people fighting with c# lately
<pie__> iqubic, does the builder need network access to retrieve dependencies or something
<iqubic> No. It won't.
<pie__> though i dont have time to go into detail
<iqubic> I've got all the dependecies figured out already.
<pie__> ok, then you probably just need stdenv.mkDerivation with a buildphase that pulls in the script and mono
<pie__> probably put mono in buildinputs i think
<pie__> and that should be it hopefully
<iqubic> I just need Mono for access to the 'mcs' C# compiler.
<iqubic> I haven't ever written a default.nix, so I don't know what this should look like.
orivej has quit [Ping timeout: 248 seconds]
<pie__> for a minimal example that doesnt involve mono, https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/hello/default.nix this is so small though because most of the build process is implicit
<pie__> because hello is just the typical ./configure; make stuff with C
<iqubic> Is the Meta section required?
<pie__> the question really boils down to:
romildo has joined #nixos
<pie__> iqubic, no
romildo has quit [Client Quit]
<iqubic> Are the name and version fields required?
<pie__> the question really boils down to: you need to take parameters from callpackage, so you need {function, arguments, and, such, go here}: functionBody
<pie__> and functionBody needs to be something that returns a derivation
<pie__> which in the typical case is stdenv.mkDerivation
<pie__> iqubic, you following so far?
<iqubic> Yes I am.
<pie__> so your next quiestion is how do you make stdenv.mkDerivation work.
<iqubic> Are you asking me how I plan to build my package?
<pie__> no im telling you thats what you need to learn to continue
<iqubic> I see.
<o1lo01ol1o> command `nix-prefetch-git /var/lib/hydra/scm/git/16c77905e310310b4be86f8bd0660bd20da01f122febedd1be5af93e7da908fa 110c5826ebfb4cee24134b2777f0a2f1a74bef13' failed with exit status 32768 at /nix/store/vm0nr24cl7w772grgrpdm0nm3irzja84-hydra-2019-03-18/libexec/hydra/lib/Hydra/Helper/Nix.pm line 428.
<iqubic> Where would I go to find documentation on mkDerivation?
<pie__> iqubic, and though not the shortest thing, and maybe not the best suggestion on my part, but i think the best thing i can point you to right now is to look at the nixpkgs manual section on stdenv
<o1lo01ol1o> That's from a hydra job; It's trying to pull a private git module
<pie__> iqubic, there might be some more basic things in the nix pills
<o1lo01ol1o> does anyone know what it might be?
<PyroLagus> check those out:
<pie__> iqubic, the main thing, though most of it not necessary at this point, i think will be to skim over the phases
<pie__> ^oh yeah that might be a faster start
<iqubic> I notice that Hello's default.nix has some inputs at the top: "{ stdenv, fetchurl }:" What does that do in terms of the build?
<clever> iqubic: that is defining a function, that takes 2 arguments
<pie__> iqubic, do you know what callPackage does and why I mentioned it?
<pie__> well, I suppose you don't but I'm making sure
<iqubic> Right... But when is that function called, and why does it have those two parameters?
<iqubic> Also, I have no clue what callPackage does.
<iqubic> I assume it calls a package?
<pie__> then you should have asked me at "you need to take parameters from callpackage," :P
<clever> iqubic: callPackage is what calls that function
<iqubic> I see.
<o1lo01ol1o> The jobset is supposed to clone a repo on a branch that contains no submodules; however, the other branches, including some with cannonical names, have submodules. Could that be throwing the nix-prefetch-git error above?
<pie__> iqubic, have you ever written a nix function
<iqubic> pie__: No. This is my first one.
<pie__> iqubic, do you know how to use the REPL yet
<iqubic> I've modified old packages to update old software, but I've never written anything from the ground up.
<iqubic> Also, I think the command is nix-repl.
<pie__> it used to be but now you should use `nix repl`
<bendlas> do we have functionality in nixos (lib or build-support), to build an attribute set of recursive dependencies, with configurable choice for version conflicts?
<iqubic> pie__: Yeah... I can get the repl up and running.
<pie__> iqubic, i cant think of a concrete exercise to give you, i propose you try writing some simple functions to get comfortable with that syntax
<iqubic> I'm fine with the syntax.
<pie__> ok. *shrug*
<iqubic> I just don't know what the required parts of a default.nix are.
<PyroLagus> *points at the manuals*
<iqubic> I'll read through it right now.
<PyroLagus> :)
<pie__> this might be a fast summary for various syntactic tihngs https://learnxinyminutes.com/docs/nix/ not sure how good it is but it looks decent
<PyroLagus> it even tells you what callPackage does "Nixpkgs has a convenience function callPackage that imports and calls a function, filling in any missing arguments by passing the corresponding attribute from the Nixpkgs set"
<pie__> nice
<pie__> seems very dense so you gotta read carefully
<iqubic> pie__: Does that teach anything other than the syntax of the nix expression language?
<pie__> it seems to mostly just summarize language constructs
<pie__> so it wont solve your mkderivation problem, but yeah, time to stop dumping resources and start reading :p
<iqubic> Cool. I'll get to reading.
ris has quit [Ping timeout: 245 seconds]
<PyroLagus> you should probably read the Nix manual first and then Nixpkgs
<pie__> (probably cant stomach the whole thing at once haha)
<pie__> elvishjerricco, whelp i get dropped to the efi shell i think so something's messed with my config
v88m has joined #nixos
ebzzry has quit [Quit: WeeChat 2.3]
acarrico has quit [Ping timeout: 248 seconds]
<elvishjerricco> pie__: Are you doing this in VirtualBox?
<pie__> elvishjerricco, yeah, but to a raw disk
<pie__> elvishjerricco, i do get past the virtualbox bootloader though
<pie__> i think
MmeQuignon has quit [Ping timeout: 248 seconds]
<elvishjerricco> pie__: Did you read the comments in my article’s code about `canTouchEfiVariables`? You may be having issues with NVRAM. VirtualBox doesn’t persist them, so you need `installAsRemovable`
<pie__> yeah i did installasremovable
<pie__> wait but then why did i get an efi shell
<{^_^}> [nixpkgs] @dtzWill opened pull request #62846 → youtube-dl: 2019.05.20 -> 2019.06.08 → https://git.io/fjzKS
<pie__> xD
<elvishjerricco> pie__: Oh huh
<elvishjerricco> Did you also set canTouchEfiVariables = false?
<elvishjerricco> Not sure if it’s necessary but maybe...
<pie__> i didnt set it to false
<pie__> elvishjerricco, it defaults to false
<pie__> i probably broke something else
<pie__> elvishjerricco, well my /mnt/efi seems empty
<pie__> yes its mounted
mexisme_ has quit [Ping timeout: 272 seconds]
<elvishjerricco> Oh that’s bad :P
<pie__> i did this wrong too though " with the UUID pointing at your encrypted device, not the unencrypted dm-0 device:"
drakonis has joined #nixos
<pie__> elvishjerricco, do those sound related because they dont to me
<pie__> wait maybe i didnt finish the nixos-install properly lol *facepalm*
<pie__> elvishjerricco, now nixos-install complains keyFile = "/keyfile.bin" doesnt exist :I
<pie__> it definitely exists in the gz file
<{^_^}> [nixpkgs] @marsam merged pull request #62823 → 1password: 0.5.6 -> 0.5.6-003 → https://git.io/fjzRx
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjzKd
<pie__> the gz is in /boot though not /
<pie__> ugh but thats the gz, it wants the path to the key file while in the initrd system obviously
<pie__> which should be fine...
<pie__> so much user error today, what it actually said was boot.initrd.luks.devices.myname.keyfile doesnt exist
<pie__> its a big F :I
<pie__> ok im installing \o/
<pie__> fingers crossed
<o1lo01ol1o> ok: copying path ... is forbidden in restricted mode
<o1lo01ol1o> in a hydra job; what's that about?
<{^_^}> [nixpkgs] @dtzWill opened pull request #62847 → editline: 1.16.0 -> 1.16.1 → https://git.io/fjzKp
schjetne has joined #nixos
<{^_^}> [nixpkgs] @samueldr merged pull request #62841 → Change handle from c0dehero to pyrolagus → https://git.io/fjzoz
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fjzKh
tmaekawa has joined #nixos
lambda-11235 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #62848 → git: 2.21.0 -> 2.22.0 → https://git.io/fjz6I
schjetne has quit [Ping timeout: 272 seconds]
<pie__> elvishjerricco, lol sigh ok i actually had the correct disk name the first time around
ryantrinkle has joined #nixos
<{^_^}> [nixpkgs] @PyroLagus opened pull request #62849 → Remove Voxelands package → https://git.io/fjz6Y
<pie__> ok idk why it cant seem my disk :(
<pie__> oh i think it worked i just got my password wrong the first time and didnt ask to retry!
<pie__> elvishjerricco, wooohooo it works ! thanks for writing the pos
<pie__> t
<elvishjerricco> pie__: Sweet! Yea getting the password wrong is kinda brutal with my setup because Grub just doesn’t try again
acarrico has joined #nixos
ryantrinkle has quit [Ping timeout: 248 seconds]
v0|d has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #62850 → boehm-gc: remove libatomic_ops, guile: 2.2.3 -> 2.2.4 → https://git.io/fjz6Z
sir_guy_carleton has quit [Quit: WeeChat 2.4]
alex``` has quit [Ping timeout: 258 seconds]
alex``` has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
domogled has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
domogled has quit [Ping timeout: 248 seconds]
tmaekawa has quit [Quit: tmaekawa]
o1lo01ol1o has joined #nixos
Pneumaticat has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #62851 → avahi: add Python support → https://git.io/fjz6g
Athas has quit [Ping timeout: 258 seconds]
zeta_0 has joined #nixos
zeta_0 has quit [Client Quit]
zeta_0 has joined #nixos
nD5Xjz has quit [Ping timeout: 248 seconds]
Athas has joined #nixos
nD5Xjz has joined #nixos
xcthulhu has joined #nixos
ricekrispie2 has quit [Quit: YEET]
v88m has quit [Ping timeout: 272 seconds]
wfranzini has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/db50ff63674 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
wfranzini has joined #nixos
acarrico has quit [Ping timeout: 272 seconds]
buffet_ has quit [Ping timeout: 252 seconds]
buffet has joined #nixos
<iqubic> How do I close out of the `nix repl`?
<iqubic> I opened it up earlier today, then left my computer, and now It's being as stubborn as vim.
<lambda-11235> Ctrl-D or ":q". See ":?"
<iqubic> OMG, that's literally the vim command to do the same thing.
<iqubic> I was claiming that it was as stubborn as Vim, and you close it the same way as Vim.
<iqubic> I feel like a damn fool.
ym555_ has quit [Ping timeout: 248 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<iqubic> The irony is real here.
schjetne has joined #nixos
adamantium has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<pie__> iqubic, "well actually" to be fair its more like the haskell repl
<pie__> but now that you mention it i didnt even realize the similarity. i wonder where the : prefix originates
* pie__ uses nano :v
<pie__> iqubic, i dont think you can exit vim with ctrl-D :P
<pie__> which is the usual thing that works for bash and such too
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @kalbasit merged pull request #62830 → aerc: init at 0.1.0 → https://git.io/fjz2J
<{^_^}> [nixpkgs] @kalbasit closed pull request #62648 → aerc: init at 0.1.0 → https://git.io/fjuIp
<{^_^}> [nixpkgs] @kalbasit pushed 2 commits to master: https://git.io/fjz6Q
not_a_robot has quit [Quit: Page closed]
zeta_0 has quit [Quit: resarting emacs]
zeta_0 has joined #nixos
toppler has quit [Ping timeout: 248 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
toppler has joined #nixos
schjetne has quit [Ping timeout: 248 seconds]
<lopsided98> How are packages supposed to find build time deps using pkgconfig when cross compiling?
<lopsided98> Packages in nativeBuildInputs are not added to PKG_CONFIG_PATH
<lopsided98> In my case, I have a package that is trying to find gtk-doc
<pie__> elvishjerricco, so boot.supportedFilesystems = [ "zfs" ]; is unnecessary?
<elvishjerricco> pie__: Is it?
<elvishjerricco> Probably
<pie__> elvishjerricco, i didnt have it and it booted i think...
<pie__> but then i ran into it not working so im trying to figure out what broke when i merged in my old config
drakonis_ has joined #nixos
<elvishjerricco> Yea the fsType in hardware-configuration ought to take care of it
<pie__> maybe rebuild didnf finish properly though or something
drakonis has quit [Quit: WeeChat 2.4]
o1lo01ol1o has joined #nixos
<pie__> elvishjerricco, i mean your guide didnt have that option specified either
<pie__> ah sorry but you said fsType should mean its fine, im kind of distracted by thinking about what could be breaking it
o1lo01ol1o has quit [Ping timeout: 248 seconds]
Glider_IRC_ has joined #nixos
<pie__> this is the first case i actually needed to use rollbacks but its nice to have them
Glider_IRC__ has quit [Ping timeout: 248 seconds]
o1lo01ol1o has joined #nixos
<elvishjerricco> Rollbacks are amazing.
o1lo01ol1o has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos
drakonis1 has joined #nixos
drakonis_ has quit [Ping timeout: 268 seconds]
drakonis has quit [Ping timeout: 248 seconds]
weedloser has joined #nixos
alex``` has quit [Ping timeout: 272 seconds]
alex``` has joined #nixos
Astolfo has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62757 → libblockdev: add gptfdisk as a dependency → https://git.io/fjuxV
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjzim
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/0563e6c907b (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<clever> pie__: every FS in the fileSystems config, is automatically a supportedFilesystem
Astolfo has left #nixos ["Leaving"]
<{^_^}> [nixpkgs] @samueldr opened pull request #62852 → nixos/desktop-managers/xterm: Defaults to xserver's state → https://git.io/fjziY
<clever> elvishjerricco: ^^
manjaro-user_ has joined #nixos
<colemickens> lol, ran my laptop's switch-to-configuration on my packet instance
<colemickens> hit ctrl+C about 2 seconds too late
fxr has quit [Remote host closed the connection]
<pie__> xD
<pie__> colemickens, if only we had a built in auto-rollback mechanism
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62846 → youtube-dl: 2019.05.20 -> 2019.06.08 → https://git.io/fjzKS
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjzi3
<pie__> clever, dont suppose you have any bright idea why the zfs root pool would fail to mount
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @dtzWill to release-19.03 « youtube-dl: 2019.05.20 -> 2019.06.08 »: https://git.io/fjzis
<pie__> i had it working then merged my normal config in (manually with meld) and now its borked
<pie__> i didnt touch the device definitions
<elvishjerricco> pie__: Do you have any more info about what’s going on?
<pie__> elvishjerricco, just that one line i posted in the other channel before i closed it by accident
<pie__> id have to reboot to get it again unless you xpost
<pie__> maybe i can paste my config
<{^_^}> [nixpkgs] @samueldr opened pull request #62853 → WIP: nixos/sshd: disable validation for cross-compilation → https://git.io/fjziZ
<elvishjerricco> pie__: Shot in the dark, did you make sure to use `mountpoint=legacy` on the dataset?
<pie__> elvishjerricco, thats what i was thinking but im pretty sure i set that
<pie__> how can i check
<elvishjerricco> pie__: `zfs get mountpoint zpool/root`
<clever> pie__: did you cleanly export it before shutting down the installer?
<pie__> clever, im already booting from it (jus thave to roll back)
<clever> ah
<clever> zfs list -t filesystem -o name,used,referenced,logicalused,logicalreferenced,written,usedbysnapshots,usedbydataset,refcompressratio,compressratio,compression,mountpoint
<pie__> elvishjerricco, zfs list says mount point for zroot is none and zroot/root is legacy
v88m has joined #nixos
<clever> this will display the mountpoint (and a lot of other stuff) for every filesystem
<pie__> i dont want to know if you typed that off the top of your head
<clever> pie__: legacy requires mounting with the mount command, and on nixos, thats via fileSystems.
<pie__> right
<elvishjerricco> clever: If he followed my article, he used nixos-generate-config, which should do that
<clever> pie__: how far is it booting, and where is it hanging?
<pie__> and i have fileSystems."/" = { device = "zroot/root"; fsType = "zfs"; };
<pie__> clever, stage 1 i think
<pie__> gets past grub
<elvishjerricco> Yea, if it’s root, it’ll be in stage 1
<clever> pie__: can you get a shell there?
<pie__> clever, if you tell me ho
<clever> pie__: add boot.shell_on_fail to the kernel cmdline in grub
<elvishjerricco> pie__: What are the last few lines of output you get?
<pie__> ok so it fails on "importing root zfs pool "zroot"..."
<pie__> but i gotta wait some more
<pie__> till it finishes the dots
<elvishjerricco> Does anything come before that?
<elvishjerricco> You should see a line about a LUKS volume or something
<clever> pie__: did luks ask for the passphrase before that?
<elvishjerricco> clever: i think he’s using an initrd keyfile
<pie__> additional lines are mounting zroot/root on /...\nmount: mounting zroot/root on /mnt-root/ failed: No such file or directory
<pie__> trying to start an interactive shell actually panics
<clever> pie__: one minute
<pie__> in busybox switch_root apparently
<elvishjerricco> Do you see a line about LUKS before the zfs-related lines?
<clever> pie__: try boot.debug1devices this time
<pie__> elvishjerricco, i have to check again but i dont thikn so
qualiaqq has joined #nixos
manjaro-user_ has quit [Quit: Konversation terminated!]
<elvishjerricco> pie__: Did you remember the `boot.initrd.luks.devices` option? I think even with a keyFile, it still says something about waiting for the device or something like that.
<pie__> yeah nothing about luks
<pie__> ill check but i know i added it in at one point
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @ivan to release-19.03 « youtube-dl: build the lazy_extractors module to improve startup time »: https://git.io/fjziW
justanotheruser has quit [Quit: WeeChat 2.4]
justanotheruser has joined #nixos
<pie__> elvishjerricco, looks like i accidentally deleted the luks config
init_6 has quit [Ping timeout: 245 seconds]
<elvishjerricco> That’ll do it :P
* clever heads off to bed
<pie__> clever, nighty night
<pie__> hmm still nothin :<
adamanti` has joined #nixos
<clever> pie__: boot.debug1devices
<pie__> elvishjerricco, ok I got it. would be nice if this stuff told you it was failing.
<pie__> the issue was 1) accidentally deleted luks settings 2) forgot to finish typing in the key file name after i added it in again
<clever> for 1, it doesnt know if your luks device was misconfigured, or your drive is just slow to appear
<elvishjerricco> Lol yea I wonder if clever’s debug1devices would have told you much
adamantium has quit [Ping timeout: 248 seconds]
<pie__> clever, yeah not much you can do about that i guess
<clever> it would have shown that the luks device isnt open
<pie__> but i didnt see any errors for 2
<clever> yeah, 2 should have given an error
<pie__> hmph now xorg isnt coming up -_- how bad can i botch this
<pie__> nvm vbox guess stuff again
tbenst_ has quit [Remote host closed the connection]
tbenst_ has joined #nixos
schjetne has joined #nixos
<pie__> ok thanks again guys
mexisme_ has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/6c3826d1c93 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
v0|d has quit [Ping timeout: 248 seconds]
mexisme_ has quit [Ping timeout: 272 seconds]
gagbo has quit [Ping timeout: 246 seconds]
adamanti` has quit [Remote host closed the connection]
adamantium has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #62854 → nixos/jack: option to adjust dmix buffering → https://git.io/fjzi6
schjetne has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/168d1031af4 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
v88m has quit [Ping timeout: 258 seconds]
adamantium has quit [Remote host closed the connection]
Soo_Slow has joined #nixos
adamantium has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #62773 → nixos/tests/docker-tools: check layer sharing with buildLayeredImage → https://git.io/fjzTL
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fjziQ
knupfer has joined #nixos
iqubic` has joined #nixos
dansho has quit [Ping timeout: 248 seconds]
iqubic has quit [Ping timeout: 248 seconds]
dansho has joined #nixos
<{^_^}> [nixpkgs] @nlewo pushed commit from @danieldk to release-19.03 « nixos/tests/docker-tools: check layer sharing with buildLayeredImage »: https://git.io/fjzib
<eyJhb> When I get this error, while rebuilding, then it is a error regarding how the package was packages, and not the current state of my system, right? - https://termbin.com/xwcv
siel has quit [Ping timeout: 252 seconds]
siel has joined #nixos
eyJhb is now known as eyJhb
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1ab6de18d24 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
Mateon1 has quit [Ping timeout: 248 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
schjetne has joined #nixos
gagbo has joined #nixos
<joepie91[m]> clever: pie__: sounds like an item for the papercut thread :D
linarcx has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #62803 → tor-browser-bundle: 8.5 -> 8.5.1, security fix! → https://git.io/fjzcO
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjzPq
lambda-11235 has quit [Quit: Bye]
orivej has joined #nixos
knupfer has quit [Ping timeout: 248 seconds]
mniip has quit [Ping timeout: 604 seconds]
mniip has joined #nixos
danielrf has quit [Ping timeout: 252 seconds]
schjetne has quit [Ping timeout: 248 seconds]
v0|d has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed 4 commits to release-19.03: https://git.io/fjzPO
danielrf has joined #nixos
Zer000 has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #62610 → iperf3: symlink manpage to iperf & split man output → https://git.io/fjEFf
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/fjzPG
<{^_^}> [nixpkgs] @fpletz merged pull request #62172 → kernel: Enable IPv6 support for IPVS (CONFIG_IP_VS_IPV6 y) → https://git.io/fjRhv
<{^_^}> [nixpkgs] @fpletz pushed commit from @dsx to master « linux: Enable IPv6 support for IPVS (CONFIG_IP_VS_IPV6) »: https://git.io/fjzPZ
<{^_^}> [nixpkgs] @fpletz merged pull request #62282 → libidn2: 2.1.1a -> 2.2.0 → https://git.io/fj0He
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to staging: https://git.io/fjzPc
fendor has joined #nixos
Mateon1 has joined #nixos
ambro718 has joined #nixos
mexisme_ has joined #nixos
freeman42x has quit [Ping timeout: 258 seconds]
m0rphism has joined #nixos
zupo has joined #nixos
init_6 has joined #nixos
toppler has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 245 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #62683 → tgt: 1.0.77 -> 1.0.78, touchup → https://git.io/fjuEm
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fjzPV
<pie__> i dont suppose there's some easy way to shrink a (live) luks partition
<eyJhb> pie__ doesn't luks use LVM?
<pie__> eyJhb, probably
<pie__> idk much baout that
<eyJhb> Concept should be the same
arjen-jonathan has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/caacbe98ce1 (from 67 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @LnL7 merged pull request #62133 → nixos: add test for uwsgi → https://git.io/fjRwE
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fjzP1
<{^_^}> [nixpkgs] @LnL7 merged pull request #61376 → chunkwm: init at 0.4.9 → https://git.io/fjWOq
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fjzPM
<pie__> seems anoying :/
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<eyJhb> pie__ *day three of DL, I would trade
<pie__> eyJhb, hm?
<eyJhb> DL => DisplayLink
<pie__> oh lol
* pie__ gets faaar away from eyJhb
<pie__> jk :D , ive heard displaylink is actually a relatively sane protocol (iirc...)
<eyJhb> Well, it's proprietary, so....
<eyJhb> That would be insider knowledge :p
v88m has joined #nixos
<pie__> are you sure
<pie__> maybe im mixing it up with something
schjetne has joined #nixos
sb0 has joined #nixos
v88m has quit [Ping timeout: 258 seconds]
<eyJhb> pie__ quite sure, even the log files are encrypted
<eyJhb> DisplayLink != DisplayPort :D
<pie__> love me some drm
<{^_^}> [nixpkgs] @minijackson opened pull request #62857 → jellyfin: 10.3.3 -> 10.3.4 → https://git.io/fjzPQ
thc202 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cmacrae`` has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
<eyJhb> Can I specify how many jobs a remote builder kan take? Currently it seems like it only does one at a time?
<symphorien> eyJhb: yes https://nixos.org/nixos/options.html#nix.buildmachines see the attribute maxJobs
dansho has quit [Quit: Leaving]
<eyJhb> symphorien anyway I can transfer that into the nixos-rebuild syntax? sudo nixos-rebuild -I nixpkgs=. boot --option builders nixosbuilder2 --option builders nixosbuilder --max-jobs 0
MmeQuignon has joined #nixos
<eyJhb> Can't really find that much documenatation on it...
<eyJhb> Also not how to specify multiple b uilders
Anton-Latukha has joined #nixos
Lears has joined #nixos
[Leary] has quit [Remote host closed the connection]
<Ashy> has there ever been any sydney nixos meetups?
adamantium has quit [Remote host closed the connection]
<Ashy> or rather, is anyone planning a future sydney nixos meetup?
<{^_^}> [nixpkgs] @obadz pushed 2 commits to master: https://git.io/fjzPj
<marko[m]1> Any idea why my pulseaudio got broken after upgrade?:
<marko[m]1> Failed to open module /nix/store/hfvl7fdbdg0fhwxnkd8y32lw5kicw9yc-pulseaudio-12.2/lib/pulse-12.2/modules/module-alsa-card.so: /nix/store/hfvl7fdbdg0fhwxnkd8y32lw5kicw9yc-pulseaudio-12.2/lib/pulse-12.2/modules/libalsa-util.so: undefined symbol: pa_alsa_ucm_device_update_available
qualiaqq has quit [Remote host closed the connection]
ks0ne has joined #nixos
cmacrae`` has quit [Quit: ERC (IRC client for Emacs 26.1)]
cmacrae has joined #nixos
Zer000 has quit [Quit: Leaving]
__monty__ has joined #nixos
zupo has joined #nixos
cmacrae` has joined #nixos
ks0ne has quit [Quit: Lost terminal]
cmacrae has quit [Ping timeout: 248 seconds]
tmaekawa has joined #nixos
<joepie91[m]> this is the second time that I've had to forcibly rebuild/reinstall VS Code by overriding it with a different name, because it was producing this error: /nix/store/5zk0kmkljgmk4w7cky4yswbd7kkx0yqp-vscode-patched/bin/.code-wrapped: line 35: /nix/store/5zk0kmkljgmk4w7cky4yswbd7kkx0yqp-vscode-patched/lib/vscode/bin/../code: No such file or directory
<joepie91[m]> I get the impression that something about the vscode package is non-deterministic...
iyzsong has quit [Ping timeout: 272 seconds]
[Leary] has joined #nixos
Lears has quit [Ping timeout: 246 seconds]
Matthieu_ has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
MmeQuignon has quit [Ping timeout: 272 seconds]
ris has joined #nixos
<asymmetric> does buildRustPackage support git dependencies in Cargo.toml?
o1lo01ol1o has joined #nixos
<asymmetric> from this 2016 issues, looks like it doesn't https://github.com/NixOS/nixpkgs/issues/14125#issuecomment-242566338
ericsagnes has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
<asymmetric> trying to build a package that has a dependency to https://github.com/wasmerio/inkwell?branch=llvm7-0#a14e6297
<asymmetric> and building fails (the package is wasmerio/wasmer)
init_6 has quit []
alex``` has quit [Ping timeout: 268 seconds]
cmacrae` is now known as cmacrae
orivej has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ed136f84efd (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jasongrossman has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
fendor has quit [Quit: Leaving]
alex``` has joined #nixos
kvaster has joined #nixos
gratto has quit [Read error: Connection reset by peer]
gratto has joined #nixos
abcrawf has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @aristidb pushed to master « pulseaudio: Fix detection of ALSA UCM »: https://git.io/fjzXH
jasongrossman has joined #nixos
abcrawf has joined #nixos
Xal has quit [Ping timeout: 258 seconds]
Xal has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
romildo has joined #nixos
romildo_ has joined #nixos
romildo__ has joined #nixos
Ariakenom has joined #nixos
delroth has joined #nixos
romildo has quit [Ping timeout: 272 seconds]
romildo_ has quit [Ping timeout: 272 seconds]
romildo__ has quit [Ping timeout: 248 seconds]
alp has joined #nixos
freeman42x has joined #nixos
Matthieu_ has quit [Ping timeout: 248 seconds]
Matthieu_ has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #62857 → jellyfin: 10.3.3 -> 10.3.4 → https://git.io/fjzPQ
jackdk_ has joined #nixos
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjz1v
<{^_^}> [nixpkgs] @srhb merged pull request #62809 → rtv: 1.26.0 -> 1.27.0 → https://git.io/fjzcW
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fjz1f
fendor has joined #nixos
buffet has left #nixos ["WeeChat 2.4"]
<jackdk_> does anyone have an example of a nixified haskell repo containing a cabal.project file and multiple packages? I have two packages: X, and X-example (which depends on X), and I'm trying to make a sensible nix expression for them
arjen-jonathan has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #62758 → nixos/zoneminder: font files cannot be found → https://git.io/fjuxp
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fjz1J
<jackdk_> X-example has additional dependencies that X does not, so if I try to set up individual shells for each package, cabal new-build complains that it can't find some project dependencies. But because X-example depends on X, if I try to put all of my dependencies into the shell, I build X even when I'm entering a shell to develop it
tarruda has quit [Quit: WeeChat 1.6]
tarruda has joined #nixos
emacsomancer has joined #nixos
romildo has joined #nixos
romildo has quit [Client Quit]
freeman42x has quit [Ping timeout: 258 seconds]
Matthieu_ has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
Matthieu_ has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
ambro718 has joined #nixos
<ambro718> How can I check if a binary is 32bit or 64bit from a builder?
romildo has joined #nixos
<symphorien> With file ?
<{^_^}> [nixpkgs] @asymmetric opened pull request #62858 → [19.03] backport wasmtime → https://git.io/fjz1n
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/caacbe98ce1 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<aristid> marko[m]1: fixed in master.
<aristid> marko[m]1: you just need to wait for the channel to build my fix :-)
linarcx has quit [Quit: WeeChat 2.4]
romildo has quit [Quit: Leaving]
janneke has joined #nixos
ericsagnes has joined #nixos
mexisme_ has joined #nixos
cmacrae has quit [Quit: ERC (IRC client for Emacs 26.1)]
<jackdk_> I have found https://discourse.nixos.org/t/when-haskell-dependencies-fail/2244/2 which seems to set up a shell.nix but I can't work out default.nix when I have cabal.project files
dftxbs3e has joined #nixos
mexisme_ has quit [Ping timeout: 248 seconds]
Profpatsch has joined #nixos
peacememories has joined #nixos
jasongrossman has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @ambrop72 opened pull request #62859 → nvidia-x11: Set 32-bit library paths for 32-bit libraries. → https://git.io/fjz1R
<infinisil> jackdk_: I think you might need two different shell.nix's to do that
<infinisil> One for each project
freeman42x has joined #nixos
jasongrossman has joined #nixos
<infinisil> Ah actually, maybe not
<jackdk_> infinisil: so I tried setting that up, and the shell for X would fail to solve because it wanted to find deps of X-example. I think it was going up to the repo root, seeing the cabal.project
<jasongrossman[m]> pulse
<jackdk_> as in, I could enter the shell but cabal new-build would fail
<infinisil> jackdk_: I have this here which uses (or used to) multiple projects with a cabal.project: https://github.com/Infinisil/nixbot/tree/353b2ae6b4bd39e7eaa5f8ded02a11ed60807a35
<infinisil> I'm putting both packages in a haskell package set, then use shellFor to include the deps for each of them
<infinisil> Maybe that's what you're looking for
<jackdk_> this looks really promising, thank you. I'll have a play
<infinisil> Ah but actually, I think this recompiled nix-session-types every time I did any change to it and reentered the nix-shell
<infinisil> Which kinda makes sense because nix-session depended on nix-session-types
mac10688_ has joined #nixos
<jackdk_> I do not get that if i edit code in X
<jackdk_> even though X-examples depends on X
<mac10688_> Hi all. I want to edit the fstab. What's the nixos approach to this? Editing the file itself gives me issues because of symlinks. Then I think this seems to go against the philosophy of nixos.
Guest93 has joined #nixos
<jackdk_> mac10688_: There is a section in the nixos manual about how to set up filesystems. If you do that and rebuild, it will regenerate fstab for you
<mac10688_> ok thanks! i'll check it out
<Guest93> Hello! Quick question: where is your place to go to find documentation of nix functions? i.e. im writing a environment for a python program and want to know more about how the functions "withPackages" and "env" work. Thanks
ZaraChimera has joined #nixos
toppler has quit [Ping timeout: 258 seconds]
mmlb2 has joined #nixos
mmlb has quit [Ping timeout: 248 seconds]
<jackdk_> infinisil: thanks for your link. I'm pretty sure I'm not building X into my shell (it doesn't show up on ghc-pkg list | grep X). The last thing I'd like to fix is around the cabal.project file: X-example has some non-hackage dependencies.
mmlb29 has joined #nixos
mac10688_ has quit [Ping timeout: 256 seconds]
<jackdk_> if I add source-repository-package stanzas to cabal.project, I get "cabal: TODO: add support for fetching and reading local tarballs, ..."
mmlb2 has quit [Ping timeout: 272 seconds]
toppler has joined #nixos
<jackdk_> (This is GHC 8.4.x, because I'm doing reflexy stuff and reflex-platform has nothing newer)
alp has quit [Ping timeout: 268 seconds]
<infinisil> jackdk_: You could use Nix to build the dependencies, and I'd recommend that
<infinisil> (I have no idea about source-repository-package though)
<jackdk_> I should have been clearer. That's what I'm currently doing, and until reflex-platform goes to ghc 8.6 (cabal-install >= 2.4), that might be all I can do. It would have been nice to provide something for non-nix cabal new-build users though
<ambro718> How would one check if EGL works, is there anything that uses EGL in nixos?
<marko[m]1> aristid: thanks I noticed your commit and desided to try it out. Don't want to wait so I'll build my own :-)
<aristid> marko[m]1: great, can't hurt to have some people to test it :-)
<aristid> only problem is that for whatever reason, i can never build firefox locally
<aristid> so i can't fully test it myself it seems, until hydra caught up
<{^_^}> [nixpkgs] @risicle opened pull request #62861 → [r18.09] exim: add patch for CVE-2019-10149 → https://git.io/fjz1S
earldouglas has joined #nixos
<eyJhb> Can anyone increase the number of build users in - https://github.com/NixOS/docker/blob/master/Dockerfile ? E.g. to 200. Just hit the limit several times. Can make a PR if needed
emptyflask has joined #nixos
<{^_^}> [nixpkgs] @asymmetric opened pull request #62862 → doc: update nixpkgs-mozilla rev → https://git.io/fjz1x
orivej has quit [Ping timeout: 272 seconds]
mmlb29 is now known as mmlb
alp has joined #nixos
xkapastel has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @risicle opened pull request #62863 → pythonPackages.matchpy: 0.4.6 -> 0.5.1, fix build → https://git.io/fjzMU
kl3 has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @pacien opened pull request #62864 → nodePackages.matrix-appservice-irc: init at 0.12.0 → https://git.io/fjzMT
<kl3> hi. i want to submit a diff without GH. with discourse, posting in the "Development, Patches" category seems to provide no way of uploading a text file, am I supposed to paste the diff inline?
shibboleth has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<kl3> asking because this is highly error prone due to whitespace mangling and what not - i'd like to just submit some diffs produced by git-format-patch(1) without screwing them the usual ways
o1lo01ol1o has joined #nixos
jackdk_ has quit [Ping timeout: 272 seconds]
jtojnar has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<samueldr> kl3: I don't know how it'll work out if you send them by e-mail to the discourse address, maybe it'll make it less likely it'll screw with them
o1lo01ol1o has joined #nixos
<samueldr> kl3: another option is to have them hosted at another location (any good ol' paste site) in addition to inlining them with ``` guards in case discourse screws with them
<cocreature> How can I run nixos-rebuild against a local checkout of nixpkgs as opposed to a channel?
<samueldr> cocreature: nixos-rebuild respects `-I`
<samueldr> cocreature: even though this is only documented in an example use in the manpage
ris has quit [Ping timeout: 244 seconds]
<cocreature> samueldr: nice, thank you! I guess it looks for <nixos> so that’s the one I need to override?
<samueldr> it looks for `nixpkgs`
<samueldr> hm
<samueldr> I'm now doubting myself
<sb0> if I set up an overlay as "self: super: { rustc = ... }" then rustPlatform.buildRustPackage still uses the original rustc - how to fix that?
<samueldr> due to the default name of the channel
<samueldr> cocreature: try both setting nixpkgs and nixos, my NIX_PATH is non-standard so I'm not sure
<cocreature> heh, I guess that will do the trick, thanks again!
<samueldr> it might be relying on the search path instead of nixpkgs= from NIX_PATH
<samueldr> though no, it might just be nixpkgs, considering `nix-instantiate --find-file nixos` fails here
o1lo01ol1o has quit [Ping timeout: 248 seconds]
<cocreature> assuming I’m reading things correctly it’s <nixpkgs/nixos>
fusion809 has quit [Remote host closed the connection]
iqubic` has quit [Quit: ERC (IRC client for Emacs 26.1)]
iqubic has joined #nixos
<kl3> samueldr: just used a paste service for the sake of simplicity now
<samueldr> cocreature: yeah, <x/y...> will resolve x and tack y... to it, so yeah, nixpkgs :)
<kl3> samueldr: what email address would that be? where can i find it on discourse?
<samueldr> https://discourse.nixos.org/t/about-the-patches-category/477 looks like it's nixos1+dev-patches@discoursemail.com
<Yaniel> umm is anyone else having problems with pulseaudio simply not noticing any sound card?
<Yaniel> on today's nixos-unstable
<aristid> Yaniel: there is a bug that should be fixed in the latest master
<Yaniel> okay good
<kl3> thanks
<aristid> Yaniel: may take a while until nixos-unstable picks it up
<samueldr> andi- / kl3: though there's the one directly for use with patches too :)
<andi-> oh?
<samueldr> [11:03:19] <samueldr> https://discourse.nixos.org/t/about-the-patches-category/477 looks like it's nixos1+dev-patches@discoursemail.com
<Yaniel> will just roll back to yesterday's version until it propagates
<kl3> samueldr: my bad, blatantly overlooked this line
<samueldr> no worries, I didn't ping anyone :)
arjen-jonathan has joined #nixos
stepcut has joined #nixos
<Miyu-saki> Okay, now I have feature request a that I never knew I needed before.
tmaekawa has quit [Quit: tmaekawa]
<Miyu-saki> Let `nix build` show a break down of what store elements have to be downloaded, along with their size.
Guest93 has quit [Ping timeout: 258 seconds]
<Miyu-saki> Something like this should actually work
<Miyu-saki> nix path-info -S --store https://cache.nixos.org /nix/store/qy3bxbvkvss3kgkd3xw015klw5kzkqff-nixos-system-myrl-19.03.git.caacbe9
<Miyu-saki> But "not really" because it doesn't exist on the remote store.
<Miyu-saki> There are ways around that.
<Miyu-saki> But at that point, it'd be non-trivial, and you'd probably be done with the download before you finish it.
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Ping timeout: 248 seconds]
fendor has quit [Read error: Connection reset by peer]
jonaswouters has quit [Quit: Connection closed for inactivity]
<mk_modrzew> hey, because software I tried to use (BCC) caused kernel panic on linux 4.19 I decided to upgrade to latest, and now I receive this error message trying to run chdir(/nix/store/gh7859s2i0lr1y8rppp28n63gpvngds4-linux-4.19.48-dev/lib/modules/5.1.7/build): No such file or directory
<mk_modrzew> and I after time spent on trying to solve that I have no clue if I forgot to update some env var or I didn't wrote something in configure.nix?
gratto has quit [Read error: Connection reset by peer]
gratto has joined #nixos
Matthieu_ has quit [Ping timeout: 246 seconds]
Matthieu_ has joined #nixos
Guest93 has joined #nixos
<Guest93> is anyone here using the altgr-intel with us layout as keyboard? if so, could you please share your config?
emptyflask has quit [Ping timeout: 258 seconds]
Guest93 has quit [Remote host closed the connection]
arjen-jonathan has quit [Quit: WeeChat 2.4]
ee1943 has quit [Ping timeout: 272 seconds]
v0|d has quit [Ping timeout: 268 seconds]
Matthieu_ has quit [Ping timeout: 248 seconds]
shibboleth has quit [Quit: shibboleth]
o1lo01ol1o has joined #nixos
<Miyu-saki> Yikes... I'm reading the BEAM package set, and it seems like it's actually not extensible in Nix without drastic measures...
<Miyu-saki> At least not as simple to extend as other package sets, Python specifically.
kl3 has quit [Ping timeout: 272 seconds]
<rnhmjoj> freenode_Guest93: what do you need exactly? i don't know about that keyboard but i've made some xkb changes in nixos
<dhess> gchristensen: around?
kl3 has joined #nixos
kl3 is now known as Guest10107
<Miyu-saki> This at least seems to work.
<Miyu-saki> nix-shell -p 'with import <nixpkgs> { overlays = [ (super: self: { beam = lib.recursiveUpdate self
<Miyu-saki> .beam { packages.erlang = self.beam.packages.erlangR21; } ; }) ];}; [ elixir beamPackages.hex ]'
<Miyu-saki> nix-shell -p 'with import <nixpkgs> { overlays = [ (super: self: { beam = lib.recursiveUpdate self.beam { packages.erlang = self.beam.packages.erlangR21; } ; }) ];}; [ elixir beamPackages.hex ]'
<Miyu-saki> Just putting that in writing, in case someone encounters the same problem as me.
<Miyu-saki> Also, I don't know if the self/super order is correct
ambro718 has quit [Quit: Konversation terminated!]
madhukar has joined #nixos
<infinisil> ,overlays
<{^_^}> infinisil: Did you mean overlay?
<{^_^}> Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
Mrmaxmeier has joined #nixos
gratto has quit [Read error: Connection reset by peer]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gratto has joined #nixos
Guest10107 has quit [Quit: leaving]
<madhukar> hello, have just installed nixos on a new x1 cabon thinkpad. The ideas behind them are very cool, and I'm using it currently with kde, it was a breeze to set up. My question is if I can immediately make it my main OS, without learning everything about it. I will be able to do so if there was an easy escape hatch to do things the "regular" linux way easily and quickly so as to not get too severely hampered at work
<{^_^}> [nixpkgs] @matthewbauer merged pull request #61668 → jellyfin: add bundled libraries to LD_LIBRARY_PATH → https://git.io/fjzDC
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjzDW
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
endformationage has joined #nixos
<madhukar> I was looking at `buildFHSUserEnv` is it possible to set up multiple "applications" inside one to be able to have a little oasis to full back on in desperate times?
is_null has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
<Miyu-saki> Am I doing something wrong here?
<Miyu-saki> To use an alternative elixir and erlang, I had to do this.
<Miyu-saki> nix build '(with import <nixpkgs> { overlays = [ (self: super: { beam = self.lib.recursiveUpdate super.beam { packages.erlang = self.beam.packages.erlangR21.extend (self: super: { elixir = super.elixir_1_8; }); }; } )]; }; [ elixir beamPackages.hex ])'
v88m has joined #nixos
sb0 has quit [Quit: Leaving]
<Miyu-saki> Wait fuck.
<Miyu-saki> [nix-shell:~]$ iex
<Miyu-saki> Erlang/OTP 20 [erts-9.3.3.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]
<infinisil> madhukar: AFAIK you can use buildFHSUserEnv to put single or multiple applications into one to have a standard linux environment for them, but you can't really modify that environment once built, so you can't install new stuff, add files and in general "normal" linux stuff
<Miyu-saki> It doesn't even work.
<infinisil> madhukar: So it's really only good for running programs
<madhukar> so I can't mutate it, but I can just edit the environment definition and relaunch it when I want new things installed there, yes? What about things such as logfiles generated within the environment?
<{^_^}> [nixpkgs] @andir opened pull request #62866 → firefox 67.0 -> 67.0.1 → https://git.io/fjzDE
<{^_^}> [nixpkgs] @andir opened pull request #62867 → [19.09] firefox 67.0 -> 67.0.1 → https://git.io/fjzDu
drakonis has joined #nixos
<madhukar> Anyone got anecdotes when swallowing the nix pill, did you face issues collaberating with your colleagues because the install scripts etc which worked for everyone else, didn't work for you?
<Miyu-saki> Yep. This is pretty mentallamo.
<Miyu-saki> How are overlays applied? Left to right?
drakonis1 has quit [Ping timeout: 245 seconds]
peacememories has joined #nixos
<Miyu-saki> Okay, this was pretty mental, but I finally got it to work this time.
<Miyu-saki> nix eval '(with import <nixpkgs> { overlays = [ (self: super: { beam = self.lib.recursiveUpdate super.beam { interpreters.erlang = self.beam.interpreters.erlangR21; packages.erlang = super.beam.packages.erlang.extend (self: super: { elixir = super.elixir_1_8; }); }; } )]; }; beam.packages.erlang.elixir.version)'
<Miyu-saki> "1.8.1"
<Miyu-saki> But `elixir` by itself still doesn't work.
<Miyu-saki> Oh, I'm stupid. I get what's happening. Sorry about that.
<Miyu-saki> Is it because I also updated `interpreters` in the overlay?
Glider_IRC__ has joined #nixos
kvaster has quit [Ping timeout: 245 seconds]
<Miyu-saki> Actually, I get why now.
<Miyu-saki> Cheanging beam.packages won't really help, because `interpreters` is already evaluated.
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Glider_IRC_ has quit [Ping timeout: 248 seconds]
<kuznero[m]> Hi All! How is it running AppImage or Flatpak apps in NixOS?
<hyper_ch> no idea what AppImage or Flakpak is
peacememories has joined #nixos
<Miyu-saki> This is perhaps the most mental thing I've done lol
<Miyu-saki> nix-shell environment for a more recent version of elixir and erlang. https://gist.github.com/adrianparvino/222248c3c8046b57168ba364c2c5529f
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/635e3b1e6fd (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @tobim opened pull request #62868 → reredirect: init at 0.2 → https://git.io/fjzDQ
acarrico has joined #nixos
linarcx has joined #nixos
rfold has joined #nixos
iqubic` has joined #nixos
Ariakenom has quit [Quit: Leaving]
Ariakenom has joined #nixos
iqubic has quit [Ping timeout: 248 seconds]
acarrico has quit [Ping timeout: 258 seconds]
aristid has joined #nixos
Matthieu_ has joined #nixos
mexisme_ has joined #nixos
<matthewbauer> kuznero: flatpak is pretty well supported. it can be enabled with ```services.flatpak.enable = true;``` on nixos
orivej has joined #nixos
<matthewbauer> snappy not so much
<matthewbauer> appimage can work but it's a pain getting set up
eraserhd has joined #nixos
<etu> matthewbauer: steam-run :p
<matthewbauer> etu: oh nice! didn't realize it worked for non-steam things
<etu> It may
mexisme_ has quit [Ping timeout: 272 seconds]
<kuznero[m]> What should I do when I accidentally deleted my `hardware-configuration.nix`?
<kuznero[m]> matthewbauer: thanks!
<gchristensen> did you ever edit it, kuznero[m]?
<dhess> gchristensen: oh bad luck for you, I was just about to go away but now I know you're here :)
<kuznero[m]> Not sure, but unlikely! Should I try to nixos-generate-config again?
<gchristensen> uhoh :)
<gchristensen> kuznero[m]: yep!
<kuznero[m]> ok, will try that. thanks!
<dhess> gchristensen: Any tips/tricks for using NixOps with a bastion host?
<gchristensen> oh cool
<gchristensen> one sec, dhess
toppler has quit [Ping timeout: 248 seconds]
<aristid> kuznero[m]: i recommend putting all your nixos configs in a git repo
<aristid> for the future :-)
<dhess> I know about using ProxyCommand rather than -A and all that. I just mean specifically tricks for getting NixOps to honor the bastion host, probing for ssh ports, and all that. Doing some reading, it doesn't seem quite as straightforward or well-supported as I would have thought.
<gchristensen> dhess: so you're on computer A, running nixops deploy on computer A, and to reach target T, you have through bastion B?
<dhess> that's right
<kuznero[m]> :) that is a good idea. I do that for everything else but hardware-config
<dhess> and possibly computer A doesn't have DNS visibility for target T, but bastion B does.
<gchristensen> dhess: https://github.com/NixOS/nixops/pull/1024 I haven't persued this in a bit, but it *did* work for me
<{^_^}> nixops#1024 (by grahamc, 32 weeks ago, open): Allow specifying arbitrary SSH configuration for nodes
<gchristensen> aszlig's feedback was all very good -- are you able to finish that pr off?
<dhess> but rather than using IPs, I would like to set up something in either computer A or bastion B's ssh_config to give it a symbolic name
<dhess> ok I'll take a look at that
<dhess> I might be able to finish it off. I have forked my own NixOps for long stretches in the past so I'm familiar with its... quirks :)
<gchristensen> :D
<dhess> though I haven't done much of my own work on its codebase.
<gchristensen> his feedback should not be complicated to implement
<dhess> cool
<dhess> gchristensen: but short of that PR, I did see that nixos-community has a bastion host defined now. Is that being used to `nixops deploy` anything?
<gchristensen> by nixos-community do you mean nixos-org-configuartions?
<dhess> yeah sorry
<dhess> I get those confused
<gchristensen> that server is connected to, and then nixops is run on that system
<dhess> oh :(
<dhess> ok thanks.
<gchristensen> yeah.
<dhess> I'll probably start experimenting with vanilla nixops and see how that goes, and then look into that PR
toppler has joined #nixos
o1lo01ol1o has joined #nixos
<dhess> Realistically I won't have time to get into it until probably end of the month. I've got Zurihac coming up and then Monadic Party straightaway thereafter.
<gchristensen> aye. I'll be seeing you there :)
<dhess> Just at Zurihac, right?
<gchristensen> y
<dhess> huh maybe we could do a quick sprint on it. It's not exactly Haskell though :)
<gchristensen> though, if I wanted to learn Haskell monadic party would be better probably
eraserhd has quit [Ping timeout: 248 seconds]
<dhess> gchristensen: did you see that Well-Typed is teaching a few classes at Zurihac, gratis? https://www.well-typed.com/blog/2019/06/free-training-sessions-at-zurihac/
<dhess> they're not exactly beginner classes but they're not exactly Edward Kmett-level classes, either :)
<gchristensen> oh cool
<gchristensen> we'll see what happens :)
<dhess> oh also, I think that Julie of Joy of Haskell fame is teaching classes again this year at Zurihac: https://joyofhaskell.com/posts/2019-05-29-zurihac.html
<gchristensen> also cool!
eraserhd has joined #nixos
<dhess> oh she isn't but she has asked someone to teach it instead
<dhess> I would highly recommend that. I haven't read it myself as it came too late in my Haskell journey but I've heard nothing but great things about it.
o1lo01ol1o has quit [Ping timeout: 252 seconds]
<gchristensen> ok, cool, thank you
<dhess> anyway thanks for the pointer to that PR.
<gchristensen> yep
<dhess> np, anything to get more people into Haskell ;)
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> maybe I'll even spend a few minutes on it .........
<dhess> hehehe
<dhess> from the looks of the PR it's probably good enough for government work already.
<gchristensen> hah
<dhess> when are you flying to Zurich?
<gchristensen> Thursday night from Montreal
peacememories has joined #nixos
<dhess> oh my you're going to be jetlagged for the conf :)
<gchristensen> Zurihac day 1 will not be a super fun day sleep wise :P
<dhess> are you staying in Zurich or Rapperswil?
<gchristensen> mmmnot sure, I don't have my itinerary yet
<gchristensen> I'm going to https://snapcraft.io/blog/snapcraft-summit-montreal which ends on Thursday afternoon and flying direct from there over
<dhess> but you do have a booking right?
<gchristensen> yeah, Tweag booked it for me
<dhess> ok good :)
<dhess> is Nix invovled with the Snap stuff?
<gchristensen> not really
<gchristensen> they invited me to come represent Nix at the conference, and try to package Nix in Snap
<dhess> snap/snapcraft/whatever it's called these days
<gchristensen> I'm planning on trying to make a dockerTools.buildImage, but snapTools.buildSnap
<dhess> oh cool
<gchristensen> we'll see how it goes, I haven't looked at it yet :)
<dhess> I met a cool Tweag employee at Zurihac last year. Dominic. Dunno if you know him.
<dhess> super smart dood
<gchristensen> yeah he is
<dhess> math-y.
<gchristensen> I regularly feel very glad to work with such smart and interesting people
<dhess> yeah Tweag seems great.
sigmundv has joined #nixos
domogled has joined #nixos
<gchristensen> hrm. I no longer have a good way to test this PR
kvaster has joined #nixos
haine has joined #nixos
haine has left #nixos [#nixos]
mac10688 has quit [Ping timeout: 256 seconds]
<aristid> OMG SOUND WORKS AGAIN
<aristid> <- thanks himself
<gchristensen> nice work, aristid!
<aristid> gchristensen: :-)
<gchristensen> * [new branch] delete-the-code -> grahamc/delete-the-code
<gchristensen> hoping somebody picks this nixops PR up too :)
kvaster has quit [Ping timeout: 248 seconds]
knupfer has joined #nixos
<cocreature> aristid: thank you!
madhukar has quit [Ping timeout: 256 seconds]
<gchristensen> dhess: looking at this code I'm not sure what I was thinking" it is horrible, haha
<kuznero[m]> matthewbauer: a lot of the apps that I install through flatpak in NixOS give errors like this. `Cannot open pixbuf loader module file` It seems to be inherently Gnome apps, but I run KDE. Does that make a difference? Is there any known workarounds?
<aristid> gchristensen: deleting code is good, much of the time!
domogled has quit [Ping timeout: 248 seconds]
<matthewbauer> kuznero: weird, i think they should be installed in /var/lib/flatpak/exports/share
sigmundv has quit [Ping timeout: 258 seconds]
<kuznero[m]> Yep, I also thought it should be as much self-contained as possible.
o1lo01ol1o has joined #nixos
<matthewbauer> but maybe they try to use the parent theme? i wonder if they just expect gtk apps to have a gtk theme available
o1lo01ol1o has quit [Remote host closed the connection]
<kuznero[m]> Is there a package I can just try installing to test that?
drakonis1 has joined #nixos
gratto has quit [Ping timeout: 248 seconds]
<matthewbauer> try `echo $GDK_PIXBUF_MODULE_FILE` and make sure that exists
<matthewbauer> this sounds very similar to this though: https://github.com/NixOS/nixpkgs/issues/53441
<{^_^}> #53441 (by alexeymuranov, 22 weeks ago, closed): flatpak: Marker (markdown editor) does not start up
<matthewbauer> maybe try `unset GDK_PIXBUF_MODULE_FILE`
<matthewbauer> (if it's set of course)
o1lo01ol1o has joined #nixos
<kuznero[m]> The file exists
<kuznero[m]> Yep, that is looking exactly like my issue. Will try to follow up.
<kuznero[m]> Thanks
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> aszlig: 'round?
<kuznero[m]> matthewbauer: running it like this `flatpak run --env=GDK_PIXBUF_MODULE_FILE= com.github.philip_scott.notes-up` works it seems. Even though there is a huge shadow border on the main window. But it works at least.
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @ambrop72 opened pull request #62869 → vulkan-loader: Always include /run/opengl-driver(-32)/share in search path. → https://git.io/fjzSt
wfranzini has quit [Remote host closed the connection]
<gchristensen> oh cool, Nixops has CI now
wfranzini has joined #nixos
<kuznero[m]> Fix merged on Apr 16
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @hedning to release-19.03 « flatpak: clear GDK_PIXBUF_MODULE_FILE »: https://git.io/fjzS3
drakonis_ has joined #nixos
<dhess> gchristensen: CI how?
<gchristensen> it runs some travis stuff
emptyflask has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
<gchristensen> anyway I fixed all his concerns except for the major one of using ssh in principle
<dhess> wow thanks! You certainly didn't need to do that.
<dhess> I will test it as soon as I can. Maybe even tomorrow
<gchristensen> cool
<gchristensen> they were simple to fix :)
<{^_^}> [nixpkgs] @ambrop72 opened pull request #62870 → nvidia-x11: Put absolute library paths into ICD config files. → https://git.io/fjzSl
<Pneumaticat> has anyone had any experience in running Calico on Kubernetes? I tried to run it but I got these problems https://github.com/NixOS/nixpkgs/issues/53601
<Pneumaticat> namely: Kubelet doesn't look into /etc/cni/net.d, clears /opt/cni/bin
<{^_^}> #53601 (by Pneumaticat, 21 weeks ago, open): Cannot install Calico on Kubernetes
knupfer has quit [Ping timeout: 252 seconds]
kvaster has joined #nixos
gratto has joined #nixos
<pie__> can i get a file from hydra by hash
<pie__> im trying to get the source code of apackage
<gchristensen> sure
<gchristensen> nix-store -r /nix/store/.....-wahtever
<pie__> i know i can just -r the store path but how do i just pass a sha256
<gchristensen> oh not by that hash.
<pie__> yeah i dont know how to get a store path from ...well i guess i need to eval it
xkapastel has quit [Quit: Connection closed for inactivity]
<pie__> trying to get the source of this for the lulz https://hydra.nixos.org/build/40479136#tabs-summary
<pie__> gchristensen, apparently I cant -r the drv?
<drakonis1> so, i'm having a problem with wine and pulseaudio, there's really strong audio distortion on some applications
<drakonis1> which happens only on NixOS and fedora, but doesnt happen with debian
alp has quit [Ping timeout: 248 seconds]
<pie__> gchristensen, ok i dont know why -r doesnt work for half of this stuff but i *was* able to get a tar.gz url that works from the raw log
<pie__> how the heck do i extract a nar
<pie__> ok apparently cat-nar is horribly documented and to use ls-nar from the root you have to pass an empty argument as the path
<pie__> ok ls nar actualy doesnt give me any output at all for this -_-
gratto has quit [Read error: Connection reset by peer]
gratto has joined #nixos
goibhniu1 has joined #nixos
<pie__> well i managed to extract it with cat-nar -> gzip, but man there's gott abe a less roundabout way to do this xD
CodeKiwi has joined #nixos
kvaster has quit [Ping timeout: 252 seconds]
Theletos has joined #nixos
<Theletos> Hi. I cannot seem to get samba working.
shibboleth has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/70de27bbb47 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
JadoJodo has quit [Quit: Ping timeout (120 seconds)]
JadoJodo has joined #nixos
andi-_ has joined #nixos
<eyJhb> It is basically commit b981b8e0feffbc12baa68294bb3a291c2f96cffe that breaks DisplayLink support, but would it be "OK" to override xorgserver inside DisplayLink?
andi-_ has quit [Client Quit]
<etu> oh damn
<etu> That's probably hard to patch :D
<gchristensen> is there an open bug report with x?
zupo has joined #nixos
<etu> Yeah, that's a good first step
<eyJhb> It is not X that is the problem, it is displaylink not properly supporting the newest xorgserver version basically, it is a somewhat known bug
<eyJhb> Oh, i read taht wrong, 2 secs
<Athas> I've just installed NixOS. What's the difference between installing packages via 'nix-env -i' compared to adding them to /etc/nixos/configuration.nix?
<gchristensen> generally, people want to use systemPackages.
<Athas> Why?
<gchristensen> to be reductive about it, nix-env is for people who want `aptitude` :P
<Athas> When I do 'nixos-rebuild', will that blast away any changes I did with nix-env?
<gchristensen> packages installed by nix-env are managed imperatively and require updating outside of the nixos-rebuild cycle
<Pneumaticat> Athas: nix-env -i is a per-user package manager, while configuration.nix installs packages for the whole system as well, I believe
<gchristensen> no
<Athas> Good enough arguments for me, thanks.
andi-_ has joined #nixos
zupo_ has joined #nixos
<eyJhb> gchristensen etu https://github.com/NixOS/nixpkgs/issues/62871 this is the situation :)
<{^_^}> #62871 (by eyJhb, 13 seconds ago, open): displaylink: broken on xorg.server > 1.19.6
andi-_ has quit [Client Quit]
zupo has quit [Ping timeout: 258 seconds]
<eyJhb> But I am guessing doing a downgrade of xorg.server would not be a .. Very good solution ? (downgrade when displaylink is enabled)
andi-_ has joined #nixos
o1lo01ol1o has joined #nixos
andi-_ has quit [Client Quit]
mexisme_ has joined #nixos
andi-_ has joined #nixos
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to release-19.03: https://git.io/fjz9t
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<Athas> I have installed a derivation that contains header files (opencl-headers). How do I make them visible to plain 'gcc' running in my console?
ekleog_ has joined #nixos
alp has joined #nixos
<eyJhb> Anyone able to guide me on how to make a overlay that override xorg.xorgserver name, url and sha?
andi- has quit [Quit: WeeChat 2.4]
stepcut has joined #nixos
Henson has joined #nixos
ris has joined #nixos
<pie__> eyJhb, no idea but i think the definition is merged in somewhere in ...i think it was stages.nix
andi-_ is now known as andi-
<eyJhb> Am I wrong when I say, no such file? - Really never could figure out the nix expression stuff and how it works
<pie__> eyJhb, i definitely got the name wrong
<eyJhb> pie__ still figuring out how to even get the basic of typing osmething like `<somecommand> xorg.xorgserver.name`, to just get the value
<pie__> nix eval i think
<pie__> eyJhb, dont feel bad its not just you
<pie__> theres the language, nixpkgs as a library, and tracing code paths seems a bit difficult in general once things start getting passed around
andi- has quit [Remote host closed the connection]
<eyJhb> pie__ worked, or, I got the name etc. override is still no fun
<pie__> not sure what youre doin
<pie__> btw a lot of the time this can help builtins.unsafeGetAttrPos "xorgserver" xorg, though sometimes it just gets you to some wrapper
<eyJhb> And getting this - https://termbin.com/3ref
andi- has joined #nixos
Anton-Latukha has quit [Ping timeout: 272 seconds]
<pie__> i almost never see overrideDerivation so im not sure thats the righthting to use
<eyJhb> My idea on what to do just got even lower ... :p - If you ahve any method, that you think will work, go for it :D I have no preferred way
<eyJhb> Except for the one that works
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fjz9g
<Athas> For some reason the 'clinfo' program has been packaged as a derivation called 'opencl-info', which then also installs a program called 'opencl-info'. Is it normal Nix practice to rename things like that?
<pie__> ugh yeah im looking at it, this stuf looks somewhat nontrivial
<pie__> eyJhb, ok i thiiiink overrideAttrs should work
<eyJhb> Hit me with your best syntax :D
<pie__> but you might need to use an overlay because it looks like this uses a thing that would want an overlay because theres stuff that depends on it and shit i dunno :V
<eyJhb> But, isn't overrideAttrs something that can be used in a overlay?
<pie__> my best guess is to .extend nixpkgs and .overridaAttrs with the src set to the new source
<eyJhb> How would you do so?
<pie__> eyJhb, could try sometihng like the following and fill in the src = ... in the override;
<pie__> newpkgs = (import <nixpkgs> {}).extend (self: super: { xorg = super.xorg // { xorgserver = super.xorg.xorgserver.overrideAttrs (old: {}); }; })
<pie__> if youre doing it in configuration.nix, theres an overlays argument somewhere that you can just pass the (self: super: ...) to
<eyJhb> Doing it in configuration.nix
<pie__> id probably just try to see if i can get it to build first in an independent nix fil
<pie__> but thats just me
Soo_Slow has quit [Remote host closed the connection]
<eyJhb> pie__ I have no clue how I would do it in a independent nix file, so..
<pie__> nix-build something.nix where something.nix is: `let newpkgs = ...; in newpkgs.xorg.xorgserver`
mthst has joined #nixos
<pie__> though i think when you do `import <nixpkgs> {}` that can also take an argument containing overlays so you could do that instead of .extend
<pie__> just saying
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
siiky has joined #nixos
elux has joined #nixos
<elux> hi there
<elux> i recently did a system upgrade, and now my sound doesn't work.. can someone help me debug pls? i was using pulseaudio
<gchristensen> aristid: ^
<Yaniel> elux: apparently that's a known problem and fixed in nixpkgs master already
<Yaniel> I had the same problem after upgrading today
<elux> oh thanks
<Yaniel> rolled back until nixos-unstable has updated again
<elux> roger that +1, thx
<eyJhb> pie__ what would a complete .nix file be for that overlay? Because as is, wouldn't want to build
<pie__> eyJhb, i dont understand. i dont think i left any holes, just use the let expression and fill in the ... with the previous example
<pie__> since i did an override by {} that should actually be a noop and still give you the previous version
<pie__> and you can try filling in the contents
<pie__> im actually a bit distracted sorry :D but i can probably fill in more holes if you need
<eyJhb> Just me that overlooked stuff, sorry! - But I have this - https://termbin.com/rojk adn getting `error: attribute 'extend' missing, at /etc/nixos/displaylink.nix:1:15`
andi- has quit [Remote host closed the connection]
elux has quit [Quit: leaving]
<ris> hmm what do people think we should do about this https://hydra.nixos.org/build/94421912/log/tail # error "This code has only been tested on x86 and powerpc platforms."? just disable it on other archs?
<ris> or be ballsy & comment it out ;)
<pie__> eyJhb, i probably messed something up then but i did test it in the repl...
<gchristensen> ris: should probably not enable aarch64 for it
<ris> hmm actually it does appear to have explicit arch relevant code in it
andi- has joined #nixos
<pie__> eyJhb, here's how I'd break it up btw, most people would probably hate my closing brace indentation though https://bpaste.net/show/01f298fde6b8
<gchristensen> yes that is horrible :P
<pie__> oh i think i know what might have happened, i probably polluted my repl...should still work though ._.
<eyJhb> Still getting extend missing, what.. What is happening :p
<clever> eyJhb: what is the contents of displaylink.nix?
<eyJhb> clever: 100% what pie__ pasted
<eyJhb> Ran before and after I added name = "something";
<eyJhb> Same error
<clever> eyJhb: can you still pastebin your version of the file?
<pie__> ok i just tested and it evaluates fine for me
<eyJhb> Maybe my installation is.. Very broken :p
<eyJhb> *ignore me not indenting the name
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> 2019-06-08 17:25:10 < pie__> if youre doing it in configuration.nix, theres an overlays argument somewhere that you can just pass the (self: super: ...) to
<eyJhb> We agree on just running, `nix-build displaylink.nix` ?
cantstanya has quit [Remote host closed the connection]
akaWolf has quit [Quit: leaving]
cantstanya has joined #nixos
<clever> > pkgs.extend
<{^_^}> <LAMBDA>
<pie__> eyJhb, thats what i did
<clever> eyJhb: if just ran with nix-build, it should work, what version of nixpkgs are you on?
<eyJhb> Basically this - https://termbin.com/yahz
<eyJhb> But it is a build of nixos-19.03 commit 00322cc
<clever> eyJhb: nix-instantiate '<nixpkgs>' -A lib.version --eval
xkapastel has joined #nixos
akaWolf has joined #nixos
<eyJhb> "18.09pre-git"
<clever> eyJhb: the <nixpkgs> in displaylink.nix is loading 18.09, which may be too old for .extend
<eyJhb> clever, that was it!
<eyJhb> Now.. The next question, what would I do to import fetchurl?
<Henson> does anyone know if there's a NixOS equivalent to the Debian "allow hotplug" in the network interface configuration? My NixOS is taking a long time to boot when it can't get a DHCP lease.
drakonis has joined #nixos
<pie__> clever, wow thats new? didnt expect that
<eyJhb> Bad practice to just user `super.fetchurl`?
akaWolf has quit [Remote host closed the connection]
<clever> eyJhb: super.fetchurl would be better when it can work
CodeKiwi is now known as DigitalKiwi
<eyJhb> Perfect! :) - Can I just imort it into my configuration.nix now? `imorts = [ ./displaylink.nix ];` ?
akaWolf has joined #nixos
<eyJhb> (which doesn't seem to play nice)
<clever> eyJhb: https://gist.github.com/cleverca22/2c565b1d286e08c70aad78cb34b8bfc9 is the only form that works with imports
tbenst_ has quit [Quit: Leaving]
<eyJhb> clever thanks ,seems to work. Now I just get.. a unusual error from my current channel??
<eyJhb> `error: attribute 'systems' missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/misc/nix-daemon.nix:390:55`
<clever> eyJhb: and what is like 390 of nix-daemon.nix doing?
selfsymmetric-mu has joined #nixos
<clever> eyJhb: you appear to have something invalid in nix.buildMachines
drakonis2 has joined #nixos
<eyJhb> I guess `system` is required for the buildmachines :)
<{^_^}> [nixpkgs] @andir pushed 5 commits to master: https://git.io/fjzHJ
<{^_^}> [nixpkgs] @andir merged pull request #62866 → firefox 67.0 -> 67.0.1 → https://git.io/fjzDE
<eyJhb> Thanks ;)
<{^_^}> [nixpkgs] @andir merged pull request #62867 → [19.03] firefox 67.0 -> 67.0.1 → https://git.io/fjzDu
<{^_^}> [nixpkgs] @andir pushed 5 commits to release-19.03: https://git.io/fjzHU
<clever> either system (a string like "a,b,c") or systems (a list of [ "a" "b" "c" ])
<clever> it will then join systems together for you
drakonis_ has quit [Ping timeout: 248 seconds]
<eyJhb> Only had hostName in my buildmachines, so just added the system part too
drakonis has quit [Read error: Connection reset by peer]
<eyJhb> Thanks for the help pie__ and clever , lets see if it works on next reboot :p
mthst has quit [Quit: the bouncer died]
mthst has joined #nixos
mthst has quit [Client Quit]
toppler has quit [Ping timeout: 272 seconds]
<aszlig> gchristensen: yep
<gchristensen> aszlig: I'm really tired, and about to go offline. I'm not sure what to do about https://github.com/NixOS/nixops/pull/1024's remaining point. maybe you have ideas which you could leave as comments?
<{^_^}> nixops#1024 (by grahamc, 32 weeks ago, open): Allow specifying arbitrary SSH configuration for nodes
<Henson> what default mechanism does NixOS use for dhcp address acquisition? Is there a daemon, or a udev script, or something that does the acquisition?
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
mthst has joined #nixos
toppler has joined #nixos
<clever> Henson: dhcpcd
<Henson> clever: thanks, I totally missed it in the process listing. Wheneve I see "dhcpcd" I think it's "dhcpd".
<Athas> I'm trying to write a nixpkg for a pretty straightforward program. What's a good way of also installing the manpages? Just manually copying in installPhase?
<clever> Athas: yep
j4m3s1 is now known as j4m3s__
<Henson> clever: great, thanks, I just added a shorter timeout to networking.dhcpcd.extraConfig and that will hopefully fix my problem
__monty__ has quit [Quit: leaving]
<aszlig> gchristensen: commented
<gchristensen> aszlig: switching to py3 is going to be a big deal I think, no?
o1lo01ol1o has joined #nixos
<gyroninja> What's the best way to release packages for other people to use?
<aszlig> gchristensen: well, i switched two projects with around twice the SLOC to py3 lately and it took around a month... but it was all with type annotations
weedloser has quit [Ping timeout: 258 seconds]
<aszlig> gchristensen: so i guess without typing we could do it within a few days
<aszlig> also this would be more of a sprint thingy if we don't want to have massive conflicts all the time
<Athas> I want to add a package to nixpkgs. Should I also add myself as a maintainer in maintainer-list.nix?
<aszlig> IIRC there was also some effort to make it PEP8 compatible, but that also didn't work out very well
BlessJah_ has joined #nixos
<aszlig> s/compatible/conforming/
BlessJah_ has quit [Client Quit]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<{^_^}> nixops#116 (by garbas, 5 years ago, closed): PEP8
<aszlig> gchristensen: regarding py3: https://pythonclock.org/
<{^_^}> [nixpkgs] @athas opened pull request #62872 → clinfo: init at 2.2.18.04.06 → https://git.io/fjzHN
rfold has quit [Quit: WeeChat 2.4]
<drakonis1> oh my god just half a year t ogo before py2 goes into the dumps
alp has quit [Read error: Connection timed out]
alp has joined #nixos
<simpson> drakonis1: Relax, it's only CPython.
<drakonis1> there's still tauthon rolling around yeah?
<simpson> I really should get off my ass and write an RFC for using PyPy for Python 2 as a default.
<drakonis1> ah there's a faster python 2 implementation, noice?
mexisme_ has quit [Ping timeout: 272 seconds]
<Theletos> Hi. Does anyone have example configs for power.ups?
gratin has joined #nixos
<gratin> so i installed nixos on virtualbox with uefi enabled, but when I boot it up it hangs
<gratin> same with the live boot unless i select the nomodeset option
linarcx has quit [Quit: WeeChat 2.4]
PeskyGee has joined #nixos
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
<PeskyGee> Hello all. Newbie here, been using NixOS for about 3 days getting everything setup. So far so good and I'm loving it, but there is one thing I just can't seem to get configured and that is polkit_gnome? I've searched everywhere and tried several things but I can't get it to work. Can anyone point me to some config examples or? It would be greatly appriciated.
OkCo has joined #nixos
OkCo has quit [Client Quit]
ddellacosta has quit [Ping timeout: 245 seconds]
ddellacosta has joined #nixos
o1lo01ol1o has joined #nixos
jasongrossman has quit [Ping timeout: 272 seconds]
akaWolf has quit [Quit: leaving]
fusion809 has joined #nixos
mexisme_ has joined #nixos
alp has quit [Ping timeout: 244 seconds]
mexisme_ has quit [Ping timeout: 246 seconds]
jitwit has joined #nixos
Henson has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 248 seconds]
justanotheruser has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #62873 → bind: fix build on armv6l → https://git.io/fjz7G
<{^_^}> [nixpkgs] @Ma27 merged pull request #58012 → nixos/zsh: move zsh setopt → https://git.io/fjfPY
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjz7l
o1lo01ol1o has quit [Ping timeout: 248 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2019-06-01 -> 2019-06-08 »: https://git.io/fjz70
Rusty1 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
[Leary] has joined #nixos
Lears has quit [Ping timeout: 248 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5121b483edc (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
emptyflask has quit [Ping timeout: 248 seconds]
PeskyGee has left #nixos [#nixos]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dd2e32a4c98 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jitwit has quit [Remote host closed the connection]
Theletos has quit [Ping timeout: 256 seconds]
ng0 has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
goibhniu1 has quit [Ping timeout: 246 seconds]
thc202 has quit [Ping timeout: 272 seconds]
mbrgm_ has joined #nixos
v88m has quit [Ping timeout: 248 seconds]
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
ng0 has quit [Quit: Alexa, when is the end of world?]
iqubic` has left #nixos ["ERC (IRC client for Emacs 26.1)"]
mexisme_ has joined #nixos
Halian has joined #nixos
<Halian> Hello
ddellacosta has joined #nixos
o1lo01ol1o has joined #nixos