gchristensen changed the topic of #nixos to: NixOS stable: 18.09, beta: 19.03 https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950 || 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
<simpson> wolfman154: Oh, I thought that you were already using XMonad. I don't particularly care what you use, I'm saying that what you use likely determines what a default terminal is.
<wolfman154> I am using xmonad, just wasn’t sure where to do the change, usually everything is done in configuration.nix
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<judson__> wolfman154, XMonad has a ~/.xmonad/xmonad.hs file it uses to configure itself.
aplainzetakind has left #nixos [#nixos]
<judson__> Near the end of mine, I have something like "main = xmonad $ def { terminal = "alactritty" }"
<wolfman154> judson__: thanks
<wolfman154> judson__++
<{^_^}> judson__'s karma got increased to 1
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iclanzan_> makefu++
<{^_^}> makefu's karma got increased to 2
<pie_> is there an easy way to get a derivation thats the contents of a fetchurl archive?
<pie_> right now i just have the result of a fetchurl and i want to use a few files of it in sometihng else
jluttine has quit [Ping timeout: 250 seconds]
Andrey_ has quit [Quit: Page closed]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 255 seconds]
mbrgm_ is now known as mbrgm
freeman42x has quit [Ping timeout: 258 seconds]
slack1256 has joined #nixos
orivej has joined #nixos
iclanzan_ has quit [Quit: leaving]
kvda has joined #nixos
realrokka has quit [Ping timeout: 250 seconds]
jluttine has joined #nixos
kleisli has joined #nixos
goibhniu1 has quit [Ping timeout: 244 seconds]
<kleisli> running `nixos-rebuild switch --upgrade` typically takes very long for me, on the order of hours, is this normal?
<pie_> ok i figured out that i should probably just use fetchzip
<pie_> kleisli, are you recompiling the world?
<kleisli> @pie_ not that i know of!
<kleisli> i have a pretty simple configuration
<aanderse> kleisli: definitely weird in that case
<pie_> unless you have uber slow internet and end up downloading new packages, or you specifically caused something to need to rebuild a bunch of stuff all the time, i dont think that should happen
<pie_> or oyu have some uber slow disk thats seeking a lot with symlinks? :P idk how that works
<pie_> kleisli, how certain are you that you arent recomiling a bunch of things
<kleisli> i believe last time i noticed the majority of the time was spent compiling some examples in the `sage` math package, now that i think of it
<pie_> unrelated: how do I make one of those single file derivations that are just a file, like an archive, in the store, and not a directory?
<aanderse> kleisli: what channel(s) are you on?
<kleisli> aanderse: `nixos https://nixos.org/channels/nixos-18.09`
<kleisli> as root
<aanderse> how about environment.systemPackages?
<pie_> if youre comfortable with it you might as well paste your configuration.nix
realrokka has joined #nixos
<colemickens> gebaar-libinput uses experimental/filesystem.h and I've only managed to build it using gcc8Stdenv: https://github.com/colemickens/nixpkgs-wayland/blob/master/pkgs/gebaar-libinput/default.nix
<colemickens> is there a better way to do this? I tried to get it to build with clang, but that didn't help either
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0000bf730b9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<aanderse> kleisli: have any output from a recent nixos-rebuild switch?
judson__ has quit [Ping timeout: 246 seconds]
m0rphism has quit [Ping timeout: 250 seconds]
<kleisli> i don't unfortunately, i'll try it now
<blackriversoftwa> Hi all. Has anyone had any luck with cloud-init on Digital Ocean?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7e8d125e19e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<blackriversoftwa> I have been able to build an image that starts on digital ocean, and I enabled cloud-init with the order of data sources recommended by digital ocean
<blackriversoftwa> But my image still gets started with no hostname, no way to reset the root password, and without respecting the SSH keys given in the digital ocean console
<blackriversoftwa> Right now I'm trying to upload another image with an ssh public key built in to the nixos config, so I can at least get in and look at the logs
fusion809 has joined #nixos
<blackriversoftwa> but I'm wondering if anyone has been down this road before
<colemickens> blackriversoftwa: have you peeked at the serial console output to see if cloud-init is logging about what datasources its trying, etc?
kleisli has quit [Read error: Connection reset by peer]
<blackriversoftwa> colemickens: yeah the console just shows a login prompt
<blackriversoftwa> it isn't even interfaced well enough to get me automatically logged in as root
<blackriversoftwa> Unfortunately digital ocean seems to be having issues uploading custom images today. Once my progress bar finishes the image just vanishes
<colemickens> blackriversoftwa: I don't know if I'd expect that, but if you're building your own images, you can always add a root/pw or another user/pw for debug purposes
kleisli has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #58463 → [19.03] monero: 0.13 -> 0.14 → https://git.io/fjTta
<colemickens> Oh :S That's too bad.
<blackriversoftwa> colemickens: yeah that is the next step if I can't ssh
<blackriversoftwa> colemickens: my hope is that I go through this pain once and then there is a nice little module in nixpkgs/nixos/modules/virtualisation to build digital ocean images
<kleisli> hm, it ran very quickly this time. I'm guessing it has been an issue with specific upgrades to packages in environment.systemPackages before having to do lots of compilation
<kleisli> thanks for your help
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
<colemickens> Is this an image you're building yourself? or is there a nixpkgs DO module? @blackriversoftwa
<colemickens> blackriversoftwa: aha, so you're authoring a new one, can you share WIP just so I can take a peek?
<blackriversoftwa> colemickens: sure let me push
<blackriversoftwa> I based it off of the GCE image but modified substantially
erictapen has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @eamsden opened pull request #58464 → digital-ocean-image: init → https://git.io/fjTtw
shpx has quit [Quit: shpx]
<blackriversoftwa> colemickens: https://github.com/NixOS/nixpkgs/pull/58464
<{^_^}> #58464 (by eamsden, 23 seconds ago, open): digital-ocean-image: init
<blackriversoftwa> oh the bot already posted it
erictapen has joined #nixos
<blackriversoftwa> colemickens: the command I was using to build was (from the root of the nixpkgs repo) `nix-build nixos/lib/eval-config.nix -A config.system.build.digitalOceanImage --arg modules "[ nixos/modules/virtualisation/digital-ocean-image.nix ]" --argstr system x86_64-linux -o digitalocean -j 4`
<blackriversoftwa> which magic should go into a script once I get this working
<blackriversoftwa> colemickens: it takes quite a while even if just a config changes, because to generate the final image it actually boots it in QEMU and installs grub
<blackriversoftwa> Oh dear it has my ssh public key in it
<blackriversoftwa> oh well
<colemickens> yeah, I did Azure images for a while so I'm sadly familiar.
<colemickens> it's here too anyway :P https://github.com/eamsden.keys
<blackriversoftwa> right
<colemickens> did ssh work?
<blackriversoftwa> Still waiting on the upload
<blackriversoftwa> Uploading on residential Comcast (not fiber, still coax) is a bear
<blackriversoftwa> Oh hey the upload worked at least
<aanderse> anyone bored and feel like commiting a dead simple PR? https://github.com/NixOS/nixpkgs/pull/56464
<{^_^}> #56464 (by Izorkin, 4 weeks ago, open): ejabberd: 18.12.1 -> 19.02
<blackriversoftwa> But now it is "pending"
adetokunbo has quit [Quit: This computer has gone to sleep]
Rusty1 has quit [Quit: Konversation terminated!]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<blackriversoftwa> colemickens: azure does something else instead of cloud-init to configure instances right?
leotaku has joined #nixos
<colemickens> it's sort of a weird hybrid of the agent and cloud-init
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #58465 → [18.09] monero: 0.13 -> 0.14 → https://git.io/fjTt7
<colemickens> but iirc the nixos module uses the ancient version of the agent that mostly does everything itself in a single huge fragile python script (:
leotaku_ has quit [Ping timeout: 245 seconds]
<blackriversoftwa> Ah lovely
<blackriversoftwa> well ssh is a no go
<blackriversoftwa> it's decided it doesn't even want to accept connections
<blackriversoftwa> before it was just denying my public key
silver has quit [Quit: rakede]
<gchristensen> oooooooo
<gchristensen> https://github.com/NixOS/nix/pull/2748 "This rewrites the builder of <nix/unpack-channel.nix> in C++ and Rust."
* colemickens insert the itshappening gif
Rusty1 has joined #nixos
sigmundv has quit [Ping timeout: 272 seconds]
<slack1256> best timeline
<blackriversoftwa> colemickens: did you get a chance to look at that draft PR? See anything obviously dumb that I'm doing?
<colemickens> yeah, it looked fine to be :(
<blackriversoftwa> Well it builds the image fine. It just doesn't do cloud-init
<blackriversoftwa> one of the other modules had a few things like wget in the system environment, presumably so the scripts that cloud-init grabs from the host and runs could use them?
<blackriversoftwa> My suspicion is I'm going to see "command not found" or some such in the logs...once I can get to them
justan0theruser has joined #nixos
Erasmus has quit [Read error: Connection reset by peer]
<blackriversoftwa> wishlist: for the cloud-init module to define an option for packages to go in a special env just for cloud-init scripts
justanotheruser has quit [Ping timeout: 255 seconds]
<blackriversoftwa> colemickens: one frustrating thing is that there is almost 0 documentation of how to configure cloud-init on a client image
justan0theruser is now known as justanotheruser
<blackriversoftwa> it is all about how you can customize it on the cloud platform/hypervisor side
<colemickens> I have really never had anything but poor experiences with cloud-init.
<colemickens> Long iteration cycles, easy mistakes (no thanks to YAML often), weird configuration bugs.
<colemickens> When we were building images for various OSes inside Azure, we found numerous bugs in cloud-init's disk handling, including bugs that caused data loss. (and I don't say that lightly).
<blackriversoftwa> yikes!
wolfman154 has joined #nixos
<wolfman154> Should I install xmonad with nix or cabal?
<colemickens> When I left that team they had someone that was starting to send patches somewhat regularly. Some of it had to do with certain interactions with Azure oddities (the way LUN devices are enumerated, udev rules changing over time, etc) but still.
<gchristensen> I didn't know you were *at* azure, colemickens :)
<colemickens> At one point in time, no longer.
<gchristensen> aye
<wolfman154> gchristensen: should I install xmonad with nix or cabal?
<wolfman154> I am getting a recompile error
<gchristensen> I don't really know about xmonad or cabal.
<wolfman154> Oh
<wolfman154> :(
<jasongro`> wolfman154: FWIW, I've installed it with nix. I have no idea about the rest of the Haskell ecosystem though.
<blackriversoftwa> I would have thought that at least QEMU as a native KVM would be a bit snappy. But no, it feels just like the armv7l qemu I use at work for Haskell builds for Raspberry Pi
<blackriversoftwa> as in, molasses
<wolfman154> jasongro`: I am getting a recompile error, I am going to remove everything and start from scratch again
<blackriversoftwa> dammit
<wolfman154> jasongro`++
<{^_^}> jasongro`'s karma got increased to 1
<blackriversoftwa> does anyone know how to make Ubuntu keep /dev/kvm permissions at 666
<blackriversoftwa> I can build the image once and then it will fail if I don't chmod /dev/kvm again
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
<colemickens> oh no, I just booted up a cheap beefy ubuntu VM to try, I am probably going to hit the same thing
* colemickens dreams of 19.03 packet images :)
<blackriversoftwa> colemickens: packet images?
<gchristensen> colemickens: they'll be there! =)
<gchristensen> blackriversoftwa: packet.com
<colemickens> blackriversoftwa: https://www.packet.com/promo/nixos/
<blackriversoftwa> oooooooooohhhhhh
<gchristensen> they have nice ARM boxes too
o1lo01ol1o has joined #nixos
nore has quit [Ping timeout: 252 seconds]
reivilibre has quit [Ping timeout: 246 seconds]
<blackriversoftwa> gchristensen: they still have them?
<blackriversoftwa> I couldn't find them again last time I looked
<gchristensen> they sell out very quickly :/ but if you get on their Slack, they can sometimes rustle one free
<gchristensen> NixOS Foundation has a handful of them for the build infra
<blackriversoftwa> Oh they are armv8 servers
shpx has joined #nixos
<acowley> Checking in again about this PR <https://github.com/NixOS/nixpkgs/pull/57885>. Everyone who's looked seems to think its fine, but there is some uncertainty about how to test it.
<{^_^}> #57885 (by acowley, 1 week ago, open): linux: Enable AMD's amdkfd kernel driver in >= 4.20
<colemickens> blackriversoftwa: that build command is building a bunch of X/i3 stuff surprisingly.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjTqi
<blackriversoftwa> colemickens: yeah I wondered about that
<blackriversoftwa> some poking around with nix-store seemed to point to cloud-init (surprise surprise) as the culprit but I am not 100% sure of that
<simpson> acowley: Yeah, that's about all I could say. I think it's fine! Do we know anybody with the HW that can test it meaningfully?
<colemickens> somehow that sounds familiar? or just imminently possible? heh
<colemickens> I got stumped elsewhere with Nix on Ubuntu: error: a 'x86_64-linux' with features {kvm} is required to build '/nix/store/p9zx4csv4yypw27bg0l5j2xw9ihjgb47-digital-ocean-image.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, nixos-test}
obadz has quit [Ping timeout: 245 seconds]
<colemickens> maybe that's the KVM permission bit though
reivilibre has joined #nixos
<blackriversoftwa> colemickens: maybe? I didn't run into that
<blackriversoftwa> one sec
<acowley> simpson: Just myself and the other fellow on the linked PR
<blackriversoftwa> colemickens: what nix version are you on?
<colemickens> the latest. it was just the KVM bit, it's building now
<acowley> simpson: The lingering question is, I think, if it is a problem for people without the relevant HW.
<blackriversoftwa> ah ok
Erasmus has joined #nixos
nore has joined #nixos
<blackriversoftwa> colemickens: I'm gonna be afk for the evening
<blackriversoftwa> I built an image with a user nixos, password nixos
<colemickens> blackriversoftwa: okay, I'll reply on the PR if I find anything of note
<blackriversoftwa> I'll push that up to the PR
<colemickens> I can build and push an image from this machine very quickly now :)
<blackriversoftwa> colemickens: yeah I'm uploading from my home internet and it takes a while
<blackriversoftwa> colemickens: thanks and tty again soon hopefully
<colemickens> cheers
<gchristensen> interesting. nixos' route options can't blackhole it seems
<simpson> acowley: I have read some kernel code. Want my opinion here or in the issue? We should get a kernel maintainer to signoff but I don't think it's a big deal to enable by default.
<simpson> Actually, this is short, so here is fine. https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/amd/amdkfd/Kconfig#L7-L9 are the Kconfig implications of turning this on. Doesn't look bad, but there it is.
dramforever has joined #nixos
<simpson> When enabled, support for a couple extra chipsets is compiled in and the functionality you want is attempted. The changes seem local to the AMD drivers in the DRM subsystem.
obadz has joined #nixos
shpx has quit [Quit: shpx]
jmeredith has quit [Quit: Connection closed for inactivity]
<acowley> simpson: Yeah, the desire for someone other than those of us using the HSA features is likely an excess of caution, but I also don't know how to push the PR forward.
drakonis_ has joined #nixos
<simpson> acowley: "I talked to somebody on IRC who claims that they used to hack on `radeon` and they said it looks unlikely to interfere."
<simpson> I dunno. These kinds of driver feature flags suck, because in a few kernel versions, the functionality might become stable and the flag would become a do-nothing.
drakonis has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #58466 → polyml: 5.7.1 -> 5.8 → https://git.io/fjTq7
thc202 has quit [Ping timeout: 255 seconds]
pie_ has quit [Ping timeout: 246 seconds]
evhan has quit [Ping timeout: 250 seconds]
evhan has joined #nixos
kvda has joined #nixos
polman has quit [Ping timeout: 250 seconds]
polman has joined #nixos
bemeurer has quit [Ping timeout: 272 seconds]
work_ has quit [Quit: Connection closed for inactivity]
Erasmus has quit [Quit: END-AUMF]
slack1256 has quit [Remote host closed the connection]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
d10n-work has joined #nixos
Supersonic has quit [Ping timeout: 257 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjTmo
mjrosenb has joined #nixos
<mjrosenb> I'm getting this when attemptying to build something on macos:
<mjrosenb> error: all build users are currently in use; consider creating additional users and adding them to the 'nixbld' group
<{^_^}> [nixpkgs] @worldofpeace closed pull request #56155 → kde-applications: 18.12.1 -> 18.12.3 → https://git.io/fhF4D
<mjrosenb> I assume I can get it to work by only building one package at a time?
Supersonic has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
erictapen has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @mnacamura opened pull request #58467 → r-sys: remove obsolete dependency → https://git.io/fjTmD
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #58468 → [19.03] kde-applications: 18.12.1 -> 18.12.3 → https://git.io/fjTmy
drakonis has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
kini has quit [Quit: No Ping reply in 180 seconds.]
buffet has quit [Ping timeout: 250 seconds]
<tdeo> is the
buffet_ has joined #nixos
<tdeo> is there a way to get an output path of a multiple-output derivation other than checking the environment? i want to make a (non-nixpkgs) package with an output with a dash in it, and you can't get the value of a variable with a dash in it in shell
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
kini has joined #nixos
hellrazor has joined #nixos
hellrazo1 has quit [Ping timeout: 250 seconds]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
ddellacosta has joined #nixos
<tdeo> turns out it's not possible anyway, some other bash code uses the variable
obadz has quit [Ping timeout: 246 seconds]
obadz has joined #nixos
<{^_^}> [nixpkgs] @mnacamura opened pull request #58470 → rPackages: fix missing dependency to libiconv → https://git.io/fjTYY
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
MatrixBridge has joined #nixos
MatrixBridge has left #nixos ["User left"]
<infinisil> tdeo: Bash has ${variable} you can use to access variables with special names
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
shpx has joined #nixos
npmccallum has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<colemickens> as I'm reading through cloud-init stuff debugging this... it looks like the "vendor" script from DO for cloud-init includes workarounds for cloud-init bugs inside it
<colemickens> heh
<colemickens> I'm also starting to wonder if one really wants to use cloud-init with nixos...
<colemickens> seems much easier to write a tiny script to pull ssh keys from DO's metadata
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
dramforever_ has joined #nixos
dramforever_ has quit [Client Quit]
<{^_^}> [nixpkgs] @colemickens opened pull request #58471 → cloud-utils: use `qemu-utils` instead of `qemu` → https://git.io/fjTOf
dramforever has quit [Ping timeout: 250 seconds]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<colemickens> blackriversoftwa: ping?
blackriversoftwa has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
ym555_ has quit [Ping timeout: 250 seconds]
shpx has quit [Quit: shpx]
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
shpx has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b16b1b377be (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0000bf730b9 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
shpx has quit [Quit: shpx]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
jasongro` has quit [Remote host closed the connection]
pie___ has joined #nixos
o1lo01ol1o has joined #nixos
Izorkin has quit [Ping timeout: 255 seconds]
jasongrossman has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
pie__ has quit [Ping timeout: 246 seconds]
iqubic has quit [Quit: Page closed]
Izorkin has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
kvda has joined #nixos
kvda has quit [Client Quit]
shpx has joined #nixos
<{^_^}> [nixpkgs] @teto closed pull request #58341 → [WIP] ghc.withPackages: can add user arguments to wrapper → https://git.io/fjUcu
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<leotaku> Is it possible to build a nixops machine without connection to said machine?
<leotaku> So like "nix build -f '<nixpkgs/nixos>' -A system" but for nixops instead of nixos.
d10n-work has quit [Quit: Connection closed for inactivity]
shpx has quit [Quit: shpx]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
reinhardt has joined #nixos
endformationage has quit [Quit: WeeChat 2.4]
puffnfresh_ is now known as puffnfresh
domogled has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
ninjin has quit [Remote host closed the connection]
mabel has joined #nixos
mabel has quit [Changing host]
mabel has joined #nixos
<mabel> hey! I'd like to start tracking unstable rather than 18.09. do I need to do anything special other than updating my nix-channel and doing nixos-rebuild?
ninjin has joined #nixos
<mabel> (or I guess sudo nix-channel --upgrade would accomplish the same)
vk3wtf has quit [Ping timeout: 240 seconds]
joachifm has quit [Remote host closed the connection]
<jasongrossman> mabel: That's all.
<jasongrossman> mabel: I assume you mean `nixos-rebuild switch`. And you might need to reboot.
<mabel> this is excellent! I'm not even sweating bullets like I normally do :D
<mabel> oh, another thing I was wondering about... is there an easy way for me to track my own nixpkgs fork, but still take advantage of hydra's cache?
<mabel> I'm slowly starting to do a little contribution, so I was thinking that would be a good way of eating my own dogfood
<mabel> but my understanding of channels is that they rely on tgz archives from the github
<jasongrossman> It's good, isn't it? And you CAN make your own channel ... but I don't know the details.
<jasongrossman> Or rather, some people use their own fork. I don't know whether they all use the channel mechanism. You don't HAVE to use a channel at all.
<mabel> oh interesting! does nixos-rebuild not rely on channels?
<mabel> I remember that its machinery is slightly different from nix-build but I don't remember the details
<jasongrossman> I don't either. You might have to wait until someone who actually does this joins the chat room. They will eventually.
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<mabel> hm... actually, I guess if I don't mind doing git push, I can just add my forked repo's github url as a channel. I'd need to push to origin each time and download the archive, but that should work
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<jasongrossman> mabel: Why not just use unstable + the specific packages you contribute to?
<jasongrossman> mabel: Or you could use master.
<mabel> hm, like an overlay or something?
shpx has joined #nixos
<jasongrossman> mabel: Yes, or just run your own programs using nix-shell or whatever, until they're accepted into unstable.
<mabel> ah, that could work. I wasn't sure if the overlay mechanism worked with nixos-rebuild, was all
<mabel> ooh my rebuild is done. brb
mabel has quit [Quit: WeeChat 2.2]
Glider_IRC_ has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
mabel has joined #nixos
mabel has joined #nixos
mabel has quit [Changing host]
<mabel> it worked! unsurprisingly. fish changed its syntax, which seems very rude of it.
Glider_IRC__ has quit [Ping timeout: 250 seconds]
<jasongrossman> mabel: \o/
jaeckel has quit [Read error: Connection reset by peer]
<jasongrossman> And >---<>
<mabel> hehehe. :p
ddellacosta has quit [Ping timeout: 272 seconds]
InFlames has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
liori has quit [Remote host closed the connection]
<leotaku> Sorry for repeating my question, but is it possible to build a nixops deployment like it is to build a nixos system? (so with nix-build/nix build, instead of the nixops command)
<immae> leotaku: nixops creates on-the-fly derivations that you will usually need to build the whole system identical to what nixops does
<leotaku> immae: interesting. So let me restate my question: I would like to build a nixops machine without connection to said machine, in order to pre-download and build its dependencies. Is that possible?
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<immae> Oh, then the building part happens without connecting to the machine ;)
<immae> nixops deploy --build-only
<immae> Though you cannot initialize it, since nixops needs information from the remote machine to build the first derivation
<immae> (like ip address)
shpx has quit [Quit: shpx]
<mikeplus64> does cabal2nix not have support for default-extensions? :-(
palo1 has joined #nixos
<immae> so usually you’ll neeed to at least initialize nixops with a new server, but then subsequent derivations will only connect to the machine at the last moment
<immae> is that what you want?
samrose has quit [Ping timeout: 245 seconds]
samrose has joined #nixos
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
<sb0> is there no nix package for discourse?
<immae> leotaku: If you also want to initialize, you’ll need to somehow build the "on-the-fly" one by hand (finding all the ip addresses and all), it’s doable but not very practical (and it’s much easier if you already have an identical machine in your nixops that you can "copy")
<immae> sb0: not that I could find, discourse is only (officially) supported via docker anyway...
<sb0> isn't nix a superior docker? =]
<immae> that’s a point of view :p
<leotaku> immae: --build-only seems to work fine, thank you.
<immae> sb0: I tried to build a nix derivation for discourse some time ago, and I (temporarily) gave up when I saw the complexity of everything there is in their docker builds, so I ended up extracting only the "database" parts
<immae> leotaku: ok good :)
<leotaku> immae: also is it somehow possible to get the progress bar that the nix2 tools have with that command? Small issue, but maybe it is possible?
<sb0> immae: can you elaborate?
<sb0> their reasons for docker-only are the complexities of "ruby, redis and postgresql", all working fine on nixos already...
<immae> leotaku: I have no idea what you’re talking about here, sorry, cannot help you for that...
<immae> sb0: no, it’s ruby the complex part
<immae> redis and postgres are simple
<leotaku> immae: ok thank you again!
<sb0> ok. just paraphrasing their rationale for docker...
<sb0> so what is the issue with ruby?
<immae> "system" dependencies (imagemagick for one thing)
<sb0> ah. is there the same kind of issue that there is with python packages in nix?
<sb0> I'm unfamiliar with ruby...
<immae> it’s just that it will expect some system dependencies that may not be satisfied
<immae> imagemagick is the one I remember, but I "saw" other ones and I didn’t take the time to build the whole tree
<immae> (and I didn’t want to take the risk of forgetting one)
<sb0> immae: do you have your derivation somewhere?
<immae> nope, it was quite simple so I didn’t keep it
leotaku has quit [Ping timeout: 245 seconds]
reinhardt has quit [Quit: Leaving]
polman has quit [Ping timeout: 245 seconds]
<immae> (simple in the sense too incomplete)
polman has joined #nixos
Anton-Latukha has joined #nixos
rauno has joined #nixos
<CMCDragonkai> What to do when you encounter an error like this: error: packages '/nix/store/r22m1s5i8xpla881xnmcj86h6g8sd9pm-env-development/share/man/man3/err.3.gz' and '/nix/store/m3pcpc78an04wzvbg5rvzc4zky13cc1d-env-network/share/man/man3/err.3.gz' have the same priority 5; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the priority of one of the conflicting packages (0 being the highest priority)
<CMCDragonkai> My config.nix has separated bunches of packages from each other into specific environments. By doing this, I believe some things are conflicting between them, such as in the case for these man page files.
<immae> CMCDragonkai: the error line tells you what to do ;)
<immae> in you case, INSTALLED_PKGNAME should be env-development or env-network I guess
<CMCDragonkai> Is there a way to do that inside config.nix?
<CMCDragonkai> I'd want to make sure I don't need to do this in the future?
<immae> I’m sure you can, but I don’t remember how
<CMCDragonkai> what about ignoreCollisions? What does that do?
<CMCDragonkai> immae: I found that you just have to do `meta.priority = 50;`
<CMCDragonkai> In the buildEnv and it works
polman has quit [Ping timeout: 245 seconds]
<immae> ok cool
polman has joined #nixos
<immae> I may remember it for next time :D
<CMCDragonkai> I found there's also an option for ignoreCollisions for buildEnv
<CMCDragonkai> but what does that actually do?
<CMCDragonkai> Are conflicting packages solved by priority a different thing from ignoring collisions?
<immae> I don’t know, the best way is to test. I suppose he will pick one using an arbitrary rule
<immae> CMCDragonkai: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/buildenv/default.nix#L17 is all the documentation I could find
<immae> so if I understand correctly, it checks content/rights, and if they match he’s happy. otherwise it’s checkCollisionContents that will be taken into account
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<CMCDragonkai> also is there a way to find out which package is causing the collision
<CMCDragonkai> it says that env-base, but that's a buildEnv
<CMCDragonkai> consisting of lots of other packages
<immae> well, in your case he’s trying to merge r22m1s5i8xpla881xnmcj86h6g8sd9pm-env-development and m3pcpc78an04wzvbg5rvzc4zky13cc1d-env-network, and the error happens here, so he has no clue where they come from and he cannot know. If you want to investigate, do `ls -l /nix/store/r22m1s5i8xpla881xnmcj86h6g8sd9pm-env-development/share/man/man3/err.3.gz` and it will probably be a symlink to the origin package
taktoa has joined #nixos
<immae> My guess is that you have a package identical in env-development and env-network, so when you try to merge you have duplicates
<CMCDragonkai> well right now priority solves it
<CMCDragonkai> but its really annoying
<CMCDragonkai> qt is always conflicting everywhere
<CMCDragonkai> too many global libraries...
<immae> yes
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<immae> May I ask why you’re trying to do that? Last time a colleague asked me about a similar issue, and the response was that he did unnecessary things because of a misunderstanding
<CMCDragonkai> just to separate my package list into more consumable chunks
<immae> ok
<immae> then you’ll likely have more of them sorry
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<immae> If you really want to avoid it, you’ll have to rethink the way you’re writing your buildEnv’s
<CMCDragonkai> like put all the qt apps together?
<CMCDragonkai> or maybe compose the buildenvs together dynamically according to some input expression
<immae> the second one yes
<immae> First one I have no opinion on it, it’s your way of seeing your stuff :)
<{^_^}> [nixpkgs] @thefloweringash opened pull request #58472 → emacs: only use patchelf on linux → https://git.io/fjTGn
<immae> rather than building two buildEnv and merging them, you could build one buildEnv using combined lists, that would solve your conflict issue since you would only have one env.
<immae> (it might not be as easy as it seem though, it depends on the complexity of your env’s)
<immae> so the "composing atoms" would be list of packages rather than list of env’s
<CMCDragonkai> yes, but the reason to separate them was so that sometimes i only want to install 1 or 2 package lists, instead of all of them
<CMCDragonkai> like i have package lists only relevant for certain kinds of work
<immae> yes, that’s what I understood, and you should be able to do it the way I suggested
<immae> say you have a list "base", a list "work", a list "leasure". Then you build one env using base+work on your work laptop, and one using base+leasure on your gaming computer
<immae> that’s the kind of thing you want, right?
mabel has quit [Quit: WeeChat 2.4]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
shpx has joined #nixos
root has joined #nixos
root is now known as Guest29214
<Guest29214> when i adding my user to wheel and network manager group by extraGroups command in configuartion file and build it, i cant login to my user; the output of "su username" command is "this account currently not available"! what should i do?
<{^_^}> [nixpkgs] @pSub merged pull request #58465 → [18.09] monero: 0.13 -> 0.14 → https://git.io/fjTt7
<{^_^}> [nixpkgs] @pSub pushed 4 commits to release-18.09: https://git.io/fjTZE
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #58463 → [19.03] monero: 0.13 -> 0.14 → https://git.io/fjTta
<{^_^}> [nixpkgs] @pSub pushed 4 commits to release-19.03: https://git.io/fjTZu
<clever> Guest29214: you want to set isNormalUser = true; on the acct
<makefu> Guest29214: you could try to set isnormaluser https://nixos.org/nixos/options.html#isnormaluser
<Guest29214> solved, thanks guys !
Guest29214 has quit [Quit: leaving]
pie__ has joined #nixos
the-kenny has quit [Ping timeout: 246 seconds]
pjan has quit [Ping timeout: 245 seconds]
Myhlamaeus has quit [Ping timeout: 258 seconds]
jtojnar_ has joined #nixos
the-kenny has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
pie___ has quit [Read error: Connection reset by peer]
ilmu has quit [Ping timeout: 245 seconds]
joko has quit [Ping timeout: 245 seconds]
pjan has joined #nixos
joko has joined #nixos
ilmu has joined #nixos
immae has quit [Ping timeout: 245 seconds]
jtojnar_ is now known as jtojnar
immae has joined #nixos
Zer000 has quit [Ping timeout: 245 seconds]
wfranzini has joined #nixos
adamt has joined #nixos
adamt has quit [Changing host]
adamt has joined #nixos
adamt_ has joined #nixos
ajs124 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Ariakenom has joined #nixos
Ariakenom_ has joined #nixos
adamt has quit [Ping timeout: 255 seconds]
Ariakenom has quit [Ping timeout: 245 seconds]
reinhardt has joined #nixos
leat2 has quit [Ping timeout: 268 seconds]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @hedning opened pull request #58474 → Don't merge: testing pango upgrade on darwin → https://git.io/fjTZS
cfricke has joined #nixos
m0rphism has joined #nixos
InFlames has quit [Ping timeout: 255 seconds]
jbgi has joined #nixos
edlin has joined #nixos
cfricke has quit [Ping timeout: 268 seconds]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
mehran has joined #nixos
<mehran> how could i add persian keyboard layout? i setted it on configuration file as "services.xserver.layout = "us, ir";" but it didn't work!
<symphorien> try without the space after the comma ?
<mehran> and i read wiki page of keyboard layout customization but i don't know how should i add persian keyboard layout
<{^_^}> [nixpkgs] @peti merged pull request #58470 → rPackages: fix missing dependency to libiconv → https://git.io/fjTYY
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fjTnT
<mehran> symphorien: yes still gives error
<symphorien> which error ?
<mehran> symphorien: attribute 'services.xserver' at /etc/nixos/configuration.nix:112:3 already defined at /etc/nixos/configuration.nix:23:3
linarcx has joined #nixos
<symphorien> you define it twice in your configuration.nix
<symphorien> remove one of the declarations
<adamt_> mehran: Maybe paste your configuration.nix somewhere and link it here
<mehran> symphorien: second one is commented.
adamt_ has joined #nixos
adamt_ has quit [Changing host]
adamt_ is now known as adamt
<etu> mehran: Not good enough, otherwise it wouldn't yield that error :)
<mehran> adamt_: here: http://ix.io/1EGN
<symphorien> mehran: look for layout = "us"
<symphorien> this is the duplicate
<adamt> mehran: You can't have both "services.xserver.layout = .. " and "services.xserver = .. "
<{^_^}> [nixpkgs] @vdemeester opened pull request #58475 → minikube: 0.35.0 -> 1.0.0 → https://git.io/fjTnt
<adamt> Or well, maybe, but both got layout defined as symphorien says
<symphorien> > { test.foo = 1; test = { baz = 2; bar = 3; }; }
<{^_^}> error: attribute 'test' at (string):225:17 already defined at (string):225:3
shpx has quit [Ping timeout: 250 seconds]
cfricke has joined #nixos
<mehran> adamt: thanks ! it built sucsessfully but stil i can't change my keyboard layout with alt + shift with this line on my i3wm configuration: "exec --no-startup-id setxkbmap -layout us,ir -option 'grp:alt_shift_toggle'"
realrokka has quit [Read error: Connection reset by peer]
<mehran> oh my bad i forgot to restart my i3wm. solved. thanks
<jasongrossman> mehran: \o/
<symphorien> when you change the xserver configuration, you should restart the xserver for changes to have an effect
polman has quit [Ping timeout: 245 seconds]
<teto> I've got a ghc -L "unrecognized flag -L" https://paste.ubuntu.com/p/NKRQYzQCXj/ , not sure if that's a nix flag or due to the project (a grep in the project https://github.com/Ongy/netlink-hs doesn't show anything) ?
polman has joined #nixos
<{^_^}> [nixpkgs] @vdemeester opened pull request #58476 → skaffold: 0.25.0 -> 0.26.0 → https://git.io/fjTnZ
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken Haskell packages »: https://git.io/fjTnc
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjTnC
Tucky has joined #nixos
katyucha has joined #nixos
mehran has quit [Quit: leaving]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/033984c0b75 (from 85 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
goibhniu1 has joined #nixos
ThatDocsLady_ has joined #nixos
domogled has quit [Ping timeout: 246 seconds]
domogled has joined #nixos
realrokka has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a05357f9442 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
pie_ has joined #nixos
ninjin has quit [Ping timeout: 256 seconds]
ninjin has joined #nixos
sigmundv has joined #nixos
regulus_ has quit [Ping timeout: 246 seconds]
drakonis has quit [Ping timeout: 250 seconds]
<Taneb> etu++
<{^_^}> etu's karma got increased to 6
<Taneb> elvishjerricco++
<{^_^}> elvishjerricco's karma got increased to 11
<Taneb> (For helping me yesterday)
sigmundv has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos
jaeckel has joined #nixos
thc202 has joined #nixos
johanot has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fjTcq
<{^_^}> [nixpkgs] @peti pushed 0 commits to haskell-updates: https://git.io/fjTcY
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fjTcO
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a05357f9442 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
fendor has joined #nixos
hoijui has joined #nixos
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
Mrmaxmeier has joined #nixos
Jetien has joined #nixos
cfricke has quit [Ping timeout: 272 seconds]
infinee has quit [Quit: leaving]
<gentauro> srhb++
<{^_^}> srhb's karma got increased to 42
<gentauro> (cos 42 it's the answer to everyting)
<gentauro> :P
realrokka has quit [Remote host closed the connection]
realrokka has joined #nixos
delroth has quit [Quit: WeeChat 2.4]
Serus has quit [Ping timeout: 246 seconds]
delroth has joined #nixos
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
jbgi has quit [Ping timeout: 245 seconds]
jtojnar has quit [Quit: jtojnar]
elgoosy has joined #nixos
elgoosy has quit [Remote host closed the connection]
pmiddend has joined #nixos
Serus has joined #nixos
<pmiddend> I juts tried to use "steamcmd" with a Nix-built Docker image. This failed because "mkdir" wasn't found. Does steamcmd need an explizit dependency on coreutils?
<pmiddend> Seems to work fine on its own, without Docker.
fendor has quit [Read error: Connection reset by peer]
jbgi has joined #nixos
sb0 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @johanot opened pull request #58477 → kubernetes: 1.13.4 -> 1.13.5 → https://git.io/fjTCY
Qubasa has joined #nixos
jb55 has quit [Ping timeout: 244 seconds]
katyucha has quit [Quit: leaving]
<Qubasa> I have setup gitlab on stable with gitlab version 1.7.5 which was too old for me so I switched nixos to the unstable channel but the gitlab service runs still at version 1.7.5 even though in nixpkgs the gitlab version is already 1.9.1 changed 1 day ago and 1.8.x changed 11 days ago. I looked at the hydra page and the unstable channel got merged 1 day ago. Does someone have an idea what is going on?
<musicmatze> maybe it is a new attribute? Like gitlab19 or something like that?
<Qubasa> Hmm its a service so that shouldn't be the problem?
<musicmatze> in `nix repl` I get "v11.7.5" for `pkgs.gitlab.src.rev` on nixpkgs-unstable channel
<Qubasa> yeah 11.7.5 thats what I meant, my bad
<musicmatze> I am confused now... 1 and 11 are a bit of a diference
<musicmatze> ah! :-)
<Qubasa> s/1.7.5/11.7.5/g
ym555_ has joined #nixos
<Qubasa> Maybe I am interpreting it wrong?
<musicmatze> hmmh... did you update your channel?
<musicmatze> besides that I don't know...
<Qubasa> Yes I did :/
<musicmatze> hmh
<musicmatze> sorry, I don't know tbh.
<Qubasa> Thanks anyway :-)
<Qubasa> Mic92: Do you have an idea maybe ( ͡° ͜ʖ ͡°)
<manveru> pmiddend: seems like it...
<pmiddend> manveru: Okay, I'll open an issue since I'm not sure about the details.
cfricke has joined #nixos
<pmiddend> I somehow thought coreutils was always included
init_6 has joined #nixos
jtojnar has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @chpatrick opened pull request #58478 → Update Jetbrains IDEs → https://git.io/fjTCP
invokesus has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
<{^_^}> [nixpkgs] @LinArcX opened pull request #58480 → sahel-fonts: init at v1.0.0-alpha22 → https://git.io/fjTCh
jb55 has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @dtzWill to staging-next « gnutls: 3.6.6 -> 3.6.7, security! »: https://git.io/fjTWc
<{^_^}> [nixpkgs] @hedning closed pull request #58474 → Don't merge: testing pango upgrade on darwin → https://git.io/fjTZS
<{^_^}> [nixpkgs] @vcunat closed pull request #58437 → gnutls: 3.6.6 -> 3.6.7, security! → https://git.io/fjU5a
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #58428 → scons: 3.0.4 -> 3.0.5 → https://git.io/fjU9T
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fjTWr
jbgi has quit [Ping timeout: 245 seconds]
reinhardt has quit [Ping timeout: 268 seconds]
pmiddend has quit [Ping timeout: 245 seconds]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
alex`` has joined #nixos
reinhardt has joined #nixos
chpatrick has joined #nixos
<chpatrick> hi, do you know when 19.02 is due? :) just waiting to update some stuff
<Yaniel> you mean 19.03?
loonquawl is now known as msgctl
blackriversoftwa has joined #nixos
<chpatrick> Yaniel: right sorry
<lassulus> from experience it's normally around the first of april, maybe later
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-18.09: https://git.io/fjTWx
<{^_^}> [nixpkgs] @peti merged pull request #58467 → r-sys: remove obsolete dependency → https://git.io/fjTmD
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fjTWp
<lassulus> like nixos 18.09 was released on the 36th of september ;)
<manveru> chpatrick: well, there's a 19.03 channel already that you can try and just roll back if it's not working for you :)
<manveru> it's not gonna change too much anymore
<immae> Just to be sure, 19.03 will be the continuity of 19.03beta right? so if I follow 19.03beta, once 19.03 is released it will be just a noop?
<etu> immae: Yep
<lassulus> immae: depends on how you follow the beta I guess
<lassulus> but should be just straight forward
<immae> Yes, I said noop, but actually it will probably be a small step "as usual"
<immae> I update every day currently
<immae> Thanks for the confirmation etu and lassulus
<etu> immae: If you use the 19.03 channel today, it will just change to not be called a beta whenever you update the channel
<lassulus> with nix-channel? when you just follow channel ttps://nixos.org/channels/nixos-19.03 nothing will change for you on release
<lassulus> https* ofc
<immae> no, I write the url in my nixpath :)
<lassulus> should be the same then
<immae> yes
silver has joined #nixos
erictapen has joined #nixos
<lassulus> Qubasa: you can get the nixpkgs hash in /etc/os-release and check it with git, if the update should already be in your system
jbgi has joined #nixos
vk3wtf has joined #nixos
reinhardt has quit [Ping timeout: 250 seconds]
fendor has joined #nixos
reinhardt has joined #nixos
zupo has joined #nixos
ym555_ has quit [Ping timeout: 250 seconds]
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @dtzWill to release-19.03 « gnutls: 3.6.6 -> 3.6.7, security! »: https://git.io/fjTl2
agander has joined #nixos
civodul has joined #nixos
jomik has joined #nixos
<jomik> Hey - is there a way that I can get the output of a command run in a nix-shell as stdout? :P
npmccallum has quit [Ping timeout: 245 seconds]
<sphalerite> jomik: nix-shell --run 'foo'
<sphalerite> ?
<jomik> That does not seem to pass it to stdout
<sphalerite> works for me
<gchristensen> $ nix-shell -p hello --run "hello" | rev
<gchristensen> !dlrow ,olleH
<gchristensen> works for me
<gchristensen> what is happening for you?
<jomik> Oh, that is weird! So I guess the error is not that, damn.
<jomik> Sorry :D
<gchristensen> what exactly is going on?
<sphalerite> TIL: rev
<jomik> I am trying to run a script for i3blocks in nix-shell..
zupo has quit [Ping timeout: 245 seconds]
<jomik> `nix-shell -p acpi --run "./bar \$(acpi battery | grep -o -m1 '[0-9]\{1,3\}%' | tr -d '%')"`
<jomik> But it does not actually output from bar
<jomik> If I run it in my shell, it works, if I add it as a command for i3blocks, it does not.
<sphalerite> I'd strongly recommend installing acpi in your profile instead
<sphalerite> since nix-shell will evaluate nixpkgs every time, probably significantly reducing the amount of remaining battery time acpi displays ;)
<jomik> Well, I'll end up just referencing acpi with a ${pkgs.acpi} when I move the config to home-manager.
<sphalerite> or that
<jomik> This is just to test :P
<gchristensen> you could simplify this a bit:
<sphalerite> cat /sys/class/power_supply/*/capacity
<sphalerite> :D
linarcx has quit [Quit: WeeChat 2.4]
<jomik> sphalerite: ...
<jomik> That's cheating!
<gchristensen> jomik: echo "$(nix-shell -p acpi --run "acpi battery" | grep -o -m1 '[0-9]\{1,3\}%' | tr -d '%')"
<jomik> Oh, think I would need that echo, gchristensen ?
<sphalerite> I still like mine better :p
<jomik> Yeah, that is nice :P
zupo has joined #nixos
<jomik> Odd that capacity is the current battery level :o
<gchristensen> you don't need the `echo` that was because I don't have your ./bar
<sphalerite> jomik: yes, it's a weird name, it's the current charge as a percentage of the battery's current capacity
<__monty__> nix-shell evaluates nixpkgs every time? o.O Is there another -A flag we should be using?
iclanzan has joined #nixos
<jomik> Oddd. I changed it to the cat, sphalerite , and it still does not work O.o
<jomik> nix-shell -p acpi --run "./bar \$(acpi battery | grep -o -m1 '[0-9]\{1,3\}%' | tr -d '%')"
<jomik> I guess there is just an error in my bar?
<sphalerite> probably!
<gchristensen> do less stuff inside the nix-shell call
<sphalerite> does ./bar 75 work?
<gchristensen> doing more things in there makes quoting more complicated
<jomik> in cli, yes. let me try in the config..
<jomik> It does not... :D
<sphalerite> there's also the option bat=/sys/class/power_supply/FILL_THIS_IN ; echo $(( $(<$bat/energy_now) * 100 / $(<$bat/energy_full_design) )) if you want a percentage of the design capacity rather than the current capacity of the battery
<sphalerite> __monty__: well, no, not all of nixpkgs. But it does go through all the overlays and stuff to evaluate the derivation.
zupo_ has joined #nixos
zupo has quit [Ping timeout: 268 seconds]
<__monty__> Oh, ok. Would nix run be different?
<{^_^}> [nixpkgs] @dotlambda merged pull request #58429 → python2Packages.nevow, tahoe-lafs: fix build → https://git.io/fjUHw
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fjT8k
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f261841e542 (from 83 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jtojnar has quit [Quit: jtojnar]
<sphalerite> __monty__: not much. Compare `nix run -vv nixpkgs.hello` and `nix-shell -vp hello`. The main difference is that nix run won't instantiate a new drv per shell environment, since all it does is add one derivation's bin dir to the PATH
<sphalerite> __monty__: so for stuff that gets run periodically/frequently/automatically, prefer installing it into a profile or wiring the path in using a wrapper or similar
cfricke has quit [Ping timeout: 272 seconds]
cfricke has joined #nixos
<jomik> sphalerite, gchristensen: soo... My issue was that my pango markup had an error ! :D
<gchristensen> ah!
<gchristensen> please do less inside the --run argument, though!
<Qubasa> lassulus: thanks I will try it out
<sphalerite> or, y'know, don't use nix-shell for this :p
<jomik> Yeah, that makes sense gchristensen :P
<Qubasa> !
<jomik> I went with what sphalerite suggested in the end tho, just catting that file :P
reinhardt has quit [Ping timeout: 246 seconds]
<sphalerite> or if it's running in bash, use $(< $file) to avoid a fork+exec :D
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to release-19.03: https://git.io/fjT82
<jomik> I think it is passed to sh -c, but on NixOS that is bash? :P
<jomik> I have `./bar $(cat /sys/class/power_supply/BAT0/capacity)` now
<{^_^}> [nixpkgs] @dotlambda opened pull request #58483 → dovecot: 2.3.5 -> 2.3.5.1 → https://git.io/fjT8V
mmlb977450 has quit [Ping timeout: 250 seconds]
<sphalerite> I believe it is
<jomik> sphalerite: Any nice way to read % of screen brightness? :P
<sphalerite> jomik: same style as the slightly more complex design-capacity-percentage thing, but with /sys/class/backlight/foo/{max_,brightness}
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iyzsong has quit [Ping timeout: 250 seconds]
<jomik> Thanks :D
<adamt> I'm trying to set RequiredBy on a system unit using the systemd module, but the generated unit doesn't have a RequiredBy= line. Wants/Before/After all works. Suggestions?
<adamt> This is what I'm doing: https://pastebin.com/tLgaipLj
<sphalerite> adamt: this is normal, nixos doesn't use the [Install] section, instead creating a symlink in dependent.service.requires
<sphalerite> adamt: check /etc/systemd/system/apache-kafka.service.requires :)
<adamt> sphalerite: Thanks :-D
ym555_ has joined #nixos
d10n-work has joined #nixos
jomik has quit [Quit: WeeChat 2.4]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
jasongrossman has joined #nixos
ajs124 has joined #nixos
iclanzan has quit [Ping timeout: 245 seconds]
ajs124 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
zupo has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #58419 → nixos/ldap: set proper User= and Group= for nslcd service → https://git.io/fjUPF
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/fjT4W
<musicmatze> How can I combine a list of outputs into a single output? E.G.: I have a "buildme.nix" file which has a list where I can build each element using `nix-build`... but how to combine all of them to build them all using `nix-build ./buildme.nix`?
cfricke has quit [Quit: WeeChat 2.4]
<buckley310> musicmatze, so you want to have a literal copy of two other outputs inside of your output?
Rusty1 has joined #nixos
<musicmatze> I don't care whether it is a copy of everything or just symlinks to other stuff, I basically just want to build a list of things and get all outputs ... whether this results in several ./result symlinks or one ./result with everything inside ... I don't mind eitehr
<ar> er/36
<musicmatze> (context: I'm trying to use `pkgs.releaseTools.debBuild` recursively to build a whole dependency-chain as deb packages).
iclanzan has joined #nixos
npmccallum has joined #nixos
<buckley310> ok, shouldnt be too terribly difficult
<buckley310> looking up a couple things...
waleee has joined #nixos
Zer000 has joined #nixos
npmccallum has quit [Client Quit]
<buckley310> musicmatze, hows this? http://ix.io/1EId
vmandela has joined #nixos
<buckley310> went the symlink route, although im not sure what process you're using to pull all the outputs together indo a deb...
<musicmatze> well, I cannot hardcode the list, because for that I would need to know all transitive dependencies of the package I am about to build. And I don't want that... because I want to write that later as an nixpkgs overlay so that I can build any nixpkgs package into a .deb and it automatically builds all dependency (down to libc and everything) for the package and I can use the resulting .deb files and put them into a real
<musicmatze> debian mirror
<{^_^}> [nixpkgs] @sveitser opened pull request #58484 → cudnn_cudatoolkit_10: 7.3.1 -> 7.4.2 → https://git.io/fjTBR
<buckley310> ok, so you want to programatically pull in the entire dependancy tree of any package...
<buckley310> not sure about that one :|
<sphalerite> musicmatze: so something like buildEnv?
<sphalerite> i.e. just combining the directory trees of each output into one?
<blackriversoftwa> Is there an idiomatic way for a module to make a config file (/etc/hosts in my case) writeable?
zupo_ has joined #nixos
<blackriversoftwa> Answering my own question: environment.etc.<filename>.mode
<blackriversoftwa> > If set to something else than `symlink`, the file is copied instead of symlinked, with the given file mode.
<{^_^}> error: syntax error, unexpected ELSE, expecting ')', at (string):225:21
<srhb> blackriversoftwa: careful with that though. It will still get overwritten upon activation.
<srhb> blackriversoftwa: "writable" is usually antithetical.
<{^_^}> [nixpkgs] @peti merged pull request #58483 → dovecot: 2.3.5 -> 2.3.5.1 → https://git.io/fjT8V
<blackriversoftwa> srhb: I know. The use case here is for an image for a cloud service, so cloud-init needs to be able to mess with various things
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fjTB7
zupo has quit [Ping timeout: 250 seconds]
<srhb> blackriversoftwa: Good good.
<blackriversoftwa> srhb: I am considering making a little module generator (sort of like what is done with hardware-configuration.nix) that would poll the metadata service for the cloud provider I'm working on
jbgi has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-19.03: https://git.io/fjTBx
jmeredith has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 318 commits to staging-19.03: https://git.io/fjTRv
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<d10n-work> I installed sublime3 with Nix on CentOS6. When starting subl, I get a message from Package Control saying my system's locale doesn't support non-ASCII characters. My system locale is en_US.UTF-8, but when I add the locale command to the sublime_text wrapper, it outputs "locale: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /nix/store/avw6pay7yq18pg42i36i3vnldp97idxq-libredirect-0/lib/libredirect.so)"
<mog> gchristensen, what happened that caused r13y.com to crash so hard?
<{^_^}> [nixpkgs] @dotlambda opened pull request #58485 → [18.09] dovecot: add patch for CVE-2019-7524 → https://git.io/fjTR8
<gchristensen> ouch
<gchristensen> mog: it looks like the builder it is on is just not really able to do it
<gchristensen> and instead of failing the build of r13y, it just powers on
* mog nods
<gchristensen> it is a bug in r13y's build tools I guess. I'll fix that up when I can
<d10n-work> To put my statement in question form: how can the sublime3 nix package be made to support my locale?
<mog> that is much better than lots of random changes
<gchristensen> mog: see that "714 unchecked" line
<symphorien> d10n-work: I am surprised it uses /lib64/libc.so.6 instead of /nix/store/something
<mog> ahh i assumed that meant that number wasnt part of the 1276
<gchristensen> ohh
<gchristensen> maybe should change that wording
<symphorien> d10n-work: maybe put nix's libc in LD_PRELOAD ?
liori has joined #nixos
<musicmatze> sphalerite: buckley310 I'm not sure whether buildEnv would help. I'll play around a bit more and report back (and add to https://nixos.wiki/wiki/Nixpkgs/Building_RPM_DEB_with_nixpkgs )
<{^_^}> [nixpkgs] @srhb merged pull request #58477 → kubernetes: 1.13.4 -> 1.13.5 → https://git.io/fjTCY
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fjTRz
rauno has quit [Remote host closed the connection]
<d10n-work> symphorien: I added one of the libc.so.6 in /nix/store to the sublime_text wrapper like: export LD_PRELOAD='/nix/store/avw6pay7yq18pg42i36i3vnldp97idxq-libredirect-0/lib/libredirect.so /nix/store/sjsvwd9sqxjflmslnf8xs48aqpkb2sjy-glibc-2.27/lib/libc.so.6' --- and I get: ERROR: ld.so: object '/nix/store/sjsvwd9sqxjflmslnf8xs48aqpkb2sjy-glibc-2.27/lib/libc.so' from LD_PRELOAD cannot be preloaded: ignored.
mmlb977450 has joined #nixos
boogiewoogie has joined #nixos
<d10n-work> when adding that libc.so.6 to LD_PRELOAD and then starting locale as `/nix/store/sjsvwd9sqxjflmslnf8xs48aqpkb2sjy-glibc-2.27/lib/ld-2.27.so locale` I get "locale: error while loading shared libraries: locale: cannot open shared object file: No such file or directory"
infinee has joined #nixos
linarcx has joined #nixos
agander has quit [Ping timeout: 245 seconds]
reinhardt has quit [Quit: Leaving]
agander has joined #nixos
<{^_^}> [nixpkgs] @marius851000 opened pull request #58486 → openmw: 0.44 -> 0.45 → https://git.io/fjTRQ
<sphalerit> musicmatze: I suppose I don't understand what it is that you need, buildEnv *sounds* like what you want but I'm not sure :)
<musicmatze> Linus: I have to investigate that. It might help, yes. But first I have to get the recursive build working
<musicmatze> xD
<sphalerit> oh that sounds like Fun in and of itself.
<musicmatze> it does.
<{^_^}> [nixpkgs] @bgamari opened pull request #58487 → gitaly: Run gitaly with procps in scope → https://git.io/fjTRN
domogled has quit [Remote host closed the connection]
boogiewoogie has quit [Quit: Leaving]
<d10n-work> Adding 'export LC_CTYPE=en_US.UTF-8' to the sublime wrapper shows this warning: openat(AT_FDCWD, "/nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/locale/en_US.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [...] write(2, "./sublime_text: line 9: warning:"..., 116./sublime_text: line 9: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f5900a99699 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
init_6 has quit []
jomik has joined #nixos
<jomik> ,locate infocmp
<{^_^}> Found in packages: ncurses.dev, ncurses5.dev
ma27 has quit [Remote host closed the connection]
<fascinated_> Bored? Call the official freenode IRC partyline at +4521137886
fascinated_ has joined #nixos
stateless23 has joined #nixos
<stateless23> Bored? Call the official freenode IRC partyline at +4521137886
stateless23 was kicked from #nixos by gchristensen [stateless23]
fascinated_ was kicked from #nixos by gchristensen [fascinated_]
ma27 has joined #nixos
<infinisil> gchristensen++
<sphalerite> oh boy, is this starting again?
<{^_^}> gchristensen's karma got increased to 88
<edlin> I'm having difficulties with virt-manager and QEMU on stable nixos, I can't seem to get it to recognize that I have KVM and libvirt available.
<edlin> libvirt appears to be running
<edlin> and I'm loading kvm and kvm-intel in my modules
<sphalerite> EdLin: your user probably doesn't have access. Try adding yoruself to the libvirtd group and logging out and back in
<edlin> sphalerite: ah, thanks.
<sphalerite> at least, that would be my best guess.
<sphalerite> An actual error message could confirm/correct my suspicion ;)
Mr_Keyser_Soze has joined #nixos
edlin has quit [Quit: Konversation terminated!]
hoijui has quit [Ping timeout: 245 seconds]
edlin has joined #nixos
<edlin> sphalerit: it didn't help
<edlin> sphalerite ^
<edlin> I confirmed with "groups" also that I was part of the group, even restarted libvirtd
<adamt> What's the preferred way of packaging a java application these days? Right now I'm using maven for dependencies, but I can change it to whatever is easist with nix.
<sphalerite> EdLin: hm ok, is it giving you an error of some sort?
<srhb> adamt: I can give a recommendation for what to use, but avoid sbt like your life depended on it.
<edlin> sphalerite: it says that no hypervisor is detected on startup
<srhb> adamt: Anything that will allow you something like a lockfile and where you can generate a list of dependencies/urls for use with fetchurl and friends should suffice.
<sphalerite> is there a details thing or something?
<edlin> in virt-manager?
<edlin> no
<edlin> "could not detect a default hypervisor"
<edlin> with the advise to install one with various packages
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f5900a99699 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<srhb> adamt: Er, can't give you a recommendation on what to use* ;)
<edlin> all of which are installed
<d10n-work> Installing nixpkgs.glibcLocales and adding 'export LOCALE_ARCHIVE=$(nix-env --installed --no-name --out- path --query glibc-locales)/lib/locale/locale-archive' to the sublime_text wrapper fixed the locale problem. Is there a good way to make this a non-manual step?
<adamt> srhb: Damnit, I was waiting for the recommandation :P
<srhb> adamt: Sorry. Migraine, not very useful today. :P But honestly, i think any of the lockfile-things will work.
<srhb> Might just not have nice tooling yet.
fendor has quit [Ping timeout: 246 seconds]
<adamt> I have no idea which tools support lock files though. I wouldn't have written it in java if I had a choice :P
illegalprime has joined #nixos
endformationage has joined #nixos
<edlin> OK, in Nixos, how do I edit qemu.conf?
<edlin> or better yet, change parameters using configure.nix
<Taneb> EdLin: maybe virtualisation.libvirtd.qemyVerbatimConfig
<edlin> Taneb: thanks
Erasmus has joined #nixos
<edlin> sigh, still no detection, and I did restart libvirtd....
<{^_^}> [nixpkgs] @LinArcX opened pull request #58488 → nahid-fonts:init at v0.3.0 → https://git.io/fjT0a
<edlin> tried changing user for qemu.conf to my user.
Mr_Keyser_Soze has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #58489 → nixos/mailcatcher: fix test to be compatible with mailcatcher 7.x series → https://git.io/fjT0V
buffet_ is now known as buffet
<illegalprime> I want to add a defaultBuildInput (bash) to stdenv, but that input _depends_ on stdenv! what should i do?
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
fusion809 has quit [Remote host closed the connection]
<sphalerite> aaargh, this is dirving me mad. How am I supposed to set a kernel config option to the empty string in nixpkgs? Using freeform "" results in it getting set to an empty string
<matthewbauer> illegalprime: I looked into that but decided it wasn't easy to do
<sphalerite> samueldr: maybe you have some enlightenment to provide (once again)?
<illegalprime> matthewbauer: yea! i was trying to hack on your patchshebangs work
<{^_^}> [nixpkgs] @nlewo merged pull request #58345 → dockerTools: add finalImageName parameter for pullImage → https://git.io/fjUC5
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fjT0S
<matthewbauer> there may be some stdenv tricks to get it to work though. for now the patchshebangs has a fallback to use the native bash
<matthewbauer> honestly i wonder if we shouldn't patch and just do ```#!/usr/bin/env sh```. that should work *everywhere*
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andi- has quit [Ping timeout: 258 seconds]
<illegalprime> matthewbauer: lol that's true
johanot has quit [Quit: WeeChat 2.4]
<samueldr> sphalerite: no idea about that one, that seems... different?
<illegalprime> the other thing i was wondering about was that i get the cross-gcc in my cross-compiled closures. so in an aarch64 build of tree, my cross-compiling gcc is a _runtime_ dependency
adamt has quit [Quit: WeeChat 2.4]
<illegalprime> this is just because the cross comp gcc has some aarch64 libs in it that packages need, but it also has x86 binaries that it definitely shouldn't need, so maybe it should be spliced?
rcshm has joined #nixos
<samueldr> sphalerite: and I'm not sure how "set to an empty string" is different than the goal of setting it "to the empty string"
<sphalerite> samueldr: I want: CONFIG_CROSS_COMPILE="". I get: CONFIG_CROSS_COMPILE="\"\""
<samueldr> oh!
<illegalprime> I'm not sure where the cross gcc gets built, it has a weird name like armv6l-unknown-linux-gnueabihf-stage-static-gcc-debug-7.4.0
<sphalerite> oops, only just realised I mistyped my problem previously.
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<matthewbauer> illegalprime: yeah gcc has some runtime libraries like libgcc that need to be included. they should just be in the "lib" output though so it shouldn't inflate closure size too much. This is partly why we want to move to using LLVM which has these things separated out better
<infinee> can someone tell me which SHA256 commit hash I'm supposed to use for https://github.com/godotengine/godot/releases/tag/3.0.6-stable ? I tried 8ac39d886307d76c286e804e027fc39f6b5aaac6 but nix-build says it's wrong length
<Taneb> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<{^_^}> [nixpkgs] @dywedir opened pull request #58490 → scrcpy: 1.5 -> 1.8 → https://git.io/fjTEk
<Taneb> infinee: the 8ac39db... is a reference to the Git commit
<Taneb> And is 40 characters
andi- has joined #nixos
<srhb> But if you're using fetchFromGitHub, just use v3.0.6-stable for the rev, if that's what you're asking for.
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<illegalprime> matthewbauer: there are some libraries in the non-lib output (the one with prefixed gcc like armv6l-unknown-linux-gnueabihf-gcc)
rprije has quit [Ping timeout: 246 seconds]
<infinee> srhb: I'm trying to fetch 3.1
<{^_^}> [nixpkgs] @srhb pushed commit from @johanot to release-19.03 « kubernetes: 1.13.4 -> 1.13.5 »: https://git.io/fjTEm
Neo-- has quit [Ping timeout: 268 seconds]
<srhb> infinee: 3.1-stable then.
rprije has joined #nixos
jomik has quit [Quit: WeeChat 2.4]
zupo has joined #nixos
<illegalprime> like this one: /nix/store/HASH-armv6l-unknown-linux-gnueabihf-stage-final-gcc-debug-7.4.0/armv6l-unknown-linux-gnueabihf/lib/libatomic.so
<matthewbauer> illegalprime: that sounds like a bug. what gcc version are you using?
<infinee> srhb: tried to simply edit the existing default.nix for 3.0.6-stable to this https://gist.github.com/waylandc/1b36213308be37e8e29992c52f9bea05 but not having any luck
<illegalprime> matthewbauer: i branched nixpkgs right after '19.09 is Loris.' which was last month
<illegalprime> i will update, but i don't think anything has changed here in the last month
andi- has quit [Excess Flood]
nefix has joined #nixos
erasmas has joined #nixos
edlin has quit [Remote host closed the connection]
<iclanzan> ipconfig
<matthewbauer> illegalprime: yeah that looks like a bug in our gcc builder. this code isn't handling the lib prefixed stuff: https://github.com/matthewbauer/nixpkgs/blob/static-nix/pkgs/development/compilers/gcc/builder.sh#L203-L287
edlin has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<matthewbauer> ideally we would avoid all of the /lib/$cpu-$vendor-$kernel-$... stuff, but i think gcc assumes that when cross
rcshm has quit [Read error: Connection reset by peer]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rcshm has joined #nixos
agander has quit [Ping timeout: 246 seconds]
<eyJhb> Is there any way to specify a local version of a channel, like I can specify the unstable channel using - https://termbin.com/tiwt
blackriversoftwa has quit [Quit: Page closed]
leotaku has joined #nixos
<samueldr> sphalerite: my guess would be a bad interaction between the structured configs and generate-config.pl; maybe check the intermediary kernel-config file in https://github.com/NixOS/nixpkgs/blob/dc3ed336df6b14a70e248269672459b499d9bdee/pkgs/os-specific/linux/kernel/generic.nix#L132
<illegalprime> matthewbauer: thanks for checking that, i'm still rebasing! do you think its just a matter of moving the right libraries to the lib output? i could try to take a look at this
edlin has quit [Quit: Konversation terminated!]
<matthewbauer> yeah i'm pretty sure that's all it is. i'm surprised no one has noticed that before!
<sphalerite> idea: patchSource or something like that, in pkgs/build-support, which takes a source and applies a patch/list of patches, copying the result to the output.
<srhb> eyJhb: In exactly the same way? Not sure what you're asking.
<illegalprime> matthewbauer: i have a script that tries to find build system contamination, this is what i found so far: https://pastebin.com/raw/9QGLWMx1
<srhb> eyJhb: Simpler yet, just forgo builtins.tarball and refer to the path directly..
<eyJhb> srhb: but wouldn't that require me to tar ALL the files in my local directory. I wnat to use e.g. `~/projects/nixpkgs` instead
<sphalerite> samueldr: yeaaah I was hoping not to have to do any digging, but hey, I guess an opportunity to fix stuff in nixpkgs is an opportunity to fix stuff in nixpkgs
drakonis1 has joined #nixos
<srhb> eyJhb: localPkgs = import /home/eyJhb/projects/nixpkgs {};
ddellacosta has joined #nixos
<nefix> Hey! Is there any tutorial on how to make a derivation of a NodeJS app?
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
jasongrossman has joined #nixos
<nefix> I want to add https://github.com/h3poteto/whalebird-desktop (an Electron desktop app)
rembo10 has quit [Quit: ZNC 1.7.2 - https://znc.in]
<vaibhavsagar> can I get a 32-bit nix-shell?
<eyJhb> srhb: hmm, I get strange errors now.... :p It seems like it is trying to find WEechat in my localpkgs...
hellrazor has quit [Ping timeout: 245 seconds]
<srhb> eyJhb: Need more information to help. :)
<sphalerite> vaibhavsagar: nix-shell -p pkgsi686Linux.nix
<sphalerite> vaibhavsagar: then running nix-shell -p hello in that seems to get me a 32-bit hello as well :)
<eyJhb> srhb: me that screwed up, but now I get that I need to set unfree =true, even though it is true
<vaibhavsagar> sphalerite: I tried pkgsi686Linux
<eyJhb> srhb: config - https://termbin.com/k656 - error - https://termbin.com/gari
jungly has joined #nixos
<vaibhavsagar> sphalerite: here's my default.nix: https://github.com/vaibhavsagar/experiments/blob/master/nhc98/default.nix
infandum has joined #nixos
jungly has quit [Remote host closed the connection]
<srhb> eyJhb: nixpkgs.config will only affect the pkgs imported by the module system itself, not your localPkgs, yeah.
<infandum> I'm using emacs org mode. It wants to install the ZMQ module (through emacs in the buffer). I have zeromq, autoconf, automake, and pkgconfig installed, but it erroras out, saying I have possibly undefined macros of "AC_SUBST" etc. (AC_*) and missing some pkg-config macros (pkg-config package). Any ideas on what I should do?
rembo10 has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
alex`` has quit [Ping timeout: 245 seconds]
<genesis> i've a derivation #58367 with wrapGAppsHook and i'd like poedit find msgfmt ( gettext ) , how add such path ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58367 (by bignaux, 2 days ago, open): [WIP] poedit: 1.5.7 -> 2.2.1
cswl has joined #nixos
rcshm has joined #nixos
agander has joined #nixos
<genesis> i don't find documentation about this wrapper to add option
tdammers has left #nixos ["WeeChat 1.6"]
<gchristensen> hello Nix friends! I am thrilled to announce lorri, a project by Profpatsch, shlevy, Tweag, Target, and myself -- it aims to be a nicer nix-shell for your projects! check it out: https://www.tweag.io/posts/2019-03-28-introducing-lorri.html
<drakonis1> ooooooh shiny
Ariakenom_ has quit [Ping timeout: 268 seconds]
<samueldr> gchristensen++
<{^_^}> gchristensen's karma got increased to 89
<drakonis1> gchristensen++
<{^_^}> gchristensen's karma got increased to 90
<drakonis1> direnv is built with nix
<drakonis1> how neat.
<drakonis1> the page needs some updating tho
<drakonis1> gchristensen: can it be shipped by default?
<infinisil> gchristensen: That's awesome!
<gchristensen> =)
<samueldr> drakonis1: what page needs uptating, and how?
<drakonis1> so good, but can we ship it instead of nix-shell?
<drakonis1> needs more projects built with nix
<Church-> gchristensen: Saw the Lori post on lobste.rs
<Church-> Neat
<gchristensen> =)
<drakonis1> life is good
<genesis> anyidea to add flag to wrapGAppsHook, that's the last missing for now working #58367
<genesis> ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58367 (by bignaux, 2 days ago, open): [WIP] poedit: 1.5.7 -> 2.2.1
<symphorien> I want to test whether a C lib is not broken cross-compilation wise: what is the target in pkgsCross with the most stuff in the binary cache ?
<gchristensen> is any of pkgsCross in the binary cache?
<symphorien> I am trying with musl and not everything was built locally
<symphorien> but musl is not a good indicator of whether cross is really working
edlin has joined #nixos
linarcx has quit [Ping timeout: 246 seconds]
Tucky has quit [Quit: WeeChat 2.2]
<edlin> I'm trying to get virt-manager to work here, it isn't detecting KVM or any hypervisor. My configuration.nix is...
<Church-> Heya drakonis1
<drakonis1> hey
linarcx has joined #nixos
<genesis> EdLin : do you not forget nixos-rebuild ?
<genesis> (just ask)
<infandum> How can I add to the stdenv.mkDerivation.buildInputs list instead of replacing it?
<edlin> genesis: I did that.
<edlin> nixos-rebuild switch
<srhb> EdLin: I notice that you have some things in initrd.kernelModules that I would expect in kernel.modules. Like, say, kvm-ingel
<srhb> intel*
<srhb> EdLin: Is it loaded?
<eyJhb> srhb: is there any way, that I can get nix-channels to use a local git too?
<srhb> eyJhb: Not that I know, they're sort of orthogonal.
<samueldr> EdLin: ls -l /dev/kvm, I think it will be in the group `kvm
<{^_^}> [nixpkgs] @d10n opened pull request #58491 → sublime3: Fix python api locale → https://git.io/fjTuo
<samueldr> you may need to add yourself to the kvm group if you intend to run it as your user
phreedom has quit [Remote host closed the connection]
<samueldr> oh, disregard, it might also be rw-rw-rw-
phreedom_ has joined #nixos
<clever> samueldr: on nixos, kvm is 666
<samueldr> clever: ^ ninja'd you :)
agander has quit [Ping timeout: 244 seconds]
<eyJhb> srhb: guess I have to setup my Git repo again, and then use that. It is easy to get single packages to work, but now I need to override how displaylink works as a videodriver...
<{^_^}> [nixpkgs] @markuskowa opened pull request #58492 → molden: 5.9.3 -> 5.9.5 → https://git.io/fjTu1
edlin has quit [Quit: Konversation terminated!]
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
edlin has joined #nixos
agander has joined #nixos
Erasmus has quit [Quit: END-AUMF]
<edlin> I added myself to the kvm group, logged out, logged back in... virt-manager still isn't detecting my hypervisor
<edlin> I'm also in the libvirtd group
<edlin> and qemu.conf *should* be edited to have my user in it
endformationage has quit [Quit: WeeChat 2.4]
andi- has joined #nixos
<samueldr> EdLin: /dev/kvm exists and `lsmod | grep ^kvm` has a module for your CPU vendor?
rcshm has quit [Read error: Connection reset by peer]
<edlin> samueldr: /dev/kvm exists... and kvm and kvm_intel are both there
rcshm has joined #nixos
marler8997 has quit [Quit: Page closed]
rcshm has quit [Read error: Connection reset by peer]
<samueldr> to help track whether it is libvirt doing something, or kvm not working, I tried by rmmod-ing kvm_intel, and using `nix-shell -p qemu --run 'qemu-kvm -enable-kvm'`
<infandum> It looks like the issue is that emacs isn't seeing pkg-config: https://www.reddit.com/r/NixOS/comments/5ekey8/autoconf_doesnt_know_about_pkgconfig/ How can I incorporate this into my configuration.nix?
<samueldr> when kvm is deactivated, qemu will not start
rcshm has joined #nixos
<samueldr> (modprobe-ing it back made qemu-kvm work again)
<clever> samueldr: the qemu-kvm bash script, simply tests for /dev/kvm, and conditionally passes -enable-kvm, so it wont fail like that
<samueldr> clever: I tried and it failed it, so uh not sure exactly
<samueldr> probably failed due to passing --enable-kvm
<clever> samueldr: you also passed your own -enable-kvm, which isnt conditional
<samueldr> just as if I had used qemu (not-kvm) directly
<edlin> samueldr: all of that tested OK, with rmmod kvm_intel, it errors, and with it installed, it starts and looks for a pxe boot.
<edlin> what could be wrong with libvirt then?
<samueldr> "good", then kvm probably works on the machine and as your user, that's at least a chunk of the problem reduced
<samueldr> good question, sorry, I don't have the knowledge to say with libvirtd :/
<edlin> sigh.
o1lo01ol1o has quit []
<samueldr> clever: let's say I used `qemu-kvm` as a platform-agnostic stand-in for qemu-system-x86_64 :) (same instructions would then work for aarch64 I guess!)
reinhardt has joined #nixos
<Taneb> ...I think I've messed up some of my overlays :(
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @LinArcX opened pull request #58493 → gandom-fonts: init at v0.6 → https://git.io/fjTzt
<{^_^}> [nixpkgs] @markuskowa opened pull request #58494 → octopus: 8.3 -> 8.4 → https://git.io/fjTzZ
<rycwo> hello, had a q about crontabs
<rycwo> are there best practices for user crontabs?
<rycwo> I'd like to set one up for a specific user without using configuration.nix
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
kleisli has quit [Ping timeout: 245 seconds]
<DigitalKiwi> gchristensen: i just heard about lorri and i <3 u
<samueldr> DigitalKiwi: don't you <3 gchristensen ?
<{^_^}> gchristensen's karma got increased to 91
wfranzini has quit [Remote host closed the connection]
<DigitalKiwi> haha that feature is new innit
<{^_^}> [nixpkgs] @markuskowa merged pull request #58180 → gmsh 4.2.1->4.2.2 → https://git.io/fjJgg
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjTzg
<symphorien> what is the equivalent of the test stdenv.hostPlatform != stdenv.buildPlatform in bash in the stdenv builder ?
<{^_^}> [nixpkgs] @LinArcX opened pull request #58495 → nika-fonts: init at 1.0.0 → https://git.io/fjTzV
galls has joined #nixos
galls has quit [Remote host closed the connection]
<symphorien> can setup hooks have an effect at the nix level, or only at the bash level in the builder ?
erasmas has quit [Ping timeout: 246 seconds]
Myhlamaeus has joined #nixos
<clever> symphorien: only at the bash level
<nefix> So I have a program that has a default /etc/ configuration. How can I link / copy it from the store to /etc?
<clever> nefix: environment.etc
knupfer has joined #nixos
<nefix> Could you link me an example or the documentation?
<nefix> Thanks!
<{^_^}> [nixpkgs] @markuskowa opened pull request #58496 → snapper: 0.8.2 -> 0.8.3 → https://git.io/fjTzM
taktoa has quit [Quit: taktoa]
<nefix> But this is in a OS level, not in a package level, right?
<clever> nefix: yeah, nixos option
<clever> only nixos can manage /etc/, packages cant do it
<nefix> But, for example, when I install sway, a folder gets created at /etc/sway
<clever> nefix: nix doesnt allow that to happen just from installing a package, you must enable a nixos module to do that
<{^_^}> [nixpkgs] @Infinisil merged pull request #58487 → gitaly: Run gitaly with procps in scope → https://git.io/fjTRN
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjTzd
<nefix> I see. Thanks!
<nefix> And how are runtime dependencies specified?
<{^_^}> [nixpkgs] @Infinisil pushed commit from @bgamari to release-19.03 « nixos/gitaly: Run gitaly with procps in scope »: https://git.io/fjTzF
erasmas has joined #nixos
Qubasa has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<clever> nefix: you usually bake the paths into your package, either direct references, or prefix PATH with a bash wrapper
<nefix> clever: not sure I've followed you here. The package I'm trying to build needs another package to be available when run. How can I specify this dependency in the .nix file?
<clever> nefix: modify all of the binaries to be wrapped with a bash script, to put that package into PATH
<symphorien> clever: I want to adapt the wafHook to cross, so I would need to set configurePlatforms to [], but by reading the code this can only be done at the nix level, any idea how I could do this ?
<{^_^}> [nixpkgs] @Infinisil pushed commit from @bgamari to release-18.09 « nixos/gitaly: Run gitaly with procps in scope »: https://git.io/fjTzA
<clever> symphorien: not sure how you would handle that
<nefix> clever: could you provide me an example or point me the documentation? Thanks!
<clever> nefix: search nixpkgs for wrapProgram
<nefix> Thanks!
<gchristensen> DigitalKiwi: =)
<gchristensen> DigitalKiwi: I'm glad!
judson__ has joined #nixos
cromiumlake has joined #nixos
Glider_IRC_ has quit [Quit: Leaving]
cromiumlake has quit [Remote host closed the connection]
Erasmus has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58468 → [19.03] kde-applications: 18.12.1 -> 18.12.3 → https://git.io/fjTmy
<catern> the GC roots and direnv parts of lorri seem cool, but I'm not sure I understand the workflow that uses watch
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-19.03: https://git.io/fjTgv
<catern> first off, I usually pin a version of Nixpkgs in my repos, so I have a consistent environment - although hydra and Nix itself don't do that - why not do that?
<pie_> can I add extra attributes to a derivation?
<catern> second, is there some use case other than for <nixpkgs> that I'm missing?
<infinisil> catern: I feel like watch should be used as a continuously running systemd service
<catern> (that is to say, the feature seems cool but is it useful for other things?)
<nefix> clever: so I can't wrap my head around adding font-awesome, since it's not a binary
<pie_> i want to be able to do package and package.withPlugins [ package.plugins.someplugin ], and in this case id need to extend package with .plugins and .withPlugins
<gchristensen> infinisil: indeed, that would be really nice -- and something which is documented in the repo lorri was developed in. those issues will move over soon
<{^_^}> [nixpkgs] @dywedir merged pull request #58440 → oxipng: 2.2.0 -> 2.2.1 → https://git.io/fjU5S
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjTgU
<catern> but... having lorri being a continuously running systemd service sounds a lot like just a normal CI server
<simpson> catern: I think that one has to experience the direnv-powered workflow first.
<gchristensen> ^
<gchristensen> lorri is not CI, and does not build your project.
<simpson> It's both really nice, and also has made me aware of nix-shell incantations.
<gchristensen> you don't _need_ to run `lorri watch` all the time
<pie_> im looking forward to not losing shells :V
<catern> gchristensen: sure, I wasn't implying it did. but it does continuously build an artifact (the shell environment) whenever the inputs change, which is also what hydra does
<pie_> however it is that i manage to do that
<catern> but I don't want to get into that, I just want to understand the workflow that's based on using <nixpkgs>
<simpson> gchristensen: FWIW I'm gonna watch lorri for a bit but it sounds too opinionated for me compared to the bare-bones direnv+Nix integration. `use nix` already *really* really good.
<gchristensen> oops
<gchristensen> simpson: give it a try, file bugs for what seems opinionated.
<pie_> gchristensen, nice
alex`` has joined #nixos
<pie_> gchristensen, thats meeee lol
<catern> I'll probably use lorri, because the GC roots and the faster direnv stuff are both excellent improvements (I do use direnv "use nix" a little right now, but I don't use it automatically because it can be slow)
<pie_> my pain is known \o/
<catern> but I'm still not clear on why one would use <nixpkgs> at all, rather than pin the repo to a specific version of Nixpkgs. this isn't really lorri-related question
<pie_> not having actually looked at lorri, why isnt this stuff in upstream nix?
<gchristensen> catern: even if you don't do that, your dependencies may change often through things like cabal file automation
ym555_ has quit [Quit: leaving...]
<pie_> youll still lose your shells if you pin and gc i think
<catern> gchristensen: aha :)
<catern> so that's what I meant, "what is the other use case?"
<pie_> cuz no roots (?)
<{^_^}> [nixpkgs] @Infinisil merged pull request #58459 → qtikz: fix build → https://git.io/fjTUO
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjTgO
<catern> I don't write much Haskell, but that makes sense - what exactly does this "cabal file automation" do?
<simpson> gchristensen: The entire concept feels opinionated; I often need to build PyPys and I prefer to have fine-grained control over that. If I make a change to my local nixpkgs, then lorri will rebuild nix-shells in other windows, won't it?
<gchristensen> pie_: in a project like nix, it is hard to experiment because it is built right in to the tool.
<pie_> gchristensen, so theoretically stuff *could* go back upstream
<{^_^}> [nixpkgs] @LinArcX opened pull request #58497 → behdad-fonts: init at v0.0.3 → https://git.io/fjTg3
<{^_^}> [nixpkgs] @Infinisil pushed commit from @xeji to release-19.03 « qtikz: fix build »: https://git.io/fjTgs
<gchristensen> pie_: that is part of the mission!
<pie_> \o/
<dminuoso> catern: I do much haskell, I dont know what "cabal file automation" is either.
<gchristensen> pie_: https://github.com/target/lorri#ascii-art alludes to the idea behind lorri
andi- has quit [Ping timeout: 255 seconds]
<pie_> gchristensen, oh! xD
<pie_> i get the space stuff and the name but i dont actually get what it has to do with the project
<gchristensen> the Long Range Reconnaissance Imager (LORRI) is a camera on the New Horizons spacecraft, which took pictures of Pluto and its moons. lorri is a far-away view of what Nix could be.
<simpson> gchristensen: I suppose that part of this is that I am committing an interesting sort of sin: I will put my local nixpkgs onto a certain branch, start a nix-shell based on that branch, then change to another nixpkgs branch and start another nix-shell or repl.
<catern> One use case that I thought of with lorri that might be useful is if, say, my .nix refers to other projects I have checked out locally which I want to rebuild, it would be helpful if they automatically rebuilt and updated the environment as soon as I changed those other projects. although, I'd probably only want the rebuild to happen once I commit
MichaelRaskin has joined #nixos
<gchristensen> simpson: then lorri would make that *easier*, actually, if you don't run `watch` continuously for each project.
<pie_> gchristensen, :D
vmandela has quit [Quit: Leaving]
ym555 has joined #nixos
<gchristensen> simpson: because then the evaluation from when nixpkgs was at the rev you liked, and the cached evaluation will continue being used
<catern> But that doesn't seem too useful because, wouldn't I still need to block on waiting for the build to happen? Typically I make a change in project A then immediately switch to project B to rebuild against A and re-test, it doesn't seem lorri would speed that up?
<catern> (again, lorri is super cool for the GC roots and direnv stuff, I am just trying to understand how "watch" could fit into my workflow)
<gchristensen> depends, for example, you might realize "ok, building feature Foo, need dep Fizz..." add Fizz, hack on feature Foo, and by the time you're done working on the feature,it'll be ready.
<gchristensen> if your cycle time is *edit one line of code* *try to build immediately* it won't speed things up, no
<simpson> gchristensen: If I'm not gonna use the watch feature, though, then it sounds entirely superfluous to how I'm currently operating. (To say nothing of the fact that the reason that I can't always work on a single branch is because not enough of my stuff's going upstream, which is largely unrelated to my local tool choices.)
<{^_^}> [nixpkgs] @Infinisil merged pull request #57626 → cgmanager: 0.41 -> 0.42 → https://git.io/fje8B
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjTgC
<gchristensen> it might be :)
<gchristensen> it definitely won't improve *every* possible workflow
<catern> gchristensen: could you elaborate on the cabal integration that lorri helps with? I'm just trying to understand the workflow that lorri was designed against inside Target :)
<MichaelRaskin> If I had a simpler setup, I would be interested in experimenting with lorri for managing user set of packages
andi- has joined #nixos
ajs124 has joined #nixos
nefix has quit [Ping timeout: 256 seconds]
<MichaelRaskin> But I split my package set in quite a few layers so that heavy stuff doesn't block light stuff
<gchristensen> nice
<MichaelRaskin> This split is actually a few years old (and visible in my configuration repo)
dannx has joined #nixos
dannx has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #57550 → nixos/mysql: specify option types, add tests → https://git.io/fhjbk
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fjTgV
buckley310 has left #nixos ["Leaving"]
rauno has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #58498 → Virtualenv/py version backport → https://git.io/fjTgK
<{^_^}> [nixpkgs] @mweinelt closed pull request #58498 → Virtualenv/py version backport → https://git.io/fjTgK
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2ec3dca6afe (from 36 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<edlin> anyone here get libvirt/kvm/qemu/virt-manager working?
<edlin> as I was debugging earlier, KVM seems to be operating right, but virt-manager isn't detecting my hypervisor.
ddellacosta has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
<pie_> what do I need to do to get the contents of my somethingPackages to show up in the website's package index?
rprije has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mweinelt opened pull request #58499 → [19.03] virtualenv: Update patch for 16.2.0 → https://git.io/fjTgd
rprije has joined #nixos
wolfman154 has joined #nixos
<infinisil> pie_: recurseIntoAttrs
Ariakenom has joined #nixos
<pie_> infinisil, for the websites package index or addign stuff to a derivation? the latter makes sense i gues
<pie_> oh im dumb. i guess i can just use // externally
<infinisil> No idea what you're talking about
<pie_> infinisil, ok me neither
<pie_> infinisil, what was yours a reply to
<infinisil> The thing you asked?
<pie_> then I dont follow
<pie_> infinisil, pls expand
<infinisil> By default nix-env and such don't recurse into attrs to find packages, but with recurseIntoAttrs you mark that attrset as one it should recurse into, so it can find packages within
<infinisil> See `pkgs/top-level/all-packages.nix` for examples of recurseIntoAttrs
<pie_> infinisil, derp i totally misread that as recursiveUpdate
infandum has quit [Ping timeout: 255 seconds]
Erasmus has quit [Read error: Connection reset by peer]
edlin has quit [Quit: Konversation terminated!]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dc3ed336df6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ElinKattunge has joined #nixos
ElinKattunge has quit [Remote host closed the connection]
ilmu has quit [Ping timeout: 244 seconds]
Jetien has quit [Ping timeout: 272 seconds]
<pie_> infinisil, i know its not what you meant but you gave me the inspiration on how to get my thing working :P
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
lassulus has quit [Ping timeout: 245 seconds]
lassulus_ has joined #nixos
lassulus_ is now known as lassulus
cswl has quit [Quit: Connection closed for inactivity]
irdr has quit [Remote host closed the connection]
irdr has joined #nixos
erictapen has quit [Ping timeout: 268 seconds]
waleee has quit [Quit: WeeChat 2.4]
freeman42x has joined #nixos
edlin has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #57682 → dtc: 1.4.7 -> 1.5.0 → https://git.io/fjeS9
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjT2V
edlin has quit [Remote host closed the connection]
pie_ has quit [Ping timeout: 245 seconds]
judson_ has joined #nixos
judson__ has quit [Read error: Connection reset by peer]
drakonis has quit [Quit: WeeChat 2.3]
drakonis1 is now known as drakonis
<{^_^}> [nixpkgs] @Infinisil merged pull request #57362 → libsForQt5.phonon-backend-vlc: 0.10.1 -> 0.10.2 → https://git.io/fhjqG
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjT29
dosaboy6 has joined #nixos
dosaboy6 has quit [Remote host closed the connection]
dejanr has joined #nixos
Erasmus has joined #nixos
wolfman154 has joined #nixos
edlin has joined #nixos
<wolfman154> Could someone explain to me the nixos installer options: nomodeset, copytoram, debug
<bgamari_> Are filesystems defined in fileSystems.<name?> supposed to block boot if they are unavailable?
<wolfman154> Thanks in advance
<bgamari_> wolfman154, nomodeset disables kernel (video) mode-setting
<bgamari_> wolfman154, where "mode" refers to the resolution and refresh rate of your monitor
<gchristensen> bgamari_: neededForBoot defaults to false, but that just ensures they're mounted super early. if you don't care if they mount, fileSystems.<name?>.options = [ "nofail" ] is a thing
<gchristensen> that you want
<bgamari_> gchristensen, great, thanks
<gchristensen> you're welcome!
pie_ has joined #nixos
<bgamari_> wolfman154, I'm not sure what copytoram does; I suspect it might copy the installation volume to a tmpfs or something along these lines
<bgamari_> so in principle you could remove the installation volume
<bgamari_> not sure though
<{^_^}> [nixpkgs] @jokogr opened pull request #58500 → vscode-extensions.vscodevim.vim: init at 1.2.0 → https://git.io/fjT2b
<gchristensen> bgamari_: systemd has nice conditions for handling failed-to-mount paths, like ConditionPathIsMountPoint (https://www.freedesktop.org/software/systemd/man/systemd.unit.html#)
<{^_^}> [nixpkgs] @Infinisil merged pull request #57356 → kompose: 1.9.0 -> 1.18.0 → https://git.io/fhjte
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjT2N
rauno has quit [Remote host closed the connection]
<bgamari_> wolfman154, debug enables debug output from the kernel IIRC
<wolfman154> Thanks guys, so if I use copytoram installer does that mean I can install nixos without my usb?
<bgamari_> gchristensen, I should take advantage of this
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/2ec3dca6afe (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<gchristensen> bgamari_: the list of available conditions is fun :)
<gchristensen> bgamari_: for example the condition for AC Power, to turn off things if you're on battery
<bgamari_> mm, I knew about that one
<bgamari_> I use this for my per-user fetch-mail job
<gchristensen> nice
<bgamari_> wolfman154, I was pretty much making up that interpretation of copytoram
<bgamari_> it could be quite wrong
<bgamari_> wolfman154, google seems to turn up plenty of evidence suggesting that I'm right, however
erictapen has joined #nixos
<slabity> wolfram154: You will still need to use the USB to boot, but once it boots it's unmounted
<slabity> So you can remove it/format it/whatever
<slabity> The installer is in memory until you shut down
<wolfman154> Well I was just checking, being able to install nixos without a usb would be convenient
<wolfman154> bgamari_++
<{^_^}> bgamari_'s karma got increased to 1
<wolfman154> slabity+
<wolfman154> slabity++
<{^_^}> slabity's karma got increased to 3
<bgamari_> gchristensen++
<{^_^}> gchristensen's karma got increased to 92
<gchristensen> d'aww
leotaku has quit [Quit: ZNC 1.7.1 - https://znc.in]
<wolfman154> gchristensen++
<{^_^}> gchristensen's karma got increased to 93
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
leotaku has joined #nixos
<bgamari_> gchristensen, so the bond interface issue I mentioned yesterday was indeed a race
<gchristensen> oooh did you learn something?
<bgamari_> gchristensen, it seems that the bond device was waiting for all filesystems to be mounted
<gchristensen> oh _interesting_
<bgamari_> one of which was an iSCSI device
<gchristensen> *facepalm*
<bgamari_> which was waiting for /dev/mapper/mpathc to appear
<bgamari_> s/race/deadlock
<ddellacosta> I just earned "basic" in the NixOS discourse and I'm feeling slightly insulted
<bgamari_> mpathc was never going to appear because iscsi the bond interface wasn't up
<bgamari_> adding nofail to the mount's options allows the boot to proceed
<bgamari_> although it still isn't mounted
<bgamari_> working out why now
zupo has joined #nixos
<gchristensen> systemd has a boot charte thing
<clever> gchristensen: systemd-analyze plot
pie_ has quit [Remote host closed the connection]
<gchristensen> yeah, that one!
pie_ has joined #nixos
<bgamari_> how would you trigger the iscsi units?
<bgamari_> ahh, remote-fs.target
sakalli__ has joined #nixos
<clever> bgamari_: last time i delt with iscsi, it was my rootfs, so the initrd handled that
<bgamari_> right, I'm not doing that
<bgamari_> thankfully
<bgamari_> this stuff is already hairy enough
<clever> but that predates the initrd even having network support
<bgamari_> the last thing I need is for the entire boot to be contingent on iscsi working :)
sakalli__ has quit [Client Quit]
hoijui has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #57346 → opaline: 0.3.1 -> 0.3.2 → https://git.io/fhjkh
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjTaT
<{^_^}> [nixpkgs] @copumpkin merged pull request #58461 → terraform-providers: bump versions → https://git.io/fjTI8
<{^_^}> [nixpkgs] @copumpkin pushed 2 commits to master: https://git.io/fjTaI
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/580f1e44ba7 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
goibhniu1 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Infinisil pushed commit from @r-ryantm to pr/57326 « minixml: 2.12 -> 3.0 »: https://git.io/fjTat
goibhniu1 has joined #nixos
<{^_^}> [nixpkgs] @Infinisil pushed 0 commits to pr/57326: https://git.io/fjTaY
reinhardt has quit [Quit: Leaving]
<pie_> i want to put a condition in my buildphase that will cause a build to abort, how do I abort a build?
chungo has joined #nixos
<pie_> just exit early or or something?
<clever> pie_: just `exit 1`
chungo has quit [Remote host closed the connection]
<pie_> clever, ok just checking \o/
<{^_^}> [nixpkgs] @Infinisil merged pull request #57351 → openvpn: 2.4.6 -> 2.4.7 → https://git.io/fhjIR
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjTas
goibhniu2 has joined #nixos
adamt has joined #nixos
adamt has joined #nixos
adamt has quit [Changing host]
goibhniu1 has quit [Ping timeout: 272 seconds]
<erictapen> Nix question: Is there any trick prohibit building stuff on my computer and only use the available builders?
<{^_^}> [nixpkgs] @Infinisil merged pull request #57322 → modsecurity_standalone: 2.9.2 -> 2.9.3 → https://git.io/fhjfY
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjTaC
michelp8 has joined #nixos
edlin has quit [Ping timeout: 245 seconds]
michelp8 has quit [Remote host closed the connection]
endformationage has joined #nixos
<simpson> erictapen: What kinds of builders do you have set up?
<d10n-work> After a derivation/package PR is merged, what is the usual delay before an updated binary is put on cache.nixos.org?
bodgix19 has joined #nixos
Zerqent0 has joined #nixos
e38383 has joined #nixos
e38383 has quit [Remote host closed the connection]
Zerqent0 has quit [Remote host closed the connection]
<simpson> d10n-work: https://howoldis.herokuapp.com/
<adisbladis> d10n-work: "It depends"
<adisbladis> !stuck
buckley310 has joined #nixos
muelleme has joined #nixos
<d10n-work> neat, thanks simpson adisbladis
muelleme has quit [Remote host closed the connection]
<ryantm> Does it need to be in a channel to be on cache.nixos.org?
edlin has joined #nixos
<MichaelRaskin> No
<ryantm> So is the answer to d10n-work 's question "Right after Hydra builds it"?
<MichaelRaskin> But channel delay is indeed indicative of rebuild delay
dckc has joined #nixos
<MichaelRaskin> Technically yes
adetokunbo has joined #nixos
bodgix19 has quit [Ping timeout: 244 seconds]
<erictapen> simpson: the builders option looks like this: 'ssh://root@10.137.12.1 - - 4 2'
<simpson> d10n-work: If your actual question is "when can I tell my boss to expect an updated package?" then the answer is "your boss should consider compensating somebody for running a Hydra"
<erictapen> simpson: the build does get distributed to the remote builder, but I want my laptop to only send and receive jobs, not to build anything
<dckc> I'm getting: error: packages '...mercurial-4.9/lib/...' and '...tortoisehg-4.8.2/lib/...' have the same priority 5; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME'. What do I use for PKGNAME? "selector 'mercurial-4.9' matches no derivations" and likewise for "mercurial"
<simpson> erictapen: I haven't done much of this. Have you read the manual? https://nixos.org/nix/manual/#chap-distributed-builds
<simpson> Ultimately you likely can't avoid having your laptop build *some* stuff that it itself will need.
<edlin> when trying to start up an existing VM using the creation wizard process, virt-man says it can't create the QEMU log directory. Does virt-manager not work in nix?
edlin has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #57326 → minixml: 2.12 -> 3.0 → https://git.io/fhjJf
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjTaz
<{^_^}> [nixpkgs] @Infinisil merged pull request #57372 → poppler_utils: 0.73.0 -> 0.74.0 → https://git.io/fhjYn
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to staging: https://git.io/fjTag
<erictapen> simpson: yep I read the manual. I guess it doesn't make sense to not build derivations with preferLocalBuild = true, but why shouldn't it be possible? From my understanding, the charm of Nix is that the build host doesn't influences the build product
<{^_^}> [nix] @grahamc opened pull request #2749 → docs: document balancing cores and max-jobs → https://git.io/fjTaw
<simpson> erictapen: I guess. From my POV, Nix is like Portage: builds are meant to be done locally and the cacheability of packages is a nice-to-have.
<{^_^}> [nixpkgs] @flokli merged pull request #58284 → nixos/gitlab: Package gitlab-rails → https://git.io/fjULr
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjTar
Fare has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #58397 → ngircd: 24 -> 25 → https://git.io/fjUwk
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjTai
<{^_^}> [nixpkgs] @d10n opened pull request #58502 → postman: 6.7.3 -> 7.0.6 → https://git.io/fjTaX
<{^_^}> [nixpkgs] @geistesk opened pull request #58503 → stellarium: 0.18.3 -> 0.19.0 → https://git.io/fjTaS
<{^_^}> [nixpkgs] @peti pushed commit from @dotlambda to release-19.03 « dovecot: 2.3.4.1 -> 2.3.5.1 »: https://git.io/fjTaQ
<{^_^}> [nixpkgs] @peti merged pull request #58485 → [18.09] dovecot: add patch for CVE-2019-7524 → https://git.io/fjTR8
<{^_^}> [nixpkgs] @peti pushed 2 commits to release-18.09: https://git.io/fjTa7
zupo_ has joined #nixos
<genesis> simpson : i still miss eix from my gentoo migration to nixos ;)
<simpson> genesis: I usually use grep on my local nixpkgs checkout.
<genesis> yeap me too but not same :')
<genesis> eix is really a great tool, a day we have such.
<genesis> btw gentoo is a dead cow.
<genesis> i used it for 18 years !
<genesis> (so i could speak about)
xxpor has joined #nixos
xxpor has quit [Remote host closed the connection]
<adamt> Yeah, it seems like not-so-much have been happening the last few years. Too bad, I got fond memories of the fast penguin.
zupo has quit [Ping timeout: 245 seconds]
<genesis> they did worse and worse
<gchristensen> what determines the size of /run/user/UID? /run is controlled by boot.runSize (25% -- this matches what I'm expected) and /run/user/UID is 50% of that
<catern> I vaguely remember that being a systemd thing
agander has quit [Ping timeout: 246 seconds]
<catern> gchristensen: RuntimeDirectorySize?
baba__ has joined #nixos
baba__ has quit [Remote host closed the connection]
<catern> Uh, that is thoroughly ungoogleable
<catern> gchristensen: RuntimeDirectorySize, see logind.conf(5)
<gchristensen> thank you!
<vaibhavsagar> how hard would it be to build GCC 2.95 in nixpkgs?
<gchristensen> oh dear
<catern> gchristensen: you may also need to know that it's created by pam_systemd
<MichaelRaskin> I don't remember wjat is the step for building old gcc, but I think you would need an indermediate gcc to build 2.95
<buffet> hey, to the people using emacs: is there any neat way to get nix-shell to play together with eshell?
<vaibhavsagar> MichaelRaskin: can I use a newer GCC to build an old one?
<MichaelRaskin> I think you can for small differences in version, but not for large ones
jabranham has joined #nixos
<vaibhavsagar> wondering if it would be easier to get a VM of Ubuntu 8.04 or something like that
<vaibhavsagar> I'm trying to build nhc98 and having no luck so far
<matthewbauer> what version does it need?
<vaibhavsagar> no idea, I tried with gcc48 (the oldest available in nixpkgs right now) and it didn't work
<MichaelRaskin> Did you try forcing older standard?
<vaibhavsagar> I have a good feeling about 2.95 though, that's apparently what the debian build used
wfranzini has joined #nixos
* AlexRice[m] uploaded an image: nixpkgs-example.png (154KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/ZTGvnQylNeKFQrRFFxIrbnaC >
<AlexRice[m]> would anyone be able to explain what is happening here?
<AlexRice[m]> I'm a bit confused about how nix names packages
<adamt> AlexRice[m]: always use nix-env -iA instead of just -i, and try running nix-env -iA nixos.sgtpuzzles instead
<AlexRice[m]> had already managed to install the package, was more wondering about why there seems to be an inconsistency
<adamt> I'm not sure why the first one even works, but if you use nix-env -iA nixos.foo then it's consistent
<AlexRice[m]> fair enough
<AlexRice[m]> thank you
<kyren> buffet: I haven't tried it yet, but does emacs-direnv help here? I actually have the exact same issue
<MichaelRaskin> well, -e still uses the names like -i without -A
<adamt> If you find a pkg on https://nixos.org/nixos/packages.html you should always be able to install using the attribute name like that
marangoni has joined #nixos
marangoni has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #58472 → emacs: only use patchelf on linux → https://git.io/fjTGn
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjTVz
<AlexRice[m]> and configuration.nix uses the name defined in pkgs/top-level/all-packages.nix ?
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{dev,canary}: 3.5.0.7 -> 3.5.0.8 »: https://git.io/fjTVg
<adamt> Yeah, since that's also the attribute names
<{^_^}> [nixpkgs] @veprbl merged pull request #58500 → vscode-extensions.vscodevim.vim: init at 1.2.0 → https://git.io/fjT2b
<{^_^}> [nixpkgs] @veprbl pushed commit from @jokogr to master « vscode-extensions.vscodevim.vim: init at 1.2.0 (#58500) »: https://git.io/fjTVr
<AlexRice[m]> my only thought was that without specifying the -A flag, nix-env searches for the pname field in the derivation, which might be correctly set by default in the first, but not in the second because of the hyphen in the package name
the-kenny has quit [Quit: WeeChat 2.4]
the-kenny has joined #nixos
<AlexRice[m]> though I don't have enough nix knowhow to check if that is what is happening
goibhniu2 has quit [Ping timeout: 255 seconds]
ddellacosta has quit [Ping timeout: 245 seconds]
<catern> buffet: kyren: eshell should just automatically work fine if you use emacs-direnv, I believe
linarcx has quit [Quit: WeeChat 2.4]
goibhniu1 has joined #nixos
<ryantm> AlexRice[m]: Does it work if you do `nix-env -i sgt-puzzles` ?
wraithm1 has joined #nixos
<{^_^}> [nixpkgs] @symphorien opened pull request #58504 → Static proot, wafHook cross compilation → https://git.io/fjTVQ
<AlexRice[m]> no
<catern> btw, if you want a really good emacs integration, you should figure out how to have a project-specific exec-path, using project.el
<AlexRice[m]> you need to put in nix-env -i sgt-puzzles-r20180429.31384ca
wraithm1 has quit [Remote host closed the connection]
civodul has joined #nixos
<kyren> catern: oh that's good to know, I usually use emacs in a terminal so it hasn't been a big deal for me so I haven't tried it, but it's good to know in case I need to update shell.nix often and don't want to restart emacs
goibhniu1 has quit [Ping timeout: 250 seconds]
MichaelRaskin has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/26c8ce0bf8f (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
the-kenny has quit [Quit: WeeChat 2.4]
domogled has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #56453 → Update jetbrains editors → https://git.io/fhNEB
<{^_^}> [nixpkgs] @flokli pushed 13 commits to master: https://git.io/fjTVj
the-kenny has joined #nixos
the-kenny has quit [Client Quit]
the-kenny has joined #nixos
proller21 has joined #nixos
proller21 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli pushed 12 commits to release-19.03: https://git.io/fjTwU
<{^_^}> [nixpkgs] @flokli closed pull request #58478 → Update Jetbrains IDEs → https://git.io/fjTCP
edlin has joined #nixos
<{^_^}> [nixpkgs] @flokli closed pull request #58392 → Update JetBrains IDEs → https://git.io/fjUVn
desuwa9 has joined #nixos
desuwa9 has quit [Remote host closed the connection]
frit0ss has joined #nixos
hoijui has quit [Remote host closed the connection]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
frit0ss has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @symphorien opened pull request #58505 → cairo: fix cross → https://git.io/fjTwm
Erasmus is now known as Rasmussen
Rasmussen is now known as Erasmus
vk3wtf has quit [Ping timeout: 250 seconds]
ggherdov4 has joined #nixos
ggherdov4 has quit [Remote host closed the connection]
silver_ has joined #nixos
<adamt> I noticed several maven projects in nixpkgs using a script to fetch all dependencies. One of them is the chronos pkg. Does anybody know which script generated the list of urls to fetch?
<adamt> (it's not mvn2nix)
silver has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9b6c9c51286 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
edlin has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Infinisil merged pull request #58196 → syslinux: change serial bit rate to 115200 → https://git.io/fjJiI
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjTw2
<{^_^}> [nixpkgs] @nyanloutre opened pull request #58506 → Update wine{unstable,staging,mono,winetricks} → https://git.io/fjTwV
Guanin has joined #nixos
<{^_^}> [nixpkgs] @samueldr pushed commit from @tomfitzhenry to release-19.03 « syslinux: change serial bit rate to 115200 »: https://git.io/fjTwr
<{^_^}> [nixpkgs] @flokli merged pull request #58333 → matomo: 3.8.1 -> 3.9.0 → https://git.io/fjUZL
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/fjTwK
Shawn|i3-350M has joined #nixos
Shawn|i3-350M has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli pushed 3 commits to release-19.03: https://git.io/fjTw6
dejanr has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @flokli pushed 5 commits to release-18.09: https://git.io/fjTwX
orivej has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @symphorien closed pull request #58505 → cairo: fix cross → https://git.io/fjTwm
Ariakenom has quit [Quit: Leaving]
knupfer has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #58438 → microcodeIntel: 20180807a -> 20190312 (from intel github) → https://git.io/fjU56
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjTwy
<symphorien> what is the trick to switch a PR from master to staging without notifying everyone ?
<{^_^}> [nixpkgs] @flokli pushed commit from @dtzWill to release-19.03 « microcodeIntel: 20180807a -> 20190312 (from intel github) »: https://git.io/fjTw9
<symphorien> I tried closing the PR, rebasing locally, force pushing, but I cannot reopen the PR now :/
<{^_^}> [patchelf] @edolstra pushed 2 commits to master: https://git.io/fjTwA
zupo has joined #nixos
valkyr3e14 has joined #nixos
valkyr3e14 has quit [Remote host closed the connection]
erictapen has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to master « sublime3-dev: 3184 → 3203 »: https://git.io/fjTwx
spacekookie has quit [Quit: **more agressive swooshing**]
<gchristensen> symphorien: there is no trick :(
spacekookie has joined #nixos
<symphorien> let's reopen a new one then...
Guanin has quit [Quit: Leaving]
Guanin_ has joined #nixos
<{^_^}> [nixpkgs] @symphorien opened pull request #58507 → cairo: fix cross → https://git.io/fjTre
<{^_^}> [nixpkgs] @nlewo merged pull request #58476 → skaffold: 0.25.0 -> 0.26.0 → https://git.io/fjTnZ
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fjTrt
<infinisil> symphorien: What I've been doing and that seems to have worked is to switch the base branch on github at the same time as you force push
<infinisil> Like, the exact same second, more or less
<infinisil> Maybe even start the force push before you switch it on github, because that command will take some time
<gchristensen> huh
<gchristensen> race against github
<worldofpeace> lol I've done the same thing
<symphorien> it seems to work "reliably" then
<worldofpeace> you could just rebase onto some old commit that staging and master both have (i think)
misc14 has joined #nixos
misc14 has quit [Remote host closed the connection]
vk3wtf has joined #nixos
mmlb9774508 has joined #nixos
OmnipotentEntity has joined #nixos
<OmnipotentEntity> May I get a sanity check on a shell.nix file I wrote?
mmlb977450 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #58314 → ghostscript: add patch for CVE-2019-6116 → https://git.io/fjU3j
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjTrZ
<OmnipotentEntity> My thoughts are that triggering cmake from within shell.nix is pretty jank, but I can't find a good way to hook into cmake better, because some of the paths don't seem to have support for environment variables.
<OmnipotentEntity> it *works* I'm just worried that it's bad style.
<{^_^}> [nixpkgs] @grahamc pushed to master « Revert "sublime3-dev: 3184 → 3203" »: https://git.io/fjTrc
<infinisil> omnipotententity: No need to add .dev to buildInputs, it automatically selects the dev output if available
<infinisil> omnipotententity: No need to export env vars in shellHook, you can set env vars as mkDerivation attributes directly
<{^_^}> [nixos-homepage] @edolstra pushed to master « PatchELF 0.10 »: https://git.io/fjTrW
<{^_^}> [nixpkgs] @flokli merged pull request #58356 → [19.03] ghostscript: add patch for CVE-2019-6116 → https://git.io/fjUlL
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-19.03: https://git.io/fjTrl
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<OmnipotentEntity> infinisil, thanks
<infinisil> omnipotententity: And usually you'd add `cmake` to nativeBuildInputs, which will automatically write a correct `configurePhase` for you to execute
<OmnipotentEntity> do you have documentation or an example of how to do that?
<infinisil> Just add cmake to nativeBuildInputs :)
<OmnipotentEntity> Should I be using the `cmakeFlags` variable?
<{^_^}> [nixpkgs] @geistesk opened pull request #58508 → openrct2: 0.2.1 -> 0.2.2 → https://git.io/fjTrR
<infinisil> omnipotententity: That would be nice too yeah
<{^_^}> [nixpkgs] @flokli merged pull request #58355 → [18.09] ghostscript: add patch for CVE-2019-6116 → https://git.io/fjUlT
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-18.09: https://git.io/fjTr0
<{^_^}> [patchelf] @edolstra pushed 0 commits to refs/tags/0.10: https://git.io/fjTrE
<infinisil> omnipotententity: The best thing to do would be to make it actually build the derivation successfully with a nix-build
<OmnipotentEntity> ok, consider me to be an idiot who has never done that before and only has had nix installed for about a month >_>, how do I do that?
<OmnipotentEntity> Hypothetically of course
erasmas has quit [Quit: leaving]
vk3wtf has quit [Ping timeout: 258 seconds]
<gchristensen> not having done it before doesn't make you an idiot :)
<OmnipotentEntity> of course not, me being an idiot makes me an idiot. They're independent variables :)
<{^_^}> [nixpkgs] @flokli merged pull request #58339 → ms-sys: 2.5.3 -> 2.6.0 → https://git.io/fjUnm
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjTrz
mmlb9774508 has quit [Ping timeout: 250 seconds]
jtojnar has joined #nixos
<OmnipotentEntity> so to set an environment variable directly in the mkDerivation you can just... assign it? Like: FOO = "bar";
<gchristensen> yep
<{^_^}> [nixpkgs] @jtojnar pushed to master « sublime3-dev: 3184 → 3203 »: https://git.io/fjTrV
<OmnipotentEntity> holy crap it worked
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/29069cd2913 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<OmnipotentEntity> Is there a place to specify packages that are not used to build but are required to use the program? For instance, I need python3 and such to use certain features in this repo, but they are not required to compile it.
<OmnipotentEntity> or can I just shove them in buildInputs without making people cringe?
<symphorien> the best way is to patch the program to use /nix/store/fooo/bin/python instead of python
<symphorien> this way, nix will detect the dependecy
<OmnipotentEntity> Not my repo, and need to maintain compatibility
<AlexRice[m]> wouldn't this break if python got updated?
<OmnipotentEntity> The program doesn't use python, only the training pipeline does
<AlexRice[m]> or I suppose the package would update when python does
<OmnipotentEntity> a hard path to a random /nix/store folder seems brittle yeah
sanscoeur has joined #nixos
sanscoeur has quit [Remote host closed the connection]
<ryantm> You don't patch it as a hard path, you patch it as something like ${pkgs.python}/bin/python
<AlexRice[m]> think you can put ${python} instead of a hard path
c0deweaver_ has joined #nixos
mmlb9774508 has joined #nixos
c0deweaver_ has quit [Remote host closed the connection]
<symphorien> when you update, you rebuild with nix, so the path is "updated" as well
<OmnipotentEntity> I'm sorry, I'm confused, is the fact that it's in "mesonFlags" important?
<symphorien> not really
vk3wtf has joined #nixos
<symphorien> it depends on the build system
<symphorien> sometimes, the build system gives options to tell where runtime deps are to be found
<symphorien> sometimes they do not and you have to patch
<OmnipotentEntity> Here's what I currently have: https://pastebin.com/GJzum2bd
<OmnipotentEntity> And I just want to make sure that the user has python3 and tensorflow libraries installed when entering the directory. I know I can force them to be installed by putting them in buildInputs, but I'm not sure if that's the "correct" way.
GoMaD_ has joined #nixos
<OmnipotentEntity> Because they're not actually used in the build.
<symphorien> when using nix-shell ?
GoMaD_ has quit [Remote host closed the connection]
<OmnipotentEntity> yes
<symphorien> for a dev environment, yes, buildInputs is fine
<{^_^}> [nixpkgs] @flokli pushed commit from @bgamari to release-19.03 « nixos/gitlab: Package gitlab-rails »: https://git.io/fjTry
Guanin_ has quit [Quit: Leaving]
<OmnipotentEntity> ok awesome.
<OmnipotentEntity> thanks for your help symphorien. And you too, AlexRice[m] gchristensen and infinisil
<gchristensen> =)
<symphorien> what I said above mostly applies to "properly packaged" build products
<symphorien> :)
Anton-Latukha has quit [Quit: Leaving.]
<AlexRice[m]> Bit of a random question and I'm not sure if it is related to nixos but does anyone have any idea why my trackpad scrolling sometimes breaks after a suspend?
<{^_^}> [nixpkgs] @symphorien opened pull request #58509 → nixos: make hardware.enableAllFirmware enable *all* firmware → https://git.io/fjTrh
Xal has quit [Ping timeout: 246 seconds]
Xal has joined #nixos
kvda has joined #nixos
<OmnipotentEntity> no idea AlexRice[m] I would assume that it's common Linux suspend weirdness. Nothing specific to NixOS I wouldn't imagine. Maybe check the usual places? ArchWiki and so on?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
o1lo01ol1o has quit [Read error: Connection reset by peer]
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
<azazel> gchristensen: looking at lorry, bu if it installs the dependencies in background, how can I know when it finished the process?
illegalprime has quit [Remote host closed the connection]
<Dagger> net.ipv6.conf.eth0.accept_ra = 0 <-- well isn't that nice. I do a `nixos-rebuild` and something, somewhere disables IPv6 autoconf, so I lose access to the boxy
<Dagger> y
<Dagger> ...
<Dagger> well, it was a valid question that I was going to ask at some stage, but qemu grabbed my keyboard while I was trying to save a file in nano so please ignore the random 'y's
<Dagger> is there any way of hunting down what's setting that sysctl? I do have networking.useDHCP=false but a) RAs aren't DHCP, b) that option actually disables dhcpcd which should mean one *fewer* thing screwing with the network config
erictapen has joined #nixos
justanotheruser has quit [Quit: WeeChat 2.2]
justanotheruser has joined #nixos
adetokunbo has quit [Quit: This computer has gone to sleep]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ed8b959e17b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
adetokunbo has joined #nixos
adetokunbo has quit [Client Quit]
adetokunbo has joined #nixos
adetokunbo has quit [Client Quit]
adetokunbo has joined #nixos
Mr_Keyser_Soze has joined #nixos
adetokunbo has quit [Client Quit]
adetokunbo has joined #nixos
adetokunbo has quit [Client Quit]
adetokunbo has joined #nixos
adetokunbo has quit [Client Quit]
erictapen has quit [Ping timeout: 246 seconds]
Cale has quit [Ping timeout: 252 seconds]
BuxiNess5 has joined #nixos
BuxiNess5 has quit [Remote host closed the connection]
m0rphism has quit [Ping timeout: 245 seconds]
shibumi3 has joined #nixos
shibumi3 has quit [Remote host closed the connection]
blackriversoftwa has joined #nixos
<blackriversoftwa> hi all. What derivation provides the `service` command?
<blackriversoftwa> Searching for derivations by files they contain is something I've done before but I can't recall what utility I used
<clever> ,locate bin service
<{^_^}> Found in packages: service-wrapper
kleisli has joined #nixos
<gchristensen> azazel: your environmentwill update
<gchristensen> (visibly)
<blackriversoftwa> clever: ooh that's handy
Mr_Keyser_Soze has quit [Ping timeout: 255 seconds]
Paparaciz21 has joined #nixos
Paparaciz21 has quit [Remote host closed the connection]
Cale has joined #nixos
pie_ has quit [Ping timeout: 244 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dotlambda opened pull request #58511 → dovecot_pigeonhole: 0.5.4 -> 0.5.5 → https://git.io/fjToV
civodul has quit [Ping timeout: 240 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
rcshm has quit [Remote host closed the connection]
<kleisli> hey all, i'm setting up a development environment with a shell.nix, and i'd like to include a package that's only in the unstable channel
slack1256 has joined #nixos
<kleisli> i'm running nixos, so root is subscribed to the nixos stable channel, and i've subscribed my user to nixpkgs unstable
rcshm has joined #nixos
freeman42x has quit [Ping timeout: 258 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]