<parsnip>
just taking more random guesses, i'm new here, but maybe verify all the versions available at the web pages
<parsnip>
looks like haskellPackages repo is falling behind nixPkgs or w/e
<flexw>
I have already tried it with ghc843 but then it fails in the test phase
shibboleth has quit [Quit: shibboleth]
<parsnip>
do you remember what the test failure was?
<parsnip>
hmm, i see some people disabling testing when using haskell + nix
<parsnip>
oh, because unit test consumed too much memory
<DigitalKiwi>
are you using it with emacs?
<flexw>
Yes, it just said that the test suite failed. I could not spot an actual error. How can I disable the tests?
<flexw>
Yes I want to use it with emacs
sigmundv__ has joined #nixos
<DigitalKiwi>
(if yes, and it's not a solution to your original problem, but if you can't get it to work with using a different nix-channel (there's a guide somewhere i'll find a link) or something else; dante is a good alternative to intero (and doesn't require stack which is a huge win for dante!))
<{^_^}>
attribute 'broken' missing, at (string):243:1
<infinisil>
Oh right, I should update stable to point to 19.03
<infinisil>
But yeah, it's marked as broken on 19.03
stepcut has quit []
<DigitalKiwi>
I updated it to show the nix-channel --list
<flexw>
DigitalKiwi: Thank you but I tried it in the past with other channels and had no luck.
drakonis has quit [Ping timeout: 240 seconds]
alex``6 has quit [Ping timeout: 252 seconds]
<infinisil>
flexw: I'll check out the error on 19.03, it might be easily fixable
drakonis has joined #nixos
<flexw>
infinisil: thank you, that would be very nice
<{^_^}>
[nixpkgs] @c00w closed pull request #48604 → kernel: Turn on TCP_CONG_ADVANCED which allows TCP BBR to be a module. → https://git.io/fxgaX
<DigitalKiwi>
(I also have a thing in my configuration.nix that makes nixos-rebuild --upgrade do nix-channel --update because I forget you have to do it that way)
Rusty1 has quit [Quit: Konversation terminated!]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneid3306 has quit [Quit: ZZZzzz…]
thc202 has quit [Ping timeout: 268 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
<wolfman154>
19:18 wolfman154: I switched to a new keyboard layout in nixos, after I finally got it working I noticed my workspaces do not work because I switched the symbols row with the numbers row, I think I found the solution online but I don’t understand it that well, here’s the two links to my key map and the solution I found online:
<_Geeko_>
i just don't know if the beta nvidia driver is better than the 415
<mnoronha_>
_Geeko_: should I have a fairly easy time getting specific versions of drivers? one of the annoying things on ubuntu was apt-get just deciding it needed up upgrade things that ended up incompatible
<_Geeko_>
hardware.pulseaudio.support32Bit = true; this one if you want audio as well in steam
<infinisil>
wolfman154: If you're having trouble understanding how to configure xmonad then xmonad is probably not the window manager you should be using..
buffet_ has joined #nixos
<_Geeko_>
anyone here using TLP ?
<mnoronha_>
_Geeko_: okay I'm going to avoid getting too prematurely excited, but I feel so vindicated after jumping through hoop after hoop in ubuntu config
<infinisil>
wolfman154: There's many WMs with much easier configuration, xmonad has arguable the hardest configuration, as it's written in Haskell
<_Geeko_>
mnoronha_ never liked ubuntu lol
<_Geeko_>
came from arch
buffet has quit [Ping timeout: 245 seconds]
<infinisil>
wolfman154: And configuring xmonad for a different keyboard layout is something you should be asking in #xmonad, NixOS doesn't have anything to do with that (other than the fact that you're using xmonad on NixOS, but that's irrelevant)
<mabel>
ohhh. gchristensen, I'm trying to set up permissions for a Docker container so that I can create a directory structure without requiring elevation to build
wolfman154 has joined #nixos
<mabel>
previously I'd been doing this via mkdir -m 777 -p /data in my extraCommands
<mabel>
well, ./data
<mabel>
so instead I thought I'd be clever, set up the directory structure in its own derivation, then cp -r it in the extraCommands
<mabel>
so now I'm not sure what magic buildImage/buildLayeredImage use
<mabel>
oh, it's because it tars it before the builder exits
<gchristensen>
no magic, all those permissions are contained within a tarball or something
<mabel>
hm... actually, if I have a derivation foo, and another "runCommand" derivation that includes ${foo} in its literal, I can assume foo is built before that derivation runs...
<mabel>
so if I include an environment activation thing somehow....
jeff__ has quit [Ping timeout: 256 seconds]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
rjmill has quit [Read error: Connection reset by peer]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rardiol1 has left #nixos [#nixos]
LeshaInc1 has quit [Ping timeout: 240 seconds]
rjmill has joined #nixos
pxc has joined #nixos
tdbgamer has quit [Quit: No Ping reply in 180 seconds.]
LeshaInc has joined #nixos
tdbgamer has joined #nixos
hlolli__ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<ee1943>
I've got a program I'm writing a derivation for that uses the meson build system. I have everything compiling and building, but at the end I get the "builder failed to produce output path" error
<Edes>
hello, I just updated to 19.03 and my i3 broke
<Edes>
I don't know if anyone has talked about this
o1lo01ol1o has joined #nixos
<Edes>
it's loading the default configuration
Edes has quit [Client Quit]
Edes has joined #nixos
<Edes>
ok I fixed it
<Edes>
apparently the configuration was moved from .i3/config to .config/i3/config
o1lo01ol1o has quit [Ping timeout: 250 seconds]
Edes has quit [Client Quit]
Erasmus has joined #nixos
lovesegfault has joined #nixos
<mabel>
I'm still lost... is there any way I can add buildInputs to the "extraCommands" argument of dockerTools.buildImage?
<gyroninja>
the first seemed to be fixed by setting my NIX_PATH, but I'm still getting this error "error: unable to start build process" when I try to install a package
<gyroninja>
I'm trying to use nix on my gentoo machine and am running into a couple problems
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjqdf
<mabel>
augh, this is frustrating... okay mabel, think through this: you know that when a package is referenced in a string it should be accessible, right?
<mabel>
you can use nix-prefetch-git (nix-shell -p nix-prefetch-git if you don't have it in your environment already) to get the sha256 and rev
<thePirateKing>
got it! Thank you very much
mnoronha_ has quit [Ping timeout: 256 seconds]
<lovesegfault>
How do I write a Nix shell for go dev where `go get` works?
<lovesegfault>
If I do it naively I get an error that GOPATH is a RO FS
Rusty1 has quit [Quit: Konversation terminated!]
anton_ has joined #nixos
_deepfire has quit [Remote host closed the connection]
nD5Xjz has quit [Ping timeout: 252 seconds]
nD5Xjz has joined #nixos
tippenein has joined #nixos
tippenein has left #nixos [#nixos]
gagbo has quit [Quit: I'm out !]
worldofpeace has joined #nixos
<mabel>
lovesegfault: I'd grep around and see what places in nixpkgs set GOPATH
jluttine has joined #nixos
<mabel>
oh shit, it actually works the way I need
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @dtzWill to release-19.03 « sddm: 0.18.0 -> 0.18.1 »: https://git.io/fjqdW
<mabel>
OK, for anyone else who is hung up on a similar issue, let's consider the case where you need to run some special things inside extraCommands for dockerTools.buildLayeredImage
<mabel>
fire up nix repl, run :b (runCommand "say-hello" { } ''mkdir -p $out; echo `${jq}/bin/jq --help` > $out/result.txt''
<mabel>
it succeeds. the reason it succeeds is: 1. you've resolved jq by the time runCommand gets called, 2. you don't need any of the path magic that happens with buildInputs in stdenv.mkDerivation because you're statically providing the full path, 3. sandboxing doesn't disallow you access since it's inside the closure (I think??)
<mabel>
this means you can use whatever tools you want in the funky extraCommands lambda doohickey
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @eadwu to release-19.03 « vscode: 1.33.0 -> 1.33.1 »: https://git.io/fjqd4
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
palo1 has joined #nixos
<thePirateKing>
mabel, thank you so much! Had to figure out some more things like buildInputs but I got it!!!
<mabel>
woo! :D
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
fuzzy_id has joined #nixos
fuzzy_id has quit [Ping timeout: 240 seconds]
ninjin has quit [Ping timeout: 256 seconds]
day|flip has quit [Quit: leaving]
nD5Xjz has quit [Ping timeout: 255 seconds]
fuzzy-id has joined #nixos
nD5Xjz has joined #nixos
endformationage has quit [Quit: WeeChat 2.4]
<fuzzy-id>
updated to nixos 19.03 and noticed that lots of haskell packages are marked broken. is there any policy on how to unmark them again?
<fuzzy-id>
cql-io, for example, compile just fine. my guess is that it is marked broken because tests fail. which is kind of ok, as the tests need a running cassandra database.
kvda has joined #nixos
day|flip has joined #nixos
<day|flip>
trying to update 19.03. but getting this build error with nvidia i think
<enteee>
Wow, I just had a massive lessons learned: I was using the Intel driver for my internal graphics card and the displaylink driver for my monitors conected via usb-c dockingstation. But I always faced the issue that the external monitors would not work properly (stripes and no refresh). Removing the intel driver from my services.xserver.videoDrivers and switching back to modesetting solved the issue! Yayy :)
MinceR_ is now known as MinceR
<makefu>
Aleksejs: at which point you get the error? on 18.09 the library builds successfully for me.
hlolli__ has quit [Remote host closed the connection]
hlolli__ has joined #nixos
worldofpeace has quit [Remote host closed the connection]
<etu>
day|flip: You seem to try to run on kernel 5.0, not sure nvidia supports that. Try: "boot.kernelPackages = pkgs.linuxPackages_4_19;" (which is the LTS from kernel upstream)
<etu>
day|flip: Or just don't set the kernel package at all and it should default to 4.19
<Aleksejs>
makefu: after I successfully created derivation with python-package-init I call nix-build with that file and at the very end I'm getting that error
<makefu>
Aleksejs: can you run `nix-shell -p nix-info --run nix-info` ?
<Aleksejs>
makefu: give me 5 minutes
<day|flip>
etu: just change from boot.kernelPackages = pkgs.linuxPackages_latest; to boot.kernelPackages = pkgs.linuxPackages_4_19;. just notice this https://github.com/NixOS/nixpkgs/issues/57062 seem to be some kind of issue with 5.0
<{^_^}>
#57062 (by SchrodingerZhu, 5 weeks ago, open): nvidia building failure for linux 5
Ariakenom has quit [Quit: Leaving]
<day|flip>
so everything build find now
<etu>
day|flip: Yeah, since it's an out of tree binary blob, it may become incompatible with kernel upgrades and since there's no source, only nvidia can fix it...
<day|flip>
so the kernel is too new for nvidia driver?
<etu>
yeah
<day|flip>
that rare
Glider_IRC_ has quit [Read error: Connection reset by peer]
<sphalerite>
day|flip: I've experienced it quite often, I wouldn't say it's rare
<sphalerite>
it's become rarer since I stopped using nvidia though :D
<day|flip>
im waitting for navi card to come out. so i can say the same
<sphalerite>
navi card?
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lovesegfault>
Now I want to start a shell with `hie.hie` (I named the channel hie)
wfranzini has joined #nixos
<lovesegfault>
I can `nix-env -Ai hie.hie`, but I don't know how to get the pkg in a nix-shell
<mabel>
oh, then you probably want nix-shell '<hie-nix>' -p hie
<sphalerite>
lovesegfault: if you're not tied to nix-shell, `nix run hie.hie` should be easiest
domogled has joined #nixos
<lovesegfault>
sphalerite: That says the attribute hie doesn't exist
<sphalerite>
mabel: unfortunately that's not how nix-shell works, it's a lot more hacky :p
<lovesegfault>
mabel: Trying
vidbina has joined #nixos
<sphalerite>
lovesegfault: what does nix-channel --list say? Did you run nix-channel --update?
<mabel>
ahh, bummer
nD5Xjz_ has joined #nixos
<mabel>
hrm... I'm having some trouble escaping ${#cmds[@]} in a string
nD5Xjz has quit [Ping timeout: 252 seconds]
<sphalerite>
mabel: nix-shell -p constructs a derivation with the expressions passed to it as (native?)buildInputs, and the expressions are prefixed with `with import <nixpkgs> {}` iirc
<srhb>
mabel: ''${ ?
<sphalerite>
,escape'' mabel
<{^_^}>
mabel: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<mabel>
ohhh
<mabel>
sphalerite: whoa hack city
<sphalerite>
mabel: indeed. And nix-shell without -p works completely differently.
<mabel>
hm, but if you do nix-shell '<some-channel>' -p foo, does it do with import <some-channel>'; ?
<mabel>
one would expect so...
<sphalerite>
to make the hackery even more fun, nix-shell and nix-build are secretly the same program. Naturally, `nix-build -p hello` won't complain about a nonexistent option, but will also never succeed at building the derivation since it's a non-buildable derivation
<sphalerite>
mabel: nope! :D
<mabel>
whoaaaa
<mabel>
why's it set up like that?
<lovesegfault>
sphalerite: I am trying to paste a log link here
<sphalerite>
double-quoted strings have different rules than doubly-single-quoted strings
Ariakenom has joined #nixos
<mabel>
which is itself inside a larger expression quoted with ''s
<sphalerite>
ooh fun
<mabel>
it would probably take a team of archaeologists a year to piece together what levels of quotes and escaping do what
<sphalerite>
you can also use antiquotation with a ${}
<sphalerite>
> '' some long text ${"'\${hello}"} some more long text ''
<{^_^}>
"some long text '${hello} some more long text "
<mabel>
tar: tar: tar: tar: Removing leading `/' from member namesRemoving leading `/' from member namestar: Removing leading `/' from member namesRemoving leading `/' from member names oh god is this real life
<sphalerite>
hahahahahaha
<makefu>
for escaping there is also ${"'"}
<makefu>
> {"'"}
<{^_^}>
error: syntax error, unexpected '}', expecting '.' or '=', at (string):243:5
<makefu>
> ${"'"}
<{^_^}>
error: syntax error, unexpected DOLLAR_CURLY, at (string):243:1
<sphalerite>
or you can write your shell script in a file and use substituteAll
<makefu>
> ''${"'"}''
<{^_^}>
"'"
<sphalerite>
makefu: yeah that's what I wrote just above ;)
<sphalerite>
lovesegfault: `nix run hie-nix.hie` ?
<lovesegfault>
sphalerite: `error: attribute 'hie-nix' in selection path 'hie-nix.hie' not found`
<makefu>
it is nice to do meta programming until you encounter the same escape escape sequences in your templating language and the language you want to template
aloiscochard has quit [Quit: Connection closed for inactivity]
<lovesegfault>
I thought that was nix-shell's spiel
<lovesegfault>
sphalerite: Well, sure, but I mean in a configuration/permanent way
<lovesegfault>
Like PORTAGE_NICENESS on gentoo
jfroche has joined #nixos
<sphalerite>
lovesegfault: nix-shell is for entering the build environment for a package, it does a bunch more stuff
<lovesegfault>
:O
<lovesegfault>
So whenever I just want to quickly use a package I should use nix run?
nD5Xjz has joined #nixos
<sphalerite>
lovesegfault: `systemd.services.nix-daemon.serviceConfig.Nice = 19;` in your nixos config should do it I think
zupo has joined #nixos
<sphalerite>
lovesegfault: you can use nix-shell too, and that has the advantage of setting PS1 so you know you're in a nix-shell. But nix run is a little bit more lightweight
<sphalerite>
if nix-shell suits your purposes, you can stick with nix-shell just as well :)
<lovesegfault>
I use zsh so I lose the PS1 niceness anyway :P
<sphalerite>
ah, and the shell functions relevant to building packages in nix-shell
<lovesegfault>
sphalerite: error: The unique option `systemd.services.nix-daemon.serviceConfig.Nice' is defined multiple times,
<lovesegfault>
Do I use lib.mkForce?
<sphalerite>
spot on
<lovesegfault>
I AM LEARNING
<lovesegfault>
:D
linarcx has joined #nixos
<sphalerite>
:)
<sphalerite>
oh yeah, you can do some prompt fanciness with zsh too though, based on $IN_NIX_SHELL
<lovesegfault>
Yep, I need to make a PR to my prompt to add support :D
<mabel>
wow, frigging magical that I synced kubenix-2.0, ran a one-liner to execute the test and it built everything, spun up a VM with Kubernetes installed, checked that nginx was up and that output matched expectations, and produced an html page describing all the results..
unacceptable has quit [Remote host closed the connection]
siers has joined #nixos
<babic>
Is there some tool that combines nix-shell and command-not-found to (semi-)automatically drop you into a shell with the package?
<babic>
That's probably my next hobby project if it doesn't exist :D
<jomik>
Was pondering if there is a way to easily replace all instances of a bin in scripts (.fish files) with the nix/store path? Or will I need to manually use `substituteInPlace` on all of `$out/**/*.fish`?
<gyroninja>
I'm on Gentoo with nix 2.2.1 and when I try to install a package I get just "error: unable to start build process" does ayone know what this means?
slyfox has quit [Ping timeout: 250 seconds]
slyfox_ is now known as slyfox
<Taneb>
Is there a way I can have a derivation which checks something can be instantiated (but not necessarily built)
<clefru>
gyroninja: no sorry, but strace-ing or grep-ing the nix source for that error message seems like a start
<gyroninja>
Yeah, I tried looking there, but I didn't see how I could get that message without seeing another due to it being caught
<gyroninja>
I tried compiling my own version with some printf debugging, but it didn't seem to work. It could be possible that it was getting called from the daemon which I wasn't changing
<gyroninja>
strace wise I didn't see anything obvious
<clefru>
there are some flags to avoid building via the daemon, IIRC
<genesis>
gyroninja : i was a gentoo user for 15 years before switching to nixos :)
<gyroninja>
Yeah, switched my laptop from Gentoo -> NixOS last week and want to try and at least use nix on my desktop
<clefru>
I rage-quit Gentoo after being told "no" on the bugtracker to actually hard-code minimum dependencies to avoid "emerge world" breaking when not run regularly
<genesis>
gentoo is so bad quality ...
<xantoz>
having to do a lot of manual work to fix emerge world after not being run for a long while might as well be a gentoo tradition...
<xantoz>
(also a long time gentoo user, started running some nixos recently. currently run both)
<genesis>
days to try fixing conflict ? :D
<xantoz>
you get good at wrangling portage after a while.
<xantoz>
otoh I think quality has improved a bit recently. I've had those issues less and less.
<genesis>
and you finished with thousand of make.use :°D
<gyroninja>
I recently had to fix stuff
<gyroninja>
didn't even bother for my laptop
<xantoz>
I've managed to break things quite badly in nixos as well, though :P
<genesis>
so racers, are you on the unstable side of the nixos force ?
<xantoz>
like when I first managed to put busybox into environment.systemPackages and it wouldn't boot
pie__ has quit [Remote host closed the connection]
<genesis>
i switch to unstable recently, can't wait for lxqt 14 :)
<genesis>
(0.14)
andi- has quit [Ping timeout: 258 seconds]
<xantoz>
I ended up wrapping it with pkgs.runCommand to expose only the busybox commands I was interested in having
pie__ has joined #nixos
<gyroninja>
I do want to commend nixos for the config generation automatically setting up the LUKS configuration
<gyroninja>
I was very suprised that it just worked without me having to do anything
<xantoz>
I had to put in some work for that, but I'm not on exactly a usual configuration
<babic>
The good thing is that if you don't mess up your bootloader you can boot into an old config. Also if you have your config backed up (it should be version controlled!) you can easily rebuild your system.
<babic>
That's even if you bork it.
<clefru>
genesis: just import packages selectively (not sure whta lxqt l4 is though)
<xantoz>
(I crypt /boot as well, so need grub and an extra initrd
<clefru>
genesis: you don't need to go "full unstable" with your system setup
<babic>
Some things you might want to look into is nixpkgs pinning, helps with reproducibility
<genesis>
yeap but i always want the bleeding edge anyway
<gyroninja>
xantoz: I use FDE too
<babic>
I'm full unstable because why not
ubert has joined #nixos
<xantoz>
I have a nixpkgs submodule in my nixconfig
<babic>
clefru: lxqt is a desktop environment
<clefru>
xantoz: that's a great idea
<xantoz>
yeah, I prefer it to channels
thc202 has joined #nixos
<babic>
xantoz: that's how I pin it too
<clefru>
xantoz: I just have mine at /nix/nixpkgs as was suggested once in a blog posting
<genesis>
i should have a look at that
<xantoz>
it's also useful when you are preparing a PR for something etc.
<xantoz>
considering switching to using a git checkout for /usr/portage on my gentoo machines as well
<genesis>
i did more PR on nixos in few month that i did for gentoo in 15 years :)
andi- has joined #nixos
<xantoz>
genesis: yeah. I also get the impression it's harder to get stuff into gentoo
<babic>
Submodules is a bit clunky if you never touch edit the repo, but if you do it's probably the best
<genesis>
xantoz : really sometime i've answer on PR i did 10 years ago
<clefru>
speaking of nixpkgs pinning. I use nix-deploy to deploy remote machines, but I usually don't do a good job of deploying a nixpkgs version with it to use with nix tools on that machine. I was thinking to just do nix.nixPath=["nixpkgs=" + (fetchGit { src = "localcheckout-of-nixpkgs"; })]
<xantoz>
at least I started maintaining my own overlay after being exposed to nixos (I wanted to stop just building things manually)
<clefru>
xantoz: contribute to NUR if possible :)
<genesis>
xantoz : then i'd an overlay too ;)
<xantoz>
clefru: NUR?
<clefru>
,NUR
<babic>
That's something I like about nixos, it makes contributing easy
<xantoz>
but I could probably port some stuff to nixos as wlel
Jetien_ has joined #nixos
<clefru>
babic: not just that, it makes maintaining local customizations easy as well if stuff isn't upstream-able
<xantoz>
actually wondering if you could wrap ebuilds somehow
<babic>
Yes, there are a ton of benefits if you want to dig into the system
<clefru>
xantoz: most inclusions from external build systems are via conversion and generation of nix files. like node2nix, pypi2nix
<babic>
There can be work necessary (compared to ootb distros) but the good thing about it is that you can mostly do it when you want and you don't have to repeat it, which are both huge compared to other non ootb distros
<genesis>
yes things are hard when people use some distribution tool that are not easy to wrap for no-connected mode
<genesis>
(offline)
Shouou has joined #nixos
<ashkitten>
i do appreciate not having to rebuild things that don't need to be rebuilt, if i upgrade everything
<ashkitten>
it's quite nice
<Shouou>
I lost my user nix-channels after a nixos-rebuild switch, is this normal? How do I make them persist?
fusion809 has quit [Remote host closed the connection]
andi- has quit [Excess Flood]
pie_ has joined #nixos
<goibhniu>
Hi Shouou, I haven't heard of that happening before. Could you describe how you've set them up and what happened? Does `nix-channel --list` not show anything?
andi- has joined #nixos
pie__ has quit [Ping timeout: 240 seconds]
<babic>
Shouou: was it just an update or did you also change any configuration?
<Shouou>
I set them with `nix-channel --add <url> unstable` and after said thing I now have no channels being output with `nix-channel --list`.
dnlkrgr has quit [Ping timeout: 250 seconds]
<Shouou>
babic, I just added a new package to the configuration.nix, but I could've missed something. If this is unintended behaviour I'll keep an eye on it.
siers has quit [Quit: WeeChat 2.2]
andi- has quit [Ping timeout: 250 seconds]
<goibhniu>
Shouou: does ~/.nix-channels still exist?
<gyroninja>
okay it looks like the error is actually happening in the daemon's output which is why I didn
<{^_^}>
[nixos-org-configurations] @zimbatm pushed to master « snapshot »: https://git.io/fjqNR
andi- has quit [Ping timeout: 252 seconds]
<gyroninja>
okay I think I
<gyroninja>
have found the problem
domogled has quit [Quit: domogled]
<gyroninja>
My kernel did not have user namespaces compiled in
hodapp has quit [Ping timeout: 245 seconds]
andi- has joined #nixos
PC_ has quit [Read error: Connection reset by peer]
PC_ has joined #nixos
Erasmus is now known as erasmus
andi- has quit [Ping timeout: 264 seconds]
PC_ has quit [Read error: Connection reset by peer]
_h3x has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages to fix evaluation errors on Hydra »: https://git.io/fjqNi
<betaboon>
mpickering: i use overlays with nix-shell works fine.
<mpickering>
I was using `nixpkgs.overlays` to get my overlay which doesn't work with nix-shell
<mpickering>
It's confusing how many different ways there are to configure it
b1000101 has joined #nixos
nD5Xjz has joined #nixos
jarlg has quit [Quit: WeeChat 2.4]
<betaboon>
mpickering: i am using it in combination with direnv. so setting up $NIX_PATH with 'nixpkgs=...:nixpkgs-overlays'. that gets picked up fine. just tested it
<betaboon>
mpickering: can you share how you tried to set it up ?
<mpickering>
like I said, I just set nixpkgs.overlays
<Taneb>
Hmm, my build gets loaded by hydra-queue-runner, and then... nothing
alex``6 has joined #nixos
<b1000101>
Hi guys, is there a way to install a package from my own channel (slightly modified small 18.09 release built by my own hydra). I've added a channel nix-channel --add mychannel https://mydomain/project/name/channel/latest but I can't do something like nix-env -iA mychannel.vim
<b1000101>
error: attribute 'vim' in selection path 'mychannel.vim' not found
<{^_^}>
[nixpkgs] @peti pushed commit from @mdorman to haskell-updates « taffybar: unbreak package by default »: https://git.io/fjqxT
ng0 has quit [Quit: Alexa, when is the end of world?]
<Taneb>
It's a little frustrating setting up Nix-on-other-linux so I can use (e.g.) nix copy
<Taneb>
Because you have to make sure you have nix in non-interactive login shells
gal_bolle has quit [Ping timeout: 240 seconds]
<srhb>
I'm dealing with a build where includes are failing because foo.h is not found, possibly because it lives in $dev/include/bar/foo.h instead of $dev/include/foo.h. What might I be missing? Right now I'm adding the paths manually to CFLAGS, but maybe I'm doing something obviously wrong that causes them to not be found in the first place.
<srhb>
Like, I see -I$dev/include on the command line to gcc, shouldn't that suffice?
<manveru>
emilsp: like a single gem?
<manveru>
emilsp: or an executable?
<emilsp>
manveru: single gem, I think
ub has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « liquidhaskell-cabal has been fixed in the latest version. »: https://git.io/fjqxr
<manveru>
hmm
<manveru>
seems like fpm is a ruby executable
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjqxK
ubert has quit [Ping timeout: 252 seconds]
<manveru>
it's packaged already in nixpkgs
<manveru>
though it's packaged wrong... why do people use bundlerEnv for executables :(
<qyliss^work>
Often because bundlerApp didn't exist when they wrote the package...
<manveru>
good point :D
<manveru>
i was semi-serious, but i should probably clean them all up
<manveru>
the fpm package is from 2016, could also use some bumping i think
<b1000101>
where can I rename the package while it's being build so it doesn't end up unbder mychannel.nixpkgs-vim-x86_64-linux but rather something nice like mychannel.vim ?
<emilsp>
Ah, could an absolute nix noob help at all with packaging up fpm ?
<jasongrossman>
manveru: I've been meaning to ask you how to run a ruby executable in NixOs. I want to run one that uses a couple of gems, and I'm totally rusty on the ruby ecosystem.
<jasongrossman>
(I may have come into the conversation halfway.)
<jasongrossman>
When I looked for examples, I found bundlerEnv, but I suspected that wasn't necessary for a single script that isn't a gem.
<manveru>
so, like, if you just wanna write a script that requires some gem, and don't care about packaging the whole thing, bundlerEnv is fine, as it'll give you that environment :)
<emilsp>
fpm is a depdnency of a build dependency of the thing that I'm working on. So I'd be happy enough just to make it work nicely.
iyzsong has joined #nixos
<manveru>
emilsp: the question is, does it `require` fpm, or `execute` it
<emilsp>
> `block in <class:RPM>': Unknown compression type 'xzmt'. Valid options include: none, xz, gzip, bzip2 (RuntimeError)
<{^_^}>
error: syntax error, unexpected $undefined, at (string):243:1
<manveru>
huh
<manveru>
what's xzmt?
<emilsp>
Originally I thought I'd just need to install an extra dependency, but I guess creating a better fpm deriviation would be the proper solution.
infinee has quit [Ping timeout: 255 seconds]
<manveru>
like xz mega tarball?
<jasongrossman>
Thanks qyliss^work. Do I have to use bundlerApp just to RUN a Ruby script, or only to make a derivation out of one?
<emilsp>
xzmt is seemingly something that is required to build an rpm package
<manveru>
emilsp: maybe just a newer one
<qyliss^work>
jasongrossman: If there are any gem dependencies, you probably need to make a derivation to be able to run it.
<qyliss^work>
Ruby doesn't currently have the sort of thing Haskell does where you can include all your dependencies in a shebang
<qyliss^work>
(in Nixpkgs)
rjmill has quit [Read error: Connection reset by peer]
linarcx has quit [Ping timeout: 252 seconds]
<manveru>
emilsp: ok, so you wanna learn how to update fpm?
<emilsp>
yep
<manveru>
do you have nixpkgs cloned?
init_6 has joined #nixos
<manveru>
otherwise we can just do it from scratch if you like
<manveru>
but i think it'd be a good PR
linarcx has joined #nixos
<emilsp>
manveru: I do have it cloned.
<manveru>
then go into pkgs/tools/package-management/fpm
<manveru>
and run `nix-shell -p bundler bundix --run 'bundle lock && bundix'`
<manveru>
that'll fetch you the latest, since the Gemfile doesn't specify a version
<jasongrossman>
qyliss^work: I see. Thanks.
<emilsp>
Shoud the bundle not be updated first?
fuzzy-id has quit [Ping timeout: 268 seconds]
<manveru>
no need for that, you only need to update the lockfiles
<manveru>
you don't actually need to install any gems via bundler
<manveru>
it's only used for dependency resolution
<emilsp>
Yeah, but after running that bundle lock && bundix, no changes have been made.
<emilsp>
Yep, thanks, will do this later in the day then :)
<manveru>
also once you open the PR, it'll explain more steps :)
<manveru>
cool
<{^_^}>
[nixpkgs] @mogorman opened pull request #59349 → nixos/manual: update 17.03 -> 19.03 in upgrading section → https://git.io/fjqpT
<emilsp>
Are there equivalent bunldeApp/bundleEnv functions for node_modules/npm/yarn ?
<Taneb>
Ooh, new version of Agda is out with support for GHC 8.6
GJC614 has joined #nixos
linarcx has quit [Ping timeout: 255 seconds]
<GJC614>
Hi folks; upgrading to 19.03 is giving me my first ever upgrade break. I've raised issues where appropriate. Is there a way to upgrade all but the affected packages (2)?
<sam_>
Is this the right channel for nix on Darwin/macOS questions, or is it nixos only?
<siers>
there's #nix-darwin
<sam_>
OK, thanks siers
<emilsp>
there's the generic #nix, but that seems to have a single person in there. This is by far the most populated nix channel that I'm aware of.
<siers>
but maybe you can ask here, I don't know
<Jetien_>
tilpner: thanks, but it doesn't seem to be in the output. I can't find any "http" or "cache.nixos" or any ip adresses in the output
<emilsp>
A friendly reminder - /msg alis list $keyword to search for all the channels on freenode.
<kaliumxyz>
I want to use .deb; will running dpkg polute everything on my nixos install?
<tilpner>
Jetien_: I get checking substituter 'https://cache.nixos.org' for path '/nix/store/kxlxwig508n6qwrf1iwszbm7cpyzgbri-blender-2.79b'
<kaliumxyz>
cause it sees like it.
sam_ is now known as psalm
<Jetien_>
tilpner: thanks; for other derivations I see it to. I guess the derviation i was testing was too trivial somehow. Would have taken me quite some time to figure that out; so thanks!
<Jetien_>
tilpner: my cache is now hit; however I get substituter 'http://***' does not have a valid signature for path. I'm using nix-serve. I _think_ I've set up everything correctly. On the server I can check that it's signed correctly "nix path-info --sigs ./result". On my client I've added the public key to binaryCachePublicKeys.
<tilpner>
Did you set services.nix-serve.secretKeyFile?
<Jetien_>
tilpner: yes. but the key file might be readable by root only; checking..
GJC614 has quit [Quit: rcirc on GNU Emacs 26.1]
<kaliumxyz>
is home-manager even useful when you can do the same things without it?
<tilpner>
kaliumxyz: It might be easier and quicker with it
<emilsp>
is git useful if you can do the same with cp and nc ?
astrofog has quit [Remote host closed the connection]
<gchristensen>
emilsp with the big guns
<kaliumxyz>
serious question tho
<kaliumxyz>
emilsp you really cant
<kaliumxyz>
also you are using git wrong
<kaliumxyz>
>.> some guy asked me advice on what version management software to use in combination with git.
<Jetien_>
tilpner: nix-serve is complaining "cannot open file" on the key file. even though it's now 0666. strange..
<emilsp>
kaliumxyz: did he explain his workflow? :D
<Jetien_>
tilpner: .. "permission denied"
<kaliumxyz>
emilsp: tbh you don't want to know (but I'll tell anyways).
<tilpner>
Jetien_: Uhh, 666 seems like a bad choice for a secret key
<kaliumxyz>
so he goes to github or bitbucket (what his work uses) and he looks at the revision history.
<kaliumxyz>
and copies and pastes it.
<kaliumxyz>
which TBH is a valid way of looking at past git revisions I was just really shocked.
<kaliumxyz>
I was reminded of that because he can use cp and nc instead of git :joy:
<emilsp>
oh wow.
<kaliumxyz>
so should I do a pull request on missing things in a package for home-manager?
<pie_>
is there something that either puts a script in my env or makes a derivation with the script in it?
alex``6 has joined #nixos
<kaliumxyz>
I'm beyond salty about my favorite options missing from the zsh program package :c
<pie_>
mkShell will do the former but not the latter and mkDerivation needs more stuff than a simple call
<kaliumxyz>
lets try
b1000101 has quit [Ping timeout: 256 seconds]
<Jetien_>
tilpner: yes, of course. i'm just trying to figure out why nix-serve can't seem to open the file. i'm using nixops keys mechanism which places files in /run/keys.
uranther has joined #nixos
alex``6 has quit [Ping timeout: 246 seconds]
drakonis_ has joined #nixos
rjmill has joined #nixos
pointfourone has joined #nixos
pointfourone has left #nixos [#nixos]
drakonis has quit [Ping timeout: 250 seconds]
<pie_>
damn i know i did this somehow oncce
<pie_>
(nicely)
<infinisil>
Oh my god, steam why the hell do you always screw with my controller
<infinisil>
Okay it works with steam, only Rocket League doesn't want to
<Taneb>
infinisil: is this a steam controller? Could you share your workarounds?
<emilsp>
Any rust enthusiasts here? I don't know what exactly I did to fuck this up, but as I was fixing my dev env to work with electron-builder, I seem to have broken rust.
<samueldr>
infinisil: just in case it's still a thing, when steam big picture was new, Rocket League wouldn't use the controller unless it was started through big picture
<emilsp>
the linker fails to link rust objects - error adding symbols: file format not recognized
<infinisil>
Taneb: Workarounds I've tried are: `sudo chmod +0666 /dev/uinput`, restarting systemd-udevd, unloading uinput (sudo modprobe -r uinput) and reloading it (sudo modprobe uinput), removing /dev/uinput and restarting the things
<infinisil>
samueldr: Yeah, I noticed that, but now it doesn't work through big picture even
erasmus has quit [Quit: END-AUMF]
<samueldr>
aww
<Taneb>
I need to at some point either get my Windows machine going again for games or at least salvage its graphics card
jp__ has joined #nixos
jabranham has joined #nixos
<infinisil>
Also tried replugging it
<infinisil>
And restarting steam
<pie_>
infinisil, onoes
<infinisil>
Gonna try `sudo chown infinisil:users /dev/uinput` just for good measure now
<etu>
And that worked for me with the steam controller
<aanderse-work>
thats horribly disappointing :\
<infinisil>
etu: Yeah if I could figure out the problem I'd use an udev rule too again
<aanderse-work>
i love my logitech f710s
<aanderse-work>
they always just work, every time
<infinisil>
Previously a 0666 rule would work fine (equivalent to chmod 0666)
<jabranham>
I'm using the gpg-agent for SSH auth. After upgrading to 19.03, I get "Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files". Anyone know how to fix this?
drager has quit [Quit: WeeChat 2.2]
<etu>
infinisil: Then it's probably broken for me as well then :/
<infinisil>
It only doesn't work in Rocket League though
<infinisil>
In steam big picture itself there's no problem
<infinisil>
I guess I'll try another game too
<etu>
Then it's probably Rocket League that is broken
<etu>
oh well, leaving work now. Weekend starts now:))
<infinisil>
Of course now my previous bindings which I carefully designed are lost.. but at least I figured out the problem
<aanderse-work>
nice :)
<emilsp>
Is there a way I can use an overlay in a given shell ?
alex``6 has quit [Ping timeout: 240 seconds]
aswanson has quit [Quit: WeeChat 2.2]
linarcx has quit [Ping timeout: 264 seconds]
<infinisil>
Well, turns out that the steam controller configuration doesn't actually work..
<infinisil>
Mapping a button to drive forward, but I can press it and nothing happens
<infinisil>
so RIP
<jabranham>
It appears that in 19.03, programs.gnupg.agent.enableSSHSupport does not in fact set SSH_AUTH_SOCK despite doing so in 18.09
samrose_ has joined #nixos
samrose has quit [Ping timeout: 246 seconds]
linarcx has joined #nixos
<infinisil>
At least I can navigate the menu
alex``6 has joined #nixos
<acowley>
How am I supposed to have a QML application find Qt styles on NixOS?
<infinisil>
But yeah, screw that, guess no Rocket League for me
b1000101 has joined #nixos
<jabranham>
... actually, it seems to in some shells but not in others.
<acowley>
When I explicilty add paths for styles, I either get a segfault (if I give it a /nix/store path) or a module import error if I give it a /run/current-system/sw path.
<PirBoazo>
After upgrade to 19.03
<PirBoazo>
I receive message install python binding for gobject, gtk , pango.
<PirBoazo>
when i launch terminator
d10n-work has joined #nixos
domogled has joined #nixos
vidbina has joined #nixos
sb0 has quit [Quit: Leaving]
<{^_^}>
[nixpkgs] @Infinisil merged pull request #59081 → HylaFAX: fix ModemGroup, also minor metadata updates → https://git.io/fjL7H
<emilsp>
the second link was meant to actually be "nixos.latest.rustChannels.stable.rust"
aswanson has joined #nixos
<hlolli>
Is there a way to only rerun the installPhase for debug purposes. I've never heard of it, but someimes I just need to know if I wrote the filenames correctly which I'm copying over withpout needing to wait 15 mins.
Ariakenom has quit [Ping timeout: 246 seconds]
linarcx has quit [Ping timeout: 255 seconds]
<ggpeti>
hi gerschtli we're maintainers.nix neighbors
<PirBoazo>
After upgrade link on python are broken
Tucky has quit [Quit: WeeChat 2.2]
psalm has quit [Read error: Connection reset by peer]
psalm has joined #nixos
ggpeti has quit [Ping timeout: 264 seconds]
<jabranham>
So SSH_AUTH_SOCK gets set but somehow isn't getting passed to my WM which gets started in ~/.xsession...
<jabranham>
despite all of that working in 18.09. And I can't figure out what changed. :-/
shibboleth has joined #nixos
psalm has quit [Remote host closed the connection]
psalm has joined #nixos
ryantrinkle has joined #nixos
<ryantrinkle>
hi everyone! we (Obsidian Systems) are looking for Nix and Haskell devs again; please email us at jobs@obsidian.systems if you're interested!
<{^_^}>
[nixpkgs] @xeji pushed commit from @marsam to master « postgresqlPackages.postgis: 2.5.1 -> 2.5.2 (#58605) »: https://git.io/fjmvl
PirBoazo has quit [Quit: Bonne Fin de Journée]
linarcx has quit [Ping timeout: 264 seconds]
linarcx has joined #nixos
fuzzy-id has joined #nixos
omarthecat has joined #nixos
<omarthecat>
Hi. I'm working with Nix to install Obsidian and when I run `nix-env`, I get this error:
<omarthecat>
file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
<omarthecat>
Where am I supposed to find the nixpkgs file?
drakonis_ has joined #nixos
dm9 has joined #nixos
Notkea has quit [Ping timeout: 240 seconds]
drakonis has quit [Ping timeout: 264 seconds]
parsnip has quit [Quit: Connection closed for inactivity]
PirBoazo has joined #nixos
<{^_^}>
[nixops] @PsyanticY opened pull request #1128 → Show physical for ebs volumes and allow assigning existing volume to the resource → https://git.io/fjmvi
endformationage has joined #nixos
T_S_ has joined #nixos
Glider_IRC has joined #nixos
Notkea has joined #nixos
erasmus has joined #nixos
Notkea has quit [Remote host closed the connection]
Ariakenom has joined #nixos
iyzsong has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @Lucus16 opened pull request #59358 → Multiple buildkite agent support → https://git.io/fjmvM
<enteee>
I always struggle when i try to install new software: reason beeing that i never know if i should just add the package to a packages config (user/system) or if there is some sort of enable option somewhere which will then add the package. Is this just me or do others struggle with this as well?
Notkea has joined #nixos
Notkea has quit [Remote host closed the connection]
alex``6 has joined #nixos
<manveru>
enteee: my steps are usually: check configuration.nix for the name, otherwise check `nix search`, if it's also not there check nixpkgs...
<manveru>
would be nice if that was simpler :)
<manveru>
but in the majority of cases (like 90%) there's nothing to do other than adding it to systemPackages
<jabranham>
for the SSH_AUTH_SOCK stuff, I wrote up what I've found so far here in #59360, will have to return to it later.
<enteee>
manveru: yeah I do this in a smiliar way. I just find in confusing because there are so many implicit ways how packages can get installed, but it is super hard to keep track about all of them..
PirBoazo has left #nixos [#nixos]
<{^_^}>
[nixpkgs] @bricewge opened pull request #59361 → tomb: add sudo to buildInputs → https://git.io/fjmfv
<enteee>
so yes I normally just keep adding the to .packages as well, in the user scope most of the time though.
Ariakenom has quit [Read error: Connection reset by peer]
gal_bolle has quit [Remote host closed the connection]
arjen-jonathan has quit [Ping timeout: 255 seconds]
mnoronha has joined #nixos
<mnoronha>
Is there any way I can delete a shell (environment?)
<gchristensen>
what does that mean?
<mnoronha>
Nothing, most likely. New as of yesterday, sorry. I just ran nix-shell with some config file, and even after changing on of the dependencies it seems to be fetching the same version as before (if I rerun `nix-shell _.nix)
Notkea has joined #nixos
<mnoronha>
I'm looking at the nix pills now, just skimmed the manual yesterday
<infinisil>
I think that should work, but it only sets doCheck to false for this package, not its dependencies
<infinisil>
Or does it run the tests for numpy itself?
<cosmo_>
Hm that's a good point, I think my issue is that it is doing the checks of its dependencies
<cosmo_>
is there a recursive way to avoid tests?
<infinisil>
There should be yeah, by overriding buildPythonPackage itself to default `doCheck` to false
<cosmo_>
Ok great!! Thank you for your help
<cosmo_>
much appreciated :)
<infinisil>
:)
<jabranham>
Am I doing something wrong to test changes to a nixos module locally? I checked out nixpkgs, created a branch, committed the change, then did nixos-rebuild switch -I /path/to/nixpkgs. But my changes don't seem to get applied.
<gchristensen>
-I nixpkgs=/path/to/...
<jabranham>
gchristensen: oh, turns out I'm just blind. Thanks!
<gchristensen>
no worries! :)
dm9 has quit [Quit: WeeChat 2.4]
<{^_^}>
[nix-pills] @mtn opened pull request #111 → Fix erroneous link in pill 2 → https://git.io/fjmf1
wfranzini has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @Infinisil pushed commit from @shosti to release-19.03 « nixos/gnupg: set SSH_AUTH_SOCK in non-interactive settings »: https://git.io/fjmfM
<{^_^}>
[nix-pills] @grahamc merged pull request #111 → Fix erroneous link in pill 2 → https://git.io/fjmf1
<{^_^}>
[nixpkgs] @grahamc pushed 2 commits to release-19.03: https://git.io/fjmJP
rcshm has joined #nixos
<mog>
thank you gchristensen , does the manual get regenerated normally or is it a "manual" process
<gchristensen>
every 20min :)
<mog>
awesome
<gchristensen>
it happens when the channel bumps
stepcut has joined #nixos
<stepcut>
For some reason, xelatex can no longer see the Nimbus font even though I have the nimbus15 package listed in my texlive.combine. Pretty sure this worked a year or two ago
<stepcut>
the fonts are available in texmf, but xelatex can't find them. Also, fc-list does not show them. I am wondering if xelatex is only seeing fonts that are available via fontspec, and if so, how would I convince fontspec to see them..
<stepcut>
for normal fonts, people use makeFontsConf -- but I can't pass texlive.nimbus15 as an argument to that function..
T_S_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomberek has joined #nixos
kleisli has quit [Ping timeout: 264 seconds]
fuzzy-id has quit [Ping timeout: 264 seconds]
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 264 seconds]
i1nfusion has quit [Remote host closed the connection]
i1nfusion1 has joined #nixos
swerlk has quit [Remote host closed the connection]
vidbina has quit [Ping timeout: 252 seconds]
__monty__ has joined #nixos
freeman42x has joined #nixos
PC__ has quit [Remote host closed the connection]
_h3x has joined #nixos
<infinisil>
Only 1182 open PRs? r-ryantm must be on vacation :P
alex``` has joined #nixos
alex``64 has joined #nixos
slack1256 has joined #nixos
sigmundv has quit [Ping timeout: 264 seconds]
mojjo has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
alex``6 has quit [Ping timeout: 264 seconds]
<mojjo>
`VBoxManage startvm "somevm"` -> alert 'kernel driver not accesible' (it works though when starting via the VirtualBox UI) .. any ideas how to fix this on nixos?
knupfer has quit [Ping timeout: 252 seconds]
alex``649 has joined #nixos
alex``` has quit [Ping timeout: 246 seconds]
MichaelRaskin has joined #nixos
alex``64 has quit [Ping timeout: 250 seconds]
mojjo has quit [Ping timeout: 264 seconds]
alex``` has joined #nixos
<{^_^}>
[nixpkgs] @NickHu closed pull request #46596 → unclutter-xfixes: make systemd user unit enabled when module is → https://git.io/fA640
fragamus has joined #nixos
<{^_^}>
[nixpkgs] @Ma27 opened pull request #59367 → nixos/hostapd: escape interface names for hostapd → https://git.io/fjmUC
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has joined #nixos
o1lo01ol1o has joined #nixos
pxc has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 252 seconds]
o1lo01ol1o has joined #nixos
vidbina has joined #nixos
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #59338 → llvm8: support c++ in cross case → https://git.io/fjq74
<{^_^}>
[nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fjmUh
<{^_^}>
[nixpkgs] @Ekleog opened pull request #59369 → lib: improve the implementation of the unique function → https://git.io/fjmTe
zupo has joined #nixos
mconstant has quit [Ping timeout: 252 seconds]
fragamus has quit [Read error: Connection reset by peer]
_h3x has quit [Ping timeout: 264 seconds]
zupo has quit [Client Quit]
<srhb>
Is there any Nix branch (experimental even) where you can run multiple builds without the deadlock avoidance causing one of the concurrent builds to fail spuriously?
orivej has quit [Ping timeout: 252 seconds]
slack1256 has quit [Ping timeout: 268 seconds]
rauno has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @borisbabic to release-19.03 « terminator: fix missing gobject bindings »: https://git.io/fjmT2
lejonet has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
mmlb977450853050 has quit [Ping timeout: 250 seconds]
<tilpner>
Depending on where the value is used, yes
<thePirateKing>
then time for a switch for me
<mthst>
world-readable store? i hope you mean on my file system
<tilpner>
Of course. But an otherwise-unprivileged process still has no business reading your passwords
<tilpner>
(And it gets worse when you serve the local store as a cache to other machines, perhaps publicly)
vidbina has quit [Ping timeout: 240 seconds]
<mthst>
what other means are you thinking of?
linarcx has quit [Quit: WeeChat 2.4]
<tilpner>
I don't understand the question
<mthst>
"refer to paths of files where the password can be put with other means"
linarcx has joined #nixos
rjmill has quit [Ping timeout: 250 seconds]
_h3x has joined #nixos
rjmill has joined #nixos
<tilpner>
Instead of putting the password into the config directly, you tell a service "here's where you find the password", and then you go and create a file at that location with the right permissions and content
hlolli has joined #nixos
PC_ has joined #nixos
_h3x has quit [Read error: Connection reset by peer]
PC_ has quit [Read error: Connection reset by peer]
PC_ has joined #nixos
worldofpeace has joined #nixos
fusion809 has joined #nixos
<stepcut_>
I have `enableGhostscriptFonts` enabled, and `fc-cache -r -v` reports that it found 52 fonts in the ghostscript font directory. But then fc-list doesn't show them :(
<tilpner>
mthst: This is only the simplest scheme. Some people automate the creation of those files (using e.g. nixops (yes, even for the local machine)). I've also seen someone use pass, but I don't remember who
<mog>
is there something like nixos-rebuild dry-build but it actually downloads everything?
<mog>
i want to upgrade to 19.03 but i just want to download everything first then do the upgrade
slyfox has joined #nixos
<tilpner>
nixos-rebuild build?
<tilpner>
It builds too, but doesn't activate any of the changes
<mog>
ya i dont want to build as i know it will build some kernel stuff that will take a long time
<tilpner>
You can build just the systemPackages/user packages if you want
vidbina has joined #nixos
<arianvp>
Try this:. nix-shell <Nixpkgs/NixOS>
<arianvp>
(without the caps. My phone autocorrects)
<arianvp>
Well mog 'build' doesn't actually build everything. It downloads whatever is already built by the cache.
<tilpner>
AFAICT mog wants to avoid all building
<mog>
yes i can build later
<gchristensen>
-j 0
<arianvp>
Ah smart
<mog>
i just want to download it all first then build
lsyoyom has quit [Quit: WeeChat 2.4]
<arianvp>
gchristensen: ^
<gchristensen>
:)
lsyoyom has joined #nixos
<mog>
so if i pass -j0 it just will fail to build? because pool is empty
<gchristensen>
yea
<gchristensen>
but it'll substitute as much as possible
* mog
tries
<{^_^}>
[nixpkgs] @jtojnar opened pull request #59372 → maintainers/scripts/update.nix: Add support for auto-commiting changes → https://git.io/fjmku
kleisli has joined #nixos
arjen-jonathan has joined #nixos
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu>
Hi! I'm trying to install libsodium. My compiler sees that libsodium is available but can't find a sodium.h. I think maybe this is because I need to install a dev flavor?
thePirateKing has quit [Remote host closed the connection]
<selfsymmetric-mu>
Okay I'll try that.
jfroche has joined #nixos
<boxscapeR>
Is there an easy way to build a particular package from a local copy of the nixpkgs repository? What I've been doing is copy the particular default.nix file of that package and then replace the necessary inputs with the corresponding libraries manually, but that's a bit tedious
<tilpner>
boxscapeR: Navigate to your repo, nix-build -A foo
<boxscapeR>
ah, thank you
<tilpner>
Where foo is the package you want to build
<boxscapeR>
okay, works perfectly, thanks
work_ has joined #nixos
clr_ has quit [Quit: Leaving]
clr_ has joined #nixos
<{^_^}>
[nixpkgs] @timokau opened pull request #59373 → playonlinux: mark as broken → https://git.io/fjmk7
<rardiol1>
How do I force nixos to load a kernel module when booting? I tried boot.kernelModules
<{^_^}>
[nixpkgs] @timokau pushed commit from @r-ryantm to staging « lv2: 1.14.0 -> 1.16.0 (#57309) »: https://git.io/fjmk5
<selfsymmetric-mu>
Okay so that didn't work. I made a shell.nix with `buildInputs = [ pkgs.libsodium.dev ];`. No dice. Now it says `* Missing (or bad) C library: sodium`.
<selfsymmetric-mu>
Pretty ridiculous situation to be in. This isn't some crazy idiosyncratic usecase.
<selfsymmetric-mu>
It could be Stack's fault. Stack on NixOS appears to be terribly designed. Hey, let's take a language for explicit declarative configuration and then sink a bunch of no-opt-out implicit hooks if you happen to be compiling on NixOS. It is infuriating. I have no idea why anyone would built it the way they have.
<selfsymmetric-mu>
You can't even use `--no-nix` with an explicit GHC. You have to do some kind of undocumented magic. The Stack manual talks about Nix but it doesn't really help.
<boxscapeR>
fwiw as far as I'm aware people typically use haskell on nixos without stack
drakonis has joined #nixos
<selfsymmetric-mu>
Yeah, I hear you.
<selfsymmetric-mu>
But sometimes you gotta build a Stack project.
<selfsymmetric-mu>
So basically I'm crippled on this operating system. I'd like to keep it going but if I have to do nonsense like this every week then I'll be forced to go back to Arch.
random_yanek has joined #nixos
<selfsymmetric-mu>
When I install libraries in a nix-shell, where are the library files installed?
Anton-Latukha has quit [Ping timeout: 264 seconds]
mconstant has quit [Ping timeout: 250 seconds]
<selfsymmetric-mu>
Because I can't find them in `/nix/store`.
<selfsymmetric-mu>
Should I make a bug?
<mdash>
selfsymmetric-mu: by install do you mean `nix-env -i`?
<selfsymmetric-mu>
No, I have them in a `buildInputs`.
<ajs124>
selfsymmetric-mu, which libraries? How did you search the nix store?
o1lo01ol1o has quit [Remote host closed the connection]
<selfsymmetric-mu>
I am using `nix-shell --run`.
<gchristensen>
the libraries are in /nix/store/..../
tomberek has quit [Ping timeout: 250 seconds]
<mdash>
selfsymmetric-mu: OK. and does `echo $buildInputs` show them?
<selfsymmetric-mu>
I went to `/nix/store` and I opened all the `libsodium` directories and none of them had header files in them.
<selfsymmetric-mu>
mdash: Hero! That's exactly what I needed, thank you.
<boxscapeR>
selfsymmetric-mu btw if the haskell project has a package.yaml I think you should usually be able to build it using hpack together with haskellPackages.developPackage even if it's a stack project
<boxscapeR>
(or if you have a .cabal file)
<selfsymmetric-mu>
Hmm, yeah, that might be worth it. Would be nice to get a more independent solution.
arjen-jonathan has quit [Ping timeout: 264 seconds]
<selfsymmetric-mu>
But I don't want to diverge from the upstream build process.
<selfsymmetric-mu>
I passed `--extra-lib-dirs=/nix/store/n6cnnyj7fq8rislwq1557f00ylpvbk9a-libsodium-1.0.16-dev/lib --extra-include-dirs=/nix/store/n6cnnyj7fq8rislwq1557f00ylpvbk9a-libsodium-1.0.16-dev/include`. But it didn't work.
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to release-19.03: https://git.io/fjmIq
erasmus has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
domogled has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
<ajs124>
Does anyone here have experience with packaging scons projects? I'm trying to build one right now and it's doing the strangest things. Like, dependency detection fails, because it tries to link test files without "-lc". wat?
<{^_^}>
[nixpkgs] @aanderse pushed commit from Aaron Andersen to automysqlbackup « nixos/automysqlbackup: init at 3.0_rc6 »: https://git.io/fjmIo
_h3x has joined #nixos
<{^_^}>
[nixpkgs] @aanderse opened pull request #59376 → nixos/automysqlbackup: init at 3.0_rc6 → https://git.io/fjmIX
worldofpeace has quit [Ping timeout: 252 seconds]
slack1256 has joined #nixos
<pie_>
Im stuck on "waiting for locks or build slots..."
<myme>
It seems like I'm having some incorrect locale/language setup on my installation, causing Haskell Stack to default localeEncoding to "ASCII". Anybody familiar with this?
<pie_>
any way to check whats tying up build slots?#
<pie_>
ah wait a minute i think i found it
jabranham has joined #nixos
srid has quit [Read error: Connection reset by peer]
srid has joined #nixos
<{^_^}>
[nixpkgs] @aanderse pushed commit from Aaron Andersen to automysqlbackup « nixos/automysqlbackup: init at 3.0_rc6 »: https://git.io/fjmIH
<pie_>
well i have some processes running under nixbld1 that i cant kill...
aanderse-work has quit []
<Melkor333>
I just updated my ASUS BIOS Firmware and now it doesn't support EFI boot anymore.. And I installed my Nixos with systemd-boot... wtf?
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
tboston_ has quit [Ping timeout: 250 seconds]
<Melkor333>
I'm so lucky I had a nixos installer USB lying around to install grub
<samueldr>
Melkor333: I've seen some firmrmware updates completely reset the settings, including boot entries, on update; such a bad user experience :/
wolfman154 has joined #nixos
<samueldr>
Melkor333: on the nixos installation media there is also a rEFInd option, which can be used to boot any EFI program found on the system; used it when I updated the firmware on my new machine
<Melkor333>
yeah bios update on a running system is a real pain :(
<samueldr>
(though it will require a nixos-rebuild with --install-bootloader to re-configure the system)
<Melkor333>
oh thanks for that info! Saw the entry and thought it's something different
<samueldr>
on my machines I generally install rEFInd at the fallback bootloader location so that whenever bad firmwares lose the boot options I'm still able to boot grub, and generally don't configure the boot options through firmware boot options anymore :/
<mdash>
this is also why i serve netboot.xyz from my router with PXE
<Melkor333>
yeah it's really way too bad experience..
<samueldr>
I added rEFInd to the installer image because of bad implementations :/ it's not like it's the only way, I have this laptop which keeps settings just right on upgrades!
kleisli has quit [Ping timeout: 264 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
<samueldr>
(well, did when the OEM were still doing updates, for however short that time was...)
psalm_ has joined #nixos
<Melkor333>
I thought about setting up a netboot, but I don't want to mess with the router from the internet provider. They also tend to reset the router which is extremely annoying
<mdash>
nixos is available via netboot.xyz now as well, i forgot about that
psalm_ has quit [Remote host closed the connection]
<Melkor333>
And I'm too lazy to buy and set up my own router :D
winem_ has joined #nixos
psalm has quit [Ping timeout: 252 seconds]
jfroche has joined #nixos
tilpner has quit [Remote host closed the connection]
Nikita has joined #nixos
nikivi has quit [Quit: ZNC is awesome]
Nikita is now known as Guest8468
tilpner has joined #nixos
stepcut_ has quit [Remote host closed the connection]
Guest8468 is now known as nikivi
<wolfman154>
Hello guys I finally got my custom keyboard layout working with home-manager, my key map is a sub module to my global config (configuration.nix) I was wondering if setting up a custom keyboard layout directly in my local user environment home-manager(or as a sub module to it) is similar? If you guys have set up a key mapping directly in your local user environment (home-manager)could you paste bin
<wolfman154>
it so I can take a look?
stepcut has joined #nixos
jfroche has quit [Client Quit]
knupfer has quit [Ping timeout: 264 seconds]
arjen-jonathan has joined #nixos
psalm has joined #nixos
stepcut has quit [Ping timeout: 250 seconds]
knupfer has joined #nixos
wfranzini has quit [Remote host closed the connection]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
pie__ has joined #nixos
pie_ has quit [Ping timeout: 252 seconds]
fendor has joined #nixos
chrisBF has joined #nixos
chrisBF has left #nixos [#nixos]
arjen-jonathan has quit [Ping timeout: 250 seconds]
fendor_ has joined #nixos
ixxie has joined #nixos
silver has quit [Ping timeout: 268 seconds]
silver has joined #nixos
tboston_ has joined #nixos
<averell>
nixos is on netboot.xyz? that is great. now if only they had a http-only chainloader
<wolfman154>
15:19 wolfman154: Hello guys I finally got my custom keyboard layout working with home-manager, my key map is a sub module to my global config (configuration.nix) I was wondering if setting up a custom keyboard layout directly in my local user environment home-manager(or as a sub module to it) is similar? If you guys have set up a key mapping directly in your local user environment (home-manager)c
<wolfman154>
ould you paste bin
<{^_^}>
[nixpkgs] @Ma27 merged pull request #59194 → codimd: js-sequence-diagrams: use git source rather than the NPM tarball → https://git.io/fjtod
<Melkor333>
i just added 'services.xserver.videoDrivers = [ "nvidiaLegacy390" ];' and get the error 'Hunk #1 FAILED at 226. 1 out of 1 hunk FAILED -- saving rejects to file kernel/nvidia-drm/nvidia-drm-connector.c.rej
tboston_ has quit [Ping timeout: 255 seconds]
slack1256 has quit [Remote host closed the connection]
<Melkor333>
where is this .rej file stored exactly? (i did nixos-rebuild switch --upgrade)
Thra11 has quit [Ping timeout: 240 seconds]
fendor_ has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @Ma27 pushed to release-19.03 « codimd: js-sequence-diagrams: use git source rather than the NPM tarball »: https://git.io/fjmL7
__monty__ has quit [Quit: leaving]
knupfer has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @timokau merged pull request #59373 → playonlinux: mark as broken → https://git.io/fjmk7
<{^_^}>
[nixpkgs] @timokau pushed to master « playonlinux: mark as broken (#59373) »: https://git.io/fjmLF
<wolfman154>
Could you guys answer a question I have about Haskell and nix?
iclanzan has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
goibhniu has quit [Ping timeout: 250 seconds]
<iclanzan>
I am trying to upgrade to NixOS 19.03 from 18.09 and I get an error about `hfmt` being marked as broken. Anyone here usng Haskell and knows how to fix it?
kleisli has joined #nixos
<wolfman154>
How does nix work with cabal and stack, I’m confused?
T_S_ has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
<iclanzan>
wolfman154: I am using Haskell with nix without cabal or stack.
<qyliss>
I think wolfman154 was asking their own question
_Geeko_ has quit [Remote host closed the connection]
<{^_^}>
attribute 'metadata' missing, at (string):243:1
<wolfman154>
iclanzan: so I can use nix for all my Haskell programming without having to use cabal or stack?
<infinisil>
> haskellPackages.hfmt.meta.broken
<{^_^}>
true
<qyliss>
oops
<infinisil>
iclanzan: Build the package with allowBroken = true; to see what error you get
Rusty1 has quit [Quit: Konversation terminated!]
<wolfman154>
so I can use nix for all my Haskell coding without having to use cabal or stack?
<benkolera>
wolfman154: You can, but it's not ideal. I find it nicer to have cabal-install and ghcid around so that I can run tests and compilation incrementally while I dev. You don't want to have to nix-build every time to check your code changes. :) So for building for deployment I'll nix-build, but while devving I'll have a ghcid inside a nix-shell recompiling as I go and running tests.
<benkolera>
But you definitely get to a place where nix is completely managing your package sets and you never need to "cabal install <thing>" anything.
<benkolera>
At that point you are using the cabal command for it's 'cabal new-repl / new-test' commands.
<wolfman154>
benkolera: thanks, that’s good to know, I guess I’ll use nix with cabal, I don’t think I need stack.
<benkolera>
Yeah, I wouldn't bother with stack unless you really miss/want intero.
<pi3r>
I have found quite an odd new behavior in nixos-19.03 and I wonder if it is an expected change or not.
<wolfman154>
benkolera: what’s intero?
erasmus has quit [Quit: END-AUMF]
<benkolera>
wolfman154: It's a stack only IDE tool. Works pretty great, but you must use stack.
<pi3r>
With the user root and the folder '/tmp', if I launch a nix-shell it would reset pwd to '/'
<pi3r>
So basically if I do nix-shell -p ruby in /tmp I have a shell but the current dir is '/' and not '/tmp'.
<wolfman154>
benkolera: thanks, I plan on setting up nix with cabal in emacs
ddellacosta has quit [Ping timeout: 252 seconds]
<wolfman154>
benkolera++
<{^_^}>
benkolera's karma got increased to 1
<pi3r>
That only happens in /tmp with the user root and in nixos-19.03 ...
_kwstas has quit [Quit: _kwstas]
<benkolera>
wolfman154: https://github.com/jyp/dante is the friendliest thing that glues nix and haskell ide stuff together in emacs.
ddellacosta has joined #nixos
AleXoundOS has joined #nixos
<pi3r>
Is this a bug or something related to a "security" feature (or a side effect of one)
Rusty1 has joined #nixos
<wolfman154>
pi3r: how’s web development using nixos, I plan on using nixos for free code camp(an online coding boot camp)
<qyliss>
pi3r: that certainly doesn't _seem_ right to me
<wolfman154>
benkolera: cool I’ll take a look
iclanzan has quit [Ping timeout: 250 seconds]
<wolfman154>
how’s web development using nixos, I plan on using nixos for free code camp(an online coding boot camp), is the software easy to install on nixos?
<pi3r>
wolfman154: I am not doing any web development so I can't say much about that.
ixxie has quit [Ping timeout: 268 seconds]
<mdash>
wolfman154: it's just fine
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<wolfman154>
mdash: that sounds good
iclanzan has joined #nixos
<wolfman154>
mdash++
<{^_^}>
mdash's karma got increased to 3
fendor has quit [Read error: Connection reset by peer]
mconstant has joined #nixos
growpotkin has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<benkolera>
Python on nixos was a bit shaky for me when I was a python developer on running nixos, but that could mainly be that it was my first serious battle with pip and python tooling regardless of OS. :)
npmccallum has quit [Ping timeout: 250 seconds]
ixxie has joined #nixos
mconstant has quit [Ping timeout: 250 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
boxscapeR has quit [Remote host closed the connection]
mconstant has joined #nixos
Melkor333 has quit [Quit: WeeChat 2.4]
pi3r has quit [Quit: Leaving]
cyphase has quit [Ping timeout: 246 seconds]
wolfman154 has quit [Ping timeout: 252 seconds]
wolfman154 has joined #nixos
sigmundv has quit [Ping timeout: 255 seconds]
<wolfman154>
I was thinking of switching to nixos unstable for working in web development, what are the risks of using nixos unstable?
selfsymmetric-mu has quit [Remote host closed the connection]
jabranham has quit [Remote host closed the connection]
worldofpeace has quit [Ping timeout: 268 seconds]
dnlkrgr has quit [Ping timeout: 255 seconds]
phreedom_ has quit [Quit: No Ping reply in 180 seconds.]
worldofpeace has joined #nixos
phreedom has joined #nixos
ayerhart has quit [Read error: Connection reset by peer]
rcshm has quit []
erasmas has quit [Quit: leaving]
wolfman154 has joined #nixos
<wolfman154>
16:43 wolfman154: I was thinking of switching to nixos unstable for working in web development, what are the risks of using nixos unstable?
infinee has joined #nixos
Xal has quit [Ping timeout: 255 seconds]
<wolfman154>
I was thinking of switching to nixos unstable for working in web development, what are the risks of using nixos unstable?
<benkolera>
wolfman154: You don't necessarily have to have unstable in your nixos channel (i.e having it affect your desktop) to develop against unstable. In your projects, you can use a nixpkgs that isn't the same as what nixos is using. The simplest way is to have another nix-channel called unstable and then you can just `{ nixpkgs ? import <unstable> {} }` in your project. But that has bad reproducability because then your build is
<benkolera>
tied to the mutable variable of the unstable nix-channel. If you want long term reproducability (I think that this is always a good thing), you'll want to do a thing called "pinning" like this (https://github.com/benkolera/deadlands/blob/master/nix/nixpkgs.nix). That package will build with that specific commit of nixpkgs until I bump that.
Xal has joined #nixos
<benkolera>
But, having nixos track unstable is pretty good. If anything breaks, just roll back to your latest working env. It's like archlinux without the sadness having to fix things manually. :)
<wolfman154>
infinisil: Is there a link with instructions on how to upgrade nixos 18 to 19?
<adisbladis>
wolfman154: Pretty much update your channel and nixos-rebuild
<benkolera>
Change your channel by removing the old nixos 18.09 one and adding the 19.03 one. `sudo nix-channel --remove nixos && sudo nix-channel --add nixos https://nixos.org/channels/nixos-19.03 && sudo nix-channel --update && sudo nixos-rebuild switch`.
<benkolera>
Gotta run! Cya!
<wolfman154>
And what about system.state and home.state?
<wolfman154>
They’re both set to 18.09
<infinisil>
iclanzan: I see, that's not trivial to fix, but I'll take a look