gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
orivej has joined #nixos
<simpson> ottidmes: I have replicated the basics of your patch. I shrunk your sed and some other stuff; I'm currently finishing splitting the outputs.
dermetfan has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #55101 → hydra: 2018-08-07 -> 2019-02-01 → https://git.io/fhS8K
<{^_^}> [nixops] @delroth opened pull request #1088 → filesystem options: fix use of deprecated mkOption { options = ...; } → https://git.io/fhS8i
orivej has quit [Ping timeout: 240 seconds]
hc1^ has quit []
worldofpeace has quit [Remote host closed the connection]
<ottidmes> simpson: yeah probably replacing 'setup.py install' to include those two extra arguments is enough, great to hear its working out
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fhS8Q
<delroth> ekleog: that's a weird pr merge you did there
<ekleog> delroth: github takes a while to notice it
<ekleog> I'm merging locally and pushing the (signed) merge commit
tsrt^ has joined #nixos
<delroth> heh, ok
lnikkila has quit [Quit: lnikkila]
<delroth> (github is unhappy about your signing btw, shows it as "unverified")
<delroth> (I don't care if you're an impostor as long as you merge my PRs though! carry on :-) )
<ekleog> yeah I don't get why, I added my PGP key but I guess it doesn't follow the UID scheme github is happy with
griff_ has quit [Ping timeout: 272 seconds]
<delroth> ekleog: got commit bit on nixops as well by any chance? https://github.com/NixOS/nixops/pull/1088 is a similar fix
<{^_^}> nixops#1088 (by delroth, 13 minutes ago, open): filesystem options: fix use of deprecated mkOption { options = ...; }
<delroth> nixops is currently unusable with master nixpkgs
<delroth> (as of a few days ago)
<ekleog> not on nixops
<{^_^}> [nixpkgs] @Ekleog merged pull request #55088 → nixos/tasks/encrypted-devices: fix regression from #54637 → https://git.io/fhSZR
<ekleog> ah it noticed
<delroth> too bad, I'll wait for someone to notice it then!
<delroth> yay
shabius has quit [Quit: Leaving]
martinb_ has quit [Ping timeout: 272 seconds]
eadwu has joined #nixos
aanderse has joined #nixos
<ekleog> (github showing my commits as “unverified” bug reported upstream)
ddellacosta has quit []
rcshm_ has quit [Remote host closed the connection]
rcshm has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/2ff7ef373e5 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
dsiypl4__ has quit [Ping timeout: 240 seconds]
shabius has joined #nixos
goibhniu has joined #nixos
jluttine has quit [Ping timeout: 268 seconds]
<petersjt014> anyone know what aws-sdk-cpp is? It's one of the last roadblocks to actually getting a rebuild on arm and it takes forever to compile (1+ weeks on rpi0)--and hangs indefinitely on at least one test.
<clever> petersjt014: i think nix depends on it, to support s3://bucket as a store
<clever> petersjt014: you could override nix and set aws-sdk-cpp = null;
<petersjt014> where would that be done?
<ToxicFrog> petersjt014: amazon web services SDK, C++ version, at a guess based on the name
<clever> petersjt014: the same place you do all other packageOverrides
<petersjt014> gonna havta look it up then, haven't done that before
eadwu has quit [Quit: WeeChat 2.3]
<petersjt014> I found some examples, but none really suggest how to *exclude* certain things. halp?
<clever> petersjt014: you have to override one of its inputs to null, nix = pkgs.nix.override { aws-sdk-cpp = null; };
justanotheruser has quit [Ping timeout: 240 seconds]
<petersjt014> Am I putting that as a top-level expression in configuration.nix?
<petersjt014> wait I think I got it
<petersjt014> maybe
<clever> petersjt014: under nixpkgs.config.packageOverrides
<delan> anyone know how to interpolate $XDG_RUNTIME_DIR or the uid into a systemd.user.sockets.<name>.listenStreams (or ListenStream= if it could/should be done in systemd.socket(5) natively)?
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhS4l
<delan> oh I see, %t and %U respectively (see systemd.unit(5) section SPECIFIERS)
jluttine has joined #nixos
eadwu has joined #nixos
eadwu has quit [Client Quit]
alex`` has quit [Ping timeout: 244 seconds]
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #55104 → mkp224o: init at 1.2.0 → https://git.io/fhS4R
<petersjt014> hmm--seems closer, but now I'm getting "value is null when a set was expected, at /nix/var.../package-management/nix/default.nix:36:13", and It's building anyway. Also: is it certain that it'll even be using the values in configuration.nix If I haven't been able to compile it once yet?
slack1256 has joined #nixos
<petersjt014> I remember there being another relevant config file somewhere for nix-env/nixos-rebuild
eadwu has joined #nixos
<clever> petersjt014: one sec...
<clever> petersjt014: nixos-rebuild always obeys nixpkgs.config from configuration.nix
<clever> petersjt014: ah, i see, it will try to do an override against aws-sdk-cpp, and can then fail due to it being null
<clever> petersjt014: at this point, it would be simpler to just edit a clone of nixpkgs, on the same rev your currently using
<clever> and delete all references to aws-sdk-cpp, in the above file
silver has quit [Read error: Connection reset by peer]
eadwu has quit [Quit: WeeChat 2.3]
eadwu has joined #nixos
eadwu has quit [Client Quit]
tsrt^ has quit []
eadwu has joined #nixos
init_6 has joined #nixos
<petersjt014> sorry, but would I be doing a git clone and just commenting out a ton of relevant lines? Is that it
goibhniu has quit [Ping timeout: 245 seconds]
<slack1256> Anyone including taffybar on their xmonad config results on a failing nixos build?
<clever> petersjt014: pretty much
<petersjt014> hm. off to find ca2ba44cab4 then
Ariakenom has quit [Quit: Leaving]
shabius has quit [Quit: Leaving]
astrofog has joined #nixos
n0qqe has joined #nixos
justanotheruser has quit [Ping timeout: 268 seconds]
jasongrossman has quit [Read error: Connection reset by peer]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
noqqe has quit [Ping timeout: 240 seconds]
n0qqe is now known as noqqe
jasongrossman has joined #nixos
<petersjt014> found it, sweet
<petersjt014> one last thing: are there instructions anywhere for using a customized repo for a rebuild? I haven't done that beofre
shabius has joined #nixos
<ottidmes> petersjt014: just set NIX_PATH with nixpkgs=/path/to/your/custom/repo, you can do this via nix.nixPath in configuration.nix
<ottidmes> slack1256: more people seem to have run into that problem yes: https://logs.nix.samueldr.com/nixos/search?q=taffybar
<clever> petersjt014: but note, nix.nixPath only takes effect after nixos-rebuild, so you need -I nixpkgs=/path/to/your/custom/repo to bypass that
init_6 has quit []
xkapastel has quit [Quit: Connection closed for inactivity]
<petersjt014> cool, thx
<ottidmes> slack1256: seems you will have to use a different GHC version: https://github.com/NixOS/nixpkgs/issues/46757
<{^_^}> #46757 (by PierreR, 19 weeks ago, closed): Taffybar should use `ghc-8.2.x`
<slack1256> ottidmes: Thank for the links!
<ghostyy> is wayland supported in nixos?
<petersjt014> I got it to sorta work last time I tried
<petersjt014> but that *was* on raspberry pi
<ghostyy> i looked there but i was kind of expecting some kind of "services.wayland.enable" option
<petersjt014> from what I understand the architecture is fairly different and running 'just wayland' isn't a thing. But even if I'm wrong, you could try enabling sway. Unless it's available on x11 (very sure it isn't), wayland will certainly be running then
<ghostyy> ahh, i see
<ghostyy> ill give that a shot then
<petersjt014> but don't fully trust me on that. I avoid even running a WM if I can help it.
<ghostyy> lol wait what, how does that work?
<petersjt014> no gui applications (don't always need 'em), abduco and dvtm for multitasking, along with nq and nnn
<ghostyy> i have never even heard of most of those
mizu_no_oto has joined #nixos
<petersjt014> nnn is a file browser, nq is a job manager (run nq do_thing and the output is piped into a file so you have your console back)
<ghostyy> whoa
<ghostyy> that actually sounds pretty cool
<petersjt014> abduco lets you have detachable named sessions
<petersjt014> and dvtm is tmux but better because I like it better
<ghostyy> earlier today i realized that awesome wm was using 3GB of memory after about 11 days of uptime so not running a window manager sounds kinda cool right about now
<petersjt014> there's also dwm if you need a super slimmed down one
<ghostyy> i really wanted to like dwm but the process of merging all of the different patches to make it do what i wanted it to do was way too time-consuming
<petersjt014> apparently overlays can help with that, but I haven't bothered yet--I just use the defaults lol
<petersjt014> also, this is whereI get a lot of my tools from: http://suckless.org
<ghostyy> ah yeah ive heard of them
<petersjt014> yeah, I can recommend most of their projects and stuff from their 'rocks' page
<pbb> how do I add multiple ExecStop directives to a systemd service?
m0rphism has quit [Quit: WeeChat 2.2]
<petersjt014> they write some really clean code too--even made an irc client in less then 1000 lines of C: http://git.suckless.org/ii/file/ii.c.html
<jasongrossman> ghostyy: There are lots of WMs that use very little memory. NixOS has (at least) awesome, stumpwm, xmonad and qtile, as well as dwm.
<clever> jasongrossman: i also run ratpoison on my media player
<ghostyy> >NixOS has (at least) awesome,
<ghostyy> did you read my post :P
<jasongrossman> petersjt014: I din't know about nq. Thank you.
<jasongrossman> ghostyy: Oh whoops. And that's interesting.
<clever> i didnt really check if ratpoison is supported fully, but this is enough for a media frontend
<ghostyy> i switched to whatever the unstable version is
<ghostyy> so hopefully that will fix it
<Church-> Honestly suckless just sucks.
<jasongrossman> FWIW, I use stumpwm (which is descended from ratpoison).
<jasongrossman> ghostyy: I hope so.
<Church-> Not a fan of their politics and while the code is half decent, add some dang comments
<ghostyy> Church-, excuse me i will have you know that their video editor is exquisite
<Church-> Even if it is small.
<Church-> Eh I guess blind is alright.
<ghostyy> i was being sarcastic :P i don't think it's possible to actually use blind to do any real work...
<petersjt014> some of their stances are weird, like strongly disliking symlinks, but I either use shit they make/recommend or ignore their other ramblings
<ghostyy> i thought it was a joke at first but apparently he actually wrote the code
<ottidmes> on the dwm page "Because dwm is customized through editing its source code, it's pointless to make binary packages of it. This keeps its userbase small and elitist. No novices asking stupid questions." yep, some weird stances
<clever> ottidmes: xmonad works pretty much the same way
<petersjt014> I can understand the why of that. Really do wish their was a better security-usability compromise tho
<petersjt014> honestly If I had a choice I'd just configure shit in dhall
<petersjt014> turing complete config languages scare me
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 250 seconds]
Mateon2 is now known as Mateon1
<ottidmes> clever: xmonad tries to make it somewhat user friendly at least, its just that Haskell has a high threshold for some
<petersjt014> in much the same way that a ceiling is steep compared to a floor
<petersjt014> I learned at least four functional langs before even touching haskell
<DigitalKiwi> you don't need to know haskell to use xmonad
<clever> petersjt014: the only functional language i learned before haskell, was nix
<ottidmes> I learned Haskell before C (I could read it, but never wrote any in it, only few years back with my Pebble watch is that I started using C)
iddt has quit [Quit: bye]
<petersjt014> If you want to learn/teach an FP lang, Elixir is prob the absolute best to start with.
<ottidmes> and I think Rust is great for learning imperative languages
<petersjt014> no ultra-terseness like in haskell, and the ruby-ish syntax is hella easy to start with. leanred that shit in like a week and a half
<ottidmes> petersjt014: haha, you mean stuff like this: foldr (\x -> ($) maybe (second (x :)) (\y -> first (y :)) $ f x) ([], [])
<petersjt014> sorta yeah. I can almost mkae that out (I know foldRight, Optionals, the \val syntax, but still cant piece it together)
upsaday_ has quit [Remote host closed the connection]
<petersjt014> although it gets crazier. I raise you one:
upsaday_ has joined #nixos
<ottidmes> but I got to say, Rust has been the most pleasant new language for me to learn, was productive in it within a day, only had one unexpected thing, and one error message that was a bit confusing, but the rest was very intuitive if you already know a bunch of other languages
<petersjt014> ^ that is my default 'oh look some haskell' picture
<simpson> petersjt014: Recursion schemes are funnily named, it's true, but it's
<simpson> *it's just like any other field with specialized terminology. https://blog.sumtypeofway.com/an-introduction-to-recursion-schemes/ is a good introduction.
<ghostyy> where is chflags for nixos
<simpson> ,locate chflags
<{^_^}> Couldn't find in any packages
<simpson> ,locate chattr
<{^_^}> Found in packages: busybox, e2fsprogs.bin
xkapastel has joined #nixos
<ghostyy> ah i guess thats what im supposed to use
<simpson> Are you on BSD right now or Linux? I think that, on Darwin, you'd use OSX's chflags.
<ghostyy> im on nixos :P
<clever> petersjt014: https://imgur.com/a/VoKGjSO
<simpson> Ah. Then not sure what you want to do, but chattr is hopefully a good starting place.
<ghostyy> i have an old root filesystem which contains a /var/empty which i want to delete
<clever> ghostyy: chattr and lsattr
<ghostyy> chattr -i works
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<jasongrossman> clever (or anyone): how did that lecturer get writing all the way up the blackboard?
<petersjt014> clever: ofo.wav
<petersjt014> *oof
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<petersjt014> wheeled ladder
<ottidmes> jasongrossman: pushing it down, thats how my prof did it when I learned Haskell
<petersjt014> ls
<petersjt014> whups wrong one lol
philippD has joined #nixos
<clever> petersjt014: https://imgur.com/a/GWH0ncV
<ghostyy> isnt it just main = putStrLn "hello world"
aleph- has joined #nixos
<clever> ghostyy: it can be that simple, if you want it to be
<petersjt014> technically it's a subset of all possible combinations of ascii characters
<ghostyy> filter (`elem` ['A'..'Z']) "i lauGh At You BecAuse u r aLL the Same"
<petersjt014> wut
<clever> ghostyy: *doh*, i had filter backwards when running that in my head
<petersjt014> ooooooooooooohhh i see it
iqubic has joined #nixos
b has quit [Ping timeout: 268 seconds]
<samueldr> happy spheres
<pbb> How can I merge two attribute sets recursively, so that { a = { b = 1; c = 4; }; } { a = { b = 3; d = 5; }; } becomes { a = { b = 3; c = 4; d = 5; }; } ?
<petersjt014> hol up i stg i was just on that manual page
astrofog has quit [Remote host closed the connection]
<petersjt014> don't quote me on this, but: https://nixos.org/nixpkgs/manual/#function-library-lib.attrsets.zipAttrs
<ottidmes> > concatStrings (filter (c: builtins.match "[A-Z]" c != null) (stringToCharacters "tHere arE aLL kind Of Ways tO wRite helLo worlD"))
<{^_^}> "HELLOWORLD"
<pbb> petersjt014: unfortunately that doesn't work, if one attribute is set multiple times it puts it in an array
<ottidmes> pbb: recursiveUpdate
<ottidmes> > recursiveUpdate { a = { b = 1; c = 4; }; } { a = { b = 3; d = 5; }; }
<{^_^}> { a = <CODE>; }
<pbb> yup, thanks
<pbb> ottidmes++
<{^_^}> ottidmes's karma got increased to 11
<pbb> {^_^}
<ottidmes> > deepVal (recursiveUpdate { a = { b = 1; c = 4; }; } { a = { b = 3; d = 5; }; })
<{^_^}> undefined variable 'deepVal' at (string):217:1
<ottidmes> > deepEval (recursiveUpdate { a = { b = 1; c = 4; }; } { a = { b = 3; d = 5; }; })
<{^_^}> { a = { b = 3; c = 4; d = 5; }; }
<pbb> > :p recursiveUpdate { a = { b = 1; c = 4; }; } { a = { b = 3; d = 5; }; }
<{^_^}> Unknown command: p
<pbb> meh, can't do that
<ottidmes> pbb: yeah, its not quite nix repl
<pbb> yeah, the person who runs it wouldn't want us to build derivations :P
<iqubic> It's clever's bot.
<iqubic> clever: made it.
<clever> nope, infinisil
<ottidmes> I am pretty sure you can make it do things its not supposed to do, but lets not, I am happy we have this feature at hand
<iqubic> Oh. I see.
<pie___> do haskell packages not take a patches attribute like i did on line 15 here?: https://bpaste.net/show/103878dddb50
schjetne has joined #nixos
<clever> pie___: i think you want overrideCabal
<pie___> clever, can I just replace the .override?
<pie___> or is that going to need other changes too
<clever> pie___: also, your not using myhaskellpackages anywhere,s so those overrides have zero effect
<pie___> oh derp
<pie___> i forgot i changed that
<pie___> thats why nothing was happening
<pie___> sigh thanks
<petersjt014> sooo I'm still trying to create my AWS-less git repo and I found this:
<clever> petersjt014: foo = haskell.lib.overrideCabal super.foo (drv: { ... }); is how overrideCabal works
<petersjt014> not fully sure, but it seems like a boolean option/flag I can turn off
<clever> pie___: setupHaskellDepends only works under overrideCabal
<pie___> clever, using patches works now btw
<pie___> but ill check out overridecabal
eadwu has quit [Quit: WeeChat 2.3]
<pie___> yeah i dont actually need that anymore with my current variation apparently
<clever> petersjt014: ah, that wasnt in the version i checked
<clever> petersjt014: then you just want nix = super.nix.override { withAWS = false; };
<petersjt014> within nixpkgs.nix.override or whatever it was?
<clever> petersjt014: under packageOverrides
schjetne has quit [Ping timeout: 268 seconds]
<petersjt014> I have nixpkgs.config.packageOverrides = pkgs: { nix = super.nix.override { withAWS = false; }; }; and it thinks super is a variable. Also is there a specific way to specify this with the -I flag ?
<clever> petersjt014: you want pkgs in that case
<petersjt014> that's better
<petersjt014> ...and suddenly I dont need to specify it in the cmd with -I. huh.
<clever> yeah, no need for an -I now, that we have a usable override
<petersjt014> sweet all it needs to compile now is nix and nixos-rebuild itself
drakonis has joined #nixos
<petersjt014> might actually work this time
nikola_i has joined #nixos
<petersjt014> thanks
gagbo has quit [Quit: I'm out !]
counting1ort has joined #nixos
aleph- has quit [Ping timeout: 246 seconds]
countingsort has quit [Ping timeout: 268 seconds]
ottidmes has quit [Ping timeout: 272 seconds]
q6AA4FD has quit [Read error: Connection reset by peer]
q6AA4FD has joined #nixos
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 272 seconds]
lassulus_ is now known as lassulus
pie__ has joined #nixos
pie___ has quit [Ping timeout: 272 seconds]
lord| has quit [Read error: Connection reset by peer]
init_6 has joined #nixos
lord| has joined #nixos
blankhart has quit [Quit: WeeChat 1.9.1]
endformationage has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #55105 → mpw: point upgrade and minor cleanups → https://git.io/fhSRd
sicklorkin has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
pmahoney has joined #nixos
balsoft has joined #nixos
<pmahoney> trying to build a package that tests filesystem xattrs during the build, but fails with ENOTSUP. outside of a build, the command "pxattr -T" succeeds (unrelated program that has built-in xattr test). inside of a build (with sandbox=true and sandbox=false in nix.conf), pxattr -T fails with ENOTSUP. wondering why that is, or how that happened? comparing /proc/self/mountinfo inside and outside the build reveals noth
<pmahoney> ing (though i'm not sure what i'm looking for)
fusion809 has quit [Quit: Leaving]
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<balsoft> z
brejoc has joined #nixos
<clever> pmahoney: the nix daemon disables extended attributes within the build sandbox
<pmahoney> clever: is there a way to see that from within the build? something in /proc? (also, i've turned off the sandbox and still get ENOTSUP)
<clever> pmahoney: that stuff ignores the state of the sandbox flag
<pmahoney> thanks!
<clever> pmahoney: oh, the nix.conf flag filter-syscalls can disable it
<clever> but then its possible for a nix build to generate a binary, that is setuid nixbld1
<clever> which can then be a potential security exploit
balsoft has quit [Ping timeout: 240 seconds]
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<pmahoney> i'm looking at https://please.build/ which seems to use xattrs... so 1) i can't build it 2) anything that requires "please" to build would be a challenge to package...
<clever> pmahoney: can you disable its use of xattr?
balsoft has joined #nixos
<pmahoney> clever: i'm not yet very familiar with "please", but xattrs appear to be central to its operation (e.g. https://github.com/thought-machine/please/pull/355)
<{^_^}> thought-machine/please#355 (by peterebden, 29 weeks ago, merged): Replace hash files with xattr tags
<clever> pmahoney: sounds like they sorely need an immutable store of files (*eyes /nix/store/*) and rather then do that, they hide things in xattrs where nobody knows to find it :P
<pmahoney> i know, right...
balsoft has quit [Read error: Connection reset by peer]
balsoft has joined #nixos
balsoft has quit [Ping timeout: 268 seconds]
palo1 has joined #nixos
init_6 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @danbst opened pull request #55106 → postgresql test: fix → https://git.io/fhS0m
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
slack1256 has quit [Remote host closed the connection]
georges has quit [Quit: ZNC 1.7.1 - https://znc.in]
griff_ has joined #nixos
orivej has joined #nixos
Guest28063 has quit [Ping timeout: 268 seconds]
endformationage has quit [Quit: WeeChat 2.3]
teej has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 240 seconds]
Judson has joined #nixos
Judson is now known as Guest65019
georges has joined #nixos
balsoft has joined #nixos
balsoft has quit [Read error: Connection reset by peer]
balsoft has joined #nixos
balsoft has quit [Client Quit]
balsoft has joined #nixos
ixxie has joined #nixos
schjetne has joined #nixos
balsoft has quit [Ping timeout: 245 seconds]
schjetne has quit [Ping timeout: 268 seconds]
ixxie has quit [Ping timeout: 244 seconds]
ixxie has joined #nixos
<yl[m]> I'm getting a password prompt when I try to nixops deploy an ec2 instance, anyone seen this before?
<jasongrossman> c
balsoft has joined #nixos
ixxie has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhS09
ixxie has joined #nixos
<clever> yl[m]: has this machine worked before? did you rename any keypairs in the deployment?
<yl[m]> clever: I made a mistake and lost the deployment state. SO I manually deleted all resources (security groups + ec2 instance) and was starting over
ixxie has quit [Ping timeout: 268 seconds]
<clever> yl[m]: did you also delete the ec2 keypair?
<yl[m]> clever: I missed that one. I just did, going to try again
ixxie has joined #nixos
<yl[m]> clever: 🤦‍♂️ never mind, it was my ssh key not present on this machine
orivej has joined #nixos
<clever> nixops should automatically put the keypair its creating on the newly made machine
<yl[m]> clever: true but it uses the EC2 key pair for the initial connection
<yl[m]> I forgot to make that one available, hence the password prompt
vonfry has joined #nixos
ixxie has quit [Ping timeout: 245 seconds]
<vonfry> I try to install a tool with cmake. It is successful in nix-shell, but failed with nix-env, because of cmake cannot find a command included in a file downing by cmake.
orivej has quit [Ping timeout: 244 seconds]
ixxie has joined #nixos
leotaku has quit [Ping timeout: 268 seconds]
leotaku_ has joined #nixos
ottidmes has joined #nixos
<clever> vonfry: include files and gcc will only ever work inside nix-shell and nix-build
<clever> vonfry: cmake and gcc will break if you nix-env them
<vonfry> The file is not a head file, it is a cmake file and load in cmake
<vonfry> I try to update fortune-mod from 1.99 to 2.6.2 on nixpkgs.
<{^_^}> [nixpkgs] @fpletz merged pull request #55084 → compton-git: 5 -> 5.1-rc2, fix crashes and other regressions → https://git.io/fhSGf
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhSEJ
iqubic` has joined #nixos
<vonfry> cmake error: Unknown CMake command "SHLOMIF_COMMON_SETUP". The command is loaded in another cmake file which is downloaded
<{^_^}> [nixpkgs] @fpletz closed pull request #55080 → cbfstool: 4.7 -> 4.9 → https://git.io/fhS3G
iqubic has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #55079 → astah-community: remove → https://git.io/fhSOC
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/fhSEI
balsoft has quit [Ping timeout: 240 seconds]
<clever> vonfry: sounds like it needs to be imported or included first
ixxie has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #55046 → cmake: disable package registry → https://git.io/fhyx4
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to staging: https://git.io/fhSEt
kurimi has joined #nixos
ixxie has joined #nixos
Guest65401 has quit [Ping timeout: 268 seconds]
Diagon has joined #nixos
<vonfry> clever: I have checked the cmake file. It contains a INCLUDE command and in nix-shell, cmake can work correctly to generate a Makefile, but failed, when I use nix-env to install the packages.
<clever> vonfry: what args are you passing to nix-env?
<vonfry> nix-env -f <path to nixpkgs> -i <pkgs name>
<clever> vonfry: does it also fail with nix-build <path to nixpkgs> -A pkgname?
<{^_^}> [nixpkgs] @fpletz merged pull request #54938 → iperf2: 2.0.12 -> 2.0.13 → https://git.io/fhMtu
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/fhSEc
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/fhSEC
<{^_^}> [nixpkgs] @fpletz merged pull request #54932 → Mfcl8690cdw update → https://git.io/fhMUW
<vonfry> clever: yes
<clever> ah, then its not really a nix-env level problem
<clever> vonfry: can you pastebin the error, and push your nixpkgs changes to a branch somewhere?
ixxie has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #54968 → sudo-font: init at 0.37 → https://git.io/fhDmj
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhSEW
Xal has quit [Ping timeout: 272 seconds]
ixxie has joined #nixos
Xal has joined #nixos
Diagon has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @fpletz merged pull request #54966 → betterlockscreen: init at 3.0.1 → https://git.io/fhMjo
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/fhSEl
upsaday__ has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #54959 → gitlab: add openssh dependency to gitaly → https://git.io/fhMHd
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhSEB
upsaday_ has quit [Ping timeout: 268 seconds]
<vonfry> clever: https://git.io/fhSE2
ixxie has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #54744 → ponyc: 0.25.0 -> 0.26.0 → https://git.io/fhivq
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « ponyc: 0.25.0 -> 0.26.0 »: https://git.io/fhSEV
ixxie has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #54767 → nagios: 4.4.2 -> 4.4.3 → https://git.io/fhiGC
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « nagios: 4.4.2 -> 4.4.3 »: https://git.io/fhSEr
<{^_^}> [nixpkgs] @fpletz merged pull request #54771 → mysql57: 5.7.24 -> 5.7.25 → https://git.io/fhinT
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « mysql57: 5.7.24 -> 5.7.25 »: https://git.io/fhSEo
vonfry has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @fpletz merged pull request #54774 → mysql-workbench: 8.0.13 -> 8.0.14 → https://git.io/fhilF
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « mysql-workbench: 8.0.13 -> 8.0.14 »: https://git.io/fhSEi
<clever> CMake Warning at cmake/shlomif_common_bootstrap.cmake:7 (MESSAGE):
<clever> Could not find Shlomif_Common.cmake - you can find it here:
<{^_^}> [nixpkgs] @fpletz merged pull request #54842 → debianutils: 4.8.6 -> 4.8.6.1 → https://git.io/fhPo6
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « debianutils: 4.8.6 -> 4.8.6.1 »: https://git.io/fhSEd
<{^_^}> [nixpkgs] @fpletz merged pull request #54849 → dpkg: 1.19.2 -> 1.19.4 → https://git.io/fhPXO
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhSEF
<pie__> how can I find out what revision of a nixpkgs channel i just successfully built a package with, so i can pin it?
<{^_^}> [nixpkgs] @fpletz merged pull request #54851 → gitAndTools.diff-so-fancy: 1.2.0 -> 1.2.5 → https://git.io/fhPyT
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « gitAndTools.diff-so-fancy: 1.2.0 -> 1.2.5 »: https://git.io/fhSEN
<clever> pie__: nix eval nixpkgs.lib.version, if you used <nixpkgs>
<pie__> yeah, ok thanks
<pie__> clever, so I get 9d608a6f592 , how can i turn that into a full rev?
<clever> `git show 9d608a6f592`
<pie__> perfect, thaks
ixxie has quit [Ping timeout: 245 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @fpletz merged pull request #54858 → openra: updated engines and mods → https://git.io/fhP7C
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhSEh
ixxie has joined #nixos
balsoft has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #54923 → gitAndTools.lab: specify subPackages → https://git.io/fh1Fx
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhSuf
<{^_^}> [nixpkgs] @fpletz merged pull request #54709 → nixos/lightdm: inherit DPI settings from xserver config → https://git.io/fh6iu
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhSuJ
<{^_^}> [nixpkgs] @fpletz merged pull request #54706 → nixos/lightdm: allow cursor theme customisation. → https://git.io/fh6Kh
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhSuU
mounty has quit [Quit: Konversation terminated!]
ixxie has quit [Ping timeout: 245 seconds]
elgoosy has joined #nixos
ixxie has joined #nixos
init_6 has joined #nixos
balsoft has quit [Remote host closed the connection]
mounty has joined #nixos
ixxie has quit [Ping timeout: 250 seconds]
realrokka has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
ixxie has quit [Ping timeout: 245 seconds]
ixxie has joined #nixos
<{^_^}> [nixpkgs] @endgame opened pull request #55108 → haskellPackages.these: jailbreak → https://git.io/fhSus
init_6 has quit [Ping timeout: 245 seconds]
tom39291 has quit [Quit: WeeChat 1.6]
agander has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #54760 → mobile-broadband-provider-info: 20151214 -> 20190116 → https://git.io/fhitj
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « mobile-broadband-provider-info: 20151214 -> 20190116 »: https://git.io/fhSuc
ixxie has joined #nixos
<pie__> whats the correct way to use nix-shell or nix-build as the interpreter for a shebang?
<pie__> #! /usr/bin/env nix-shell
<pie__> #! nix-shell -v -A shell
<pie__> doesnt seem to work for me, i get : error: getting status of '/somedir/default.nix': No such file or directory
<clever> pie__: i think that mode is generally used with -p, not -A
ixxie has quit [Ping timeout: 245 seconds]
<symphorien> you need to use -i with nix-shell as an interpreter, don't you ?
<pie__> clever, why should that matter though? the problem is its not taking the fine as an argument
<pie__> symphorien, that sounds reasonable i guess
<pie__> not sure how i can get that to work either though
jackdk_ has joined #nixos
<symphorien> what is the interpreter you actually want to use ?
alex`` has joined #nixos
<pie__> I want to be able to run a nix file some way by default so you can just run it in your shell and get something
<pie__> well i guess i could write a *separate* script that calls it
<clever> pie__: ive just been using shellHook in shell.nix files, and ignoring the #! entirely
<pie__> clever, mehh :P
<pie__> clever, so thats just a shell.nix that runs another nix file via bash?
<clever> pie__: and then `nix-shell -A fixYarnLock`
<clever> that will then run whatever is in the shellHook (and the exit makes it not open a normal shell), and provide whatever is in the buildInputs
kumikumi has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
wigust- has joined #nixos
<clever> pie__: yeah, ive had to deal with that mess before
<clever> pie__: made harder by darwin
<clever> ${toString ./.} in nix is trivial
wigust has quit [Ping timeout: 246 seconds]
wigust- has quit [Ping timeout: 250 seconds]
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #55108 → haskellPackages.these: jailbreak → https://git.io/fhSus
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fhSua
<pie__> I'm getting "not a tree object" using https://bpaste.net/show/c5387bf1b5fd
<pie__> i found references to it on github but i havent seen a workaround yet
<clever> pie__: the cache in ~/.cache/nix/git/ might be corrupt
<{^_^}> [nixpkgs] @etu opened pull request #55109 → chirp: 20181018 -> 20190201 → https://git.io/fhSur
wigust has joined #nixos
hellrazor has joined #nixos
kenshinCH_ has joined #nixos
hphs^ has joined #nixos
<pie__> clever, the heck
<kenshinCH_> For deoplete, I need neovim to use version 0.3.2 of the python package neovim (now called pynvim), but the one shipped with NixPkgs is older. I tried a package override in configuration.nix following https://nixos.org/nixpkgs/manual/#how-to-override-a-python-package-using-overlays but upon switch nothing happens
<kenshinCH_> Glad for any suggestion :P
<pie__> clever, thats gonna break every time i run out of disk space
<clever> pie__: its a weird attempt to dedup git repos, by sharing a single object store for every call to fetchGit
schjetne has joined #nixos
<pie__> clever, i kiiinda figured
Ariakenom has joined #nixos
<pie__> clever, it doesnt sound horrible, it its gonnabreak every time i run out of disk
<pie__> im guessing/
<pie__> unless it was something else that brike it, inwhich case yay...
<tilpner> Hi, I want continuous builds, but my pinning mechanism depends on IFD. Is there any way to release Hydra restrictions, or should I use a systemd timer that calls nix-build? Are there other viable options?
bpa has joined #nixos
<clever> tilpner: allowed-uris
<teto> kenshinCH_: open a PR to bump pynvim , it's indeed marked outdated on nixos0unstable
<clever> tilpner: that pokes holes into the restrictions hydra has, allowing you to fetch urls
schjetne has quit [Ping timeout: 246 seconds]
<tilpner> Oh! Does it just match prefixes? Then I could just allow all of github :o
<{^_^}> [nixpkgs] @etu opened pull request #55110 → fldigi: 4.0.18 -> 4.1.00 → https://git.io/fhSuS
<clever> tilpner: there are some funky rules, involving /, so https://github.com/Nix wont match NixOS
<clever> but other then that, yeah, its prefix based
martinb_ has joined #nixos
jackdk_ has quit [Remote host closed the connection]
joehh has joined #nixos
martinb_ has quit [Remote host closed the connection]
martinb_ has joined #nixos
<tilpner> Hmm, "error: access to URI 'https://github.com/nixos/nixpkgs/archive/... is is forbidden in restricted mode"
<tilpner> With allowed-uris = https://github.com/
<clever> tilpner: try without the trailing /
fendor_ has joined #nixos
martinb_ is now known as timor
<tilpner> I did
<clever> tilpner: which version of nix (it says that at the bottom of hydra)
<tilpner> Oh, yeah
<tilpner> :(
<clever> Hydra 0.1.1234.1d613d (using nix-2.1pre6148_a4aac7f). You are signed in as clever.
<tilpner> 2.1.3 vs 2.2
<tilpner> Any way I can tell hydra to use 2.2?
<clever> tilpner: i think 2.1.3 is newer then 2.1pre, so it should have it
das_j has quit [Remote host closed the connection]
<clever> tilpner: double-check your gitrev against the 2 places i linked
das_j has joined #nixos
<tilpner> I can just override hydra to use a newer nix, but I don't know how much hydra depends on Nix's internals
<tilpner> Ehh, what's the worst that could happen
<clever> tilpner: only a few spots care about it, the bigger issue is the perl bindings, those dont carry over when you override
das_j has quit [Client Quit]
<tilpner> Oh :(
das_j has joined #nixos
<clever> + nix = (import /home/clever/apps/nix-master/release.nix {}).build.x86_64-linux // { perl-bindings = pkgs.nix.perl-bindings; };
<clever> thats how i delt with it in one repo
<clever> they are jammed on in a weird way, so .overrideDerivation looses therm
<{^_^}> [nixpkgs] @etu opened pull request #55111 → flmsg: 4.0.7 -> 4.0.8 → https://git.io/fhSuQ
<tilpner> Couldn't you add them with overrideAttrs?
<clever> the perl bindings depend on the nix they are added to
<clever> so it cant be an attr on the derivation itself
<clever> has to at least be meta.passthru
m0rphism has joined #nixos
dermetfan has joined #nixos
rprije has quit [Ping timeout: 245 seconds]
flokli has quit [Quit: WeeChat 2.2]
<tilpner> I'm not sure I understand your point about the perl-bindings. I do services.hydra.package = pkgs.nixos-18_09.override { nix = config.nix.package; };, and config.nix.package.perl-bindings seems to be version 2.2. Do you mean Hydra requires them to be version 2.1.3 and I should use nixos-18_09.nix.perl-bindings?
flokli has joined #nixos
<tilpner> * pkgs.nixos-18_09.nix.override
<tilpner> Uhh... * pkgs.nixos-18_09.hydra.override
<clever> i think the perl bindings can be mismatched a bit, since you dont care that much about which nix the perl end uses
<{^_^}> [nixpkgs] @etu opened pull request #55113 → flrig: 1.3.41 -> 1.3.42 → https://git.io/fhSub
<tilpner> Oh, perl-bindings don't matter anyway
<tilpner> queue-runner doesn't build against Nix 2.2
<clever> what error? i have a patch for it
<tilpner> error: 'struct nix::Derivation' has no member named 'willBuildLocally'
<clever> *looks*
dermetfan has quit [Ping timeout: 240 seconds]
<clever> tilpner: ah, thats a new one, and i recently ran into it on my own machines: https://hydra.angeldsis.com/build/88770/nixlog/1
<clever> lets see...
<tilpner> But I'm not sure I want to patch 18.09s Hydra until it works. The proper thing to do would be fixing Hydra on unstable
<tilpner> I'm only using that because it built, and the one on unstable didn't
<{^_^}> [nixpkgs] @romildo opened pull request #55114 → tetra-gtk-theme: 0.2.0 -> 201902 → https://git.io/fhSuA
<clever> tilpner: what error did unstable fail with?
<tilpner> Although... this is exactly the same error that's blocking Hydra on master
<tilpner> So there's no decision here
<tilpner> #55101
<{^_^}> https://github.com/NixOS/nixpkgs/pull/55101 (by lopsided98, 10 hours ago, open): hydra: 2018-08-07 -> 2019-02-01
<clever> [clever@amd-nixos:~/apps/hydra-will-build]$ nix-build release.nix -A build.x86_64-linux --arg nixpkgs ~/apps/nixpkgs
<clever> this should force hydra master, to use nixpkgs master
<{^_^}> [nixpkgs] @danbst opened pull request #55115 → elasticsearch: add example on how to use plugins → https://git.io/fhSuj
martinb_ has joined #nixos
<clever> tilpner: that passes...
timor has quit [Ping timeout: 240 seconds]
schjetne has joined #nixos
<tilpner> That's good to know, so hydra doesn't need fixing, just nixpkgs (and there's already a PR for that) :)
<clever> and thru the magic of github!
<{^_^}> [nixpkgs] @danbst merged pull request #55106 → postgresql test: fix → https://git.io/fhS0m
<{^_^}> [nixpkgs] @danbst pushed to master « postgresql test: fix (#55106) »: https://git.io/fhSzT
<clever> you now have a patch you can jam into the patches array
<tilpner> Thank you, applied and built (and disabled checks)
<tilpner> Not it says "using nix-2.2", but the eval still fails on IFD
<tilpner> *Now
<{^_^}> [nixpkgs] @etu opened pull request #55116 → xastir: 2.0.8 -> 2.1.0 → https://git.io/fhSzm
kenshinCH_ has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @primeos opened pull request #55117 → [WIP] sway-beta: 1.0-beta.2 -> 1.0-rc1 → https://git.io/fhSzY
<{^_^}> [nixpkgs] @andir opened pull request #55119 → Firefox add support for native wayland backend → https://git.io/fhSzO
archz has joined #nixos
thc202 has joined #nixos
<clever> tilpner: what does the eval say, exactly?
<tilpner> error: access to URI 'https://github.com/nixos/nixpkgs/archive/9e5a13f6f1418700c9747da8dbbbff51d11c8dc0.tar.gz' is forbidden in restricted mode
<tilpner> Oh
<{^_^}> [nixpkgs] @dotlambda pushed 20 commits to staging-next: https://git.io/fhSz3
<clever> tilpner: ?
<{^_^}> [nixpkgs] @etu opened pull request #55120 → xlog: 2.0.15 -> 2.0.17 → https://git.io/fhSzG
<tilpner> I copied your exact allowed-uris line
<tilpner> Which had uppercase NixOS allowed
<clever> ah
<tilpner> And I didn't notice the difference until I pasted it :/
<tilpner> So 2.2 was probably unrelated
<clever> possibly
fendor_ has quit [Ping timeout: 250 seconds]
<tilpner> Sorry for that, and thanks for your help :)
<{^_^}> [nixpkgs] @roberth pushed to master « Partially revert 755e824 »: https://git.io/fhSzn
<jonge> hi, i am trying to setup a nix shell env where i use jupyter with additional python libraries. does anybody know an example that does this already and that is online somewhere?
archz has quit [Quit: Page closed]
archz has joined #nixos
<steveeJ> jonge: I think it works if you define a custom python package like this: https://gitlab.com/steveeJ/infra/blob/master/nix/home-manager/configuration/graphical-fullblown.nix#L33-55 and add jupyter in that environment
<jonge> steveeJ: oh nice that looks even easier than using the kernel create function
agander_ has joined #nixos
agander is now known as Guest2478
Guest2478 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
agander_ is now known as agander
joehh has quit [Ping timeout: 245 seconds]
joehh has joined #nixos
silver has joined #nixos
<emily> does anyone use DNS-over-(HTTP|TLS) on NixOS? any tips for what tools to use?
<{^_^}> [nixpkgs] @markuskowa merged pull request #55113 → flrig: 1.3.41 -> 1.3.42 → https://git.io/fhSub
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhSzu
<wedens> emily: do you need https specifically? if not, maybe dnscrypt?
<wedens> oh. I didn't know it's dead :( https://github.com/NixOS/nixpkgs/issues/33540
<{^_^}> #33540 (by MrSorcus, 1 year ago, closed): DNSCrypt project is closed.
counting1ort is now known as countingsort
rfold has joined #nixos
<wedens> no, it's not. https://github.com/jedisct1/dnscrypt-proxy/commits/master seems to be fairly active
<rfold> When using haskellPackages.mkDerivation, is it possible to include extra files in the derivation? Preferably just a shell script that gets called during building to copy files into "$out/share".
bpa has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @etu merged pull request #55110 → fldigi: 4.0.18 -> 4.1.00 → https://git.io/fhSuS
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhSza
<emily> wedens: nixos packages v1
<emily> I suspect only the v2 is actively maintained
<emily> *nixos's service is for v1, rather
<{^_^}> [nixpkgs] @etu merged pull request #55111 → flmsg: 4.0.7 -> 4.0.8 → https://git.io/fhSuQ
<emily> I think there's a package for v2 but no service for it...
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhSzw
<{^_^}> [nixpkgs] @etu merged pull request #55116 → xastir: 2.0.8 -> 2.1.0 → https://git.io/fhSzm
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhSzr
<{^_^}> [nixpkgs] @etu merged pull request #55109 → chirp: 20181018 -> 20190201 → https://git.io/fhSur
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhSzo
<wedens> emily: is it incomatible configuration-wise?
<emily> I think so.
<emily> I think it's basically an entirely new program.
<emily> stubby seems like another option, for DNS-over-TLS, that has a NixOS service...
init_6 has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #54816 → gauge: 1.0.3 -> 1.0.4 → https://git.io/fhix2
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhSzM
hellrazor has quit [Ping timeout: 268 seconds]
hellrazor has joined #nixos
<steveeJ> is there any way to access a let binding from another file?
<{^_^}> [nixpkgs] @markuskowa merged pull request #54839 → cmst: 2018.01.06 -> 2019.01.13 → https://git.io/fhPV4
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhSz7
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhSz5
steppentyu has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #54840 → dhex: 0.68 -> 0.69 → https://git.io/fhPVK
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhSzA
jasongrossman has quit [Ping timeout: 245 seconds]
steppentyu has left #nixos ["Leaving"]
<wedens> steveeJ: why? let binding is for local definitions
<wedens> you don't need to use let if you don't want something to be local
<jluttine> Any ideas why a package derivation I've written fails to build with error: "contains a forbidden reference to /build/": https://github.com/NixOS/nixpkgs/pull/54383
<{^_^}> #54383 (by jluttine, 1 week ago, open): [Help needed] Openmodelica 1.13.0 [WIP]
dsiypl4__ has joined #nixos
<MichaelRaskin> Well, in a sandbox the build directory is in /build/
<MichaelRaskin> References to the build location can cause problems and are never useful, so in some modes they are forbidden
jasongrossman has joined #nixos
<steveeJ> wedens: I'm trying to compile a custom php version and the "generic" function in the php expressions is a let binding
<wedens> steveeJ: Iyour best bet is to try to override attrs of some already defined version, I think
<steveeJ> wedens: that works, at least it's compiling right now, though it's bit backwards
<wedens> no idea why this function is in let binding
<delroth> emily: I use dns-over-tls through stubby
<delroth> some people put unbound in front of it for extra caching, I haven't found a use for it just yet since these are servers and pretty light on dns resolutions
<jluttine> how can i just remove all nix-env generations? i cannot delete the current active one, but i just don't want any user environment, i just want the global environment
regulus_ has quit [Ping timeout: 268 seconds]
<clever> jluttine: if you uninstall everything with nix-env -e, then the current generation will be empty
jasongro` has joined #nixos
<clever> then you can delete the old generations as normal
<emily> delroth: delroth thanks!
jasongrossman has quit [Ping timeout: 245 seconds]
init_6 has quit []
<{^_^}> [nixpkgs] @markuskowa merged pull request #54819 → hivex: 1.3.15 -> 1.3.18 → https://git.io/fhPLu
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fhSgI
<{^_^}> [nixpkgs] @markuskowa merged pull request #54675 → sile: 0.9.5 -> 0.9.5.1 → https://git.io/fh6Wh
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhSgt
<{^_^}> [nixpkgs] @markuskowa merged pull request #54648 → yoshimi: 1.5.10 -> 1.5.10.1 → https://git.io/fh63z
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhSg3
regulus_ has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #55121 → nixos-build-vms: pass `--option` to `nix-build` → https://git.io/fhSgZ
brejoc has joined #nixos
timor_ has joined #nixos
init_6 has joined #nixos
noqqe has quit [Ping timeout: 272 seconds]
<lassulus> how do i evaluate release.nix? I try running `nix-build nixos/release.nix -A netboot` but I get "error (ignored): writing to file: Bad file descriptor; error: file '/home/lass/tmp/nixpkgs/vde1.ctl/.31941-00000' has an unsupported type"
<timor_> I am having a bit of trouble with 'requireFile', because the file that has to be provided has parentheses in its name, and nix-build complains about that being an invalid name. Is there a way to tell requireFile that it should use a different name (internally)?
<Unode> hi all, I have a dual config setup that creates intel+optimus and nvidia-only configs in grub. Both work as expected but when I load the nvidia option I get a strange sudo interaction
<Unode> In effect, sudo stops working as expected and always asks for password even if NOPASSWD settings matching the user groups' exist.
eadwu has joined #nixos
gagbo has joined #nixos
<Unode> the intel+optimus setup (my primary config) works as expected.
<Unode> I build the above with: nixos-rebuild switch -p nvidia_only -I nixos-config=/etc/nixos/nvidia_only.nix
<Unode> any suggestions on how to even debug this?
shibboleth has joined #nixos
<lassulus> Unode: check if /etc/sudoers is different?
<Unode> lassulus: I did, I don't see any difference
<lassulus> maybe your groups are different?
<Unode> lassulus: also checked, I'm still part of the group that should give NOPASSWD access
<Unode> I even, 'newgrp nopasswdgroup' and tried sudo after, same result
<Unode> tried running strace sudo but the job aborts
<{^_^}> [nixpkgs] @timokau merged pull request #50234 → nixos-generate-config: account for mount points & devices with spaces & tabs in the name → https://git.io/fptFU
<{^_^}> [nixpkgs] @timokau pushed commit from @aanderse to master « nixos-generate-config: account for mount points & devices with spaces & tabs in the name (#50234) »: https://git.io/fhSgB
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<ottidmes> how does versioning of Haskell packages work again in Nix? Like megaparsec is on version 6.5 at NixOS 18.09, and I know version 7.0 is available via megaparsec_7_0_0 or some such, does it remain at 6.5 just because I am on stable and I should be using nixos-unstable to get the updated versions? or what is the way to get the latest versions of packages compatible with the GHC version you are using?
lycium[m] has joined #nixos
<Unode> ottidmes: typically, if you are on a stable nixos release, whatever packages you have will be compatible
<Unode> if you mix different versions (unstable + else) then this is no longer guaranteed.
<Unode> ottidmes: In a way nix does a similar testing procedure to what the people behind slack do
<symphorien> timor_: requireFile seems to have a name argument
<Unode> lassulus: thanks for the help though. I might ask about this on github as I can't seem to find an explanation for it.
<Unode> unless there's something in the import machinery that breaks this somehow
<ottidmes> Unode: sure, but is it correct that stable does not do version bumps?
<steveeJ> how can I get the closure size of a specific nixos-container?
<Unode> ottidmes: Not entirely sure, but I wouldn't expect versions to be frozen
<Unode> ottidmes: that is, if you want to have a frozen set of packages, you typically 'pin' your nixpkgs to a specific commit
<ottidmes> Unode: hmm, it could indeed just be a case where some package still require 6.5 and so the upper bound has been set at 6.5 for the set as whole, its probably just that
<timor_> symphorien: yes it does, however that is the name of the file that is required.
shibboleth has quit [Remote host closed the connection]
<ottidmes> Unode: anyway, thanks!
<Unode> ottidmes: not really, it's more about if it compiles together or not. If it does, by nix standards is compatible.
<symphorien> timor_: well the user will have to rename it...
<Unode> ottidmes: there's some wiki page somewhere with instructions on how to pin a nixpkgs version (in case you don't know how to do this)
<{^_^}> [nixpkgs] @elseym opened pull request #55122 → ndppd module: refactor and fix → https://git.io/fhSg2
<timor_> symphorien: yes, that is what I have at the moment, not very convenient, because then the default message is misleading
<symphorien> you can override the message
<{^_^}> [nixpkgs] @Lassulus opened pull request #55123 → nixos/netboot: netboot_minimal downloads the iso and extacts it → https://git.io/fhSga
<noonien> samueldr: hello
<noonien> i've stumbled upon your nixos config, i've found it to be pretty well organised, and i'm modeling mine kind of the same :D
<noonien> i was wondering, what is `zr`?
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #55124 → coqPackages.mathcomp-analysis: init at 0.1.0 → https://git.io/fhSgX
<{^_^}> [nixpkgs] @danbst opened pull request #55125 → Revert "all-packages.nix: remove `res.` (next stage super)" → https://git.io/fhSg1
<{^_^}> [nixpkgs] @danbst merged pull request #55125 → Revert "all-packages.nix: remove `res.` (next stage super)" → https://git.io/fhSg1
<{^_^}> [nixpkgs] @danbst pushed to master « Revert "all-packages.nix: remove `res.` (next stage super)" (#55125) »: https://git.io/fhSgD
dermetfan has quit [Read error: Connection timed out]
dermetfan has joined #nixos
init_6 has quit []
<{^_^}> [nixpkgs] @primeos pushed to master « signing-party: Update meta.homepage »: https://git.io/fhSgH
<laas> does anyone here use wine?
<laas> the wine in nixpkgs seems to only support 32-bit
<laas> nvm I found out
<{^_^}> #50615 (by gallexme, 10 weeks ago, closed): how to run 64 bit programs with wine?
<infinisil> > wineWowPackages.full
<{^_^}> "<derivation /nix/store/5ikkjkvsxwaaazj5yb431p9zj7vsvq8c-wine-wow-3.0.4.drv>"
<infinisil> lassulus: There's this now ^^
<lassulus> laas:
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
teehemka_ has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « python37Packages.mysql-connector: 8.0.14 -> 8.0.15 »: https://git.io/fhS2k
<ToxicFrog> What does the `deps` field in activationScripts do? It doesn't seem to be documented anywhere.
oida has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #55127 → ocamlPackages.ocsigen_server: 2.9 -> 2.11 (and related updates) → https://git.io/fhS2n
Makaveli7 has joined #nixos
xkapastel has joined #nixos
teehemka_ is now known as teehemkay[away]
oida has joined #nixos
archz has quit [Remote host closed the connection]
Makaveli7 has quit [Ping timeout: 252 seconds]
Makaveli7 has joined #nixos
teehemkay[away] has quit [Ping timeout: 240 seconds]
teehemka_ has joined #nixos
kurimi has quit [Ping timeout: 246 seconds]
<samueldr> noonien: nothing, a prefix I used for isolating my options
<noonien> oh! that makes sense
<noonien> thanks! i thought it might have something to do with zram
Ariakenom has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
tobiasBora has quit [Ping timeout: 245 seconds]
dsiypl4__ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @primeos merged pull request #55117 → sway-beta: 1.0-beta.2 -> 1.0-rc1 → https://git.io/fhSzY
<{^_^}> [nixpkgs] @primeos pushed 4 commits to master: https://git.io/fhS2r
__Sander__ has joined #nixos
tobiasBora has joined #nixos
agander has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #54135 → gnatsd: 1.2.0 -> 1.4.0 → https://git.io/fh8vQ
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhS2i
<{^_^}> [nixpkgs] @markuskowa merged pull request #54676 → sundials: 4.0.1 -> 4.0.2 → https://git.io/fh6lJ
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fhS2P
__Sander__ has quit [Quit: Konversation terminated!]
<infinisil> samueldr: Why zr though? I use `mine` for that
<{^_^}> [nixpkgs] @andir merged pull request #54986 → qt511: 5.11.1 -> 5.11.3, qt56 & qt59 security fixes → https://git.io/fhDPC
<{^_^}> [nixpkgs] @andir pushed 5 commits to master: https://git.io/fhS2y
<samueldr> infinisil: reason, on-hold project/idea
<samueldr> I was going to change the prefix whenever I was going to refactor this all
joehh has quit [Ping timeout: 246 seconds]
<infinisil> I see
<infinisil> Oh nice, snajpa has started organizing for NixCon \o/ https://discourse.nixos.org/t/nixcon-2019-location/1259/9
<infinisil> At least, proposed a date, time and location, probably nothing is fixed yet
realrokka has joined #nixos
tdbgamer has joined #nixos
dsiypl4__ has joined #nixos
agander has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/614b29a93b5 (from 78 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
realrokka has quit [Ping timeout: 246 seconds]
kumikumi has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @zimbatm merged pull request #55094 → pkgconfig: rename to pkg-config → https://git.io/fhSn6
<{^_^}> [nixpkgs] @zimbatm pushed to master « pkgconfig: rename to pkg-config (#55094) »: https://git.io/fhSat
endformationage has joined #nixos
timor_ has quit [Quit: Leaving]
mizu_no_oto has joined #nixos
realrokka has joined #nixos
rydnr has joined #nixos
halfbit has joined #nixos
<{^_^}> [nixpkgs] @oxij opened pull request #55129 → all-packages.nix: move defaults to package files → https://git.io/fhSaa
griff__ has joined #nixos
griff_ has quit [Ping timeout: 240 seconds]
griff__ is now known as griff_
<{^_^}> [nixpkgs] @Profpatsch opened pull request #55130 → sdnotify-wrapper: init at unversioned → https://git.io/fhSaK
simukis_ has joined #nixos
justanotheruser has joined #nixos
<noonien> hmm, i'm trying to follow: https://nixos.wiki/wiki/Bluetooth and i get the following error: error: The option `hardware.pulseaudio.extraModules' defined in `/etc/nixos/modules/bluetooth.nix' does not exist.
rydnr has quit [Ping timeout: 256 seconds]
Bastinkie has joined #nixos
Bastinkie has left #nixos [#nixos]
orivej has joined #nixos
<noonien> also, i get http://vpaste.net/PtG6e when trying to start pulseaudio, without the extramodules, this is my bluetooth config: http://vpaste.net/bnR2W
<noonien> nix eval nixpkgs.lib.version => "18.09.2096.2ff7ef373e5"
<noonien> am i doing something wrong?
<infinisil> noonien: Yeah this option was added after 18.09: https://github.com/NixOS/nixpkgs/pull/48639
<{^_^}> #48639 (by adisbladis, 15 weeks ago, merged): nixos/pulseaudio: Add extraModules config option
<noonien> oh, i see, ok
halfbit has quit [Quit: WeeChat 2.3]
<noonien> are there other reasons why pulseaudio could give me that error message?
<noonien> `pactl list` says "Connection failure: Connection refused
teehemka_ is now known as teehemkay[away]
<noonien> hmm
<noonien> removing the `configFile` attr seems to make `pactl list` work
teehemkay[away] has quit [Quit: ZZZzzz…]
realrokka has quit [Ping timeout: 240 seconds]
klntsky has joined #nixos
<noonien> oh, and the sound works now, with bluetooth! great!
hellrazor has quit [Ping timeout: 240 seconds]
realrokka has joined #nixos
hellrazor has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #55051 → gtk-doc: 1.28 -> 1.29 → https://git.io/fhyhx
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fhSad
<{^_^}> [nixpkgs] @pSub pushed 0 commits to update-gtk-doc: https://git.io/fhSaF
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fhSaN
<{^_^}> [nixpkgs] @matthewbauer merged pull request #52112 → arduino-mk: init at 1.6.0 → https://git.io/fpbEB
orivej has quit [Ping timeout: 250 seconds]
<eyjhb> matthewbauer[m]: Thanks ! ;)
hellrazor has quit [Ping timeout: 244 seconds]
leotaku_ is now known as leotaku
hellrazor has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « haxor-news: use patch to allow newer click version »: https://git.io/fhSax
Avaq has joined #nixos
<eyjhb> qq¿;
Guest86 has joined #nixos
nikola_i has quit [Ping timeout: 250 seconds]
philippD has joined #nixos
sicklorkin has quit [Ping timeout: 250 seconds]
Guest86 has quit [Ping timeout: 268 seconds]
orivej has joined #nixos
martinb__ has joined #nixos
martinb__ is now known as timor
<{^_^}> [nixpkgs] @etu merged pull request #55120 → xlog: 2.0.15 -> 2.0.17 → https://git.io/fhSzG
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhSVq
martinb_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @etu closed pull request #54646 → xlog: 2.0.15 -> 2.0.17 → https://git.io/fh6Ow
drakonis has joined #nixos
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #55131 → gpodder: 3.10.6 -> 3.10.7 → https://git.io/fhSVY
alex`` has quit [Ping timeout: 268 seconds]
alex`` has joined #nixos
sicklorkin has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
hoijui has joined #nixos
realrokka has quit [Ping timeout: 240 seconds]
griff_ has quit [Ping timeout: 246 seconds]
alex`` has quit [Ping timeout: 240 seconds]
alex`` has joined #nixos
justanotheruser has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « wlroots: Fix the ELF binaries (rootston + examples) »: https://git.io/fhSV0
<Avaq> Hi. I've installed NixOS on my Raspberry PI a while back, and that took some effort. It's been around a year since I've done so, and it's running nixos 18.03 with Nix 1.11.15; Now I want to upgrade, but it's giving me this when I try: "This version of Nixpkgs requires Nix >= 2.0, please upgrade". And then it goes on to explain how I upgrade.
<Avaq> It seems to me it's telling me to upgrade before I can upgrade. I'm not sure what to do next, but I don't want to start over from scratch. :\
sicklorkin has quit [Ping timeout: 246 seconds]
<Avaq> I'm trying with an older channel for nixos.
iqubic` is now known as iqubic
<Avaq> That seems to do the trick, actually. :o
<sphalerite> Avaq: yeah, you can either upgrade via an intermediate version or boot into a recent installer, mount everything and rerun nixos-install
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
orivej has joined #nixos
rfold has quit [Ping timeout: 245 seconds]
rfold has joined #nixos
<noonien> what notification daemon do you guys run?
<gagbo> Dunst, but I'm not on nixos so I don't know how relevant that is
<sphalerite> I use dunst too, on nixos
<noonien> hmm, ok, i'll give dunst a try
<noonien> i'm running i3, and i see only dunst and xfce-notifyd as options
<noonien> and twmn
<simpson> There's also the option of no notifications.
ambro718 has joined #nixos
rfold has quit [Ping timeout: 246 seconds]
knupfer has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
rfold has joined #nixos
ixxie has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
philippD has joined #nixos
bpa has joined #nixos
rfold has quit [Ping timeout: 246 seconds]
rfold has joined #nixos
<{^_^}> [nixpkgs] @vcunat closed pull request #45787 → [WIP] firefox-esr-52: remove, it's EOL around now → https://git.io/fAnxs
hphs^ has quit []
rauno has joined #nixos
fusion809 has joined #nixos
hph^ has joined #nixos
ixxie has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @pSub merged pull request #55131 → gpodder: 3.10.6 -> 3.10.7 → https://git.io/fhSVY
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fhSws
hellrazor has quit [Ping timeout: 244 seconds]
dermetfan has quit [Ping timeout: 246 seconds]
hoijui has quit [Remote host closed the connection]
copumpkin has joined #nixos
Phlogistique has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to master « disorderfs: 0.5.5 -> 0.5.6 »: https://git.io/fhSKW
<pie__> clever, re: yesterday, even after deleting the nix git cache im getting the "not a tree object" issue
daifa has joined #nixos
<pie__> could the hash be for the wrong repo or something?
<pie__> but it cant be...i got it from the repo
jhillyerd has joined #nixos
kumikumi has joined #nixos
<samueldr> pie__: which has, which repo, which function?
<samueldr> which hash*
<jhillyerd> Trying to install on a laptop with intel fake raid. The nixos install media autodetects my raid0, and I get a /dev/md126 - was able to install. I can't get the machine to boot, it gets stuck waiting for disk uuids
<jhillyerd> I tried adding md_mod and raid0 to boot.initrd.kernelModules, and can see them being loaded, but it doesn't seem to help.
<jhillyerd> It sounds like I want "mdadm_udev" in my initrd, but have no clue how to do that in nix?
<kumikumi> how can I install this package? https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/steam/steamcmd.nix Adding steamcmd to environment.systemPackages causes error "undefined variable steamcmd"
<infinisil> kumikumi: gist your configuration.nix?
<samueldr> pie__: I think this should have .git at the end
<pie__> infinisil, i dont think its exposed
<infinisil> pie__: steamcmd?
<infinisil> > pkgs.steamcmd
<pie__> infinisil, i think theres a misunderstanding about how packages are exposed, butthen again youre still right its good to have the source
<pie__> thats just my knee-jerk assumption
<pie__> infinisil, i checked the package list and it didnt show it?
<infinisil> pie__: I know path /= attrname, but in this case steamcmd actually is the attr
<andi-> jhillyerd: system.fsPackages should work if you add your mdadm tool to them
<pie__> well ok *shrug* D:
<pie__> my bad
sigmundv_ has joined #nixos
<kumikumi> infinisil: there's nothing much to look at in my configuration, I have allowUnfree set to true and adding other packages such as "steam" works
<pie__> samueldr, doh
<pie__> samueldr, thanks
<infinisil> kumikumi: Okay, what's `nix-shell -p nix-info --run nix-info` output? Can paste it directly in here
<andi-> jhillyerd: but those should be there already since they are part of the stage1 boot
<kumikumi> system: "x86_64-linux", multi-user?: no, version: nix-env (Nix) 2.1.3, nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
MinceR has quit [Ping timeout: 245 seconds]
<jhillyerd> andi-: hmm, interesting. I'll read up on those. I'm wondering if maybe generating an mdadm config would help any...
<pie__> samueldr, still not happy...
<infinisil> kumikumi: It seems that you don't have any channels downloaded, which is a bit strange. Try running `sudo nix-channel --update`
MinceR has joined #nixos
<jhillyerd> andi-: Do you happen to know how I can turn on more tools in initrd, so that when it fails to boot I can poke around in a shell a bit?
<infinisil> kumikumi: Oh that probably won't do anything because you don't have any channels..
<jhillyerd> andi-: right now I just get a kernel panic
<andi-> jhillyerd: not by heart. Check the stage-1.nix code
<infinisil> kumikumi: If you remove steamcmd, does it still build?
<kumikumi> okay, well this is a pretty fresh installation, I wonder if I have messed up something
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<infinisil> (because if you don't have any channels, then nothing else should build either, would be weird for only steamcmd to not work in that case)
<kumikumi> I removed (commented out) steam and steamcmd and it does build (nixos-rebuild switch does work)
<infinisil> Yeah, but when you *don't* comment out steam, only comment out steamcmd?
<samueldr> pie__: weird, your example seems to work fine here, at least, the nixpkgs part, other parts are failing
<pie__> clever has a goos script for this i think <jhillyerd> andi-: Do you happen to know how I can turn on more tools in initrd, so that when it fails to boot I can poke around in a shell a bit?
<pie__> *good
<{^_^}> [nixpkgs] @Infinisil merged pull request #54930 → coredns: 005 -> 1.3.1 → https://git.io/fhMv2
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fhSK9
philippD has joined #nixos
<kumikumi> infinisil: here's my configuration.nix: https://gist.github.com/kumikumi/e0f8ffb0bcd0c7ebc19d270caf945e54
<samueldr> if you were to add e.g. boot.debug1devices to your kernel commandline (e.g. using 'e' with grub) it will stop and drop you in a shell
dermetfan has joined #nixos
<samueldr> (debug1 might be too early, and if it panics due to mounts boot.debug1mounts could be too late)
<infinisil> kumikumi: Alright. So I have a feeling your nixpkgs is outdated, but not sure why if this is a new install
orivej has quit [Ping timeout: 272 seconds]
<infinisil> kumikumi: What does `nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion` output?
fendor_ has joined #nixos
<kumikumi> infinisil: trace: `lib.nixpkgsVersion` is deprecated, use `lib.version` instead! "18.09.2096.2ff7ef373e5"
<infinisil> Ahhh, stable doesn't have steamcmd yet
<infinisil> > stable.steamcmd
<{^_^}> attribute 'steamcmd' missing, at (string):217:1
<infinisil> Should have thought of this earlier
<pie__> infinisil, doh
<pie__> infinisil, maybe there's some UX improvement that could be done to expose problems like this faster? xD
<infinisil> ,unstable kumikumi
<jhillyerd> samueldr: interesting. I'm using efi, but will see if I can still edit cmdline
<pie__> i dont really have any bright ideas off the top of my head
<infinisil> pie__: I wish nix-info would be a bit more useful, it couldn't tell me nixpkgs's version in this case
<daifa> Hi, why could one of the build Inputs evaluate to null when looking at .drvAttrs.buildInputs form nixpkgs and evaluate correctly when copying the default.nix and evaluating it myself? Issue 54929
<kumikumi> infinisil: alright thanks
<{^_^}> [nixpkgs] @delroth opened pull request #55132 → glowing-bear: init at 0.7.1 → https://git.io/fhSKb
<samueldr> jhillyerd: if you're using systemd-boot, it should also be 'e'
<infinisil> Daifa: A null in buildInputs isn't something bad, it happens often for dependencies that aren't needed, nulls are ignored there
bpa has quit [Remote host closed the connection]
sicklorkin has joined #nixos
<daifa> infinisil: unfortunatly this causes a basic function to be missing because the package/library was not around during the build.
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<infinisil> Daifa: Hmm, well in any case, something must be different for these two scenarios, possibly your nixpkgs version
philippD has joined #nixos
fendor_ has quit [Ping timeout: 250 seconds]
goibhniu has joined #nixos
<pie__> is it possible to do parallel haskell builds yet?
<pie__> i have a library that takes foreeeeever to compile :(
<daifa> infinisil: I am wondering how. Both of the times I am installing it on the same machine, once using nix-env and once via nix-build. Running nix-info -m shows that I have no other channel for my user. (If I interpret the "" behind channel(NAME) correctly)
<infinisil> pie__: It can only build modules in parallel, a single module has to be compiled single-cored
<pie__> infinisil, i think thats ok?
<pie__> infinisil, a module is like Graphics.UI.Qtah.Core.QMetaProperty right?
<pie__> in which case that would be perfectly fine
<infinisil> pie__: Oh yeah try `enableParallelBuilding = true;`
<infinisil> Might be disabled by default
<infinisil> pie__: Yeah, so cabal parallelism is best when there's lots of modules, and few dependencies between them
<pie__> yeah pretty sure thats exactly what i need
<pie__> infinisil, do i stick it in the haskell overrides https://bpaste.net/show/73edb7d310c3 ?
<infinisil> pie__: You can put it inside the {} on line 66
<infinisil> Oh wait
<infinisil> Maybe not
<infinisil> pie__: Yeah you need to wrap that line in a `pkgs.haskell.lib.overrideCabal ... (attrs: { enableParallelBuilding = true; })`
<pie__> uhh ok
* pie__ still needs to look into overridecabal
markus1189 has quit [Ping timeout: 246 seconds]
realrokka has joined #nixos
<pie__> infinisil, just to make sure, what do i need to wrap
<srhb> Parallel building is on by default for haskell packages for ghc > 7.8 as long as you're not on aarch64
<infinisil> pie__: Oh, alternatively you can just add it on line 57 (within the mkDerivation)
<infinisil> pie__: But not sure if you wanna do this because this part is autogenerated
<pie__> srhb, hm. well theni should have it, but only seems to use one core
<srhb> pie__: Do you have cores set to 1 globally perhaps?
<infinisil> pie__: How many modules do you have?
<pie__> infinisil, like 400
<infinisil> You wrote 400 modules yourself?
<pie__> times like 4 build cycles or something
<pie__> no
<pie__> this is a library
<pie__> i need the libraries to build faster
<pie__> (i see we had a bit of a misunderstanding i thnk
<infinisil> Oh well then you would need to override that for the libraries, not for your own package (which I assumed initially)
<pie__> right, i understand that i was not clear about that now :)
<infinisil> If it's really not enabled by default, you would have to put that in the `overrideAttrs` sections you have on lines 23-33
<pie__> srhb, i might have 1 core set globally...how do i set that up properly
<pie__> infinisil, yeah i put it in the overrideattrs and it seems to have done nothing
<srhb> pie__: On NixOS it's nix.buildCores
<pie__> srhb, but i mean shouldnt that default to however many i have?
<Church-> pie__: You should help me package Kali tools
aszlig has quit [Quit: Kerneling down for reboot NOW.]
<srhb> pie__: I believe nixos-generate-config will set it to the number of available cores or something like that. I don't really recall.
<Church-> Cause I don't wanna do all these.
<infinisil> > nixos.options.nix.buildCores.default
<{^_^}> 0
<srhb> Ah, ok, that is indeed "as many as there are cores"
<srhb> Probably a red herring then.
<srhb> A bit funky that we have a different default from nix itself there..
<pie__> srhb, i tried nix eval nixos.options.nix.buildCores.default but that doesnt work
<pie__> how do i check this stuff nicelt
<pie__> *nicely
<sphalerite> srhb: pie__ no, maxJobs defaults to the number of cores
<srhb> pie__: nixos-option
<infinisil> pie__: You can try overriding that number for a specific build with `nix-build ... --cores 4`
aszlig has joined #nixos
<srhb> sphalerite: What does that "no" refer to specifically?
<pie__> sphalerite, is it just me or is there like n different settings for how many cores
<sphalerite> srhb: buildCores defaults to 1 I believe
markus1189 has joined #nixos
<srhb> Ah, ok :) Good, that's what Nix itself does too.
<srhb> Actually this looks like it might have changed recently
<pie__> nixos-option is horribly slow?
<srhb> Fri nov 16 2018: nixos/nix-daemon: default to build with all cores available
<sphalerite> pie__: one for number of simultaneous drv builds, one for the -j mpassed to make or similar (number of processes per job)
<srhb> pie__: Yes, it has to evaluate your configuration
<symphorien> pie__: you can also use nix show-config
<pie__> still waiting for nixos-option nix.buildCores to returnn a result
balsoft has joined #nixos
<sphalerite> ah
<infinisil> Oh yeah, buildCores' default changed recently
<srhb> So depends if you're on 18.09 or unstable..
<pie__> > nixos-option nix.buildCores
<pie__> error: syntax error, unexpected ID, expecting '{'
<pie__> This attribute set contains:
<{^_^}> undefined variable 'nixos-option' at (string):217:1
<pie__> 0_o
<pie__> show-config says max jobs is 4, build cores is 1
<srhb> pie__: Increase the number of cores then.
<srhb> pie__: Either globally or using --option cores somenumber for the build itself.
<pie__> can i not set it in the nix file?
<srhb> pie__: Only in very hacky ways.
<infinisil> > nixosStable = import <nixos-18.09/nixos> { configuration = nixosConfigBase; }
<{^_^}> nixosStable defined
<pie__> thats annoying.
<pie__> ok
<infinisil> > nixosStable.options.nix.buildCores.default
<{^_^}> 1
<infinisil> > nixos.options.nix.buildCores.default
<{^_^}> 0
<srhb> pie__: It's normally an impurity such that different values do not cause a hash change.
<pie__> srhb, i guess
<pie__> ahh 400% cpu usage, much better
<pie__> doesnt actually feel any faster though :thinking:
<srhb> ghc parallel builds are generally quite bad.
switchsox has quit [Remote host closed the connection]
agander has quit [Ping timeout: 240 seconds]
<pie__> i guess i should time it.
<snajpa> infinisil: right, if I can get any kind of feedback on the date/location, that would be awesome :D
<pie__> ok it seems more like it jumps in batches for this codebase
<snajpa> but as long as it's so far ahead of us, I guess everyone can just go ahead and book it, so I could do the same about the venue - just go ahead and book it
switchsox has joined #nixos
agander has joined #nixos
daifa has quit [Quit: Page closed]
Guanin has joined #nixos
doyougnu has joined #nixos
<pie__> does ghc compile much faster with lower optimization levels?
<pie__> does anyone know what the default -O level is?
<infinisil> pie__: You can look that up online or in the man pages, but iirc GHC doesn't support anything that makes it much faster/slower in regards to optimization
switchsox has quit [Remote host closed the connection]
sinner has joined #nixos
sinner is now known as Guest22848
<pie__> ok
<pie__> infinisil, i figured nix passes a default -O somewhere
<pie__> not sure what to ckeck
<pie__> *check
switchsox has joined #nixos
<pie__> infinisil, ahh. almost had it.
<infinisil> This is passed to cabal, which passes `--ghc-options=...` to GHC
Guest22848 has quit [Ping timeout: 240 seconds]
<infinisil> Doesn't look like there's a -O passed :)
<pie__> doesnt look like theres any -O there
<pie__> yeah
<pie__> actually i guess i could grep that directory
<pie__> no -O anywhere
<pie__> (I find that a liiiiittle odd)
<pie__> (just -O in package names)
Avaq has quit [Ping timeout: 268 seconds]
<pie__> i guess tha tkind of makes sense
<{^_^}> [nixpkgs] @dtzWill opened pull request #55133 → boehmgc{,_766}: add space before appending to CFLAGS (only done w/musl) → https://git.io/fhSiU
switchsox has quit [Remote host closed the connection]
dsiypl4__ has quit [Ping timeout: 268 seconds]
<srhb> pie__: It's more complicated, iirc Cabal defaults to O1
<srhb> So we do too.
<pie__> figuring out build systems isnt very fun :(
<srhb> Nevermind, Cabal defaults to O2, so we do too.
<srhb> :-P
<infinisil> Ah good to know
<infinisil> So you could indeed make it faster
<srhb> Or... Actually, these docs are confusing..
<srhb> Make of that what you will. It's either 1 or 2. :P
<pie__> tfw even srhb is confused
<srhb> (The section being nix-local new-style should be irrelevant, same behaviour iirc)
<pie__> so since cabal2nix is a thing, is there a nix2cabal? :P
switchsox has joined #nixos
<srhb> I think, since we _omit_ any of --enable-optimization and --disable-optimization, we get O1, which is enable optimization at level 1...
<pie__> yeha i think i will try passing -O0
<pie__> if i can figure out how
<srhb> pie__: We have a disableOptimization helper for that
<{^_^}> [nixpkgs] @dtzWill merged pull request #55114 → tetra-gtk-theme: 0.2.0 -> 201902 → https://git.io/fhSuA
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhSiO
<infinisil> pie__: There's no nix2cabal because you can't map a bigger space into a smaller space :)
<pie__> how do i find options i can pass to :P
<srhb> pie__: haskell.lib.disableOptimization yourDrv
<pie__> ^ mixed some messages together
<pie__> * infinisil, :P
<pie__> infinisil, just create a function that takes the appropriate attribs? :P
<pie__> srhb, says that attribute is missing..must be something other than haskell.lib
<pie__> copy pasted from my code: haskell.lib.disableOptimization
JosW has joined #nixos
Avaq has joined #nixos
<infinisil> pkgs.haskell
<infinisil> You even have it at another place in your file already
<infinisil> pie__: You need to finally learn some Nix instead of copy pasting random stuff!
<pie__> infinisil, i have haskell in scope!
<pie__> err, actually, let me check
<pie__> yeah i should have it in scope...
<pie__> infinisil, i actually am trying to do that for once :P
<pie__> i even have the lib code pulled up
<drakonis> hmm, is there clangd on a package?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55134 → znc: 1.7.1 -> 1.7.2 → https://git.io/fhSiu
<infinisil> pie__: Ah yeah you do :P
<pie__> i figure if i didnt have it in scope it would complain about ..haskell being undefined or something
<pie__> tab completion shows it as nonexistend
<pie__> maybe it doesnt exist in my version yet
switchsox has quit [Ping timeout: 246 seconds]
<jhillyerd> samueldr: thanks for the boot.debug1devices tip, super helpful. still broken, but making progress :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55135 → yarn: 1.13.0 -> 1.14.0 → https://git.io/fhSiw
<apajx> anyone know why emacs file selector doesn't show icons? (using KDE)
<jhillyerd> I'm wondering if I'm missing a kernel module. mdadm is able to auto-assemble my array while booted into the USB installer, but when I try from within initrd, I get errors about OROM
<{^_^}> [nixpkgs] @corngood opened pull request #55136 → steam: provide pidof and lsusb for Steam VR → https://git.io/fhSiK
bbarker has quit [Remote host closed the connection]
<jhillyerd> I wonder if this is what I'm missing: "Add /sbin/mdmon to the BINARIES section. mdmon monitors external metadata and will be automatically executed by udev rules."
knupfer has quit [Ping timeout: 264 seconds]
switchsox has joined #nixos
dsiypl4__ has joined #nixos
hph^ has quit []
toc^ has joined #nixos
<infinisil> jhillyerd: Maybe boot.initrd.availableKernelModules ?
<jhillyerd> infinisil: trying to figure out what I would actually be missing... I'm combing through dmesg output from installer right now to see at what stage my array is assembled there.
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
hellrazor has joined #nixos
philippD has joined #nixos
<jhillyerd> It's about 13 seconds in, looks like systemd has already taken over. I do see "asus_wmi" logging right before, but it's not clear what is actually triggering the "md126: detected capacity change" where the arraya is assembled
<jhillyerd> looks like a couple lines later systemd reports systemd-modules-load as successful
rprije has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
simukis_ has quit [Quit: simukis_]
sicklorkin has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @oxij opened pull request #55137 → openhmd: init at 0.3.0-rc1-20181218 → https://git.io/fhSix
<pie__> infinisil, srhb ...bloody hell thats so much faster
<infinisil> Sonic approves
<{^_^}> [nixpkgs] @oxij opened pull request #55138 → random cleanups and a tiny fix → https://git.io/fhSih
rprije has quit [Ping timeout: 240 seconds]
agander_ has joined #nixos
realrokka has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @oxij opened pull request #55139 → libcardiacarrest: 12.1-7 -> 12.2.8 → https://git.io/fhSPJ
agander has quit [Ping timeout: 244 seconds]
<pie__> still takes longer than id like :/
<jhillyerd> mdmon is already part of initrd, and adding asus_wmi didn't help... back to drawing board
<pie__> I mean, I guess I should use a mutable build env for dev work and just do partial recompiles..
<iqubic> So steam is being a pain.
<iqubic> The game "SpaceChem" has a linux port, but I can't seem to run it on NixOS.
<srhb> pie__: Yes, that's quite sensible. cabal new-repl and friends in a nix shell for the deps is very useful.
<pie__> iqubic, i think the canned answer is usually steam-run?
<iqubic> How does steam-run help me run a steam game?
<pie__> I mean for the non-steam version, it's some environment that contains libs things usually need
benwaffle[m] has joined #nixos
<pie__> I've never actually used it myself.
<iqubic> I don't have a non-steam version of the game "SpaceChem"
<benwaffle[m]> I'm trying to build my changes to a package in nixpkgs. What's the command to try and build it locally?
<pie__> iqubic, ah I misunderstood i tink
<benwaffle[m]> I'm trying to build my changes to a package in nixpkgs. What's the command to build it locally?
<iqubic> I do have a rather long steam console log if you want to look at that.
<pie__> sorry not right now
<iqubic> Not sure how helpful that will be.
<pie__> I should already be in bed probably. But maybe someone else can help
<iqubic> No actually, most of the variable and file names mentioned are obfuscated. It might not be that helpful.
<infinisil> benwaffle[m]: Did you clone nixpkgs and make your change there?
<benwaffle[m]> yes
<benwaffle[m]> but i'm not sure what the nix-build args should be
<infinisil> benwaffle[m]: nix-build -A <attribute of package>
<benwaffle[m]> i changed pkgs/applications/version-management/git-and-tools/hub/default.nix
<benwaffle[m]> whats the attribute for this
<infinisil> That should be gitAndTools.hub
<infinisil> > gitAndTools.hub
<{^_^}> "<derivation /nix/store/dzbmaygaqjwnqmr5b57n7kzimipw4a9i-hub-2.7.0.drv>"
<benwaffle[m]> thanks
<benwaffle[m]> how did you find this
upsaday_ has joined #nixos
<infinisil> Well about this particular one I just knew before
<infinisil> But you can use `nix search` to find this easily
<benwaffle[m]> thanks
alex`` has quit [Read error: Connection reset by peer]
<infinisil> benwaffle[m]: Or you can grep/ripgrep through nixpkgs to see where the file for hub was referenced
<infinisil> And trace it back from there
<infinisil> But usually you go from attribute -> file where it is defined, and not the other way around
<noonien> hmm, i'm having an issue with nixos, whenever i seem to enable/plugin in my external monitor in the thunderbolt port, X seems to freeze
<noonien> i can move the mouse and i can hear audio, but nothing works, not even ctrl+alt+f1
<noonien> just sysrq+REISUB
<noonien> i've tried looking at the journal, but there's nothing that stands out
<infinisil> noonien: Unfortunately I haven't been able to run my external thunderbolt display once with my macbook on NixOS (without bugs) :(
<noonien> the "crashes" happen very often, almost making nixos unusable :(
upsaday__ has quit [Ping timeout: 268 seconds]
<benwaffle[m]> oh its not just a hash of the source .tar.gz?
knupfer has joined #nixos
alex`` has joined #nixos
<benwaffle[m]> should i use nix-prefetch-url
<noonien> infinisil: were you experiencing the same issues? or different ones?
<noonien> mine works just fine
AstroBadger has quit [Ping timeout: 252 seconds]
<noonien> adding it during a session doesn't work, i have to start arandr to activate it (resuling in a crash), the restart (this time it's active), then setting the resolution via xrandr works just fine
<noonien> but if i'm afk (and i guess the monitor turns off or something), i come back to a crashed laptop
<infinisil> noonien: The thing that does the turning off is dpms, look at `man xset`, should be able to turn it off with that somehow
<noonien> hmm, i'll try that as a workaround
<infinisil> (I sometimes use `xset dpms force off` to make it turn off the screen before the default timeout)
<noonien> but i want to figure out what's causing this
pbb is now known as {^-^}
AstroBadger has joined #nixos
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhSPu
<{^_^}> [nixpkgs] @markuskowa merged pull request #54845 → dar: 2.6.0 -> 2.6.1 → https://git.io/fhP6Y
<drakonis> ah, i can't use irony-mode
balsoft has quit [Ping timeout: 272 seconds]
<noonien> hmm, how can i restart X?
<pie__> srhb, do you know if its possible to pass a cabal file in a different parent directory than the source code?
<pie__> basically i have a/cabal.cabal and b/src
<noonien> `systemctl restart display-manager` seems to have crashed my system
<infinisil> noonien: That's how you'd restart X yeah
<infinisil> Works on My Machine (tm)
<noonien> oh, ok, GAH
<noonien> is grub enabled by default?
<noonien> i see a menu with the nxios generations and "Load device firmware" when booting, with a ~5s timeout
jmeredith has quit [Quit: Connection closed for inactivity]
<noonien> is that grub? can i set the timeout to 0
<infinisil> noonien: If you don't have another bootloader enabled, grub is the default yeah
<infinisil> noonien: I think grub has some fancy picture in the background by default
<noonien> hmm, might not be grub then, i'm on an efi system
<drakonis> hmm, my emacs dream is currently interrupted
<drakonis> because i really want to do c++ but irony mode doesn't work out
jasongro` has quit [Ping timeout: 246 seconds]
vk3wtf has quit [Ping timeout: 240 seconds]
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<pie__> hmm, passing a list: src = [ ... ] , /almost/ works
<infinisil> drakonis: Do you have a question or..?
<infinisil> Nobody can help you if they don't know the problem :)
ddellacosta has joined #nixos
<pie__> "unpacker produced multiple directories" causes a failure
agander_ has quit [Ping timeout: 244 seconds]
<drakonis> infinisil: i'm figuring out how to get emacs to find the library headers
<ddellacosta> I'm sure this is something basic, but I'm having a hard time understanding how to get my .profile picked up when I open a new terminal. I've tried --loginShell with urxvt and also "vanilla" termite. Is there something specific to nixos here, and if so, is it documented anywhere?
<ddellacosta> none of the options seem to point to an obvious solution
<ToxicFrog> ddellacosta: what shell are you using?
<ddellacosta> ToxicFrog: bash
<ddellacosta> ToxicFrog: I've tried .bash_profile too with no luck
<ToxicFrog> ddellacosta: do they get executed if you `bash --login -i` once the terminal is open?
<ddellacosta> ToxicFrog: seems like it
griff_ has joined #nixos
<ToxicFrog> Ok, so the issue is that urxvt or termite aren't properly honouring --loginShell
<pie__> makes sense in hindsight but I cant read bash
<ToxicFrog> Not knowing much about either terminal emulator I can't really help you there
<ddellacosta> ToxicFrog: _sigh_ I was hoping it wasn't that. But okay, that's helpful. Thank you!
dejanr has joined #nixos
<ToxicFrog> You might consider running one of them in `strace -etrace=process` to see exactly how bash is getting invoked
<ToxicFrog> Or, alternately, see if you can get away with putting it in ~/.bashrc
<ddellacosta> ToxicFrog: okay, I'll give those a shot
<ToxicFrog> It might also be worth checking if ~/.bash_profile or ~/.bash_login exist, since bash will prefer those to ~/.profile if they exist, but if ~/.profile is getting read on `bash --login -i` otherwise I don't think it's that.
<ddellacosta> yeah, I tried .bash_profile before (but not .bashrc), and that didn't get picked up either
<ToxicFrog> The rules for bash startup scripts are kind of convoluted, but the tl;dr is
<ToxicFrog> - login shell: /etc/profile, then whichever it finds first of (.bash_profile, .bash_login, .profile). By convention one of these will source .bashrc, but it doesn't have to.
<ToxicFrog> - non-login interactive shell: /etc/bash.bashrc, then ~/.bashrc. Either of these may source one or more of the `profile` scripts as well, but again, are not required to.
<ToxicFrog> - noninteractive: whatever's in $BASH_ENV
<ddellacosta> thanks, yeah, for what I'm trying to set .profile seems ideal, but will try other avenues too if need be
rfold has quit [Quit: leaving]
<gagbo> There's an archwiki page with a lot of this stuff too
peter2121[m] has joined #nixos
<gagbo> but I think it's just the longer version of what ToxicFrog said
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to staging: https://git.io/fhSXe
<ToxicFrog> gagbo: I mean, I'm also leaving out a bunch of weird edge cases and exceptions
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<pie__> I feel like nix code is hard to navigate for some reason
<ddellacosta> yeah I mean, as far as the exact details of .bash_profile/.bashrc/.profile etc. I more or less know what I want and was hoping this was something nixos was doing that is non-standard, but sounds like it's just my terminals not behaving correctly :-/
<ddellacosta> but will keep poking at it
<pie__> i have a lot of trouble finding the original defitionins for things to figure out how/why something doesnt work
philippD has joined #nixos
orivej has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
<pie__> but I cant see any way to pass such a thing
jasongrossman has joined #nixos
<pie__> this feels like a hack preUnpack = "export sourceRoot='cabal-mutable'";
justanotheruser has joined #nixos
dejanr has quit [Ping timeout: 268 seconds]
Avaq has quit [Quit: Leaving.]
kumikumi has quit [Ping timeout: 256 seconds]
<clever> postUnpack = "sourceRoot+=/socket-io; echo source root reset to \$sourceRoot";
<clever> pie__: this is what (cabal|stack)2nix was doing, to handle that kind of situation
<pie__> clever, did not even consider to look in there
griff__ has joined #nixos
<pie__> sooo many thingsss
nocoolnametom has quit [Ping timeout: 244 seconds]
griff_ has quit [Ping timeout: 268 seconds]
griff__ is now known as griff_
<{^_^}> [nixpkgs] @akru opened pull request #55140 → Security updates, parity: 2.2.8 -> 2.2.9 → https://git.io/fhSX4
nocoolnametom has joined #nixos
trcm has joined #nixos
knupfer has quit [Remote host closed the connection]
<jhillyerd> woot! Think I just figured out the intel fakeraid/mdadm issue. Needed to add 'efivars' kernel module to expose the OROM information to mdmon in initrd
<{^_^}> [nixpkgs] @hhm0 opened pull request #55141 → rtl8821ce: init at 5.2.5_1.26055.20180108 → https://git.io/fhSXz
<iqubic> So I have a shell script I want to run, but it requires dependecies that are usually found in /bin and /sbin, and I can't seem to make it work.
<iqubic> Mostly just /bin.
orivej has quit [Ping timeout: 246 seconds]
<iqubic> Basically, I have a steam game that is supposed to work on Linux, but fails because NixOS isn't expected.
<iqubic> `SpaceChem' is the name of the game I want to run.
vk3wtf has joined #nixos
<iqubic> And it is failing.
jackdk has joined #nixos
<andi-> iqubic: aren't you running that with steamrun?
kvda has joined #nixos
<iqubic> I tried that and it failed.
<iqubic> It gives me a giant error.
<srhb> It'll fail for a better reason though :)
martinb_ has joined #nixos
<iqubic> No it won't.
<srhb> (within steam-run, /bin and /sbin do exist)
<srhb> Yes it will. It's a chrootenv that sets up something akin to the FHS system expected.
<andi-> You might have to add something to steamrun if things are still missing then
<iqubic> right... But clicking the play button from inside the Steam UI gives me the same error.
<andi-> (Never done that)
<srhb> iqubic: If it's something that's missing from steam-run, you may want to try running the thing with strace. It might not be easy to deduce what's missing though (and I'm no expert) -- but it'll certainly be the path to the answer, unlike running it without steam-run.
<iqubic> So steam is basically just trying to run this one liner shell script.
<iqubic> `MONO_CFG_DIR=etc MONO_PATH=monolib ./mono SpaceChem.exe'
timor has quit [Ping timeout: 246 seconds]
<iqubic> Where SpaceCheme.exe is the executable of the game.
ambro718 has quit [Ping timeout: 244 seconds]
<iqubic> So I have no idea what's going on here.
<iqubic> strace gives me output I can't understand.
<iqubic> I'm not sure what `strace' command to run.
alex`` has quit [Ping timeout: 250 seconds]
dejanr has joined #nixos
<srhb> For starters strace -o logfile yourexecutable from within a steam-run shell may be helpful
<srhb> (Or it might not, Mono terrifies me)
<iqubic> Here's a long long long steam-run error.
sakalli_ has joined #nixos
<iqubic> Mono is terrifying as all heck.
<srhb> "System.DllNotFoundException: libnative.so" looks possibly relevant
<iqubic> It is.
<clever> ,locate libnative.so
<{^_^}> Couldn't find in any packages
<iqubic> Except that the `libnative.so' is a file in this directory.
<clever> iqubic: does `file` say its 32bit or 64bit?
<iqubic> clever: It's a library that is used for the SpaceChem game. I have it here in this directory.
<srhb> Might it be te wrong arch?
<srhb> Ah, clever is already on that..
Makaveli7 has quit [Quit: Leaving]
<srhb> iqubic: The interpreter will report a .so as missing if it's the wrong arch, giving errors such as this, hence the suspicion.
sakalli_ has quit [Client Quit]
<iqubic> Yes. It is a 32-bit library.
<clever> srhb: ive also noticed, if minecraft cant load the 64bit so (due to missing rpath), it will try the 32bit so, then only report the "wrong arch" error
<srhb> clever: How helpfully confusing. :-)
<clever> iqubic: then you want the 32bit mono, nix-build '<nixpkgs>' -A mono --argstr system i686-linux && ./result/bin/mono ./somehting
<iqubic> I see.
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #55142 → thinkfan: add option for libatasmart support → https://git.io/fhSXi
<iqubic> What is ./something?
<iqubic> What do I do with that?
<srhb> yourexecutable
<clever> srhb: it assumes any error loading the 64bit one means wrong arch, and doesnt bother showing that error
<srhb> clever: :-P
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55143 → wxSVG: 1.5.15 -> 1.5.16 → https://git.io/fhSXX
joehh has joined #nixos
<iqubic> Well, that failed.
dejanr has quit [Ping timeout: 240 seconds]
<iqubic> With the same long error.
<iqubic> I just put them into two text files, and ran a diff. It is the same error.
<iqubic> I'm really really confused here.
<srhb> Looks like the steam fhs already has a 32 bit mono (as well as a 64 bit one)
<iqubic> yeah. So IDK why this is failing
<srhb> Me neither.
<iqubic> SpaceChem isn't a weird game by any stretch of the imagination.
<srhb> It doesn't need to be super weird to fall through some cracks..
<iqubic> I know. Right now I'm getting pissed off.
<srhb> Could it be getting the wrong mono executable I wonder..
<iqubic> How could it be doing that? I've not installed any mono libraries at all. I've just been letting steam handle that.
<srhb> Try overriding PATH to get the 32 bit one.
<clever> iqubic: what if you run ldd on libnative.so?
<srhb> iqubic: It's in the steam chrootenv :)
<iqubic> not a dynamic executable
<iqubic> That's the result.
<iqubic> It's just a lbrary, not an executable.
<iqubic> srhb: How would I go about doing the overriding thing?
jhillyerd has quit [Quit: WeeChat 2.2]
<srhb> I'm not really confident it'll help, but from within a steam-run shell, you should be able to find the path to the 32 bit mono via the libraries in /lib32, then put that in front of your PATH variable or simply modify the shell script to use that directly. But I just noticed that it was using a local mono in your install, so it's unlikely to improve matters.
<srhb> No bright ideas, basically :)
<iqubic> How do I open a steam-run shell?
upsaday_ has quit [Remote host closed the connection]
<iqubic> Is that just `steam-run zsh' or something?
upsaday_ has joined #nixos
<srhb> Yeah
<iqubic> /nix/store/bz46pmm9vpgjp4f3hjkqq5avjkw92i8s-steam-run: line 9: exec: zsh: not found
<srhb> Yeah, unless you override the steam fhs env, it'll probably only have bash.
<srhb> (It has an explicit list of included packages)
<iqubic> Yeah. That's right.
cufisz has joined #nixos
<iqubic> so now what?
<srhb> Well, the above blurb, but like I said I no longer think it'll improve things.
<iqubic> Yeah, it doesn't.
elgoosy has quit [Remote host closed the connection]
jhillyerd has joined #nixos
<iqubic> Well, I'm going to stop bashing my head on this right now.
<srhb> Try playing it through proton. :-P
<iqubic> How does proton work?
<srhb> essentially it's fancy wine
<iqubic> I see.
<srhb> Right click the game in steam, properties, force use of steam compatibility layer or somesuch
<clever> srhb: you can force protono? :O
<srhb> Since recently, yes :)
<clever> nice
<srhb> Yeah, very.
<iqubic> Running it under regular wine fails.
<clever> iqubic: proton has been patched to fix most of those issues
betaboon has quit [Quit: ZNC - https://znc.in]
betaboon has joined #nixos
<clever> though ive found .net games still dont work
<iqubic> Let's see if this works.
<cufisz> Hey all, trying to run some selenium tests using `nixos.chromium`, `nixos.chromedriver` and `nixos.python36Packages.selenium`. I am getting an error chrome chromedriver that chromium has unexpectedly exited. This is probably due to the fact that `chromium` is not the chromium executable but a wrapper script that execs `/nix/store/b1985drig5zmnk5nx7w52rhhmbvl8h9h-chromium-71.0.3578.98/libexec/chromium/chromium`. Any ideas on how to han
Synthetica has joined #nixos
<cufisz> typo: I am getting an error from chromedriver that chromium has unexpectedly exited
sicklorkin has joined #nixos
<iqubic> Well, the game claims to be running, but I don't see it.
<iqubic> Oh wait... It just crashed on me.
<srhb> Guess that's a no go then.
<iqubic> That's the steam error.
acarrico has quit [Ping timeout: 250 seconds]
<srhb> Unfortunately there's no error in there.
<srhb> (Well, maybe aside from that openvrpaths thing? Not sure)
<srhb> I'd guess no though.
<iqubic> yeah.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55144 → verilator: 4.008 -> 4.010 → https://git.io/fhS1L
<srhb> cufisz: fwiw I just tested a basic selenium "hello world" in the following shell succesfully: nix-shell -p 'python36.withPackages (ps: with ps; [selenium])' -p chromedriver
ddellacosta has quit [Quit: WeeChat 2.2]
<Synthetica> Does anyone have QT wayland working? Specifically Konsole
<srhb> cufisz: Er, including chromium as well :)
ddellacosta has joined #nixos
eadwu has quit [Quit: WeeChat 2.3]
<iqubic> Alright so I'm so pissed about this steam game thing. This pisses me off so much.
<cufisz> srhb: tried your shell and still have the problem. I am able to use webdriver.Firefox() though which is good enough for now. Here's my python script:
<cufisz> from selenium import webdriver
<infinisil> How do I turn off nix-build checking signatures? I'm using --option require-sigs false, but it still does the checks
dsiypl4__ has quit [Ping timeout: 250 seconds]
<srhb> cufisz: I didn't specify an executable path at all
<cufisz> without that I get `WebDriverException: Message: unknown error: cannot find Chrome binary`
<srhb> cufisz: That is, just browser = webdriver.Chrome()
<srhb> Hm
<srhb> Strange. :)
<srhb> infinisil: Are you a trusted user?
<infinisil> srhb: Yup, sure am, @wheel is in my nix.conf
<infinisil> srhb: Try it yourself with nix-store -r /nix/store/0fpnqygkcjhrrf1n367dzqfc6p9d1r51-emacs-22.3 --option require-sigs false
<srhb> infinisil: Hum, that's the only thing I remember strangeness with..
aleph- has joined #nixos
<srhb> infinisil: Works here as root (I don't have @wheel trusted)
MichaelRaskin has quit [Quit: MichaelRaskin]
<infinisil> srhb: Ah yeah, works as root for me as well
<srhb> Oh, well, that's even weirder.
<infinisil> That's an emacs from 2009 btw xD
<srhb> Uh oh, thanks for the warning
<clever> root is a trusted user by default
<srhb> Yes, but if infinisil is in @wheel and @wheel is trusted...
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<srhb> That implies some weird (and recent, I think?) breakage. At least, I'm pretty sure it used to work with groups properly.
<infinisil> Aw, emacs doesn't start unfortunately, can't find any fonts
<srhb> infinisil: What are you even doing with that :-P
<{^_^}> [nixpkgs] @veprbl merged pull request #55139 → libcardiacarrest: 12.1-7 -> 12.2.8 → https://git.io/fhSPJ
<{^_^}> [nixpkgs] @veprbl pushed commit from @oxij to master « libcardiacarrest: 12.1-7 -> 12.2.8 »: https://git.io/fhS1O
<srhb> infinisil: Ah :)
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
griff_ has quit [Quit: griff_]
griff_ has joined #nixos
mkoenig has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55145 → slurm: 18.08.4.1 -> 18.08.5.2 → https://git.io/fhS1C
daniele- has joined #nixos
<daniele-> hi there! i’m new to nixos and i’m trying to have it running in an systemd-nspawn container. so far so good and I have a running system. now i’m trying to import some system configuration but I’m a bit stock
<daniele-> the configuration i’m trying to replicate has a “let unstable-pkgs = import <unstable> {};” which does not quite work on my system
<daniele-> i get “error: file 'unstable' was not found in the Nix search path (add it using $NIX_PATH or -I), at /etc/nixos/configuration.nix:3:28”
<daniele-> where should I look to understand what that means?
<{^_^}> [nixpkgs] @Ma27 opened pull request #55146 → nix1: fix `perl-bindings` build → https://git.io/fhS10
<ToxicFrog> daniele-: it's expecting you to have a nix channel pointing at the nixos-unstable repository
<daniele-> ToxicFrog: those are lready some things I can try to look for in the manual. thanks!
<ToxicFrog> You could add it with `nix-channel --add https://nixos.org/channels/nixos-unstable unstable`
<daniele-> ToxicFrog: where do I configure nix-channels?
<daniele-> i would expect it to exist a declarative way of doing that :)
<ToxicFrog> Usually this sort of thing is because the configuration wants to use nixos stable for most of the OS but use some things from unstable, probably because they require more up to date versions than stable has.
<jasongrossman> daniele-: Good question, but no, channels are not declarative.
<ToxicFrog> AFAIK there is not. The channels are where it gets all the declarative stuff from.
<daniele-> anyhow. after `nix-channel --add https://nixos.org/channels/nixos-unstable unstable` i get the same error
<ToxicFrog> Any user can use nix-channel to configure their own channels (for use with stuff like `nix-shell`); nixOS itself uses whatever channels root has configured.
mkoenig has joined #nixos
<ToxicFrog> As root?
<daniele-> yes
<ToxicFrog> Did you also `nix-channel --update`?
<daniele-> ah. no! running it now
* daniele- would read the nix-channel man page but the minimal system he has does not have `man` installed
<srhb> daniele-: nix-channel --help :)
<daniele-> srhb: nix-channel --help calls `man nix-channel` :)
<srhb> daniele-: Oh, shoot, thought there was an explicit dependency there.
<daniele-> “preallocating file of 704655 bytes: No space left on device”
<daniele-> i know how to solve this :)