zimbatm changed the topic of #nixos to: NixCon 2018 - 25-27 Oct in London https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || 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
<camsbury_> override*
DigitalKiwi has joined #nixos
jit10 has quit [Quit: Page closed]
mayhewluke has quit [Ping timeout: 245 seconds]
jasongrossman has quit [Ping timeout: 260 seconds]
mayhewluke has joined #nixos
refnil has joined #nixos
julm has quit [Ping timeout: 240 seconds]
julm has joined #nixos
<camsbury_> trying to call overrideDerivation on a package and getting "cannot convert set to string"
<camsbury_> (nixpkgs.pkgs.haskellPackages.callCabal2nix "caskell" ./. {}).overrideDerivation ( oldAttrs: {
<camsbury_> librarySystemDepends = nixpkgs.pkgs.pcre;
<camsbury_> })
<camsbury_> more specificallly
<refnil> hello, I have a question about the new cross compiling setup in unstable. I have a derivation that get the target version of a package in nativeBuildInputs and that confuse me a bit..
<refnil> I am trying to compile xorg.xcbproto for the raspberry pi. To try to make it work, I switched the python dependency from the buildInputs to nativeBuildInputs but then I get the problem.
endformationage has quit [Ping timeout: 252 seconds]
nDuff has quit [Quit: zzz]
<clever> camsbury_: you want overrideCabal, not overrideDerivation
<clever> camsbury_: overrideCabal (nixpkgs.pkgs.haskellPackages.callCabal2nix "caskell" ./. {}) (oldAttrs: {
<camsbury_> ah
<camsbury_> thank you sir!
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3768913cc9e (from 74 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<camsbury_> nixpkgs.haskell.lib.overrideCabal caskellBare ( oldAttrs: {
<camsbury_> librarySystemDepends = nixpkgs.pkgs.pcre;
<camsbury_> })
<camsbury_> value is a set where a list is expected.
<clever> it is a list of libraries
<clever> you didnt pass a list
<camsbury_> ah thanks
<camsbury_> and if I am to nix-shell that with a .env, should pcre be in the context of my nix-shell?
<camsbury_> in other words, I have the following
<camsbury_> { nixpkgs ? import <nixpkgs> {} }:
<camsbury_> (import ./default.nix { inherit nixpkgs; }).env
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3768913cc9e (from 78 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
wpcarro has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxeq6
Lisanna has joined #nixos
<Lisanna> Hey - wondering if there's a way for hydra to reference a list of remote builders that changes frequently, without having to restart hydra?
<camsbury_> ah it works!
<camsbury_> thanks again clever
wpcarro has joined #nixos
carlosdagos has joined #nixos
kyren has quit [Ping timeout: 252 seconds]
<clever> Lisanna: one min
<clever> Lisanna: services.hydra.buildMachinesFiles is a list of files that all have the /etc/nix/machines format
<clever> and hydra will poll everything in the list every min, and auto-configure itself based on any changes
<Lisanna> clever OK, that sounds perfect
<clever> so you can just services.hydra.buildMachinesFiles = [ "/etc/nix/machines" "/etc/nix/machines.custom" ];
<clever> https://github.com/NixOS/hydra-provisioner is also a seperate daemon, that will dynamically create and destroy nixops machines, based on the load in hydra
<clever> and it makes use of the previous config, to register them into hydra
<clever> it works on any backend where nixops can provision things in the cloud
wpcarro has quit [Ping timeout: 246 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
wpcarro has joined #nixos
thc202 has quit [Ping timeout: 264 seconds]
johnw_ has quit [Ping timeout: 252 seconds]
johnw has joined #nixos
camsbury_ has quit [Quit: WeeChat 2.0]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wpcarro has quit [Ping timeout: 240 seconds]
wpcarro has joined #nixos
Rusty1 has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
wpcarro has quit [Ping timeout: 252 seconds]
Wharncliffe has quit [Quit: Lost terminal]
Wharncliffe has joined #nixos
wpcarro has joined #nixos
jperras has joined #nixos
<buckley310> currently testing 18.09. before the update when I signed into gnome and connected to an SFTP share in nautilus, it would mount it under /run/user/1000/gvfs, however thats not happening anymore
silver_ has quit [Read error: Connection reset by peer]
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 252 seconds]
lassulus_ is now known as lassulus
wpcarro has quit [Ping timeout: 240 seconds]
wpcarro has joined #nixos
<gchristensen> https://screenshotscdn.firefoxusercontent.com/images/a228cb6d-0ee6-4a11-bafe-b29c59a3c272.png this should be sufficient ofborg capacity for aarch64
wpcarro has quit [Ping timeout: 252 seconds]
wpcarro has joined #nixos
sigmundv has quit [Ping timeout: 252 seconds]
Supersonic has quit [Ping timeout: 252 seconds]
hamishmack has joined #nixos
wpcarro has quit [Ping timeout: 252 seconds]
Supersonic has joined #nixos
wpcarro has joined #nixos
sb0 has quit [Quit: Leaving]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f5f9625bffa (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
jasongrossman has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/33716c1d4b2 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jtojnar has quit [Quit: jtojnar]
endformationage has joined #nixos
wpcarro has quit [Ping timeout: 244 seconds]
roconnor has quit [Ping timeout: 252 seconds]
jasongrossman has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/46651b82b87 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> [nixpkgs] @griff opened pull request #47449 → nixos/rspamd: Remove non-working socket activation → https://git.io/fxe35
orivej has quit [Ping timeout: 252 seconds]
kyren has joined #nixos
andreabedini has joined #nixos
nekroze has joined #nixos
<nekroze> I am trying to update my machine from 18.03 to 18.09 but I am getting a handful of perl errors because "Setting locale failed" but I have it defined in my nixos configuration. Is there something else I need to do for this upgrade?
<{^_^}> [nixpkgs] @dtzWill opened pull request #47450 → libxcb: 1.13 -> 1.13.1 → https://git.io/fxesX
jperras has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @jtojnar closed pull request #26528 → WIP: Add GNOME Flashback support. → https://git.io/vHSDC
garbas has quit [Quit: WeeChat 2.2]
IRCsum has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> hello out there
<fresheyeball> how much freelance do you think a jenkins gitlab integration in nixops is worth?
<fresheyeball> as in a comoplete working system, jenkins, and gitlab, building and deploying
<emily> depends how much someone will pay for it
<fresheyeball> emily: I am asking what one might consider reasonable
<ivan> isn't the harder problem finding a customer who even knows they have that problem
<ivan> pricing is value-based or against their other best options
<ivan> you can also charge more or less depending on your customer's trust in you continuing to maintain that solution you sold
<emily> fresheyeball: I think if you found someone who wanted that and had money to pay for it, you could probably charge an awful lot
<emily> but at that point it doesn't really have much to do with nix at all
<fresheyeball> emily: $40k?
<fresheyeball> that is what I was thinking
<emily> I think you should find someone who wants it first and worry about how much money you can get off them later ^^; but this should probably be in #nixos-chat?
<fresheyeball> ok
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/33716c1d4b2 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
<dhess> gchristensen: ping
emacsomancer has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
EarlDeLaWarr has quit [Ping timeout: 260 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
IRCsum has quit [Ping timeout: 252 seconds]
nekroze has quit [Quit: Lost terminal]
reinzelmann has joined #nixos
IRCsum has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<adisbladis> Mic92: Pythonix question: Why is `NixError` exported as NixRef and not NixError? https://github.com/Mic92/pythonix/blob/master/src/python-module.cc#L47
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
IRCsum has quit [Ping timeout: 252 seconds]
<adamantium> hi, does systemdboot show rollback menu entries?
<adisbladis> adamantium: Yes
<adamantium> huh, cool. it doesn't use grub at all?
Rusty1 has quit [Quit: Konversation terminated!]
<adisbladis> adamantium: Nope, no grub.
<adisbladis> Just a standalone EFI boot manager
<adamantium> thx
<adamantium> does it need a bios boot partition
<adamantium> or only the efi system partition
<adisbladis> adamantium: It needs an ESP.
<adamantium> k
page_ has joined #nixos
Ariakenom has joined #nixos
emacsomancer has quit [Quit: WeeChat 2.2]
page has quit [Ping timeout: 250 seconds]
IRCsum has joined #nixos
emacsomancer has joined #nixos
emacsomancer has quit [Client Quit]
andreabedini has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #47169 → pythonPackages.nixpkgs: init at 0.2.2 → https://git.io/fAdgL
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fxeC5
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
baum__ has quit [Ping timeout: 256 seconds]
emacsomancer has joined #nixos
astronavt has quit [Ping timeout: 252 seconds]
Ariakenom has quit [Read error: Connection reset by peer]
tusj has joined #nixos
<colemickens> Anyone have a quick example of pulling a package in from a custom different checkout of nixpkgs from nixos-configuration.nix?
Wharncliffe has quit [Ping timeout: 244 seconds]
<jackdk> colemickens: https://pastebin.com/DCJ2tG32
<lostman> is there anyone familiar with nixops? I'm trying to deploy and it fails but I can't figure out why. Can't see anything useful logged either on the client or on the server. Can connect to the machine and rollback but that's all
<lostman> how can I debug it?
<teto> lostman: have you tried nixops deploy --debug ?
revtintin has joined #nixos
Ariakenom_ has joined #nixos
<lostman> teto: yeah, it just gets stack stopping systemd services until it times out
<teto> an update might make it lose the network. I am not 100% sure it is the reason why but when enabling networkmanager on the VMs, I usually have to stop/start the VMs for them to retrieve the network.
slack1256 has joined #nixos
<adamantium> Would boot.kernelModules = [ "microcode" ]; and hardware.cpu.intel.updateMicrocode = true; both have the same affect?
endformationage has quit [Ping timeout: 245 seconds]
Enzime has quit [Ping timeout: 240 seconds]
<clever> adamantium: entirely different effects
<clever> adamantium: `boot.kernelModules = [ "microcode" ]` will just `modprobe microcode` after mounting the rootfs
<clever> adamantium: but hardware.cpu.intel.updateMicrocode will prepend a blob onto the initrd, which the kernel will probably run, before linux even does any real bootup logic
jackdk has quit [Ping timeout: 240 seconds]
<adamantium> ok, i guess hardware.cpu.intel.updateMicrocode is more what i'm looking to do. thanks
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyper_ch2 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c1a66a49fb2 (from 66 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
sb0 has joined #nixos
slack1256 has quit [Remote host closed the connection]
<colemickens> Is Konqueror intentionally unavailable, or am I doing something wrong?
<{^_^}> [nixpkgs] @jameysharp opened pull request #47453 → RFC: Use systemd-tmpfiles to manage /etc symlinks → https://git.io/fxe8O
tusj has quit [Ping timeout: 244 seconds]
aramiscd has quit [Ping timeout: 245 seconds]
<Mic92> adisbladis: good question
aramiscd has joined #nixos
aramiscd has quit [Client Quit]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/3768913cc9e (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
acowley has quit [Ping timeout: 250 seconds]
<pie_> wasnt there a winwWowStaging at some point? I cant find it anymore
<etu> pie_: wineWowPackages.staging ?
<pie_> ugh geez thanks \o/
<clever> ,locate Konqueror
<{^_^}> Couldn't find in any packages
<etu> clever: I can see that it's mentioned in <applications/kde/srcs.nix> on master
<pie_> clever, is that case sensitive
<clever> ,locate onqueror
<{^_^}> Couldn't find in any packages
<clever> colemickens: Konqueror appears to be missing from pkgs/applications/kde/default.nix
<colemickens> it's in srcs.nix though.
<colemickens> I can try to give it a whirl.
<clever> srcs.nix is an input for the default.nix
<clever> check the other dirs default.nix refers to for examples of what it should look like
<pie_> theres a uh
<pie_> callwithkde or something
<pie_> somewhere
<pie_> maybe check krita's top level package thing
<Mic92> wrong person
aramiscd has joined #nixos
tusj has joined #nixos
Thra11 has joined #nixos
brejoc has joined #nixos
troydm has quit [Ping timeout: 272 seconds]
HalfWord has joined #nixos
<sphalerite> hyper_ch2: I am now
andreabedini has joined #nixos
<hyper_ch2> sphalerite: it's ok, already solved :)
<hyper_ch2> sphalerite: why weren't you online for such a long time? oO
<sphalerite> busy day yesterday
<sphalerite> packing and stuff
<sphalerite> since I'm moving to Munich tomorrow
<adisbladis> Mic92: Cool, thanks :)
<emily> sphalerite: good luck!
<sphalerite> thank you :)
page_ is now known as page
hamishmack has joined #nixos
<hyper_ch2> sphalerite: why would you go to munich?
evil-olive has quit [Quit: Lost terminal]
<sphalerite> to get out of the UK before everything goes intensely downhill (or at least to get myself out of the uncertainty where things going intensely downhill is a significant possibility)
<sphalerite> and because I've found a job there :)
<sphalerite> and because I've practically never lived in Germany even though I'm German, so I figured it's something I could catch up on
Thra11 has quit [Ping timeout: 268 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<hyper_ch2> you speak bavarian?
<{^_^}> [nixpkgs] @srhb closed pull request #47311 → Backport 18.09: ocamlPackages.cohttp: 1.0.2 -> 1.1.1 → https://git.io/fANKp
<sphalerite> no, but they seem to understand high german too :p
<sphalerite> much like I don't speak scottish but they understand me here
brejoc has quit [Quit: Leaving]
brejoc has joined #nixos
mayhewluke has quit [Ping timeout: 246 seconds]
mayhewluke has joined #nixos
sir_guy_carleton has joined #nixos
sir_guy_carleton has quit [Ping timeout: 245 seconds]
thc202 has joined #nixos
<hyper_ch2> sphalerite: that's what they want to make you belive
<hyper_ch2> so, when will you go to Munich?
<hyper_ch2> ah, tomorrow :)
<hyper_ch2> going to the october festival... I see
<sphalerite> nah that's not really my kind of thing
<hyper_ch2> O'zapft is!
<hyper_ch2> well, happy travel
<sphalerite> thank you :)
<hyper_ch2> welcome to the Krauts
<{^_^}> [nixpkgs] @srhb merged pull request #47436 → dune: 1.2.1 -> 1.3.0 → https://git.io/fAjHq
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fxe0s
Enzime has joined #nixos
sir_guy_carleton has joined #nixos
alex`` has quit [Ping timeout: 245 seconds]
Enzime has quit [Client Quit]
hyper_ch2 has quit [Quit: Page closed]
Enzime has joined #nixos
alex`` has joined #nixos
goibhniu has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @nyanloutre opened pull request #47455 → steamPackages.steam: add udev rules → https://git.io/fxe0M
tpanum_ is now known as tpanum
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c1a66a49fb2 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
dweller has joined #nixos
<{^_^}> [nixpkgs] @srhb opened pull request #47456 → haskellPackages.term-rewriting: doJailbreak and dontCheck → https://git.io/fxeEg
sir_guy_carleton has quit [Ping timeout: 252 seconds]
civodul has joined #nixos
georges-duperon has joined #nixos
orivej has joined #nixos
patrl has joined #nixos
<Ashy> has anyone here run phoronix-test-suite on nixos?
reinzelmann has quit [Ping timeout: 252 seconds]
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 246 seconds]
Mateon2 is now known as Mateon1
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @xeji merged pull request #47450 → libxcb: 1.13 -> 1.13.1 → https://git.io/fxesX
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to staging « libxcb: 1.13 -> 1.13.1 (#47450) »: https://git.io/fxezw
<{^_^}> [nixpkgs] @xeji merged pull request #47441 → ansible: add dopy dependency for digitalocean integration → https://git.io/fxevs
<{^_^}> [nixpkgs] @xeji pushed commit from @offlinehacker to master « ansible: add dopy dependency for digitalocean integration (#47441) »: https://git.io/fxegt
reinzelmann has joined #nixos
<teto> There is sthg I don't understand about the branching model. I thought that nixos-unstable had every patch from 18.09 channel but looking at 4a620decd3554cf4a7ff83c794d92be495600a2a , it seems to be available only for 18.09. Is 18.09 going to be merged into nixos-unstable afterwards ?
<srhb> teto: No, it is not.
<srhb> teto: Some fixes do go directly to the release branches.
<Myrl-saki> Probably a cherry pick tbh.
<srhb> Or that.
<srhb> And indeed, that commit was 9e87b56dd1e20b1d0f5fce34694f4e1362afd3fb in master
<Myrl-saki> Yes, yes it is.
<teto> yeah I thought about that after sending the message sorry ty
<Myrl-saki> Not accepted. :c
<Myrl-saki> jk
<srhb> We have a policy about using cherry-pick with -x so you should always be able to find the original commit in the case of a cherry-pick
<srhb> However, the branching model also does allow for fixes to go straight to a release branch, if it's not relevant for master.
<srhb> So I'm sure you can find commits that are only in, say, release-18.03 and not in master.
carlosdagos has quit [Quit: Connection closed for inactivity]
patrl has quit [Ping timeout: 252 seconds]
<yurb> ...it seems it doesn't include alsa midi support, because I don't see libalsa (or something like that) in the dependencies
<yurb> How can I create a custom build with alsa midi included? Also, I think it would make sense to eventually incorporate in nixpkgs, because MIDI functionality is pretty core to SC
<{^_^}> [nixpkgs] @bfortz opened pull request #47457 → rxvt_unicode: fixes annoying locale mismatch bug → https://git.io/fxe22
georges-duperon has quit [Ping timeout: 252 seconds]
<srhb> yurb: As a stopgap, you can override buildInputs and add the necessary dependencies, and adjust the build instructions to activate whatever you need.
<srhb> yurb: You are right that it should become an actual argument to the derivation to be included in nixpkgs.
<{^_^}> [nixpkgs] @basvandijk merged pull request #47456 → haskellPackages.term-rewriting: doJailbreak and dontCheck → https://git.io/fxeEg
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fxe2P
<yurb> srhb: thanks. And where can I override buildInputs? Should I clone nixpkgs locally and edit the file?
<srhb> yurb: That would certainly be the easiest way if you intend to contribute the change to nixpkgs :)
<srhb> For local, throwaway changes, you can look up overlays and overrideAttrs in the nixpkgs manual.
lrvick has joined #nixos
<yurb> srhb: thanks a lot. I think I'd like to try to contribute. I'm very new to nix though. Another thing - SC is also available for macos, but there is no alsa. How that is usually handled?
brejoc has quit [Quit: Leaving]
<srhb> yurb: Using switches on system to enable/disable based on the current platform. :)
<srhb> yurb: And being new is just fine, thank you for trying to contribute! This channel is usually very helpful and we'll be happy to help you get your first (and subsequent) contributions working :)
<lrvick> So I am a security researcher exploring nixos and while I love the separation of concerns between user packages and system packages and the overall design... I have been unable to see how the package manager itself validates integrity and authorship of nix pkgs via gpg signing etc?
<lrvick> is this documented somewhere I missed?
<yurb> srhb: thanks. I'll try to get it working locally first, then will work on contributing. Actually, I am using nix as an alternative to PlanetCCRMA on Fedora.
<srhb> lrvick: I'm not totally sure what you're asking, and security is not my area of expertise, so let me ask a few clarifying questions: Are you talking about verification of the actual nix expression authorship?
<srhb> lrvick: As in, the contents of the nixpkgs github repo.
<srhb> yurb: Cool! Feel free to ask question as much as you like. To get started, try cloning nixpkgs and running nix-build . -A supercollider from the root of the repository
<yurb> srhb: thanks!
<lrvick> In a traditional package manager like debian I can verify a package was signed by the key of a known/trusted maintainer regardless of what mirror I used as well as published signed hashes of builds. If a mirror is compromised serving bad data it would be easily detectable. I am not clear on how nixos provides these assurances today.
<lrvick> It seems like the root of trust is an unsigned github repo, but I am hoping that is not true.
<srhb> lrvick: I don't believe there's any such assurance. For binary caches, when you say you trust its key (with which all the packages are signed) you're trusting it to really transform a given nix package (really, a hash of all its inputs) to the corresponding binary artifact..
<{^_^}> [nixpkgs] @basvandijk merged pull request #47424 → haskellPackages.generic-lens: dontCheck → https://git.io/fAjRC
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fxeaC
<srhb> lrvick: Meaning, if a cache that you trust (by allowing its pubkey) is compromised, it could lie about any package.
<srhb> Regarding the actual nix expressions (ie. that which creates the hash to request from the cache) -- you are trusting whatever person gave you those nix expressions. Of course, here you have the benefit of being able to actually inspect the code, but surely a malicious user could camouflage bad intent in the expression.
<lrvick> But all these binary stores blindly build/sign on the assumption the git repo with all nix package definitions are not tampered?
<lrvick> or do individual cache maintainers actually audit all package definitions before signing?
<srhb> lrvick: That's correct.
<srhb> re. blindly. Once pushes to the repo, the cache will automatically sign the package with its key if it builds succesfully
<srhb> s/pushes/pushed
<lrvick> I was honestly not trying to troll and was hoping I missed something, but... holy fuck.
<lrvick> So what I am hearing is if the github account of anyone with push access was compromised, or a github employee, all nix users could be backdoored and this could potentially go undetected for a while.
<srhb> lrvick: Let's say I push a malicious commit to nixpkgs (I have push bits)
<srhb> lrvick: Anyone building that change, regardless of whether using the cache or not, will then get my malicious change.
<srhb> The cache is really less relevant in this aspect.
<srhb> Attack vectors on the cache, as far as I can see, are really related to lying about having built a certain nix expression
EarlDeLaWarr has joined #nixos
<srhb> That is, I push a benevolent change, but the cache is compromised and promises that it built the benevolent change, but really it injected a backdoor.
<srhb> lrvick: Does that make sense?
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #47458 → ocamlPackages.odoc: fix resolution of odoc.css → https://git.io/fxeVJ
<lrvick> So ways to get remote execution on all nix users include any of: obtain a cache signing key, obtain access to github account of anyone with push access, coerce a github employee, perform a myetherwallet style bgp attack to impersonate github with valid https
phreedom has joined #nixos
phreedom_ has quit [Ping timeout: 256 seconds]
<lrvick> Does that attack surface seem valid then?
<srhb> I don't know enough to speak of the last one, but all the others sound correct.
<srhb> And of course, this is not isolated to the nixpkgs repo
<tilpner> lrvick - Note that master doesn't immediately land on users devices, there can be months between master and a release
<srhb> Lots of companies build nix expressions from some repo that is not nixpkgs
<tilpner> lrvick - A force-push might get there quicker, but those are announced on IRC and will still take days to reach users
<{^_^}> [nixpkgs] @srhb pushed to release-18.09 « haskellPackages.term-rewriting: doJailbreak and dontCheck »: https://git.io/fxeVc
asymmetric has joined #nixos
<srhb> And it really depends on what method users use for specifying their nixpkgs.
<srhb> Most don't use the github channels directly, but some do.
<tilpner> lrvick - That's not an "see, it's okay" though
<lrvick> tilpner: someone with github access would just turn off notifications... :
<srhb> I don't believe that will work in this case. But regardless, that's a small consolation.
<tilpner> You mean a GH employee vs. someone with push access?
<tilpner> cc gchristensen
<lrvick> a repo admin could turn off notifications then turn them back on, or a malicious github employee could of course do whatever. A github employee could actually just serve malicious packages only to very specific caches and backdoor only one company so no one would ever know.
<srhb> lrvick: Umm, I don't think that makes sense. But regardless, I think you have the gist of the attack surface
<elvishjerricco> lrvick: Can that actually happen? Most of the time, when you get nixpkgs from github in a nix expression, you specify a rev or a sha256
<tilpner> I agree that's a central failure point
<elvishjerricco> so Nix would catch that and error out
<Taneb> How does the "stripLen" parameter to fetchpath work?
<srhb> The main thing to realize is that when you install a package, you're actually evaluating nix code (nixpkgs). If that code contains malicious packages, you're going to get the malicious package.
<srhb> Taneb: fetchpatch?
<symphorien> Taneb: I think stripLen=1 means -p1
<srhb> Taneb: Right, just making sure "fetchpath" was a typo
<lrvick> srhb: is there any reason for nix to not implement signing on .nix files like arch pkgbuilds? It would solve for all of these attack vectors and is pretty much industry standard.
<Taneb> symphorien: I've got something that works with -p 2 on blah.src but doesn't work with stripLen = 2
<Taneb> srhb: ah, didn't even notice I'd made an error, sorry
<srhb> lrvick: It sounds reasonable to me. It would essentially amount to signing every commit, right?
<tilpner> lrvick - #nixos is fairly high-traffic, you might want to /join #nixos-security
<lrvick> as well as mandate all contributors use signed commits and publish keys to the maintainers file... if you did that you could actually have anyone mirror the git repo itself and have integrity. Hell you could host the git repo on ipfs or anything and remove centralized trust
<elvishjerricco> lrvick, srhb: Yea, git signing sounds like the best version of that for nixpkgs.
<elvishjerricco> But
<elvishjerricco> Actually, since we use GitHub's merge UI, our master commits would be signed by GitHub, not any of us
<elvishjerricco> So a malicious GitHub employee could still take control
<srhb> That's true.
<lrvick> You can avoid that
<lrvick> add your signatures to the git notes interface. this allows you to have multisig
<lrvick> also sign the patch-id, not the ref
<lrvick> so the signature will still be valid even after a rebase
<srhb> Sounds good.
<lrvick> as long as there were no material changes
<elvishjerricco> I did not know about either of those features :P
<elvishjerricco> As a tangent, I'd be interesting to see an underhanded Nix contest, just to see how easy it is to put inconspicuous malware into nixpkgs.
<srhb> I foresee some largeish changes to our workflows with this, as well as complicating simple version bumps that we generally want to automate, I think, but all in all I think the only cost is "time" -- which, granted, I haven't heard of anyone taking upon them.
* ekleog in favor of signing everything
<elvishjerricco> Signing every PR by a maintainer does sound like a really good idea though.
<srhb> I agree.
<lrvick> This has been proven in many distros. Why once again prove as doctors we need to wash our hands between patients? PKI is the only solution to this problem imo, and (much to my sadness) it seems nixos today has none.
<srhb> lrvick: I think you're absolutely right.
<lrvick> I would however like to be able to some day use nixos because everything else about it seems kick ass. Happy to help if I can.
<srhb> It's not that we're doubting the attack surface.
<srhb> lrvick: Please, it would be much appreciated :)
<ekleog> lrvick: come join #nixos-security :)
<elvishjerricco> Yea maybe we should move the conversation over there?
<elvishjerricco> Might be able to get some actual security team members to look into a solution
<srhb> lrvick: And thank you for keeping a generally good tone about it. I hope I haven't misled you (but I think I got it all right)
<elvishjerricco> (the number of nix channels my irc client is logged into grows exponentially with time :P)
<srhb> elvishjerricco: 7 for me now :P
<{^_^}> [nixpkgs] @peti pushed 9 commits to haskell-updates: https://git.io/fxewq
patrl has joined #nixos
<ekleog> (and if you can figure out a way to actually enforce the workflow of signing every commit, it'd be great -- I had started https://github.com/Ekleog/signed-git at some point, but ended up blocked on git not having a receive-hook, then switched to working on a patch to git, and ended up giving up on that, so it's only a partial solution
<ekleog> )
<elvishjerricco> srhb: 8 for me, if reflex-frp counts
<srhb> elvishjerricco: OK, 8 for me as well then :)
<{^_^}> [nixpkgs] @peti pushed 9 commits to master: https://git.io/fxewY
<ekleog> (was using gpg commits, though, not git notes)
<lrvick> ekleog: I have done a lot of work on this actually: https://github.com/hashbang/git-signatures
<lrvick> I work at a security company where we have to assume any given employee is malicious at all times, and build everything accordingly from VCS up.
<lrvick> so developing that atm. About to release.
<lrvick> feedback welcome
<ekleog> let's switch to #nixos-security, so that other people interested will find this discussion in their logs :)
<lrvick> fair fair
orivej has quit [Ping timeout: 252 seconds]
nschoe has joined #nixos
<Ashy> im trying to run the phoronix-test-suite pts/build-linux-kernel in a nix-shell but it can't find the openssl headers even though i've included openssl.dev
<Ashy> any ideas how i can get phoronix-test-suite to find the headers?
<vandenoever> Ashy: does phoronix-test-suite use pkgconfig to find openssl?
<Ashy> not sure
troydm has joined #nixos
<Taneb> Ah, fitlerdiff --strip=2 is turning "diff --git a/path" to "diffpath", which seems broken
<Ashy> hmm, added pkgconfig and it still can't find them
<Ashy> this is the nix-shell: nix-shell -p php stdenv openssl openssl.dev bison flex pkgconfig
<Ashy> vandenoever: it found bison and flex correctly after adding them to the nix-shell
<vandenoever> Ashy: since it's compiling the kernel, perhaps the kernel nix-expression has a hint
<Taneb> Oh no, the one in nixpkgs is working
<{^_^}> [nixpkgs] @xeji merged pull request #47391 → octave: 4.2.2 -> 4.4.1 → https://git.io/fAp8y
<{^_^}> [nixpkgs] @xeji pushed commit from @lsix to master « octave: 4.2.2 -> 4.4.1 (#47391) »: https://git.io/fxero
<Taneb> Well, working differently
<Ashy> vandenoever: ooh good idea, can i get nix-env to print that or do i just go github diving?
<vandenoever> Ashy: do you have a checkout of nixpgks? then just look there
Anton-Latukha has joined #nixos
ckauhaus has joined #nixos
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47284 → linuxPackages.jool: 3.5.7 -> unstable-20180706 → https://git.io/fAbHm
<{^_^}> [nixpkgs] @xeji pushed to master « linuxPackages.jool: 3.5.7 -> unstable-20180706 (#47284) »: https://git.io/fxeox
<{^_^}> [nixpkgs] @domenkozar merged pull request #47418 → Add developer accessible backdoor to VM tests infrastructure. → https://git.io/fAhxX
<{^_^}> [nixpkgs] @domenkozar pushed commit from @dezgeg to master « Add ssh backdoor to VM tests infrastructure. »: https://git.io/fxeKf
<{^_^}> [nixpkgs] @domenkozar pushed commit from @dezgeg to release-18.09 « Add ssh backdoor to VM tests infrastructure. »: https://git.io/fxeKY
<{^_^}> [nixpkgs] @xeji pushed to release-18.09 « linuxPackages.jool: 3.5.7 -> unstable-20180706 (#47284) »: https://git.io/fxeKn
johanot has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47350 → retroshare: mark as broken → https://git.io/fAA2y
<{^_^}> [nixpkgs] @xeji pushed commit from @orivej to master « retroshare: mark as broken (#47350) »: https://git.io/fxeKu
patrl has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @xeji pushed commit from @orivej to release-18.09 « retroshare: mark as broken (#47350) »: https://git.io/fxeK6
<{^_^}> [nixpkgs] @xeji merged pull request #45449 → patchelf: 0.10-pre-20180108 -> 0.10-pre-20180509, minor touchup → https://git.io/fATOP
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fxe6a
<{^_^}> [nixpkgs] @peti pushed 8 commits to haskell-updates: https://git.io/fxe6K
<{^_^}> [nixpkgs] @peti pushed to master « haskell-texmath: patch to fix build with ghc-8.6.x »: https://git.io/fxe66
<{^_^}> [nixpkgs] @Gerschtli opened pull request #47459 → pythonPackages.flask_sqlalchemy: 2.1 -> 2.3.2 → https://git.io/fxe61
<{^_^}> [nixpkgs] @Gerschtli opened pull request #47460 → pythonPackages.flask-jwt-extended: init at 3.13.1 → https://git.io/fxe6D
Anton-Latukha has quit [Ping timeout: 244 seconds]
jtojnar has joined #nixos
<yurb> srhb: so I have added alsaLib to the arguments to the function and to buildInputs, is that correct?
<{^_^}> [nixpkgs] @xeji opened pull request #47461 → virtualbox: remove useless patchelfUnstable build input → https://git.io/fxeiJ
<srhb> yurb: That's how you make it available in the build process,yes :)
<yurb> thanks. Building it now. And how can I make it available in my environment (i.e. $PATH)?
<Ashy> vandenoever: hmm, so i can see the openssl lib dir in PKG_CONFIG_PATH
<srhb> yurb: Do you really need that? You'll get a result symlink that contains the output
<srhb> yurb: Otherwise you can nix-env -i that symlink
Anton-Latukha has joined #nixos
<srhb> yurb: Or nix-env -f path/to/your/checkout -iA supercollider iirc
<Ashy> vandenoever: hmm, and `pkg-config --cflags --libs openssl` does seem to work, so this must be a phoronix-test-suite specific thing then
<yurb> srhb: thanks.
<kiloreux_> How can I specify when compiling a nix derivation ?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d994f1cfd4d (from 69 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0e0cd2fc30d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<srhb> kiloreux_: I think you forgot a word somewhere in that question.
timon37 has joined #nixos
<kiloreux_> LD_FLAGS --' Sorry.
<vandenoever> Ashy: yes, perhaps it's got the include path hardcoded
<symphorien> NIX_LDFLAGS_COMPILE maybe
<symphorien> grep in nixpkgs you will find
<kiloreux_> Alright, I might have asked wrong. I have a set of libraries that aren't being found when compiling so I want to explicitly specify -L/library/path
r5d has quit [Quit: WeeChat 2.1]
patrl has joined #nixos
<symphorien> these variables are understood by cc-wrapper
<kiloreux_> symphorien, Thank you. Should these exports go into preConfigurePhase ?
<symphorien> anytime before linking
<kiloreux_> Thank you.
lostman has quit [Quit: Connection closed for inactivity]
r5d has joined #nixos
NightTrain has joined #nixos
patrl has quit [Ping timeout: 268 seconds]
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #47462 → systemd: don't restart user-runtime-dir@ on upgrades → https://git.io/fxePQ
<{^_^}> [nixpkgs] @vdemeester opened pull request #47463 → delve: 1.0.0 -> 1.1.0 → https://git.io/fxePN
<{^_^}> [nixpkgs] @vdemeester opened pull request #47464 → gopkgs: unstable-2017-12-29 -> 2.0.1 → https://git.io/fxePA
<{^_^}> [nixpkgs] @vdemeester opened pull request #47465 → gauge: 1.0.0 -> 1.0.2 → https://git.io/fxePp
EarlDeLaWarr has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @vdemeester opened pull request #47466 → vndr: 20171005 -> unstable-2018-06-23 → https://git.io/fxeXe
<{^_^}> [nixpkgs] @vdemeester opened pull request #47467 → gomotifytags: unstable-2017-12-14 -> unstable-2018-09-14 → https://git.io/fxeXU
<{^_^}> [nixpkgs] @vdemeester opened pull request #47468 → go-symbols: unstable-2017-02-06 -> unstable-2018-05-23 → https://git.io/fxeXL
<{^_^}> [nixpkgs] @baracoder opened pull request #47469 → dotnet-sdk: 2.1.401 -> 2.1.402 → https://git.io/fxeXG
<{^_^}> [nixpkgs] @bfortz closed pull request #47457 → rxvt_unicode: fixes annoying locale mismatch bug → https://git.io/fxe22
<{^_^}> [nix] @edolstra pushed to master « Support special attributes in structured attributes derivations »: https://git.io/fxeXz
kiloreux has quit [Ping timeout: 240 seconds]
kiloreux_ has quit [Ping timeout: 252 seconds]
Lisanna has quit [Remote host closed the connection]
<srhb> yurb: Normally, something like this: pkgs/applications/audio/chuck/default.nix
<srhb> Is sufficient :)
<{^_^}> [nixpkgs] @vdemeester opened pull request #47470 → drone: 0.8.5 -> 0.8.6 → https://git.io/fxeXH
<srhb> Then you just (!stdenv.isDarwin && alsaSupport)
<srhb> And you can push that up to a let if you need it multiple times..
<srhb> I don't think adding the logic to the function args is normal :)
<srhb> I've never seen it before at least.
<yurb> srhb: nice, thanks
<yurb> yeah, it seemed hacky
<srhb> yurb: Making swift progress, might I add :)
<srhb> yurb++
<{^_^}> yurb's karma got increased to 1
<yurb> :)
<Ashy> vandenoever: ah "debug-benchmark" is the phoronix-test-suite command i wanted, shows the actual errors instead of hiding them
Lisanna has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #47471 → nixos/zsh: use `escapeShelLArg' for shell aliases → https://git.io/fxe1i
kiloreux has joined #nixos
kiloreux_ has joined #nixos
Kelppo has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #47462 → systemd: don't restart user-runtime-dir@ on upgrades → https://git.io/fxePQ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxeMo
<{^_^}> [nixpkgs] @Mic92 pushed to release-18.09 « systemd: don't restart user-runtime-dir@ on upgrades »: https://git.io/fxeMX
HalfWord has quit [Read error: Connection reset by peer]
civodul has quit [Ping timeout: 268 seconds]
<Mic92> Ashy: are you struggling with phoronix-test-suite?
<Mic92> I made the phoronix disk benchmark working some time ago.
<Mic92> apart from that `sysdig -c stderr` is helpful if programs hiding error messages.
Guest80037 has joined #nixos
Guest80037 is now known as adamt
refnil has quit [Ping timeout: 256 seconds]
<timon37> hi, I have a local clone of nixpkgs-channels and I add some .nix files which use sources from local git repositories, that used to work just fine, but recently it broke
<timon37> e.g. I'm getting this output https://pastebin.com/fbXmRPnu
<timon37> anyone has any ideas what the problem could be or how to fix/workaround it? I recently switched from 18.03 to 09, though I'm not 100% sure whether that's what broke it
<adamt> How long time is the nix daemon going to try connecting to binary cache A before trying binary cache B instead?
<timon37> here's an example .nix file I use: https://pastebin.com/zAdfg8F0
Ariakenom_ is now known as Ariakenom
philippD has joined #nixos
<{^_^}> [nixpkgs] @vdemeester opened pull request #47472 → kail: 0.6.0 -> 0.7.0 → https://git.io/fxeSu
iyzsong has joined #nixos
<adamt> How can you change how long nix waits for a binary caches to be reachable? It would be lovely not having to wait for timeouts, when you know you'll never be able to reach the cache from your current location
<elvishjerricco> adamt: You can use `--no-substitute` to prevent it from trying to use the cache
<etu> timon37: I'm not sure about your issue. But I would think that you need to add a `rec` to `stdenv.mkDerivation` so it becomes `stdenv.mkDerivation rec`.
<elvishjerricco> adamt: I dunno if `--connect-timeout ...` affects the time for caches or other kinds of downloads
<etu> timon37: Also you don't need to inherit name, it should be fine. And I don't see a need for the entire patches variable input since eventual users can overideAttrs their patches instead of override
<{^_^}> [nixpkgs] @arianvp opened pull request #47473 → doc: Update section about imperative containers → https://git.io/fxe9v
<{^_^}> [nixpkgs] @Mic92 closed pull request #47447 → steamPackages.steam-udev: init at 1.0.0.51 → https://git.io/fxekA
jtojnar has quit [Ping timeout: 268 seconds]
<timon37> etu: hmm rec is fine (though I don't think it's necessary?) the rest seems necessary (I get various errors when I remove them), the file is just copy and pasted from pkgs/applications/window-managers/dwm/
NightTrain has quit [Ping timeout: 246 seconds]
abcrawf has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dezgeg pushed 6 commits to master: https://git.io/fxe9a
<{^_^}> [nixpkgs] @dezgeg merged pull request #45727 → Remove meta.available checks → https://git.io/fAGT8
<Myrl-saki> sphalerite: I just realized that the systemd service I made causes 100% CPU usage.
<Myrl-saki> Because my laptop was getting hot.
abcrawf has joined #nixos
<Myrl-saki> And my battery usage was "a bit" too high.
lassulus has quit [Ping timeout: 252 seconds]
sir_guy_carleton has joined #nixos
<timokau[m]> Is there a way to set an environment variable in a `buildFHSUserEnv` used with `nix-shell`?
init_6 has joined #nixos
<init_6> Hi all! Thx for the nixos-18.09!
<srhb> init_6: Um, did we release yet? :D
<srhb> I don't think we did.
<etu> I don't think it's out yet
<srhb> init_6: So, thanks for beta testing I guess ;-)
simukis has joined #nixos
<etu> It should be out real soon. So the state should be close to "probably fine"
<Ashy> Mic92: thanks, i'll take a look
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1e9f50f1569 (from 70 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<Mic92> Ashy: the file is meant for nix-shell
lassulus has joined #nixos
<Ashy> yeap, i'm doing something similar now
johanot has quit [Remote host closed the connection]
Cale_ has joined #nixos
Cale_ has quit [Remote host closed the connection]
<Ashy> Mic92: this is the compiler error i get:
<Ashy> cc1: error: code model kernel does not support PIC mode
<Ashy> i'll put up a gist
revtintin has quit [Quit: WeeChat 1.9.1]
<Mic92> Ashy: I remember I had this before in this or a different project.
<Mic92> Did I remove glibc.static temporary? I cannot remember
<Mic92> the generic way to debug this is `strace -s 2048 -o /tmp/strace -f -e execve <install-command>` and run the command externally to see what is going on
<Mic92> Ashy: sorry, I don't have time to build phoronix right now, if you give me concrete compiler commands and output I can reason about it.
reinzelmann has quit [Quit: Leaving]
<Ashy> ok 1 sec
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/1e9f50f1569 (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<Mic92> Ashy: if you are building a kernel you can make your live easier by using linux.nativeBuildInputs ++ linux.moduleBuildDependencies
<Mic92> *life
<Ashy> ah cool, i'll add those
wpcarro has joined #nixos
<adamt> elvishjerricco: I thought connect-timeout was the more typical definition of it, and not the time it waits in total
<adamt> elvishjerricco: The problem with --no-substitute is that we don't want that either, we just want it to go to the next cache in the list. =/
<Mic92> it should not build the kernel with -fPIC
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<Ashy> AH
<Mic92> this is the tricky part in our cc-wrapper
<{^_^}> [nixpkgs] @nyanloutre opened pull request #47476 → steamPackages.steam: 1.0.0.51 -> 1.0.0.56 → https://git.io/fxe5l
<{^_^}> [nixos-org-configurations] @grahamc opened pull request #55 → Add packet-t2a-2 → https://git.io/fxe54
<elvishjerricco> adamt: Maybe you should just use --substituters to disallow the one you know you can't use?
_d0t has joined #nixos
<_d0t> hello
<Ashy> Mic92: thanks for the help, that's running much longer now, seems to be working
<_d0t> i'm getting to following error when trying to run intero on nixos unstable
<_d0t> <command line>: can't load .so/.DLL for: /nix/store/sx4pjh0nh0acqszld5rrxwbjnzl3djrg-ghc-8.4.3/lib/ghc-8.4.3/ghc-prim-0.5.2.0/libHSghc-prim-0.5.2.0-ghc8.4.3.so (/nix/store/hwwqshlmazzjzj7yhrkyjydxamvvkfd3-glibc-2.26-131/lib/libm.so.6: version `GLIBC_2.27' not found (required by /nix/store/sx4pjh0nh0acqszld5rrxwbjnzl3djrg-ghc-8.4.3/lib/ghc-8.4.3/ghc-prim-0.5.2.0/libHSghc-prim-0.5.2.0-ghc8.4.3.so))
<_d0t> how do i fix this?
<Mic92> _d0t: are you mixing libc versions?
<_d0t> Mic92, not sure
<Mic92> in example in the nix-profile
<_d0t> probably not, but how do I check this?
silver has joined #nixos
<Mic92> lddtree is good for that
<{^_^}> [nixos-org-configurations] @rbvermaa pushed 2 commits to master: https://git.io/fxe5j
<{^_^}> [nixos-org-configurations] @rbvermaa merged pull request #55 → Add packet-t2a-2 → https://git.io/fxe54
<adamt> elvishjerricco: I fear that's what we'll end up with, yes, but then we'll have to teach our build tool (that wraps nix-build, e.t.c.) about it, and we honestly hoped the nix daemon would be a bit smarter. Like, maybe giving the client the option of specifying the priority, instead of reading the priority from the repo.
<adamt> elvishjerricco: Thanks for the replies, I'm just annoyed it pretty much is as we thought it would be. :P
<elvishjerricco> adamt: If you know it's always going to fail why is it there in the first place?
astronavt has joined #nixos
<_d0t> Mic92, ghc is linked to glibc 2.27
<sir_guy_carleton> question: when will 18.09 be out for official release?
<adamt> elvishjerricco: It's going to work as long as people are at the office, or online through the company VPN.
<Mic92> _d0t: maybe some other library?
<_d0t> actually, i had an older ghc installed locally
<adamt> elvishjerricco: But we often work without being on the company network.
<_d0t> removing it fixed the problem
<Mic92> _d0t: somehow you pick up 2.26-131
civodul has joined #nixos
<Mic92> ok
<_d0t> thanks
<d1rewolf> has anyone used ipmitool on nixos? There's a derivation for it, but I get "Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory" when running "sudo ipmitool lan print"
<Mic92> sir_guy_carleton: soonish
astronavt_ has joined #nixos
<_d0t> btw, could someone plz review my pr? https://github.com/NixOS/nixpkgs/pull/47297
<{^_^}> #47297 (by greydot, 3 days ago, open): Introduce hardware/bladeRF module
<adamt> d1rewolf: Same behaviour here
<Mic92> if you are using the nginx module, you might find this useful: https://gist.github.com/Mic92/48a44c576e1df6ce85cadce7d1341ed4
wpcarro has quit []
<d1rewolf> adamt: I didn't but I will...my immediate assumption was it was something related to nix's structure, but perhaps it is not. THank you!
astronavt has quit [Ping timeout: 260 seconds]
<d1rewolf> adamt: well, ipmi_devintf loads, but ipmi_si gives "modprobe: ERROR: could not insert 'ipmi_si': No such device". digging deeper
<sphalerite> Myrl-saki: that's odd, I can understand why it would do that when wpa_supplicant isn't up, but when it is..?
<Myrl-saki> sphalerite: Updated script. I used -G 0. htop strace saved me. :P
<Myrl-saki> In my defense, typing on a laptop keyboard is exhausting.
<infinisil> Htop strace is so nice
mbrock has joined #nixos
<Myrl-saki> :)
<Myrl-saki> infinisil: If I make a daemon out of Bash(and some commands, ofc.), would that be mergeable to Nixpkgs?
<Mic92> infinisil: did not knew about that
Rusty1 has joined #nixos
<symphorien> htop can also run lsof, I find this handy to find log files
<asymmetric> hi, is there a description of what happens when i do `nix-build`? as in: are chroots used, or mount namespaces?
<sphalerite> asymmetric: yes, if sandboxing is enabled
<Mic92> asymmetric: I will give a talk on the nixcon about that.
<infinisil> Myrl-saki: Depends
<Mic92> user namespaces + chroot environment
<asymmetric> awesome.. are there any resources currently? short of reading the code?
<Mic92> also network/mount namespaces
<Mic92> asymmetric: only code reading atm
<infinisil> Myrl-saki: I'd rather have well thought out and elaborate nixos services in NixOS than a bash script
patrl has joined #nixos
<asymmetric> great. do you know where to sign up for the nixcon waiting list?
jperras has joined #nixos
jperras has quit [Client Quit]
<infinisil> There's a waiting list?
<sphalerite> asymmetric: I don't think there is one
<Mic92> asymmetric: maybe there is a recording?
<sphalerite> asymmetric: the talks will be streamed and the recordings will be uploaded though AFAIK
<Mic92> asymmetric: src/libstore/build.cc
<asymmetric> > All the NixCon tickets are officially sold. I opened the waiting list in case some sponsors want to release their tickets.
<{^_^}> error: syntax error, unexpected IN, expecting ')', at (string):196:71
<Mic92> {^_^}: not so eager
<sphalerite> asymmetric: oh right it's on the registration thing
<Myrl-saki> infinisil: Makes sense.
copumpkin has quit [Read error: Connection reset by peer]
<octe> i'm having some issues installing nix on fedora.. eventually /etc/bashrc will run "manpath" but the nix version of that is a bash script which will again try to run manpath.. at least i think that's what's happening since i get an andless tree of manpath invocations when i try to start a shell
<octe> not sure where the fault is
<infinisil> octe: How are you installing it?
<octe> infinisil, with the curl command from the page
<infinisil> octe: Can you just remove that call in /etc/bashrc?
<octe> i can
<octe> but then i won't get any manpath i guess? :)
<octe> or maybe nix takes care of that
<infinisil> Yeah, hmm
<octe> i'm just surprised
copumpkin has joined #nixos
astronavt_ is now known as astronavt
<infinisil> octe: Do you have something like the following in your bashrc:
<infinisil> if [ -n "$__ETC_BASHRC_SOURCED" -o -n "$NOSYSBASHRC" ]; then return; fi__ETC_BASHRC_SOURCED=1
<infinisil> if [ -n "$__ETC_BASHRC_SOURCED" -o -n "$NOSYSBASHRC" ]; then return; fi; __ETC_BASHRC_SOURCED=1
iyzsong has quit [Ping timeout: 246 seconds]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
abrar_ has joined #nixos
abrar_ has quit [Remote host closed the connection]
<octe> infinisil, i'm confused.. there is something like that in /etc/bashrc
<octe> that should work
<octe> i'll investigate more
<octe> maybe it's something else
abrar_ has joined #nixos
abrar_ has quit [Remote host closed the connection]
Izorkin has quit [Read error: Connection reset by peer]
Kelppo has quit []
<{^_^}> [nixops] @deepfire opened pull request #1014 → aws | route53: normalise DNS hostname; fix #1013 → https://git.io/fxexJ
Kelppo has joined #nixos
<siers> my PR reviewer's not replying for a week, I am very upset about it /s
<d1rewolf> anyone else get occasional "popping" from pulseaudio on nixos? It comes and goes, but is very frustrating. usually killing pulse fixes it
<nschoe> Hi everyone, I have installed Kicad 5 but I have no symbols. Kicad 4 used to works right. Have any of you had the same issue/
<adisbladis> d1rewolf: Usb soundcard?
<adisbladis> I have had it with some hardware that detects quiet and turns off the output, and some usb hardware that goes in to power saving
<d1rewolf> adisbladis: no...sound card in a dell laptop....but it's using a thunderbolt docking station
<d1rewolf> adisbladis: it's thunderbolt to docking station, and hdmi to monitor
__monty__ has quit [Ping timeout: 268 seconds]
<adisbladis> gchristensen: <3
__monty__ has joined #nixos
<adisbladis> d1rewolf: Many moving parts.. It may very well be hardware dependent.
<d1rewolf> adisbladis: yeah...not an easy thing to troubleshoot ;) thx
pepesza has joined #nixos
philippD has joined #nixos
<gchristensen> do we have any nodejs applications already which have a million dependencies?
<adisbladis> gchristensen: You are thinking about my remark before?
<adisbladis> That's private builds
<gchristensen> yeah, trying to replicate
<adisbladis> I think it may be behaving as designed, it's just that the design doesn't scale well to these number of packages.
ma27 has quit [Quit: WeeChat 2.2]
ma27 has joined #nixos
<adisbladis> I would like the leafs of the graph to end up in their own layer at the very least, since that's more likely to change more often
<adisbladis> Andway, I've started working on a complementary approach that matches my use cases better (inspired by your work)
mayhewluke has quit [Ping timeout: 246 seconds]
<gchristensen> that means almost certainly losing the caching between base layers
<asymmetric> is it possible to know the store path of a derivation from within the derivation? as in: substitute the eventual path of foo with ${foo} in a patchPhase
<adisbladis> gchristensen: Yes it does, though I don't think thats the end of the world for a lot of builds.
<{^_^}> [nixpkgs] @ikervagyok opened pull request #47479 → modules/kexec: fix typo in kexec → https://git.io/fxehq
mayhewluke has joined #nixos
<gchristensen> looking at the build for a nodePackages.quassel-webserver container, the base layers are very good picks -- glibc, nodejs, sqlite,
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fxehG
<{^_^}> [nixpkgs] @lsix merged pull request #47459 → pythonPackages.flask_sqlalchemy: 2.1 -> 2.3.2 → https://git.io/fxe61
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/fxehZ
<adisbladis> gchristensen: I'm investigating having explicit derivations where you cut the graph into layers
<gchristensen> adisbladis: if you go that route, you should use buildImage
<gchristensen> which should already serve that purpose well
_d0t has quit [Remote host closed the connection]
<adisbladis> gchristensen: Yes I think so too.
<{^_^}> [nixpkgs] @romildo opened pull request #47480 → perlPackages.LinuxDesktopFiles: init at 0.25 → https://git.io/fxehi
<gchristensen> cool :)
<adisbladis> gchristensen: Great work on that :) I really like it
<{^_^}> [nixpkgs] @lsix merged pull request #47460 → pythonPackages.flask-jwt-extended: init at 3.13.1 → https://git.io/fxe6D
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/fxejY
<d1rewolf> how would one evaluation something like "(python.withPackages ((ps: with ps; [ dbus-python requests ])))" with nix-shell? I have this in my systemPackages, but knowing how to with nix-shell for one offs would be very nice
<adisbladis> d1rewolf: Exactly the same
<d1rewolf> adisbladis: with --command?
<adisbladis> nix-shell -p 'python.withPackages ...'
<d1rewolf> oh...ok. cool
<gchristensen> to use it in a shebang, you have to use double quotes, see the note: https://nixos.org/nix/manual/#use-as-a-interpreter
<d1rewolf> adisbladis: gchristensen thanks to you both
alex`` has quit [Ping timeout: 252 seconds]
alex`` has joined #nixos
<d1rewolf> how can one tell if an update and then a nixos-rebuild should require a reboot?
<d1rewolf> or should you always reboot after update?
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<teto> d1rewolf: nixos-rebuild switch should work fine most of the time, it will restart some services (depending on config) but if you changed the kernel, then you have to reboot
<{^_^}> [nixpkgs] @lsix opened pull request #47481 → pythonPackages.django_2_1: 2.1 -> 2.1.1 → https://git.io/fxves
<gchristensen> I do it if systemd or nixos rebooted, but it is just an observation
<d1rewolf> gchristensen: can you elaborate what you mean there?
<gchristensen> derp
<d1rewolf> teto: how can one tell if the kernel changes as the result of an update?
<gchristensen> I do it if systemd or the kernel updated, but it is just something I look for and then decide to reboot.
<d1rewolf> do you just pipe rebuild output somewhere and grep for it?
<d1rewolf> lol...gchristensen k. do you just grep rebuild output for 'kernel|systemd'?
<gchristensen> no, I just .. look ... let me see what I look for :)
<symphorien> d1rewolf: nixos-rebuild will tell which services it did not restart to preserve your existing session (ex: X). Depending on your preferences this could be a criterion to reboot.
<gchristensen> basically if it looks like everything wants to restart, I'll reboot
<d1rewolf> gchristensen: how does one tell if something wants to restart? ;)
cryptix has joined #nixos
<gchristensen> `nixos-rebuild dry-activate`
jekor has joined #nixos
<cryptix> hi! i'm trying to deploy the trivial nixops setup to a barebone nixos host but i'm getting these two failed assertions: https://pastebin.com/raw/LaqUXwGP
<gchristensen> you need to copy the hardware-configuration.nix in to your nixops network for that machine
<d1rewolf> gchristensen: cool...thx
<cryptix> the target configs were generated. it picked systemd-boot, maybe that tripps the grub assertions... the root fs is also specified (the system rebuilds and reboots fine)
<cryptix> i tried too look into the trace but can't make heads or tails of the code yet
<gchristensen> the problem is your server has a hardware-config nix file in /etc/nixos, and you didn't import it in to your network.nix file.
_d0t has joined #nixos
<gchristensen> it doesn't matter if it was generated
<jekor> How would I debug why nix-daemon is seemingly ignoring /etc/nix/machines (on darwin). nix ping-store appears to work, but nixops appears not to try to use it.
<{^_^}> [nixpkgs] @peterhoeg opened pull request #47482 → nixos on hyperv: load proper modules and make installer use the module [WIP] → https://git.io/fxveA
adamt has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @basvandijk pushed to tensorflow-1.11 « tensorflow: 1.9.0 -> 1.11.0 »: https://git.io/fxvvv
<gchristensen> d1rewolf: https://gist.githubusercontent.com/grahamc/1bc10091cdbc63f68ec3a11a95db3899/raw/279eb40c5c022bd01ab76f2cf63010fc14d4c806/gistfile1.txt if I see dbus or systemd-udevd-kernel.socket in there, I'll usually reboot, though I don't strictly have to.
Ariakenom has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @basvandijk pushed 0 commits to tensorflow-1.11: https://git.io/fxvvL
<d1rewolf> gchristensen: very help. thank you
<cryptix> gchristensen: oh, thank you! where can i read more about this? the vbox examples didn't need one and the _nixos_ section is even shorter
<jekor> (this is for Nix 2.0)
alex`` has quit [Quit: WeeChat 2.2]
<gchristensen> cryptix: ah, nixops uses magic to handle certain backends' hardware configuration: vbox, ec2... but for `none` you have to fully specify the config9.
<gchristensen> cryptix: this doesn't appear to be documented :(
<cryptix> gchristensen: aaah.. makes more sense. so I just import the hw config into the root object of the machine.nix ?
<gchristensen> cryptix: that should work! just like /etc/nixos/configuration.nix does on thaht system
<cryptix> thanks! trying that now. i guess the boot.* stuff also falls under "hardware" in this case
<gchristensen> yeah
<{^_^}> [nixpkgs] @peterhoeg opened pull request #47483 → redoflacs: init at 0.30.20150202 → https://git.io/fxvvd
<{^_^}> [nixpkgs] @zimbatm pushed to master « vault: add completion deprecation notice »: https://git.io/fxvvj
<d1rewolf> does nixos track what and when kernel CVEs are fixed?
<gchristensen> not exactly, but we upgrade our kernels extremely promptly
<d1rewolf> gchristensen: so how would I as a user know if that CVE in the article is fixed? Just by reading commits?
jekor has quit [Remote host closed the connection]
hyper_ch2 has quit [Quit: Page closed]
<symphorien> this boils down to findin in which upstream versions this is fixed
<gchristensen> well you can see what version kernel you'rerunning
<d1rewolf> ah, yes. I guess that's true
<gchristensen> "And within days it was also fixed in the upstream stable kernel releases 4.18.9," -> uname -a says 4.18.9 so I'm good
<d1rewolf> ok cool. thanks guys. I'm rebuilding and rebooting....bbl
jtojnar has joined #nixos
<gchristensen> "The security issue was announced on the oss-security mailing list on 2018-09-18, with a CVE allocation on 2018-09-19" 7d30b3d10c8dbc9d024525a84742fca6d44f24bf on Thu Sep 20 "linux: 4.18.8 -> 4.18.9" was committed
Kelppo has quit []
<cryptix> gchristensen: works, thanks! i guess a PR with a hint about that wouldn't hurt - i'll try to whip one up even though i'm not sure what to say besides what you told me
<gchristensen> saying that, but dressed up a bit with why you want know this and symptoms of the problem
schrodinger has joined #nixos
jperras has joined #nixos
Kelppo has joined #nixos
<jtojnar> colemickens: I still need to check the fix-rpath.patch for correctness
erasmas has joined #nixos
justanotheruser has quit [Quit: WeeChat 2.2]
silver_ has joined #nixos
silver has quit [Ping timeout: 250 seconds]
<d1rewolf> gchristensen: after nix-channel --update and rebuild, I'm still on kernel 4.14.72. the channel i'm on is nixos-unstable. what am I missing?
Ariakenom has joined #nixos
<gchristensen> well good news, you're on a fixed kernel: And within days it was also fixed in the upstream stable kernel releases 4.18.9, 4.14.71, 4.9.128, and 4.4.157
<andi-> the kernel updates are working very nicely. Thanks to one particular individual :-) (Can't remember the name, always forget...)
<gchristensen> tim steinbeck iirc
<andi-> yes!
<d1rewolf> gchristensen: that is good news. but why would i be running 4.14.72 and you would be on 4.18.9, assuming we're both running unstable?
<gchristensen> (nequissmess or something, I can't remember exactly either :D )
<gchristensen> d1rewolf: I run nixos stable
<andi-> d1rewolf: there is multiple releases of the kernel in nixpkgs
<gchristensen> d1rewolf: but I set boot.kernelPackages = pkgs.linuxPackages_latest;
<andi-> 4.4, 4.9, 4.14, 4.17, 4.18, ..
<d1rewolf> interesting. is that recommended, or should I just stick to the default that unstable provides?
<gchristensen> up to you
<d1rewolf> andi-: do I always need to manually select one? Or should a channel provide a default?
<{^_^}> [nixpkgs] @lsix opened pull request #47484 → pythonPackages.django-raster: Improve django version support → https://git.io/fxvT7
<andi-> d1rewolf: well that is up to you. If you do not want to think about it stick to the default. It is the LTS kernel that was released with the nixos release.
<andi-> e.g 4.14
<andi-> I am using latest myself
<d1rewolf> ok, thx guys
patrl has quit [Ping timeout: 268 seconds]
nly has joined #nixos
<nly> Hi
<dhess> gchristensen: can I provide you with a 2nd SSH key for the aarch64 community builder?
<gchristensen> dhess: send a PR :)
<nly> Nix-mode + company-mode should show me popup options in a .nix file?
<dhess> ok
cypher4 has joined #nixos
<cypher4> I’m gonna suggest this bitch be demoted
<cypher4> superboot: no
<cypher4> function update(t1, t2) for k, v in pairs(t2) do t1[k] = v end end
<cypher4> still so popular
bigvalen has quit [Quit: ZNC by prozac - http://znc.sourceforge.net]
<cypher4> DrJ: well, +z makes sense, +m is something we are discussing.
<gchristensen> cypher4: seems you're in the wrong channel?
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
<sphalerite> gchristensen: bot?
<gchristensen> I think so
<tilpner> That would match with reports from another networ
cypher4 has quit [Remote host closed the connection]
<gchristensen> well, I have mode +rf on a macro now, so... if it happens again we'll put it back.
<sphalerite> heh, nice
bigvalen has joined #nixos
orivej has joined #nixos
<tilpner> They're forwarding chat from one channel to another channel, defeating all pattern-based detection :/
<samueldr> >:[ party poopers
* gchristensen sighs
<tilpner> Hey gchristensen, did you notice the #nixos-security conversation about git signing today?
<nly> Is this working for anyone? github.com/Nixos/nix-mode
<gchristensen> no I didn't, tilpner
<{^_^}> [nixpkgs] @prusnak opened pull request #47485 → mozilla-plugins/trezor: remove applications/networking/browsers/mozil……la-plugins/trezor → https://git.io/fxvtT
<{^_^}> [nixpkgs] @aszlig pushed to master « nixos/kexec: Fix typo in meta.platforms »: https://git.io/fxvt4
<{^_^}> nix-community/aarch64-build-box#31 (by dhess, 25 seconds ago, open): Add another key for dhess.
<gchristensen> ok it'll take half a century to deploy probably
<dhess> hehe
<gchristensen> it would be cool to have Hydra build this
<srhb> How do I bootstrap a builder ex nihilo using builtins.derivation? I can't see how to make an executable builder with builtins.toFile (and what would execute it?)
<gchristensen> you would pass the toFile result to args
<srhb> gchristensen: I think that does exactly what I needed, thank you very much :)
<gchristensen> srhb: https://github.com/NixOS/nix/blob/master/tests/simple.nix is an interesting thing to look at, too
<gchristensen> (that whole dir)
<tilpner> Has anyone gotten seamless desktop forwarding to work with NixOS?
jedahan has joined #nixos
emacsomancer has quit [Read error: Connection reset by peer]
<tilpner> (where seamless is "embed remote windows into local window manager" instead of "give me a whole desktop as a single window, with remote decorations and desktop UI")
emacsomancer has joined #nixos
<sphalerite> nly: the indentation is, uh, very eccentric? :p that's a known issue
<sphalerite> fixes welcome ;)
<srhb> gchristensen: How did this escape me? <nix> is a magical path injected by nix itself?
<nly> sphalerite: OK, I'll try to investigate. Do you see pop up suggestions in company mode?
<srhb> uuuunlimited poweeerrrrr
<sphalerite> nly: I don't think it contains suggestions at all, and I'm not much of an emacs wizard (very much not) and haven't got around to trying company yet
<sphalerite> > <nix>
<{^_^}> /nix/store/nwyjyl938ksbm0vpm3c1waqb2hs1ka9l-nix-2.1.1/share/nix/corepkgs
<sphalerite> mind: blown.
<srhb> Same here
<srhb> The power is incredible :D
<srhb> But of course, that's bootstrapping
<srhb> A lot of things make more sense now actually. I thought a default _builder_ was injected that had a hardcoded shell
<srhb> This is much nicer.
Tucky has quit [Remote host closed the connection]
<nly> This is sort of how it should work I guess in company-mode-nix, I'll see if I can understand how this works
<srhb> Wait wait wait
<srhb> builder = "builtin:fetchurl" ???
<srhb> :O
<gchristensen> srhb: sounds like you're having a fun day, whats up?
<srhb> I'll tell you later if it pans out! :D
<gchristensen> ohhh no fair! :D
<srhb> hehehe
<srhb> Well you gave me all these shiny toys... Keeping them to myself for now is just human nature :-P
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<gchristensen> :D
<dhess> nly: I get pop-ups in company with nix-mode
<dhess> and yes the indentation doesn't work
endformationage has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #47487 → ghcjs-*: Expose the version of GHC used → https://git.io/fxvOe
Kelppo has quit []
<nly> dhess: versions?
<gchristensen> if there are any expert emacs -mode writers around I'd be happy to chip in some money to make it great
<nly> Emacs26.1, company 0.9.6, nix-mode 1.2.2
<dhess> nix-mode 20180908.1540 (melpa)
<dhess> emacs26.1
graphene has quit [Remote host closed the connection]
<nly> I thought I tried Melpa pkg 2018...
<dhess> company 20180913.1611 (melpa)
graphene has joined #nixos
<nly> gchristensen: I am no expert :P
<dhess> And all of my emacs modes are packaged with Emacs using nix
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #47488 → ghcjs-*: Expose the version of GHC used → https://git.io/fxvOn
<mdash> ldlework did some stuff to improve nix-mode indentation I think
<dhess> mdash: I feel like the indentation has gotten worse recently :(
<mdash> dhess: strange
<nly> Ty
<lewo``> i also have some indentation problems
<nly> So company mode is working for others too?
camsbury has quit [Ping timeout: 252 seconds]
stick` has joined #nixos
camsbury has joined #nixos
<stick`> hi all!
b1000101 has joined #nixos
<stick`> how does one use devel packages on nixos? for example, i installed sdl2 using
<stick`> nix-env -iA nixos.SDL2
<sphalerite> ,library stick`
<{^_^}> stick`: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<{^_^}> [nixpkgs] @vdemeester opened pull request #47489 → kustomize: 1.0.4 -> 1.0.8 → https://git.io/fxv30
<stick`> sphalerite: nix-shell worked and installed devel library for sdl2
<stick`> is the only way how to use it via pkg-config?
alex`` has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #47487 → ghcjs-*: Expose the version of GHC used → https://git.io/fxvOe
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fxvsT
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #47488 → ghcjs-*: Expose the version of GHC used → https://git.io/fxvOn
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.09: https://git.io/fxvsI
patrl has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #47461 → virtualbox: remove useless patchelfUnstable build input → https://git.io/fxeiJ
b1000101 has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 268 seconds]
<kalbasit[m]> when I `nix-build`, where is the `$out` located relative to `$NIX_BUILD_TOP` ?
<gchristensen> there is no specific rule about a relative location
<gchristensen> $out will usually be /nix/store/somehash-thename/
<kalbasit[m]> oh
<kalbasit[m]> I thought it goes first to a temporary folder, thx gchristensen
<gchristensen> no, right to the real location :)
init_6 has quit [Remote host closed the connection]
<kalbasit[m]> cool
<gchristensen> dhess: should be good to go now
stick` has quit [Quit: leaving]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<clever> gchristensen: though when using the nix sandbox, that "real location" is actually a temp dir i believe, and mount namespaces remap it
<gchristensen> eh :)
_d0t has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 268 seconds]
<samueldr> something about a curtain, a wizard and "oz"
<kalbasit[m]> gchristensen: clever: So I noticed that when the build is done, the given sha256 is pretty much stuck, even if I change the phases the build never re-runs and I have to change the sha256 to get the build rolling again. is there a way to force a build even if the $out already exists? is it `--check` ?
<gchristensen> this is the sha256 of a fetchurl or somethming?
nschoe has quit [Ping timeout: 252 seconds]
<kalbasit[m]> gchristensen: of a `buildBazelPackage` fetchAttrs
<kalbasit[m]> gchristensen: can you try to build https://github.com/NixOS/nixpkgs/pull/47448 ? I'm trying to fix the sha256 but I can't replicate srhb's issue
<{^_^}> #47448 (by kalbasit, 17 hours ago, open): bazel-watcher: init at 4d5928e
<gchristensen> re-run with --check, yeah
<dhess> gchristensen: cool thanks!
jperras has quit [Quit: WeeChat 2.2]
<dhess> gchristensen: I'm in, thank you so much.
<kalbasit[m]> gchristensen: I did try `--check` and it worked, it also worked the last time so I'm not sure why srhb got a different hash.
<dhess> ooh fun, massive aarch64 builder
<kalbasit[m]> srhb: do you have some time to try to build the PR again? https://github.com/NixOS/nixpkgs/pull/47448
<{^_^}> #47448 (by kalbasit, 17 hours ago, open): bazel-watcher: init at 4d5928e
jperras has joined #nixos
<kalbasit[m]> gchristensen: it's required. So buildBazelPackage is split into two phases. The fetch phase to let Bazel download all the dependencies it needs this step has network access. The build phase uses the $out of the fetchPhase to build using bazel without having network access
<gchristensen> got it. try changing that hash by one character and building again
<kalbasit[m]> I did, I always use `00000...` as a hash to force compilation. I do get the same hash every time
<srhb> kalbasit[m]: Then why did you change it in the commit?
<samueldr> kalbasit[m]: do you have sandboxing enabled in your nix installation?
<srhb> kalbasit[m]: And how did you know what to change it to?
<samueldr> (could there be impurities coming from bazel? is my real question)
<kalbasit[m]> srhb: I do have sandboxing yes and I found a lead in the `.marker` files. There was a reference to go_sdk which is actually the go in the buildINputs. I removed it and want to know if that's what it was
jperras has quit [Client Quit]
<srhb> Ah :)
<srhb> I'm just wondering whether the downloaded things change
<srhb> The hash is correct for me _right now_
<srhb> Whether that is also true tomorrow, I can check :)
<kalbasit[m]> srhb: perfect so I guess this reference in the marker was the culprit
<srhb> Maybe.
<srhb> (Probably, if you think it is :-P)
<kalbasit[m]> srhb: basically yes, plenty of impurities in Bazel that's why we have to trim .git files and remove any local reference
<kalbasit[m]> srhb: do you want to merge now? should I proceed by rebasing the commits?
<srhb> What a shame.
<srhb> No, working right now, don't want to review until after work at least :) Probably tomorrow if I'm to do it. And I'd also like to see stability for more than a few minutes and look further into it :P
<kalbasit[m]> yea bazel is hard, it took a lot of work to package bazel-watcher including upstream changes https://github.com/bazelbuild/bazel-watcher/pull/137
<{^_^}> bazelbuild/bazel-watcher#137 (by kalbasit, 2 weeks ago, merged): Update rules_go and gazelle
<kalbasit[m]> srhb: fair enough then. I'll rebase the commits in the meantime so you can merge when you can
<srhb> kalbasit[m]: If you want to add a few comments that explain to me how it's now pure, that'll help speed me up :D
<kalbasit[m]> in the code or pr?
<kalbasit[m]> srhb: ^^
<srhb> pr :)
<srhb> Either would work, though.
<srhb> Maybe code is actually nice.
<kalbasit[m]> sounds good
<emily> ironic that bazel would be especially hard to package when it has such a focus on reproducible builds
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
<kalbasit[m]> emily: the problem is that Bazel wants access to the network at all times and that was the hardest thing to get around. But other problems include: 1) assumption that `/bin/bash` exists 2) hassle to tell Bazel-based projects to use local toolchains (the point of Bazel is for it to handle toolchains as well)
<emily> right
<kalbasit[m]> emily: but I think after few iterations of working with bazel based projects, our buildBazelPackage should become mature enough to simply just work
reinzelmann has joined #nixos
DigitalKiwi has quit [Quit: DigitalKiwi]
fendor has joined #nixos
Lisanna has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xeji merged pull request #47489 → kustomize: 1.0.4 -> 1.0.8 → https://git.io/fxv30
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « kustomize: 1.0.4 -> 1.0.8 (#47489) »: https://git.io/fxv8v
<{^_^}> [nixpkgs] @xeji merged pull request #47465 → gauge: 1.0.0 -> 1.0.2 → https://git.io/fxePp
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « gauge: 1.0.0 -> 1.0.2 (#47465) »: https://git.io/fxv8t
<{^_^}> [nixpkgs] @xeji merged pull request #47463 → delve: 1.0.0 -> 1.1.0 → https://git.io/fxePN
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « delve: 1.0.0 -> 1.1.0 (#47463) »: https://git.io/fxv83
<{^_^}> [nixpkgs] @xeji merged pull request #47468 → go-symbols: unstable-2017-02-06 -> unstable-2018-05-23 → https://git.io/fxeXL
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « go-symbols: unstable-2017-02-06 -> unstable-2018-05-23 (#47468) »: https://git.io/fxv8C
nly has left #nixos [#nixos]
<{^_^}> [nixpkgs] @xeji merged pull request #47469 → dotnet-sdk: 2.1.401 -> 2.1.402 → https://git.io/fxeXG
<{^_^}> [nixpkgs] @xeji pushed commit from @baracoder to master « dotnet-sdk: 2.1.401 -> 2.1.402 (#47469) »: https://git.io/fxv82
xeji has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47464 → gopkgs: unstable-2017-12-29 -> 2.0.1 → https://git.io/fxePA
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « gopkgs: unstable-2017-12-29 -> 2.0.1 (#47464) »: https://git.io/fxv8H
<{^_^}> [nixpkgs] @xeji merged pull request #47472 → kail: 0.6.0 -> 0.7.0 → https://git.io/fxeSu
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « kail: 0.6.0 -> 0.7.0 (#47472) »: https://git.io/fxv4U
<{^_^}> [nixpkgs] @xeji merged pull request #47470 → drone: 0.8.5 -> 0.8.6 → https://git.io/fxeXH
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « drone: 0.8.5 -> 0.8.6 (#47470) »: https://git.io/fxv4I
pie_ has quit [Ping timeout: 272 seconds]
jperras has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47467 → gomodifytags: unstable-2017-12-14 -> unstable-2018-09-14 → https://git.io/fxeXU
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « gomodifytags: unstable-2017-12-14 -> unstable-2018-09-14 (#47467) »: https://git.io/fxv4W
<cocreature> is it safe to update nixos-unstable atm? it the hydra page makes it seem like a lot of tests failed but somehow the whole build succeded? https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents
<{^_^}> [nixpkgs] @xeji merged pull request #47481 → pythonPackages.django_2_1: 2.1 -> 2.1.1 → https://git.io/fxves
<{^_^}> [nixpkgs] @xeji pushed commit from @lsix to master « pythonPackages.django_2_1: 2.1 -> 2.1.1 (#47481) »: https://git.io/fxv4F
<{^_^}> [nixpkgs] @xeji merged pull request #47466 → vndr: 20171005 -> unstable-2018-06-23 → https://git.io/fxeXe
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « vndr: 20171005 -> unstable-2018-06-23 (#47466) »: https://git.io/fxv4x
<{^_^}> [nixpkgs] @xeji closed pull request #47479 → modules/kexec: fix typo in kexec → https://git.io/fxehq
ixxie has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47432 → ranger: syntax highlight previews by default → https://git.io/fAj6F
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fxvBN
<{^_^}> [nixpkgs] @dtzWill merged pull request #47446 → patch-shebangs: use isScript to safely check for shebang start → https://git.io/fxekH
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to staging: https://git.io/fxvBA
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/65141423484 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/aab182ebea3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
pie_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47480 → perlPackages.LinuxDesktopFiles: init at 0.25 → https://git.io/fxehi
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « perlPackages.LinuxDesktopFiles: init at 0.25 (#47480) »: https://git.io/fxvRR
<{^_^}> [nixpkgs] @xeji merged pull request #47405 → yarn: 1.9.4 -> 1.10.1 → https://git.io/fAhUV
<{^_^}> [nixpkgs] @xeji pushed commit from @screendriver to master « yarn: 1.9.4 -> 1.10.1 (#47405) »: https://git.io/fxvRV
<{^_^}> [nixpkgs] @xeji merged pull request #47086 → deepin.dtkwidget: 2.0.9.3 -> 2.0.9.4 → https://git.io/fA72g
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « deepin.dtkwidget: 2.0.9.3 -> 2.0.9.4 (#47086) »: https://git.io/fxv0e
<{^_^}> [nixpkgs] @xeji merged pull request #47084 → deepin.deepin-menu: 3.3.10 -> 3.4.0 → https://git.io/fA7gs
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « deepin.deepin-menu: 3.3.10 -> 3.4.0 (#47084) »: https://git.io/fxv0s
fenedor has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47054 → fping: 4.0 -> 4.1 → https://git.io/fA73v
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fping: 4.0 -> 4.1 (#47054) »: https://git.io/fxv0w
<{^_^}> [nixpkgs] @xeji merged pull request #47044 → googler: 3.6 -> 3.7 → https://git.io/fA7Iy
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « googler: 3.6 -> 3.7 (#47044) »: https://git.io/fxv0y
<hyper_ch> ,locate gsettings
fendor has quit [Ping timeout: 268 seconds]
<{^_^}> Found in packages: ibus, gvfs, evince, liferea, empathy, brasero, deja-dup, glib.dev, gnome3.gcr, gnome3.eog, notify-osd, gnome3.ghex, virtmanager, gnome3.gedit, gnome3.folks, gnome3.totem, gnome3.mutter, gnome3.vinagre, gnome3.seahorse, gnome3.evolution, ibus-with-plugins, gnome3.libgnomekbd, gnome3.gnome-shell, gnome3.gnome-keyring, gnome3.gnome-session, evolution-data-server, gnome3.gnome-packagekit, gnome3.gnome-screenshot, and 5 more
fenedor is now known as fendor
steell has joined #nixos
astrofog has joined #nixos
<steell> i'm trying to use `callCabal2nix` in default.nix, and then have a shell.nix setup for incremental development
<steell> however, when i enter nix-shell, `cabal` is not available
<steell> i think i need to specify it explicitly in shell.nix, but i don't know how :-/
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « folly: 2018.08.13.00 -> 2018.08.27.00 (#46282) »: https://git.io/fxvEG
<{^_^}> [nixpkgs] @xeji merged pull request #46282 → folly: 2018.08.13.00 -> 2018.08.27.00 → https://git.io/fAzRH
<infinisil> steell: .overrideAttrs (drv: { buildInputs = drv.buildInputs or [] ++ [ haskellPackages.cabal ]; })
<{^_^}> [nixpkgs] @xeji merged pull request #46952 → crawl: 0.22.0 -> 0.22.1 → https://git.io/fAQUD
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « crawl: 0.22.0 -> 0.22.1 (#46952) »: https://git.io/fxvEo
<{^_^}> [nixpkgs] @xeji merged pull request #46930 → workrave: 1.10.20 -> 1.10.21 → https://git.io/fAHyt
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « workrave: 1.10.20 -> 1.10.21 (#46930) »: https://git.io/fxvEX
Ariakenom has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46926 → yank: 0.8.3 -> 1.0.0 → https://git.io/fAHDo
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « yank: 0.8.3 -> 1.0.0 (#46926) »: https://git.io/fxvE5
<{^_^}> [nixpkgs] @xeji merged pull request #46925 → zxcvbn-c: 2.3 -> 2.4 → https://git.io/fAHDr
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « zxcvbn-c: 2.3 -> 2.4 (#46925) »: https://git.io/fxvEp
b1000101 has joined #nixos
<b1000101> anyone willing to sell their NixCon tickets? :D just found out it's already sold out :/
<cocreature> steell: personally I just install cabal-install globally
<sphalerite> wow xeji has been keeping busy
goibhniu has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #47449 → nixos/rspamd: Remove non-working socket activation → https://git.io/fxe35
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fxvun
<sphalerite> b1000101: there's a waiting list, I think that's the best place for maybe still getting a ticket
asymmetric has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji pushed commit from @griff to release-18.09 « nixos/rspamd: Remove non-working socket activation »: https://git.io/fxvuu
abrar has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46217 → otter-browser: 0.9.96 -> 0.9.99.3 → https://git.io/fAzT3
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « otter-browser: 0.9.96 -> 0.9.99.3 (#46217) »: https://git.io/fxvux
<{^_^}> [nixpkgs] @xeji merged pull request #46226 → nss_pam_ldapd: 0.9.7 -> 0.9.10 → https://git.io/fAzLB
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « nss_pam_ldapd: 0.9.7 -> 0.9.10 (#46226) »: https://git.io/fxvzJ
<{^_^}> [nixpkgs] @TealG opened pull request #47490 → axoloti: 1.0.12-1 -> 1.0.12-2 → https://git.io/fxvzk
<hyper_ch> ,locate kdialog
<{^_^}> Found in packages: kdeApplications.kdialog
orivej has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46232 → openimageio: 1.8.9 -> 1.8.14 → https://git.io/fAzq7
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « openimageio: 1.8.9 -> 1.8.14 (#46232) »: https://git.io/fxvzW
<steell> nix-shell says that cabal-0.0.0.0 is broken
reinzelmann has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @xeji merged pull request #46944 → wxSVG: 1.5.14 -> 1.5.15 → https://git.io/fAHx8
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « wxSVG: 1.5.14 -> 1.5.15 (#46944) »: https://git.io/fxvzS
<{^_^}> [nixpkgs] @tomberek opened pull request #47491 → gnuradio: 3.7.13.3 -> 3.7.13.4 → https://git.io/fxvz9
<{^_^}> [nixpkgs] @xeji merged pull request #46194 → rspamd: 1.7.3 -> 1.7.9 → https://git.io/fAuHo
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « rspamd: 1.7.3 -> 1.7.9 (#46194) »: https://git.io/fxvgT
cocreature has quit [Quit: A monad is just a monoid in the category of endofunctors, what's the problem?]
<hyper_ch> wow, finally I "fixed" the filechoser in kde for chromium
civodul has joined #nixos
cocreature has joined #nixos
<hyper_ch> adding kdeApplications.kdialog helped :)
<{^_^}> [nixpkgs] @xeji merged pull request #46950 → seafile-client: 6.2.4 -> 6.2.5 → https://git.io/fAQfl
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « seafile-client: 6.2.4 -> 6.2.5 (#46950) »: https://git.io/fxvg2
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #47444 → google-chrome, treewide: fix patchelf usages to not crash constantly, patchelf as native → https://git.io/fxeTD
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to master: https://git.io/fxvgy
<{^_^}> [nixpkgs] @xeji merged pull request #46238 → lttng-tools: 2.10.4 -> 2.10.5 → https://git.io/fAzOY
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « lttng-tools: 2.10.4 -> 2.10.5 (#46238) »: https://git.io/fxvgx
<{^_^}> [nixpkgs] @xeji merged pull request #47331 → adapta-gtk-theme: 3.94.0.132 -> 3.94.0.149 → https://git.io/fAAs3
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « adapta-gtk-theme: 3.94.0.132 -> 3.94.0.149 (#47331) »: https://git.io/fxv2n
<{^_^}> [nixpkgs] @xeji merged pull request #47072 → deepin.dtkcore: 2.0.9 -> 2.0.9.4 → https://git.io/fA74z
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « deepin.dtkcore: 2.0.9 -> 2.0.9.4 (#47072) »: https://git.io/fxv2u
<{^_^}> [nixpkgs] @dtzWill opened pull request #47492 → chromium: update to 69.0.3497.100 (and others), ran update.sh → https://git.io/fxv2i
astrofog has quit [Remote host closed the connection]
jperras has quit [Quit: WeeChat 2.2]
DigitalKiwi has joined #nixos
b1000101 has quit [Quit: Page closed]
worldofpeace has joined #nixos
worldofpeace has quit [Client Quit]
reinzelmann has joined #nixos
jperras has joined #nixos
Ericson2314-work has quit [Remote host closed the connection]
Ericson2314-work has joined #nixos
<Notkea> hello, I'm trying to use DHCP inside of a nixos container, but setting `networking.useDHCP = true` inside of its configuration gives an error: "The option […] has conflicting definitions, in <unknown-file> and <unknown-file>"
<Notkea> I tried to use mkOverride, with no success :/
<steell> infinisil: got it work, need to refer to pkgs.cabal-install rather than pkgs.haskellPackages.cabal ;)
<infinisil> steell: Ohhh, yeah my mistake, didn't think of this
camsbury has quit [Quit: Leaving...]
<infinisil> steell: There's also a cabal-install in haskellPackages though
<steell> yeah for whatever reason that wasn't working
reinzelmann has quit [Quit: Leaving]
patrl has quit [Ping timeout: 240 seconds]
silver_ is now known as silver
<{^_^}> [nixpkgs] @aszlig opened pull request #47493 → Add roccat-tools and libgaminggear dependency → https://git.io/fxvVj
pie_ has quit [Ping timeout: 264 seconds]
<dhess> gchristensen: huh, I did not realize that the aarch64 community builder, like, *just* changed. My request to add a new key was completely unrelated to that and just coincidence. Anyway, what is the proper maxJobs for this one?
<dhess> the readme says 96 but I assume that's for the previous hardware?
<gchristensen> ah good catch, can you send a PR? 64 cores
<dhess> right
<dhess> that also explains why the host key changed :)
<{^_^}> [nixpkgs] @xeji merged pull request #47028 → libsForQt5.libopenshot-audio: 0.1.6 -> 0.1.7 → https://git.io/fAQjE
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libsForQt5.libopenshot-audio: 0.1.6 -> 0.1.7 (#47028) »: https://git.io/fxvwQ
lassulus_ has joined #nixos
<dhess> also, shouldn't `buildMachines.system = "aarch64-linux";` now be `buildMachines.systems = [ "aarch64-linux" "armv7l-linux" ];` ?
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
<dhess> in the README's suggestion configuration?
<gchristensen> sure!
<dhess> I *think* that will be sufficient. Let me test it in my own setup first to verify
<dhess> If so I'll open another PR
<gchristensen> I suspect I forgot to set extra-systems in the builder to actually support it
<gchristensen> you could send a PR for that too :D
<dhess> If that were true then lheckemann wouldn't have gotten it to work, no?
<{^_^}> nix-community/aarch64-build-box#33 (by dhess, 11 seconds ago, open): New hardware has 64 cores, not 96.
<gchristensen> dhess: he had early access back when it was running alpine, not sure he's used it with nixos (cc sphalerite)
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « kgraphviewer: 2.4.2 -> 2.4.3 (#47031) »: https://git.io/fxvrW
<{^_^}> [nixpkgs] @xeji merged pull request #47031 → kgraphviewer: 2.4.2 -> 2.4.3 → https://git.io/fA7vI
<dhess> Oh I see
<samueldr> the other day it was running nixos when he built stuff, right?
<dhess> I'm not sure what needs to be set to make that work, I'm probably not the right person to make that PR
<gchristensen> ah ... that was a hacked up copy of nixos ......... well, he should test it and see if maybe stuff needs to change :P
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libsForQt5.libopenshot: 0.2.0 -> 0.2.1 (#47037) »: https://git.io/fxvrB
<{^_^}> [nixpkgs] @xeji merged pull request #47037 → libsForQt5.libopenshot: 0.2.0 -> 0.2.1 → https://git.io/fA7Jh
<dhess> I could guess but with no way to test it...
<dhess> yeah maybe let him do that :)
<{^_^}> [nixpkgs] @xeji merged pull request #47083 → easyloggingpp: 9.96.4 -> 9.96.5 → https://git.io/fA7zb
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « easyloggingpp: 9.96.4 -> 9.96.5 (#47083) »: https://git.io/fxvr0
<samueldr> check either hello or nethack, those two are probably known working values :)
<dhess> I know how to test whether it's working as-is, just not how to test a fix if it isn't :)
<dhess> I will try it later today anyway
<dhess> (a test to see if it's working as-is, I mean)
<{^_^}> [nixpkgs] @xeji merged pull request #47060 → gmsh: 4.0.0 -> 4.0.1 → https://git.io/fA7ZF
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « gmsh: 4.0.0 -> 4.0.1 (#47060) »: https://git.io/fxvrK
<__monty__> How do I get a nix-shell with a specific thing that's already been realized in the store?
<sphalerite> gchristensen: I'd suggest not setting it by default since there are so many issues with it
pie_ has joined #nixos
<sphalerite> dhess: ^
<{^_^}> [nixpkgs] @xeji merged pull request #47052 → gpxsee: 5.17 -> 5.18 → https://git.io/fA7OT
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « gpxsee: 5.17 -> 5.18 (#47052) »: https://git.io/fxvrD
<sphalerite> but yes stuff like GNU hello and nethack does build with it
<dhess> sphalerite: sounds good to me. Maybe it's not necessary at system level if you tell nix-build to do it anyway?
<__monty__> Also, why is sshuttle on my mac fetched from the binary store but on linux boxes it's not?
<dhess> although is there kernel support required?
<dhess> I would think so
<dhess> sphalerite: yeah that's where I got this info :)
<sphalerite> dhess: nothing in particular
<dhess> sphalerite: ok cool
<sphalerite> yeah I mean my reply to it specifically :)
<dhess> oh ok
sigmundv has joined #nixos
<sphalerite> it's like running i686 stuff on x86_64
<dhess> right
<sphalerite> except you don't have the kernel personality functionality, which is why stuff like openssl fails
<dhess> hmm without openssl you're not going to get very far
<sphalerite> exactly
lassulus has quit [Ping timeout: 252 seconds]
<dhess> sphalerite: this is a kernel issue then, or is there a module or config-time option that can be set to enable the personality functionality?
<sphalerite> I had some hacks back when I was fiddling with this machine previously, which essentially amounted to implementing #21471, which made a lot of stuff (but not everything) work
<{^_^}> https://github.com/NixOS/nixpkgs/issues/21471 (by Ericson2314, 1 year ago, open): Always cross compile
<sphalerite> let's see if I still have those sitting about
lassulus has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47058 → fio: 3.8 -> 3.10 → https://git.io/fA7st
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fio: 3.8 -> 3.10 (#47058) »: https://git.io/fxvrj
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « flexget: 2.14.18 -> 2.14.21 (#47053) »: https://git.io/fxvov
<{^_^}> [nixpkgs] @xeji merged pull request #47053 → flexget: 2.14.18 -> 2.14.21 → https://git.io/fA7OS
<dhess> Personally I had given up on armv7l-linux native builds and was planning to port all of my armv7l-linux Nix stuff to the new cross tools.
<dhess> though I don't expect to get very far for the projects that use GHC :(
<sphalerite> dhess: https://github.com/lheckemann/nixpkgs/commits/arm-hax unfortunately not well documented :p but it more or less worked at the time
<dhess> sphalerite: ohhhh are you lheckemann ?
<sphalerite> yes :)
<dhess> hahaha ok
<sphalerite> sorry about the confusion :D
<dhess> np
<sphalerite> anyway, one major blockade for native armv7 builds which this machine won't fix is the address space barrier. Firefox for instance will probably never build for armv7 again simply because a single process that's part of the build needs more than 3GB of RAM, which even if it's physically available can't be addressed in aarch32……
<cransom> i love the internet and it's ability to produce the 'you have no idea who you are talking to, do you?' moments.
<sphalerite> I could change my nick here tbh. But most IRC people know me as sphalerite by now xD
thibm has joined #nixos
<gchristensen> I went throuch one of those transitions years ago
<gchristensen> it was annoying but people caught up
<{^_^}> [nixpkgs] @jtojnar pushed 154 commits to gnome-3.30: https://git.io/fxvoW
<{^_^}> [nixpkgs] @xeji merged pull request #47393 → neap: init at 0.7.2 → https://git.io/fApK8
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « neap: init at 0.7.2 (#47393) »: https://git.io/fxvo8
<{^_^}> [nixpkgs] @xeji merged pull request #47332 → ccid: 1.4.29 -> 1.4.30 → https://git.io/fAAGq
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « ccid: 1.4.29 -> 1.4.30 (#47332) »: https://git.io/fxvoE
<sphalerite> also I feel like I can never change my github profile picture lest I lose all recognisability, because my current one is so conspicuous >_<
<gchristensen> haha yeah that one is stuck. same here3.
<{^_^}> [nixpkgs] @xeji merged pull request #47035 → leatherman: 1.4.2 -> 1.5.0 → https://git.io/fA7fz
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « leatherman: 1.4.2 -> 1.5.0 (#47035) »: https://git.io/fxvoH
<{^_^}> [nixpkgs] @xeji merged pull request #47366 → broken darwin packages (f) → https://git.io/fAxOC
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fxvo7
<{^_^}> [nixpkgs] @xeji pushed 3 commits to release-18.09: https://git.io/fxvoA
<{^_^}> [nixpkgs] @xeji merged pull request #47323 → chirp: 20180815 -> 20180906 → https://git.io/fAAmH
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « chirp: 20180815 -> 20180906 (#47323) »: https://git.io/fxvoj
<{^_^}> [nixpkgs] @xeji merged pull request #47021 → lightdm_gtk_greeter: 2.0.5 -> 2.0.6 → https://git.io/fAQbK
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « lightdm_gtk_greeter: 2.0.5 -> 2.0.6 (#47021) »: https://git.io/fxvKL
jedahan has joined #nixos
<{^_^}> [nixpkgs] @aszlig pushed 3 commits to master: https://git.io/fxvKR
<{^_^}> [nixpkgs] @xeji merged pull request #47013 → mediainfo-gui: 18.08 -> 18.08.1 → https://git.io/fAQ5w
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mediainfo-gui: 18.08 -> 18.08.1 (#47013) »: https://git.io/fxvKg
<{^_^}> [nixpkgs] @xeji merged pull request #47015 → lynis: 2.6.8 -> 2.6.9 → https://git.io/fAQ5j
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « lynis: 2.6.8 -> 2.6.9 (#47015) »: https://git.io/fxvK6
<{^_^}> [nixpkgs] @zachcoyle opened pull request #47494 → teamocil: init at 1.4.2 → https://git.io/fxvKH
<{^_^}> [nixpkgs] @aszlig merged pull request #47493 → Add roccat-tools and libgaminggear dependency → https://git.io/fxvVj
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « librelp: 1.2.17 -> 1.2.18 (#47014) »: https://git.io/fxv6e
<{^_^}> [nixpkgs] @xeji merged pull request #47014 → librelp: 1.2.17 -> 1.2.18 → https://git.io/fAQ59
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @vincentbernat opened pull request #47495 → goaccess: fix homepage → https://git.io/fxv6J
emacsomancer has quit [Read error: Connection reset by peer]
emacsomancer has joined #nixos
sigmundv has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #46137 → rust-bindgen: 0.37.0 -> 0.40.0 → https://git.io/fAEwR
<{^_^}> [nixpkgs] @xeji pushed commit from @dywedir to master « rust-bindgen: 0.37.0 -> 0.40.0 (#46137) »: https://git.io/fxv6j
<__monty__> No way to get a shell from something that was nix-copy-closure'd?
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @symphorien opened pull request #47496 → exempi: patch CVE-2018-12648, enable tests → https://git.io/fxviO
<{^_^}> [nixpkgs] @WilliButz opened pull request #47497 → gixy: 0.1.9 -> 0.1.20 → https://git.io/fxvig
<elvishjerricco> __monty__: What do you mean by "get a shell"?
baum__ has joined #nixos
<__monty__> elvishjerricco: So there's a binary in the store, I want a shell with that binary.
<elvishjerricco> __monty__: nix run /nix/store/...-foo
<elvishjerricco> or nix-shell -p '{ outPath= /nix/store/...-foo; }'
<__monty__> Like nix-shell -p but without being able to specify the package.
<elvishjerricco> __monty__: Either of those two commands should do it, with the former being more modern
<baum__> no matter what it seems like i can't ping my VMs. I don't have to change some firewall settings for that right?
<baum__> (ping them from the host - running nixos)
<gchristensen> networking.firewall.allowPing defaults to true, indeed
<infinisil> __monty__: Or of course just do `export PATH="/nix/store/.../bin:$PATH"`
<infinisil> If the binary is all you need
<{^_^}> [nixpkgs] @xeji merged pull request #47495 → goaccess: fix homepage → https://git.io/fxv6J
<{^_^}> [nixpkgs] @xeji pushed commit from @vincentbernat to master « goaccess: fix homepage (#47495) »: https://git.io/fxvij
<__monty__> nix run doesn't seem to work. The thing is also under a nixpkgs directory.
<__monty__> Not sure why.
<__monty__> So /nix/store/hash-nixpgks-18.03-bunchmorestuff/pkgs/tools/security/sshuttle.
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3108f741fe6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<elvishjerricco> __monty__: That's not the build result of the package, that's the directory containing the nix expression
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3108f741fe6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<__monty__> elvishjerricco: Ah, then it's not built yet I guess.
<__monty__> Thanks, that helps.
<sphalerite> Is there a way to get rid of ofborg comments on a PR? Repeated attempts have left it quite difficult to tell what's going on on #47023
<{^_^}> https://github.com/NixOS/nixpkgs/pull/47023 (by lheckemann, 1 week ago, open): Nethack cross
<sphalerite> (cc gchristensen )
<gchristensen> can you click the "..." and then "Hide"?
<sphalerite> nope
<gchristensen> why can I??
<xeji> need to be a member
<samueldr> gchristensen: sphalerite's not a member?
<sphalerite> probably because you're a member of nixos
<gchristensen> wat
<sphalerite> of the github org
<baum__> how do you guys usually search the nixos options? helm-nixos-options? are there common alternatives?
<sphalerite> baum__: I usually use man configuration.nix
<sphalerite> baum__: or https://nixos.org/nixos/options.html if I want to share one
<baum__> sphalerite: oh nice, thanks!
<gchristensen> sphalerite: you know when you push, ofborg auto-builds?
<sphalerite> baum__: advantage of the manpage is that it matches your system nixpkgs, unlike options.html which is for the current release
<sphalerite> gchristensen: yes, but in this case I needed it to build the cross versions hence my explicit invocation
<baum__> sphalerite: is there a way to jump to the nixpkg in question?
<{^_^}> [nixpkgs] @screendriver opened pull request #47499 → nodePackages_8_x: add http-server → https://git.io/fxvP5
<sphalerite> gchristensen: plus nethack-qt and nethack-x11 weren't automatically built
mayhewluke has quit [Ping timeout: 252 seconds]
<sphalerite> baum__: you mean the nixpkgs tree? You could do cd $(nix-instantiate --find-file nixpkgs) but that's a bit of a mouthful :p
mayhewluke has joined #nixos
<baum__> sphalerite: yes, being new i'm looking for a way to easily check mentioned files / jump to them if there are options in question.
<baum__> \join ##networking
duncan^ has quit [Quit: K-lined: Don't email support.]
jperras has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @ma9e opened pull request #47500 → libimagequant: init at 2.12.1 → https://git.io/fxvXA
ixxie has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @xeji pushed commit from @WilliButz to master « gixy: 0.1.9 -> 0.1.20 (#47497) »: https://git.io/fxv1L
<{^_^}> [nixpkgs] @xeji merged pull request #47497 → gixy: 0.1.9 -> 0.1.20 → https://git.io/fxvig
<sphalerite> gchristensen: just saw the stuff on the PR, thanks!
makefu has quit [Quit: WeeChat 2.0]
makefu has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46979 → postgis: 2.4.4 -> 2.4.5 → https://git.io/fAQBi
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « postgis: 2.4.4 -> 2.4.5 (#46979) »: https://git.io/fxv1W
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @xeji merged pull request #46968 → rsyslog: 8.37.0 -> 8.38.0 → https://git.io/fAQsg
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « rsyslog: 8.37.0 -> 8.38.0 (#46968) »: https://git.io/fxv1P
<{^_^}> [nixpkgs] @xeji merged pull request #46972 → phraseapp: 1.6.0 -> 1.11.0 → https://git.io/fAQCY
<{^_^}> [nixpkgs] @xeji pushed commit from @manveru to master « phraseapp: 1.6.0 -> 1.11.0 (#46972) »: https://git.io/fxv1d
<{^_^}> [nixpkgs] @xeji merged pull request #46967 → recoverjpeg: 2.6.2 -> 2.6.3 → https://git.io/fAQ3J
simukis has quit [Quit: simukis]
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « recoverjpeg: 2.6.2 -> 2.6.3 (#46967) »: https://git.io/fxv1p
<{^_^}> [nixpkgs] @xeji merged pull request #47471 → nixos/zsh: use `escapeShellArg' for shell aliases → https://git.io/fxe1i
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « nixos/zsh: use `escapeShelLArg' for shell aliases (#47471) »: https://git.io/fxvMG
akamaus has quit [Ping timeout: 272 seconds]
timon37 has quit []
<{^_^}> [nixpkgs] @xeji merged pull request #47048 → gtkwave: 3.3.93 -> 3.3.94 → https://git.io/fA7tn
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « gtkwave: 3.3.93 -> 3.3.94 (#47048) »: https://git.io/fxvMa
goibhniu has joined #nixos
xeji has quit [Quit: WeeChat 2.1]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1d65e473e70 (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
__monty__ has quit [Read error: Connection reset by peer]
__monty_1 has joined #nixos
__monty_1 has quit [Remote host closed the connection]
__monty__ has joined #nixos
NightTrain has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f5db056efd0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<colemickens> Can someone take a look and possibly merge? https://github.com/NixOS/patchelf/pull/149
<{^_^}> [nixpkgs] @xeji merged pull request #47496 → exempi: patch CVE-2018-12648, enable tests → https://git.io/fxviO
<{^_^}> [nixpkgs] @xeji pushed commit from @symphorien to master « exempi: patch CVE-2018-12648, enable tests on linux (#47496) »: https://git.io/fxvyR
<{^_^}> patchelf#149 (by ezquat, 14 weeks ago, open): Fix issue #66: ignore 0th section header when sorting, don't overwrite NOBITS
<{^_^}> [nixpkgs] @xeji pushed commit from @symphorien to release-18.09 « exempi: patch CVE-2018-12648, enable tests on linux (#47496) »: https://git.io/fxvyg
goibhniu has quit [Ping timeout: 244 seconds]
thibm has quit [Quit: WeeChat 2.0]
justanotheruser has joined #nixos
Anton-Latukha has quit [Ping timeout: 250 seconds]
__monty__ has quit [Quit: leaving]
jasongrossman has joined #nixos
Supersonic has quit [Ping timeout: 240 seconds]
<dhess> clever: around?
philippD has joined #nixos
jluttine has quit [Ping timeout: 244 seconds]
Supersonic has joined #nixos
jluttine has joined #nixos
<lucus16> just ran `nix-env -iA nixos.tcl` and I saw it pull in a -man dependency, I can find it in the nix store, but the man pages are not linked in my environment, `man tclsh` can't find it. How could that have happened?
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6535a39ef9b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<lucus16> This issue apparently: https://github.com/NixOS/nixpkgs/issues/24717
<{^_^}> #24717 (by nixy, 1 year ago, open): Missing man pages for packages with multiple outputs
<clever> dhess: yes
jedahan has quit [Quit: Textual IRC Client: www.textualapp.com]
<adamantium> Yo guys, themelios now supports uefi, if you wanna your custom, per-machine bootstrap zfs installs but couldn't try it before because it didn't do uefi.
<adamantium> (bootstrapper script)
Thra11 has joined #nixos
fendor has quit [Read error: Connection reset by peer]
alex`` has quit [Quit: WeeChat 2.2]
Thra11 has quit [Ping timeout: 260 seconds]
<dhess> is that a security concern?
<clever> dhess: some of the tests in haskell deadlock and just run for over 2 days
mbrgm has quit [Quit: ZNC 1.7.1 - https://znc.in]
<clever> dhess: that causes nix to terminate any derivation that runs for over 2h
mbrgm has joined #nixos
<clever> hydra has its own options to control that, but when using nix-daemon on the build slave, that hydra feature is broken
<dhess> ohh
<dhess> yeah that's a good idea
<dhess> thanks
<{^_^}> hydra#591 (by cleverca22, 4 weeks ago, open): meta.timeout does not always work
<clever> when using nix-daemon. the host nix.conf (including defaults for entries not in the conf) have priority over what hydra tries to use
Ariakenom has quit [Read error: Connection reset by peer]
georges-duperon has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
thc202 has quit [Ping timeout: 268 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
<jasongrossman> adamantium++
<{^_^}> adamantium's karma got increased to 1