samueldr changed the topic of #nixos to: NixCon 2018 - 25-27 Oct In London https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
Rusty1 has quit [Quit: Konversation terminated!]
<dmj`> so much for the digital ocean nixops backend
<dmj`> oceanBox> warning: don't know how to stop machine ‘oceanBox’
<clever> dmj`: it can create and destroy, but not stop/start
<dmj`> clever: great, the simplest nixops backend can’t start and stop
<clever> why do you need start and stop?
<gchristensen> nixops supports aws best, for sure
<dmj`> gchristensen: but the VPC stuff is such a pain
<gchristensen> sure
<dmj`> gchristensen: I just want a single server with a public facing IP, AWS can’t give that to me
<clever> dmj`: one sec
<dmj`> *face palm*
<avn> fiatjaf: you can make two package (derivations) from one src
<aleph-> dmj`: Wat
<aleph-> It... can?
<dmj`> clever: are you sure someone at IOHK doesn’t have a grandfathered AWS account
<dmj`> aleph-: as of a few years ago, new ec2 instances must be spawned in a vpc
<clever> dmj`: the default vpc still has internet access, this should work fine for you
<gchristensen> there is a default vpc with defaults setup for simple use cases
<fiatjaf> avn, what do you mean? I want just one derivation.
* dmj` tries clever’s expression
<aleph-> dmj`: Yeah it still has a public ip
<fiatjaf> I imagine I would take the derivation given by callPackage / mkDerivation and alter it to include dependencies from js packages
<dmj`> aleph-: sure, but the network configuration is overly complex for what I need, compared to digital ocean
nbardiuk has quit [Ping timeout: 260 seconds]
<Unode> clever: thanks for the help again
<dmj`> clever: you guys use teamspeak at iohk?
<clever> dmj`: i was just testing it out, it had the same issues hangouts was having in that situation
<dmj`> ah, cool
<dmj`> clever: same thing
<dmj`> "The specified instance type can only be used in a VPC. A subnet ID or network interface ID is required to carry out the request"
<dmj`> gchristensen: maybe the default subnet isn’t applied
<avn> fiatjaf: that just easiest path. Make `frontend = mkDerivation { .... }; backend = { ...; src = frontend.src; }`
<avn> fiatjaf: is not single way, just simplest one
<dmj`> I think the docs are just wrong here
<dmj`> "The VPC ID to create security group in (default is not set, uses default VPC in EC2-VPC account, in EC2-Classic accounts no VPC is set)."
<fiatjaf> avn, but this is two derivations!
<dmj`> gchristensen: I assume you and clever has classic acounts
<dmj`> s/has/have
<fiatjaf> I mean, I can only enter nix-shell for one or the other, not both
<gchristensen> dmj`: I don't
<fiatjaf> actually my project has haskell frontend, completement with some javascript packages, that's why
<fiatjaf> but I guess I can have one nix-shell for the haskell part and another for the js part? is that what normal people do?
<dmj`> gchristensen: do you not receive that error when deploying new instances? Or are you setting up the vpc everytime
<dmj`> gchristensen: I bet I deleted my default VPC
<gchristensen> I think you need to set deployment.ec2.subnetId, deployment.ec2.associatePublicIpAddress
<gchristensen> see https://nixos.org/nixops/manual/ (I just searched "vpc" few times)
simukis has quit [Quit: simukis]
<dmj`> gchristensen: yea, that’s the exact page I’m on, but in my console, I don’t have a default VPC set
<dmj`> and the option is still greyed out after creating it
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxKmU
<avn> fiatjaf: well, I never used ghcjs ;)
<fiatjaf> avn, but that's not the point
<fiatjaf> I was asking an abstract question
<fiatjaf> :P
<avn> I personally used stack/cabal new-build when develop, then cabal2nix to build/deploy final versions
<gchristensen> ah then you need to set deployment.ec2.subnetId dmj`
pie___ is now known as pie__
Lisanna has joined #nixos
<dmj`> gchristensen: nice, it’s doing something
<dmj`> gchristensen: had to manually create the vpc, subnet and ig
<dmj`> gchristensen: don’t know why I can’t make it my default
mekeor has quit [Ping timeout: 252 seconds]
Dedalo has joined #nixos
iyzsong has joined #nixos
youssefhabri has quit [Read error: Connection reset by peer]
goibhniu has quit [Ping timeout: 260 seconds]
<dmj`> gchristensen: seems to be working now, had deleted the default vpc in us-east-1 (using us-east-2) and didn’t open 22 on inbound in security groups. Thanks!
<gchristensen> gret!
<gchristensen> aws sure is flexible, with all the good and bad trappings
<dmj`> gchristensen: I’m deploying from my nixos machine, will it build here first before deploying to aws? I noticed digital ocean actually built on the server I was deploying to
<clever> dmj`: was DO done from a mac?
<{^_^}> [nixpkgs] @wykurz opened pull request #48765 → cpuset: init at 1.6pre1 → https://git.io/fxKmH
<dmj`> clever: from NixOS!
<clever> not sure then
<dmj`> clever: judging from htop, deploying to ec2 definitely builds on my local nixos first
{`-`} has joined #nixos
{`-`} has joined #nixos
init_6 has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4d9183342bb (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
{`-`} has joined #nixos
{`-`} has joined #nixos
emily has quit [Ping timeout: 252 seconds]
AstroBadger_ is now known as AstroBadger
emily has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d3be52c83bf (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
sir_guy_carleton has joined #nixos
mekeor has joined #nixos
<mekeor> is it possible to contribute to nixpkgs without a github-account?
silver has quit [Read error: Connection reset by peer]
justan0theruser has joined #nixos
<dmj`> mekeor: no
justanotheruser has quit [Ping timeout: 252 seconds]
judson has quit [Remote host closed the connection]
aleph- has quit [Ping timeout: 252 seconds]
Supersonic has quit [Ping timeout: 250 seconds]
emmett1 has joined #nixos
Supersonic has joined #nixos
<samueldr> mekeor: yes, as pbogdan linked
hhes has quit [Ping timeout: 252 seconds]
<Church-> Okay time to start porting all these configs over.
<Church-> Blegh
<Church-> samueldr: Is there a nginx option for services.httpd?
<samueldr> no, but you have services.nginx
iyzsong has quit [Ping timeout: 240 seconds]
<{^_^}> [nixops] @grahamc opened pull request #1024 → Allow specifying arbitrary SSH configuration for nodes → https://git.io/fxKOg
<samueldr> (httpd here is the project's name under the apache umbrella)
<gchristensen> clever: ^
<gchristensen> ok good night. can't keep my eyes open :
<infinisil> gchristensen: Noice!
<infinisil> And good night :)
<samueldr> good night
<{^_^}> Night!
iyzsong has joined #nixos
catch22 has joined #nixos
catch22 has quit [Remote host closed the connection]
<mekeor> samueldr, pbogdan: thanks :)
iyzsong has quit [Ping timeout: 252 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
hhes has joined #nixos
<{^_^}> [nixpkgs] @dirn opened pull request #48766 → python37: 3.7.0 -> 3.7.1 → https://git.io/fxK3U
aanderse has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
init_6 has quit []
sigmundv has quit [Ping timeout: 252 seconds]
sigmundv has joined #nixos
iyzsong has joined #nixos
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
sablad has joined #nixos
<adamantium> to upgrade to the new 18.09 do i simply change system.stateVersion = "18.03"; and then rebuild?
<samueldr> adamantium: no
<samueldr> ,upgrade adamantium
<{^_^}> adamantium: To upgrade nixos, read the release notes (this is important! Check ,releasenotes for details), then run (as root) nix-channel --add https://nixos.org/channels/nixos-xx.yy nixos && nixos-rebuild boot --upgrade , then reboot.
<samueldr> stateVersion shouldn't be touched, unless someone knowledgeable explains why you would
<samueldr> ,stateVersion
<{^_^}> Setting stateVersion to the latest release doesn't update anything and can only break your setup at best. If you want to regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually upgraded with the new value
<adamantium> thank you!
<adamantium> samueldr: should i also remove the previous channel?
<samueldr> it shouldn't be there after adding it correctly
<adamantium> When should we, if ever, change system.stateVersion ?
<adamantium> k
<samueldr> the channel's name will be `nixos` in the channels list
<samueldr> adamantium: possibly never
<samueldr> most things it affects are locations of stateful files
<samueldr> (e.g. databases)
<samueldr> maybe down the line in a couple lines something will happen, but I would bet it's highly unlikely
<samueldr> in a couple years* haha
<adamantium> cool.
<adamantium> soo, nixos-rebuild boot --upgrade, i usually just use switch. The difference is that the changes don't take affect until after you reboot, that's all right?
<samueldr> exactly
<samueldr> while unlikely to cause a huge mess, using `switch` with an upgrade between releases *could* cause weirdness
<adamantium> makes sense.
<samueldr> (none reported thus far)
mekeor has quit [Quit: digital revolution = cryptoanarchism + cybercommunism]
<adamantium> What's the consensus regarding apparmor+nixos
sigmundv has quit [Ping timeout: 272 seconds]
Mr_Keyser_Soze has joined #nixos
erratic has quit [Ping timeout: 260 seconds]
mekeor has joined #nixos
<{^_^}> [nixpkgs] @benley opened pull request #48767 → plex: include Plex Commercial Skipper binary → https://git.io/fxKsE
<sablad> speaking of weirdness using nixos-rebuild switch --upgrade, I can't successfully boot 18.09.
<sablad> Thankfully I can roll back! But it complains about not being able to load the root filesystem
<sablad> I didn't see anything in the release notes that indicated I would have to change my setup, and I'm not sure where to start debugging
oldandwise has joined #nixos
<sablad> When I checked 'systemctl status "systemd-fsck@dev-disk-by\\x2duuid-5BAD\\x2dDF26.service"', I see a lot of this error:
<sablad> Failed to resolve unit specifiers on File System Check on %f, ignoring: Invalid argument
<sablad> I've got an encrypted disk that starts by reading /dev/disk/by-uuid/5BAD-DF26, so I think it's getting hung up there
<sablad> Does anybody know about a change in 18.09 that would mess up my boot process?
Mr_Keyser_Soze has quit [Ping timeout: 264 seconds]
Mr_Keyser_Soze99 has joined #nixos
mekeor has quit [Quit: digital revolution = cryptoanarchism + cybercommunism]
<oldandwise> i upgraded to 18.09 last week, i'm not seeing error msgs when i do `systemctl status`
<sablad> Do you encrypt your filesystem? I suspect my problems stem from that
Church- has quit [Quit: WeeChat 1.6]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e76b1128537 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<oldandwise> i did not encrypt
worldofpeace has joined #nixos
oldandwise has quit [Quit: leaving]
<drakonis> ty Mic92 for merging the debootstrap pull
jmeredith has joined #nixos
slack1256 has joined #nixos
emmett1 has quit [Ping timeout: 252 seconds]
fusion809 has joined #nixos
<fusion809> Hi folks, is there a way to get file managers to utilize apps installed using Nix when opening files? I installed VLC using Nix, because my distro's VLC package is not working properly, and I'd like to be able to open my media files using it from my file manager (PCManFM).
<slack1256> fusion809: I don't know how to handle it on another distro, but on nixos that just works.
<fusion809> I've tried symlinking my VLC desktop config file to ~/.local/share/applications, and just copying it to there and while VLC does show in the "Open with" menu, when I select it nothing happens (i.e. VLC does not start).
<fusion809> Yeah on NixOS it works, I've tried it before, but still it'd be delightful if someone has an idea about how to get this to work on other distros
drakonis has quit [Quit: WeeChat 2.2]
drakonis has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
<fusion809> Well I've found a way. I wrote a script I placed in /usr/local/bin that uses the right environment variables (XDG_DATA_DIRS and PATH pointing to Nix dirs) and executes vlc-wrapper with arguments, then referenced that in my own desktop config file and now I can launch VLC in PCManFM without a problem.
iyzsong has quit [Ping timeout: 252 seconds]
iyzsong has joined #nixos
<drakonis> very inelegant
<drakonis> could definitely be improved
<fusion809> Sure could. If you've got a better solution I'd like to hear it. I've set my system environment variables (e.g. XDG_DATA_DIRS and PATH) to point to the appropriate $HOME/.nix-profile/* dirs.
<fusion809> yet that doesn't fix this
iyzsong has quit [Ping timeout: 264 seconds]
tertl3 has quit [Quit: Connection closed for inactivity]
Czen has quit [Remote host closed the connection]
Czen has joined #nixos
Lisanna has quit [Remote host closed the connection]
revtintin has joined #nixos
<dmj`> would exporting the state of a nixops deploy be equivalent to backing up the sqlite db that nixops uses
<CMCDragonkai> How come `haskellPackages.ghcWithPackages (pkgs: with pkgs; [ bifunctors ])` works with `nix-shell -p` but not when it's in `shell.nix`?
<{^_^}> [nixpkgs] @FRidh closed pull request #48766 → python37: 3.7.0 -> 3.7.1 → https://git.io/fxK3U
<dmj`> CMCDragonkai: can you paste your shell.nix
<CMCDragonkai> it enters into the shell, but ghci and ghc is not on the PATH
<dmj`> CMCDragonkai: try "bifunctors ]).env"
<CMCDragonkai> i already did
<CMCDragonkai> it doesn't exist
<CMCDragonkai> you have to create a `mkDerivation` on and pass that expression into the `buildInputs`
orivej has quit [Ping timeout: 246 seconds]
<CMCDragonkai> dmj`: This is the way to translate from the `nix-shell` invocation to a `shell.nix`: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/haskell.section.md#how-to-create-ad-hoc-environments-for-nix-shell
<CMCDragonkai> Arrrghhh why does it have to be different
<dmj`> that shellHook...
<dmj`> wonder if it works w/o the shellHook
<jonge> hey there, i have a private git repo at my company that contains nix expressions that again checkout from private git repos. i set up fetchgitPrivate so that all nix build users and hydra can use it. it does however fail in the end because `nix-prefetch-git` crashes inbetween: `/nix/store/....hydra-2018-08-07/bin/.nix-prefetch-git-wrapped: line 160: cd: too many arguments`
<jonge> and i am not sure how to debug this and if this might still be some error on my side or a hydra bug
<{^_^}> [nixpkgs] @FRidh pushed 399 commits to master: https://git.io/fxKng
mayhewluke has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 80 commits to staging: https://git.io/fxKna
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #48703 → harfbuzz: 1.9.0 -> 2.0.0 → https://git.io/fxrk0
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « harfbuzz: 1.9.0 -> 2.0.0 »: https://git.io/fxKnX
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « nghttp2: 1.32.0 -> 1.34.0 »: https://git.io/fxKnD
<{^_^}> [nixpkgs] @FRidh merged pull request #48666 → nghttp2: 1.32.0 -> 1.34.0 → https://git.io/fxVBe
<{^_^}> [nixpkgs] @FRidh merged pull request #48660 → libssh: 0.7.6 -> 0.8.4 → https://git.io/fxVtj
<{^_^}> [nixpkgs] @FRidh pushed commit from @lheckemann to staging « libssh: 0.7.6 -> 0.8.4 »: https://git.io/fxKnS
<{^_^}> [nixpkgs] @FRidh merged pull request #48739 → Merge staging-next into master → https://git.io/fxoV3
<{^_^}> [nixpkgs] @FRidh merged pull request #48611 → nfs-utils: add python3 to buildInputs → https://git.io/fxgD9
<{^_^}> [nixpkgs] @FRidh pushed to master « nfs-utils: add python3 to buildInputs »: https://git.io/fxKnH
<{^_^}> [nixpkgs] @FRidh merged pull request #48560 → boehmgc: 7.6.8 -> 8.0.0 → https://git.io/fxzJC
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « boehmgc: 7.6.8 -> 8.0.0 »: https://git.io/fxKnF
<{^_^}> [nixpkgs] @FRidh merged pull request #48520 → freetds: 1.00.94 -> 1.00.104 → https://git.io/fxu0I
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « freetds: 1.00.94 -> 1.00.104 »: https://git.io/fxKnx
FRidh has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #48347 → libv4l: 1.14.2 -> 1.16.0 → https://git.io/fxRW0
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libv4l: 1.14.2 -> 1.16.0 »: https://git.io/fxKcf
<{^_^}> [nixpkgs] @FRidh pushed 159 commits to staging-next: https://git.io/fxKcq
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #48767 → plex: include Plex Commercial Skipper binary → https://git.io/fxKsE
<{^_^}> [nixpkgs] @FRidh pushed commit from @benley to master « plex: include Plex Commercial Skipper binary »: https://git.io/fxKcG
spear2 has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4d9183342bb (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> [nixpkgs] @FRidh pushed 1000 commits to python-unstable: https://git.io/fxKcy
<{^_^}> [nixpkgs] @FRidh opened pull request #48768 → python3 is now python37 instead of python36 → https://git.io/fxKc5
dtz[m] has joined #nixos
<sphalerite> FRidh++
<{^_^}> FRidh's karma got increased to 2
obadz- has joined #nixos
obadz has quit [Ping timeout: 252 seconds]
obadz- is now known as obadz
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python3 is now python37 instead of python36 »: https://git.io/fxKcx
Mr_Keyser_Soze99 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python3 is now python37 instead of python36 »: https://git.io/fxKCT
jmeredith has quit [Quit: Connection closed for inactivity]
max3raza has joined #nixos
vcunat has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #48763 → sbcl updated, tested on nixos x86_64 → https://git.io/fxKt0
<{^_^}> [nixpkgs] @7c6f434c pushed 4 commits to master: https://git.io/fxKC8
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python.pkgs.pycodestyle: fix building with python37 »: https://git.io/fxKC0
pointfourone has joined #nixos
<dmj`> what is restricted mode
<dmj`> am getting
<dmj`> error: access to URI 'https://github.com/NixOS/nixpkgs/archive/89b618771ad4b0cfdb874dee3d51eb267c4257dd.tar.gz' is forbidden in restricted mode
<dmj`> do I have to use fetchTarball
<dmj`> FRidh: thanks, it seems the default is false, but I never enabled this...
<FRidh> it's turned on on Hydra to prevent fetching and execution by the evaluator of external code.
<dmj`> FRidh: ah, well this nixpkgs is the only external code I need...
<dmj`> FRidh: should I just fetchFromGitHub instead? use fixed output derivation
<FRidh> check your nix.conf
<FRidh> no
<jonge> dmj`: i had the same problem. so i do now use a one-liner patch overload in my hydra service, because i cannot get around this for my usecase.
<dmj`> FRidh: it’s not in there (/etc/nix/nix.conf on the hydra machine)
<FRidh> so it is a Hydra instance. Hydra hardcodes it
jtojnar has joined #nixos
<FRidh> indeed, as jonge pointed out
<jonge> that it is hardcoded is a pity, but this patch workaround is really easy to deploy thanks to nix. :)
<{^_^}> [nixpkgs] @rycee opened pull request #48769 → eclipse-plugin-spotbugs: 3.1.6 -> 3.1.8 → https://git.io/fxKCd
<{^_^}> [nixpkgs] @c0bw3b merged pull request #48148 → scummvm: add several ScummVM supported games → https://git.io/fxCmr
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxKCN
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/fxKCA
alex`` has joined #nixos
<dmj`> jonge: thanks, this is perfect
pointfourone has left #nixos ["Leaving"]
<dmj`> jonge: been playing with nixops all day :)
<dmj`> jonge: have you by chance setup the github PR plugin? I have my hydra fetching a private repo (using a deploy key), but would really like it if it could build PRs and provide a status indicator and link on github
<dmj`> jonge: similar to modern CIs like travis
<jonge> dmj`: my side project is a nixos server that builds all the projects in our company (with different compilers etc. etc.), and performs integration tests and builds docker images of everything etc. etc... in order to finally convince all colleagues that we should really really officially use nix.
<{^_^}> [nixpkgs] @7c6f434c merged pull request #47224 → nixos/tomcat: add aliases sub-option for virtual hosts → https://git.io/fAF3W
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fxKCp
<jonge> dmj`: no i have not set up the github PR plugin. we use gitlab, so i will have to write my own gitlab PR plugin...
<dmj`> jonge: yea, it’s hard to convince people they should understand the code that runs their company's deployment. They’d rather have it be magic I guess.
<jonge> but what you are trying to achieve is basically what i would liek to have longterm, too.
<dmj`> jonge: kubernetes is such a black box
<dmj`> jonge: oh no, hydra patch failed...
<dmj`> jonge: maybe it’s too new
<jonge> in our company it's pretty transparent, as we use gitlab's docker-based CI. that works well, but compared to what nix is capable of it's really inferior.
<jonge> dmj`: let me give you my patch, i think i had to fix the line numbers
<dmj`> jonge: <3
<jonge> this works on the hydra version from the nixos-unstable channel as of today
<dmj`> jonge: seems to have worked
<dmj`> got past "patching sources"
<dmj`> jonge: big thanks :)
<jonge> dmj`: no problem
<dmj`> jonge: never thought I’d live to see the day hydra would fetch private repos behind basic auth w/ letsencrypt nginx setup
<jonge> dmj`: hehe yeah. it's just 2 hours ago that i successfully got hydra and all nixbld users to fetch private git repos via ssh with the right key
<dmj`> jonge: nice! using deploy keys?
justbeingglad has joined #nixos
<dmj`> jonge: finally having nix use netrc right is great too
elgoosy has joined #nixos
<jonge> yeah i tested it with my personal ssh key file but longterm i want a hydra user in our gitlab with its own ssh key
<jonge> so `fetchgitPrivate` works with our gitlab repos now.
<dmj`> awesome!
<jonge> dmj`: do you have any link to the netrc thing?
<elgoosy> hi, how do i increase the boot screen timeout (where all the versions are shown + windows boot)?
<hyper_ch> elgoosy: grub?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #47775 → nixos/munin: move from /var/run to /run → https://git.io/fxLr5
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxKWl
<dmj`> jonge: I just hope github webhooks work amidst basic auth
<jonge> dmj`: so who exactly is using this netrc file? `nix-build` in your personal shell, or hydra, or one of the nixbld users?
<elgoosy> hyper_ch: systemd-boot
jasongrossman has quit [Ping timeout: 252 seconds]
<hyper_ch> elgoosy: no idea
init_6 has joined #nixos
<dmj`> jonge: I think nix itself uses it, if users specify my hydra as a cache, nix will call into libcurl and needs a NETRC file to get around the basic auth
<{^_^}> [nixpkgs] @c0bw3b merged pull request #48102 → pidgin-opensteamworks: 1.6.1 -> git-2018-08-02 → https://git.io/fxncA
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxKW0
hotfuzz_ has joined #nixos
<dmj`> jonge: Oct 21 08:09:30 hydra hydra-evaluator[5857]: error: writing to file: No space left on device
<dmj`> lol
<jonge> dmj`: oops.
<dmj`> jonge: guess those ebs volumes don’t come by default :)
<jonge> dmj`: i just wondered about the scenario where maybe all your private git repos are hosted behind this http basic auth. and then a job description in hydra points to such a repo. then hydra needs to have the netrc file in its own config. no idea how to inject that.
<dmj`> jonge: if hydra is poll-based it shouldn’t have to worry, but for gitwebhooks being sent to hydra, you might have to put the basic auth creds in the webhook url and pray it gets sent encrypted
hotfuzz has quit [Ping timeout: 245 seconds]
<dmj`> jonge: oh I think I misread what you meant
<dmj`> jonge: you want a git server behind basic auth
<jonge> dmj`: yeah i assumed you have that. and then need hydra to build projects from there.
<dmj`> jonge: I’m just using GitHub for now
<jonge> dmj`: and then hydra needs to use this netrc file itself and i wondered how to setup that.
<dmj`> jonge: it should work transparently if you set an environment variable that points to the netrc file, hydra would call into libnix and it would “just work"
<fusion809> The homepage for Nix (https://nixos.org/nix/) says, "Nix runs on Linux, macOS and other systems." I'm just wondering what "other systems" it runs on. The *BSDs per chance?
Lears has joined #nixos
<dmj`> jonge: ah found it
<dmj`> jonge: try this, environment.etc."nix/netrc".text = ''~/.netrc'';
<dmj`> jonge: clever should me that
justbeingglad has left #nixos [#nixos]
<dmj`> s/should/showed
<dmj`> in your configuration.nix
<jonge> dmj`: oh nice, that's easier than i thought! :D
[Leary] has quit [Ping timeout: 252 seconds]
<dmj`> jonge: with clever it always is :)
<jonge> dmj`: maybe that would even work for gitlab as they have some specific token to send with the query if you checkout stuff with https
<dmj`> jonge: oh nice, yea probably would
<tilpner> > builtins.attrNames lib.platforms # fusion809
<{^_^}> [ "aarch64" "all" "arm" "cygwin" "darwin" "freebsd" "gnu" "i686" "illumos" "linux" "mesaPlatforms" "mips" "netbsd" "none" "openbsd" "riscv" "unix" "windows" "x86" "x86_64" ]
iyzsong has joined #nixos
<fusion809> Thanks, guessing support for many of these is quite experimental.
<dmj`> jonge: I assume gitlab has a notion of deploy keys like github, which is tantamount to giving a user read-only access (and potentially write) if they specify a public ssh key
elgoosy has quit [Ping timeout: 264 seconds]
<jonge> dmj`: yes, you're right
<Izorkin> How to change nixos/modules/tasks/network-interfaces.nix so if enableIPv6 = false; add to dhcpcd.extraConfig = "\nnoipv6rs \nnoipv6"; ?
<dmj`> jonge: and to only a single repo
<jonge> dmj`: the reason i first went the SSH way was that i found the fetchgitPrivate function along with documentation, and not much about the netrc thing
<jonge> dmj`: also didn't know that netrc is something to look for
<dmj`> jonge: thing it was a relatively recent advancement
<dmj`> s/thing/think
<jonge> dmj`: that line came in with a patch 2 years ago according to git blame
<dmj`> emphasis on relatively :)
<jonge> dmj`: i am slowly slowly getting a hang of it all. currently my nix knowledge is good enough to understand the nixpkgs libs and build my own stuff. i guess the next step is understanding the c++ and perl level of nix/hydra :)
jtojnar has quit [Ping timeout: 272 seconds]
<dmj`> jonge: yikes :)
<dmj`> jonge: let’s hope both of those get replaced before it ever comes to that :)
<jonge> dmj`: i don't particularly like perl, but i am comfortable with c++
<dmj`> jonge: I’d gladly take C over C++
<jonge> so you would like to do all the resource handling manually? the error handling, too? no type safety anywhere? with no performance advantage over c++?
__monty__ has joined #nixos
<dmj`> yes, c++ is super complicated
<jonge> that is true and you need some specific level of c++ mastery while C is a language that you could learn in one day. but then, it's much easier to master complexity while at the same time having the compiler reducing the assembly to something as simple as C build output. minus the programmer mistakes.
<dmj`> All the best stuff is in C, postgresql, sqlite, linux.
<jonge> they could have been in C++ as well. maybe they would, if these projects were not older than c++
<dmj`> jonge: personally I would use haskell for everything application related, C only if necessary for performance bits where the law of diminishing returns sets in, and then nix for deployments.
<jonge> dmj`: that is true. haskell for high level stuff is unbeatable. wonderful language and runtime system.
<jonge> but for low level stuff, i would always select C++ because the compiler is much better in a lot of things than humans will ever be. we wrote our own hypervisor in c++ and are glad to have its functionality sanitized with as much type safety as possible.
<jonge> the lack of type safety in C is simply disturbing. it's asking for bugs.
<dmj`> in some cases C is more typesafe than java
<dmj`> in others, not so much :)
<jonge> java is a whole different thing that i like to avoid as much as possible
<dmj`> you wrote a hypervisor?
<dmj`> like xen?
<jonge> not i myself. but my company is a hypervisor startup and we wrote that thing from scratch, yes
<dmj`> why not use an existing one
<dmj`> geez man
<dmj`> that’s a cool company
<jonge> the problem is that the existing ones are monolithic and we do microkernel stuff.
<jonge> awesome interesting technology, yes.
<__monty__> How about C++ vs Rust? You think Rust might be a better C++ one day?
<dmj`> jonge: I used to work on the haskell virtual machine, it was basically a statically linked haskell file with a think C layer that was bootable by xen, drivers written in haskell, like the network stack
<dmj`> s/think/thin
<__monty__> Would've been cool if the microkernel hypervisor was added to kvm though.
<jonge> hm i had a look at rust and it follows some really cool ideas. but i think it has no real advantages over c++ (talking about the latest c++ standard). at the same time a lot of the advantages in rust come from reducing the programmer's freedom, which is what c++ never does.
<jonge> and i think that the c++ type system with its meta programming capabilities is not matched by anything in rust
<__monty__> Haskell's advantages come from restricting the programmer too though.
Ariakenom has joined #nixos
<jonge> __monty__: that is true, but the abstractions are so generic and versatile that it's never disturbing
<jonge> c++ helps me writing typesafe code that is partly even functional - and at any point in my code i can jump back to raw imperative shit-code if i find that there is no feasible alternative.
<{^_^}> [nixpkgs] @hisandeepsingh opened pull request #48770 → Darwin sandbox → https://git.io/fxKlS
<dmj`> I’ve seen people take haskell too far and basically ruin a company
jtojnar has joined #nixos
<__monty__> Can't you do that in Rust? It's not like you can't use `unsafe`.
<dmj`> Like where everything is all about category theory
<jonge> dmj`: yeah i like the bazaar vs. git discussion... so bazaar is so much nicer and cooler but git just works as fast as people need it, lol
<__monty__> What company, dmj`?
<__monty__> I can imagine that making it hard to hire though.
<dmj`> I should write a blog post, “when types hurt"
<dmj`> __monty__: that’s the problem, you can’t ramp people up if you’re just making the ceiling higher
<jonge> although i would not weigh one language against the other by referencing extreme failures that some individual companies did
<dmj`> __monty__: over-engineered abstractions basically
<{^_^}> [nixpkgs] @FRidh merged pull request #46564 → pythonPackages.Nikola: 7.8.15 -> 8.0.1 → https://git.io/fAou9
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to master: https://git.io/fxKlp
<__monty__> I actually don't think over-engineered is the right word, java has plenty of over-engineered abstractions. It's just the level of abstraction that's the problem probably.
<jonge> c++ and haskell give you plenty of ways to build real abstractions. so people will build abstractions and sometimes build stupid/costly abstractions. this won't happen in C too often because this language does hardly allow for any abstractions.
<jonge> and the few abstractions in C, like e.g. structs with functions pointers that i would call "polymorphic objects for the poor" are horrible.
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jonge> i was once asked to debug a kvm crash that in the end was caused by a bad function pointer in such a pointer struct. such things would not have happened in c++ because you can't possibly fuck up a virtual object this much.
<jonge> in c++ nobody forces you to use all the abstractions. you can keep it to a minimum. but the abstractions you get if you use any are of high quality. in C you just get none and need to do everything by hand - forever.
<jonge> ok i have to pack my things and go. thank you very much for the interesting discussion and dmj` for the hydra/github/netrc inspiration. have a nice day!
<dmj`> jonge: Likewise and thank you for your help with patching hydra. Cheers!
<teto> I am doing some changes on the lua support and I got lua5.2 instead of 5.1 pulled at some point I don't know why. I tried `$ nix why-depends 'lua5_1.withPackages(ps: [ ps.lpeg])' lua5_2 `, but it returns `error: don't know what to do with argument 'lua5_1.withPackages(ps: [ ps.lpeg])'
simukis has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #46812 → arcanist: fix mtime impurity → https://git.io/fADSi
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxK85
vcunat has quit [Ping timeout: 252 seconds]
revtintin has quit [Quit: WeeChat 1.9.1]
slack1256 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @arianvp opened pull request #48771 → [WIP] containers: Introduce several tweaks to systemd-nspawn from upstream systemd → https://git.io/fxK4d
smolboye has quit [Ping timeout: 245 seconds]
<infinisil> teto: Use nix why-depends on store paths instead
<infinisil> Or maybe the first argument should be wrapped in ()
smolboye has joined #nixos
jasongrossman has joined #nixos
mayhewluke has quit [Ping timeout: 244 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @hhomar opened pull request #48772 → gnupg: Fix, set current tty in interactive shell → https://git.io/fxKBK
Itkovian has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sir_guy_carleton has joined #nixos
fragamus has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.1 - https://znc.in]
Izorkin has joined #nixos
pointfourone has joined #nixos
mekeor has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freeman42y has quit [Quit: Leaving]
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #48773 → spotify: improve update script → https://git.io/fxKR4
nbardiuk has joined #nixos
silver has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #48773 → spotify: improve update script → https://git.io/fxKR4
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fxKR9
<sir_guy_carleton> i want to override a nixpkg so the source come from a local git repo rather than the github repo. how do i do that?
simukis has quit [Remote host closed the connection]
Itkovian has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 merged pull request #48444 → wasm: add as temporary alias to proglodyte-wasm → https://git.io/fx0GB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxKRQ
thc202 has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed to master « eclipse-plugin-spotbugs: 3.1.6 -> 3.1.8 »: https://git.io/fxKRh
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @rycee closed pull request #48769 → eclipse-plugin-spotbugs: 3.1.6 -> 3.1.8 → https://git.io/fxKCd
romildo has joined #nixos
vcunat has joined #nixos
<romildo> How do I get colored output from grep run by nix-build? Using grep --color in postPatch for instance does not give color.
fragamus has joined #nixos
<tilpner> What about --color=always?
<romildo> tilpner, it does not work.
<romildo> It seems that nix-build somehow disables color for the output of the commands that is run in the process. But I hope there is a way to enable it.
<romildo> It would help when writing the nix expression.
orivej has joined #nixos
<sphalerite> romildo: hm well nix isn't suppressing the colour codes
<romildo> sphalerit, but there is no color code in the output. So what may be happening with it?
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<romildo> In fact. I am running nix-build like the following:
<romildo> nix-build --option sandbox true -K -A deepin.dde-session-ui 2>&1 | tee /var/tmp/nix-build.log
<romildo> After removing the redirection and piping it works.
<sphalerit> Aaaah so nix suppresses it when piping
<sphalerit> romildo: you can use `nix log` instead of saving the logs yourself
Ariakenom has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
Ariakenom_ has joined #nixos
Ariakenom has quit [Ping timeout: 264 seconds]
nbardiuk has quit [Ping timeout: 244 seconds]
mekeor has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #48182 → pythonPackages.BoltzTraP2: init at 18.9.1 → https://git.io/fxWoe
<{^_^}> [nixpkgs] @FRidh pushed commit from @costrouc to master « pythonPackages.BoltzTraP2: init at 18.9.1 »: https://git.io/fxKuA
<romildo> sphalerit, how should I run nix log to get the log of the nix-build command above?
<sphalerit> nix log -f . deepin.dde-session-ui
<sphalerit> Not sure how nix log handles colour codes in the output
<{^_^}> [nixpkgs] @thefloweringash opened pull request #48774 → mumble: fix hang on reconfiguring audio → https://git.io/fxKzT
ckauhaus has quit [Quit: WeeChat 2.2]
ckauhaus has joined #nixos
EarlDeLaWarr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sir_guy_carleton has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #47075 → clickhouse: 18.10.3 -> 18.12.17 → https://git.io/fA7uq
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxK2v
jasongrossman has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bilalkan opened pull request #48778 → remove dependencies-of-dependencies → https://git.io/fxK2k
tertl3 has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #48618 → nixos/wrappers: remove outdated upgrade code → https://git.io/fx2kq
<{^_^}> [nixpkgs] @globin pushed commit from @lheckemann to master « nixos/wrappers: remove outdated upgrade code »: https://git.io/fxK2Y
<{^_^}> [nixpkgs] @Ma27 opened pull request #48779 → vimPlugins.clang_complete: fix path to libclang.so (backport) → https://git.io/fxK2W
<{^_^}> [nixpkgs] @Mic92 merged pull request #47070 → Grafana: secrets outside of the nix store + smtp → https://git.io/fA78g
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fxK2z
sir_guy_carleton has joined #nixos
Dedalo has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #47859 → [Backport 18.09] nextcloud module: init → https://git.io/fxqfl
<{^_^}> [nixpkgs] @globin pushed 5 commits to release-18.09: https://git.io/fxKaU
mayhewluke has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
pointfourone has left #nixos ["Leaving"]
init_6 has quit []
romildo has quit [Quit: Leaving]
elgoosy has joined #nixos
<elgoosy> hi, im getting https://pastebin.com/XwxzvLEE when trying to start an emulator from android studio.
<elgoosy> can't find any help online
<rawtaz> did you try the suggested argument?
<elgoosy> rawtaz: I don't know how to try to run `emulator -avd Nexus5 -gpu-off from "/home/a/Android/Sdk/emulator/". I can't call `emulate` executable
<rawtaz> maybe there's a way to tell android studio how to run the emulator, and thereby add the argument
<rawtaz> it makes sense that there's a setting for it
<elgoosy> i am looking at that, but no success yet
<teto> infinisil: thanks but can't make it working. It's driving me crazy. I've reworked the lua support so that it works like haskell (with a generated part) but at some point it compiles with lua5.2 instead of lua5.1 and I can't find where this lua5.2 comes from.
<rawtaz> those two should help elgoosy
<elgoosy> rawtaz: how do i run `emulator` in nixos?
<rawtaz> locate the binary and run it?
<elgoosy> i can't. I get command not found
<rawtaz> then you didnt locate the binary
<elgoosy> i did, im in the actual directory
<elgoosy> where that binary is
<rawtaz> (surely it must exist, if it's what's run by the studio?)
<elgoosy> ./emulator
<elgoosy> does nothing
<rawtaz> then ./emulator
<rawtaz> uh, does nothing?
<rawtaz> it must do SOMETHING
<rawtaz> what output do you get?
<rawtaz> and waht does echo $? show right after running the emulator command?
<elgoosy> bash: ./emulator: No such file or directory
<rawtaz> what does ls -la ./emulator show?
<elgoosy> -rwxr-xr-x 1 elgoosy users 988688 Oct 21 12:51 emulator
<rawtaz> what the heck.
<elgoosy> because this Android folder with all the stuff was installed by android-studio these binaries are crap
<elgoosy> cause nixos does not let you call download binaries
<elgoosy> they must be installed through nix packages or something like that
endformationage has joined #nixos
<rawtaz> how does that work? in what way is it preventing the running of the binary, when you explicitly ask it to run a +x binary in n absolute path?
<rawtaz> what does ldd emulator give?
<elgoosy> rawtaz: this https://pastebin.com/mRdTBcVv
<rawtaz> line 3 could be the cause of the error
<elgoosy> libX11. any idea how to fix this?>
<rawtaz> nope
<rawtaz> if its even the cause of the problem
<elgoosy> the android stuff resulted in total crap on nixos
<elgoosy> never had any problem on other linux distros
<rawtaz> i wonder if x11 is listed as a dep in the android stuff derivations
<rawtaz> its probably fixable :)
<rawtaz> elgoosy: please dont give up but stay tuned and see if anyone else can help, there's tooons of really skilled people in here
<elgoosy> thank you :)
<elgoosy> rawtaz: should I try installing this https://nixos.org/nixos/packages.html#libx11 maybe?
sablad has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @c0bw3b closed pull request #27617 → fix accelerate, updating to git versions → https://git.io/v7tPQ
<rawtaz> i dont think it will make a difference, but by all means try it
<rawtaz> i'd look into the derivation for the android package and see if it contains a dependency of x11/libx11
<rawtaz> if it doesnt, that dependency wont be available to the installed package
<{^_^}> [nixpkgs] @juliendehos opened pull request #48781 → mxnet: fix error when building with cudaSupport → https://git.io/fxKaj
Rusty1 has joined #nixos
jasongrossman has joined #nixos
<teto> yes fixed it \o/
iyzsong has quit [Ping timeout: 272 seconds]
smolboye_ has joined #nixos
jD91mZM2 has joined #nixos
smolboye has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @timokau merged pull request #48774 → mumble: fix hang on reconfiguring audio → https://git.io/fxKzT
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fxKVW
grokkingStuff has joined #nixos
<grokkingStuff> Hi there! Trying to get wifi up and running on a nixos live cd (on surface 2017)
<grokkingStuff> Can't seem to get wpa_supplicant to not fail after 10 seconds
<grokkingStuff> anyone have this issue before?
<grokkingStuff> on a related note, nixos works pretty well with my laptop (excluding the wifi issues). Good job, whoever worked their magic on the livecd
<{^_^}> [nixpkgs] @danieldk opened pull request #48782 → git-crypt: 0.5.0 -> 0.6.0 → https://git.io/fxKVX
<{^_^}> [nixpkgs] @c0bw3b merged pull request #46299 → capnproto: 0.6.1 -> 0.7.0 → https://git.io/fAz2c
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/fxKVQ
<{^_^}> [nixpkgs] @dezgeg pushed 4 commits to master: https://git.io/fxKVd
<{^_^}> [nixpkgs] @dezgeg closed pull request #47250 → raspberrypi-bootloader: allow custom target directory and support 64-bit Raspberry Pi 3 → https://git.io/fAFgm
<{^_^}> [nixpkgs] @timokau merged pull request #46288 → fluidsynth: 1.1.10 -> 1.1.11 → https://git.io/fAz0j
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fxKVx
Itkovian has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #48783 → redis: 4.0.11 -> 5.0.0 → https://git.io/fxKwn
ivegotasthma has joined #nixos
<ivegotasthma> hello, with nixos, is it possible to create a configuration in a VM and reproduce that on my laptop (or any other machine that I want)
<lassulus> yes
dbmikus__ has joined #nixos
crmlt has joined #nixos
<ivegotasthma> I'm testing out the minimal installation, that's 500MB, why is the minimal install so large?
<hyper_ch> what minimal installation?
<ivegotasthma> the one on the website: https://nixos.org/nixos/download.html
<hyper_ch> it's not really big
nbardiuk has joined #nixos
<ivegotasthma> I'm testing out nixos in a qemu vm on arch linux, I start the VM with -display sdl. When I start X I cannot move the cursor, is this a known issue or am I doing something wrong?
EarlDeLaWarr has joined #nixos
<hyper_ch> you're doing it wrong I guess
FRidh has quit [Quit: Konversation terminated!]
crmlt has quit [Remote host closed the connection]
<ivegotasthma> https://github.com/NixOS/nixpkgs/issues/45165 seems like a bug
<{^_^}> #45165 (by kalbasit, 9 weeks ago, closed): linuxPackages_4_18 mouse pointer does not move when using USB mouse
<{^_^}> [nixpkgs] @c0bw3b merged pull request #48172 → cholmod-extra: init at 1.2.0 → https://git.io/fxWCY
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxKry
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nbardiuk has quit [Ping timeout: 252 seconds]
bohadi has joined #nixos
nbardiuk has joined #nixos
<sir_guy_carleton> is possible to override the src for a nix package to point to a local git repo?
<{^_^}> [nixpkgs] @zimbatm opened pull request #48784 → openssh: 7.7p1 -> 7.9p1 → https://git.io/fxKoG
grokkingStuff has quit [Quit: grokkingStuff]
<hyper_ch> sir_guy_carleton: https://github.com/sjau/nix-expressions/blob/master/rtorrent-ps.nix#L26 let pkgname = callPackage /path/to/expresion.nix in .....
<samueldr> ivegotasthma: 500MB for the minimal installer image is being worked on; the way nix works makes it really easy to accidentally bring in more into the system closure than desired
jD91mZM2 has quit [Ping timeout: 246 seconds]
crmlt has joined #nixos
<samueldr> though, as far as the cursor is concerned, unless you're using a 4.18 series kernel which happens to exhibit the issue, it may be another issue
<hyper_ch> I thnk 500MB aint much
crmlt has quit [Remote host closed the connection]
<samueldr> hyper_ch: it's all relative :)
<samueldr> ain't much, but ain't the best we could do
<hyper_ch> smaller than a cd
<hyper_ch> smaller than any usb stick you can buy nowadays
jD91mZM2 has joined #nixos
crmlt has joined #nixos
drakonis_ has joined #nixos
drakonis1 has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @alyssais closed pull request #47425 → buildGoPackage: add overrideGoAttrs → https://git.io/fAjuD
<sir_guy_carleton> it kind annoys me how you can't buy anything keys less than 8 GB, so you end up wasting all that space ...
ma27 has quit [Quit: WeeChat 2.2]
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
crmlt has quit [Remote host closed the connection]
drakonis has quit [Read error: Connection reset by peer]
<samueldr> might be interesting to make a new installer image type that works like the sd-image for aarch64; which is writable, and has its rootfs expanded to the size of the drive
<samueldr> allowing a test-drive before an install
drakonis has joined #nixos
<samueldr> or allowing live customization for things like wireless drivers
<samueldr> permanent customization of the media*
ma27 has joined #nixos
drakonis1 has quit [Ping timeout: 252 seconds]
drakonis has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 merged pull request #48779 → vimPlugins.clang_complete: fix path to libclang.so (backport) → https://git.io/fxK2W
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.09: https://git.io/fxKox
drakonis has joined #nixos
fragamus has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.2]
freeman42y has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
fusion809 has quit [Remote host closed the connection]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/08a0f3fefcb (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
fragamus has joined #nixos
Mr_Keyser_Soze has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #48785 → dde-session-ui: init at 4.5.1.10 → https://git.io/fxKKH
grokkingStuff has joined #nixos
aanderse has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #48786 → matcha: 2018-10-12 -> 2018-10-21 → https://git.io/fxK6O
bohadi has quit [Quit: WeeChat 2.2]
Mr_Keyser_Soze has quit [Ping timeout: 264 seconds]
wpcarro has joined #nixos
<wpcarro> I keep losing my wireless connection after my laptop sleeps or hibernates (I'm not sure I know the difference). I can reproduce this behavior by closing my laptop and reopening it. I'm using a Macbook Pro and haven't been able to debug this for awhile
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<wpcarro> Someone told me to switch to kernel 4.18, which I did, but that hasn't fixed the issue
orivej has quit [Ping timeout: 240 seconds]
<wpcarro> I've seen some solutions online for Ubuntu and other OSs, but I usually cannot follow them command-for-command because some files are in different locations on my NixOS than the answer's OS
<{^_^}> [nixpkgs] @P-E-Meunier closed pull request #47976 → Rust build-support: enabling cross-compilation of Rust code → https://git.io/fx3hL
aszlig has quit [Quit: Kerneling down for reboot NOW.]
Dedalo has quit [Quit: Textual IRC Client: www.textualapp.com]
Mateon2 has joined #nixos
aszlig has joined #nixos
Mateon1 has quit [Ping timeout: 252 seconds]
Mateon2 is now known as Mateon1
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
v0|d has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #48787 → samba: 4.7.9 -> 4.7.10 → https://git.io/fxKic
drakonis1 has joined #nixos
dbmikus has joined #nixos
<wpcarro> For now, I'm just going to set `system.logind.lidSwitch = "ignore"` because the system is tough to use when the network continuously drops. I'd prefer to have a more elegant solution, but it seems like I'll need to dig around for longer until I find that
dbmikus__ has quit [Ping timeout: 252 seconds]
sanscoeur has joined #nixos
sanscoeur has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 264 seconds]
andersk has quit [Ping timeout: 250 seconds]
mayhewluke has quit [Ping timeout: 264 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #48788 → Sage docbuild → https://git.io/fxKPe
wpcarro has quit [Remote host closed the connection]
<samueldr> ,tell wpcarro [about wifi on resume] with a link to said instructions, many more experienced users could probably help figure out how to port them to nixos :)
<{^_^}> samueldr: I'll pass that on to wpcarro
<{^_^}> [nixpkgs] @Mic92 merged pull request #48782 → git-crypt: 0.5.0 -> 0.6.0 → https://git.io/fxKVX
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxKPt
trebuh has quit [Remote host closed the connection]
trebuh has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxKPp
<{^_^}> [nixpkgs] @Mic92 merged pull request #48725 → perlPackages: fix evaluate with allowAliases=false → https://git.io/fxonB
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d4d4e58e331 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> [nixpkgs] @timokau merged pull request #48788 → sage: fix docbuild → https://git.io/fxKPe
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/fxKPj
<{^_^}> [nixpkgs] @Mic92 merged pull request #48696 → xmr-stak: 2.5.0 -> 2.5.1 → https://git.io/fxw1i
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fxKXm
<{^_^}> [nixpkgs] @Mic92 merged pull request #48534 → dpkg: 1.19.0.5 -> 1.19.2 → https://git.io/fxuzp
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxKX3
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fxKXR
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to release-18.09: https://git.io/fxKXu
b has joined #nixos
tertl3 has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/08a0f3fefcb (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
GermainZ has joined #nixos
sigmundv has joined #nixos
worldofpeace has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @c0bw3b closed pull request #32998 → cloudflare-warp: init at 2017.12.1 → https://git.io/vbHMO
dbmikus has quit [Ping timeout: 252 seconds]
<arianvp> I made a small patch to the systemd package in NixOS
o1lo01ol1o has joined #nixos
<arianvp> but that makes almost the entire world rebuild
<arianvp> is there a way to trick it to not rebuild everything? And if not,is there a way to check how much will be rebuilt ? because i've been building for 2 hours now
<arianvp> and wondering how many packages are left
<ivan> heh, I have the same problem but I resigned to setting up a hydra to build everything
<arianvp> d
<arianvp> an
dbmikus has joined #nixos
worldofpeace has joined #nixos
orivej has joined #nixos
aleph- has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hyper_ch> arianvp: you just need a larger build farm :)
<arianvp> okay switched to the ryzen machine
<arianvp> 16 cores should help :)
<hyper_ch> well, even building chromium takes a while on my machine
<dmj`> W/ nixops do I need to create an ebs disk as a resource, or can I just set deployment.ec2.ebsInitialRootDiskSize = 60;
<worldofpeace> anyone want to merge/comment #48150 ? It's been sitting for a bit now
<{^_^}> https://github.com/NixOS/nixpkgs/pull/48150 (by Vskilet, 1 week ago, open): [18.09] nixos/emby: use the dataDir option
crmlt has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #48625 → nixos/tor: better support non-anonymous services → https://git.io/fx2mB
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fxKMI
fragamus has joined #nixos
<dmj`> it appears I don’t need an extra ebs resource
<hyper_ch> what's ebs resource?
<dmj`> is it possible with nixops to delete resources without deleting everything (kill a keypair or ebs volume) ?
<dmj`> hyper_ch: some AWS thing
grokkingStuff has quit [Quit: grokkingStuff]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @jtojnar closed pull request #32979 → rhvoice: init at 0.5 → https://git.io/vb95a
<aleph-> There isn't any package containing the unicorn rails process scheduler is there?
<{^_^}> [nixpkgs] @markuskowa opened pull request #48791 → nixos/munge: do not create unnecessary log dir → https://git.io/fxKMQ
Guanin_ has joined #nixos
trevorriles has joined #nixos
dbmikus has quit [Ping timeout: 252 seconds]
trevorriles has quit [Read error: No route to host]
crmlt has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar pushed to master « gnome3.nautilus: add glib-networking »: https://git.io/fxKDC
pie__ has quit [Ping timeout: 252 seconds]
kiloreux__ has joined #nixos
dbmikus has joined #nixos
kiloreux_ has quit [Ping timeout: 244 seconds]
fragamus has joined #nixos
shymega has joined #nixos
fragamus has quit [Client Quit]
<arianvp> woop rebuilt
<{^_^}> [nixpkgs] @matthewbauer closed pull request #48286 → avr: use new cross compilation infrastructure → https://git.io/fxBq4
<{^_^}> [nixpkgs] @matthewbauer reopened pull request #48286 → avr: use new cross compilation infrastructure → https://git.io/fxBq4
freeman42x has joined #nixos
fragamus has joined #nixos
pie__ has joined #nixos
freeman42y has quit [Ping timeout: 260 seconds]
dbmikus_ has joined #nixos
<aleph-> Is there a way to create directories in environments as well? Ideally I'd like to create the logrotate.conf.d dir and all the files it needs as well.
dbmikus has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @royneary opened pull request #48792 → libgnurl: 7.54.1 -> 7.61.1. → https://git.io/fxKyK
<{^_^}> [nixpkgs] @primeos pushed to master « scdoc: 1.5.1 -> 1.5.2 »: https://git.io/fxKyx
jD91mZM2 has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fxKSo
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/fxKS1
<{^_^}> [nixpkgs] @c0bw3b merged pull request #47490 → axoloti: 1.0.12-1 -> 1.0.12-2 → https://git.io/fxvzk
justbeingglad has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « Remove openftd »: https://git.io/fxKSF
worldofpeace_ has joined #nixos
justbeingglad has left #nixos [#nixos]
dbmikus_ has quit [Ping timeout: 240 seconds]
worldofpeace_ has quit [Read error: Connection reset by peer]
worldofpeace_ has joined #nixos
worldofpeace has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #48338 → libaosd: init at 0.2.7-9-g177589f → https://git.io/fxRni
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxK9z
worldofpeace_ has quit [Read error: Connection reset by peer]
worldofpeace has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #48786 → matcha: 2018-10-12 -> 2018-10-21 → https://git.io/fxK6O
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxK9y
<{^_^}> [nixpkgs] @markuskowa opened pull request #48794 → samba: remove defunct infiniband support → https://git.io/fxKHB
pie__ has quit [Ping timeout: 272 seconds]
drakonis1 is now known as drakonis
<{^_^}> [nixpkgs] @jtojnar pushed to master « networkmanager-openvpn: 1.8.6 → 1.8.8 »: https://git.io/fxKHo
civodul has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #48536 → clipgrab: 3.7.0 -> 3.7.1 → https://git.io/fxugR
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « clipgrab: 3.7.0 -> 3.7.1 (#48536) »: https://git.io/fxKHb
GermainZ has left #nixos ["WeeChat 2.3-rc1"]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hodapp has joined #nixos
<{^_^}> [nixpkgs] @arianvp opened pull request #48796 → nixos/systemd-nspawn: Remove dependency on bogus "machine.target" → https://git.io/fxKQW
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/140867131c1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
fragamus has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 147 commits to gnome-3.30: https://git.io/fxKQz
<{^_^}> [nixpkgs] @xeji merged pull request #48525 → coturn: 4.5.0.7 -> 4.5.0.8 → https://git.io/fxuER
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fxKQw
mayhewluke has quit [Ping timeout: 240 seconds]
worldofpeace_ has joined #nixos
worldofpeace_ has quit [Read error: Connection reset by peer]
worldofpeace__ has joined #nixos
catch22 has joined #nixos
freeman42x has quit [Quit: Leaving]
mayhewluke has joined #nixos
vcunat has quit [Quit: Leaving.]
pointfourone has joined #nixos
worldofpeace has quit [Ping timeout: 264 seconds]
pointfourone has left #nixos [#nixos]
<{^_^}> [nixpkgs] @markuskowa opened pull request #48797 → corosync: update RDMA support to rdma-core → https://git.io/fxKQj
sigmundv has quit [Remote host closed the connection]
<mightybyte> Is there a convenient way to get nix to set up an environment for a Haskell package without any of the Haskell dependencies installed?
<__monty__> mightybyte: It'd just install the haskell dependencies : )
<{^_^}> [nixpkgs] @xeji merged pull request #48785 → dde-session-ui: init at 4.5.1.10 → https://git.io/fxKKH
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « dde-session-ui: init at 4.5.1.10 (#48785) »: https://git.io/fxK7k
Mr_Keyser_Soze has joined #nixos
<mightybyte> __monty__: I specifically do NOT want it to do that.
<__monty__> Oh, you mean like provide only the required C libraries and such?
<mightybyte> Yeah
<{^_^}> [nixpkgs] @Chiiruno opened pull request #48799 → zeronet: 0.6.2 -> 0.6.4 → https://git.io/fxK7q
<mightybyte> I'd like to do this so I can use nix to test that the cabal solver works with my packages.
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mightybyte> ...and to also automatically run "cabal install --allow-newer" every so often and notify me about failures with new versions of dependencies.
<mightybyte> When I'm writing apps I don't really care about this. But for my hackage packages I do.
<infinisil> mightybyte: With recent nixpkgs versions you should be able to do `myhaskellpackage.getBuildInputs.systemBuildInputs`
<infinisil> Oh, and that's available through `(haskell.lib.getBuildInputs myhaskellpackage).systemBuildInputs` for all nixpkgs versions
<infinisil> > (haskell.lib.getBuildInputs haskellPackages.xmonad).systemBuildInputs
<{^_^}> [ null null null null null null null null null null ]
<infinisil> Well..
<mightybyte> Hmmmm...
<infinisil> > (haskell.lib.getBuildInputs haskellPackages.xmonad).propagatedBuildInputs
<{^_^}> [ null null <CODE> null <CODE> null null null <CODE> null <CODE> <CODE> null null null <CODE> ]
<infinisil> > map (x: if isNull x then null else x.name) (haskell.lib.getBuildInputs haskellPackages.xmonad).propagatedBuildInputs
<{^_^}> [ <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> ]
<infinisil> > deepEval (map (x: if isNull x then null else x.name) (haskell.lib.getBuildInputs haskellPackages.xmonad).propagatedBuildInputs)
<{^_^}> [ null null "data-default-0.7.1.1" null "extensible-exceptions-0.1.1.4" null null null "setlocale-1.0.0.6" null "utf8-string-1.0.1.1" "X11-1.9" null null null "X11-1.9" ]
shabius has quit [Quit: Leaving]
<infinisil> Hummmm
<infinisil> > deepEval (map (x: if isNull x then null else x.name) haskellPackages.xmonad.buildInputs)
<{^_^}> [ ]
<infinisil> Well I tried
<mightybyte> No luck?
<mightybyte> I suppose you could just set up the full environment with all the Haskell dependencies and then just delete the GHC package repository. :P
shabius has joined #nixos
shiver has quit [Remote host closed the connection]
<infinisil> mightybyte: What do you by "an environment for a haskell package without any of the haskell deps" anyways?
<infinisil> Just cabal?
<infinisil> Oh and the C libs, you said
shiver has joined #nixos
<infinisil> Oh wait, how about
fragamus has joined #nixos
<infinisil> > allDeps = (haskell.lib.getBuildInputs haskellPackages.xmonad).propagatedBuildInputs
<{^_^}> error: undefined variable 'haskell' at (string):23:13
<mightybyte> I mean an environment with just GHC, cabal-install, and the packages that ship with GHC out of the box.
<infinisil> mightybyte: Oh, well that's just the two packages ghc and cabal-install
<infinisil> nix-shell -p haskellPackages.ghc haskellPackages.cabal-install
<avn> or even cabal2nix + nix-shell ;)
<elvishjerricco> What would be a good way to measure the performance impact of a change to callPackage on the evaluation time? Is there a particular expression I could `time nix eval`?
<{^_^}> [nixpkgs] @Mic92 merged pull request #48799 → zeronet: 0.6.2 -> 0.6.4 → https://git.io/fxK7q
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxK5I
<mightybyte> infinisil: That's not sufficient though because some Haskell packages need additional non-haskell dependencies. For instance, zlib is a common one.
<mightybyte> Sure I can do this manually on a per-project basis, but I'd like to have something completely automatic.
<infinisil> Oh yeah so that's what I was going for earlier, but then you didn't mention this
<infinisil> > systemDeps = pkg: lib.filter (x: ! isNull x) (lib.concatMap (x: if isNull x then [] else (pkgs.haskell.lib.getBuildInputs x).systemBuildInputs) (pkgs.haskell.lib.getBuildInputs pkg).propagatedBuildInputs)
<{^_^}> systemDeps defined
<infinisil> > deepEval (map (x: x.name) (systemDeps pkgs.haskellPackages.xmonad))
<{^_^}> [ "libX11-1.6.6" "libXext-1.3.3" "libXinerama-1.1.3" "libXrandr-1.5.1" "libXrender-0.9.10" "libXScrnSaver-1.2.2" "libX11-1.6.6" "libXext-1.3.3" "libXinerama-1.1.3" "libXrandr-1.5.1" "libXrender-0.9.10...
<infinisil> mightybyte: I think I got it :)
<infinisil> > deepEval (map (x: x.name) (systemDeps pkgs.haskellPackages.HsOpenSSL))
<infinisil> > deepEval (map (x: x.name) (systemDeps pkgs.haskellPackages.HsOpenSSL))
<{^_^}> [ ]
<mightybyte> Ooh, let me give that a try
<infinisil> > systemDeps = pkg: lib.filter (x: ! isNull x) (lib.concatMap (x: if isNull x then [] else (pkgs.haskell.lib.getBuildInputs x).systemBuildInputs) ((pkgs.haskell.lib.getBuildInputs pkg).propagatedBuildInputs ++ [pkg]))
<{^_^}> systemDeps defined
<mightybyte> How do I try it? Just inside a nix repl?
<infinisil> > deepEval (map (x: x.name) (systemDeps pkgs.haskellPackages.HsOpenSSL))
<{^_^}> [ "openssl-1.0.2p" ]
<infinisil> There we go, minor correction
ZeDestructor has quit [Ping timeout: 252 seconds]
<mightybyte> Where does deepEval come from?
<infinisil> mightybyte: Yeah, or if you want a nix-shell, take this array as buildInput's
<infinisil> mightybyte: That's just something so that the result here isn't printed lazily, you just want systemDeps
<aleph-> Does there happen to be a guide on adding targets for nixops?
<{^_^}> [nixpkgs] @matthewbauer opened pull request #48801 → ova: add cloneConfigExtra option → https://git.io/fxK5a
<mightybyte> Where does systemDeps come from?
<infinisil> mightybyte: I just defined it?
<mightybyte> Oh, I missed that
silver_ has joined #nixos
pie_ has joined #nixos
<mightybyte> infinisil: What is that ^_^ bot and how do I duplicate that stuff locally?
<infinisil> It's just a nix evaluation
mekeor has joined #nixos
<infinisil> nix repl?
<{^_^}> [nixpkgs] @rycee pushed to master « whipper: update upstream source »: https://git.io/fxK5X
<mightybyte> I get "error: undefined variable 'lib' at (string):1:7" on that systemDeps line
<nkaretnikov> acowley: hi, sorry to bother, but perhaps you could help me out a bit. i know you're a mac and nix user, and have some opengl-related packages on github. have you had any issues with opengl when using nix? i'm trying to run a gloss application, but it only shows a black screen, likely because cabal build doesn't add OpenGL.framework to the list of shared libraries. have you seen anything like that? thanks in advance! ps:
<nkaretnikov> i've tried fixing OpenGLRaw and GLURaw packages to use the framework in my local copy of nixpkgs, but it doesn't seem to help. Or I've messed something up. In any case, i'm pretty much out of ideas at this point, so any tips would be appreciated.
silver has quit [Ping timeout: 252 seconds]
<infinisil> mightybyte: lib = pkgs.lib
<mightybyte> Ahh, ok.
<aleph-> Okay adding another backend wouldn't be too hard.
<aleph-> Anybody here use prgmr.com?
<mightybyte> aleph-: Tried it years ago
<aleph-> Anybody be interested in a nixops target for it?
<aleph-> mightybyte: Oh neat, not a fan?
<mightybyte> aleph-: It was fine for a small cheap box, but eventually that wasn't what I needed.
<aleph-> Aye fair enough. Talking with the owner about adding a nixops backend for it slowly.
<ivegotasthma> hello, any help as to why the mouse cursor isn't working inside a qemu vm running a nixos guest on arch linux host?
<mightybyte> infinisil: So how would I go about integrating what you did above into something that's really easy to add to an existing Haskell package to get that kind of testing?
<mightybyte> These things are still not obvious to me.
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxKdI
<{^_^}> [nixpkgs] @Mic92 merged pull request #48797 → corosync: update RDMA support to rdma-core → https://git.io/fxKQj
<infinisil> Sorry my hands hurt too much already and I'll go to bed now, hopefully somebody else can help you with that. The resulting type of this function is just a list of packages though
<mightybyte> infinisil: Ok, cool. Thanks a lot!
drakonis has quit [Quit: WeeChat 2.2]
<mpickering> ap
slack1256 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<fiatjaf> has anyone ever tried to install nixos on a vultr vps?
Guanin_ has quit [Ping timeout: 264 seconds]
boogiewoogie has joined #nixos
<jackdk> fiatjaf I did this recently. ask away
<{^_^}> [nixpkgs] @Mic92 merged pull request #48796 → nixos/systemd-nspawn: Remove dependency on bogus "machine.target" → https://git.io/fxKQW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxKdz
camsbury has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #48791 → nixos/munge: do not create unnecessary log dir → https://git.io/fxKMQ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxKd2
Ariakenom_ has quit [Quit: Leaving]
<fiatjaf> jackdk, first stupid question: I use a custom ISO, the system is installed, no ssh access, I can control it through their web interface.
<fiatjaf> if I reboot I get the boot process again
<fiatjaf> but if I remove the custom ISO, the system doesn't work anymore and is waiting for PXE boot
<fiatjaf> what am I doing wrong?
pie_ has quit [Ping timeout: 252 seconds]
<jackdk> stand by. I'm trying to find where I set up my nixops files
sigmundv has joined #nixos
sigmundv has quit [Remote host closed the connection]
boogiewoogie has quit [Quit: Leaving]
pie_ has joined #nixos
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<jackdk> fiatjaf: In my configuration.nix I set users.mutableUsers = false, users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 thisisnotmyprivatekey" ], services.openssh.enable = true and boot.loader.grub = { enable = true; version = 2; device = "/dev/vda"; }
<Mic92> I you haved not seen yet the new github suggestion feature: https://github.com/NixOS/nixpkgs/pull/48614/files#r226880401
pie__ has joined #nixos
pie_ has quit [Ping timeout: 240 seconds]
jasongrossman has joined #nixos
vk3wtf has joined #nixos
akavel has joined #nixos
pie___ has joined #nixos
<akavel> Hi! Can I run nix-shell with default.nix + some attributes from nixpkgs?
<akavel> I have a default.nix generated by node2nix, it's not clear to me where would I need to add extra buildInputs in it;
pie__ has quit [Ping timeout: 245 seconds]
<akavel> Normally, the derivation generated by node2nix can be started with: `nix-shell -A shell`
<akavel> but when I try to add -p options, it fails:
<akavel> $ nix-shell -p gifsicle -A shell ## error: attribute 'shell' in selection path 'shell' not found
<jackdk> akavel: I don't know the patterns for node2nix files, but when I cabal2nix package foo, I usually dump it into a foo.nix, then default.nix imports ./foo.nix and modifies things if necessary.
<jackdk> Also https://github.com/NixOS/nixpkgs/blob/d4080632098a3bdff28f3a9ab8ca051547974e21/pkgs/servers/x11/xorg/overrides.nix#L21 might be useful to copy? I don't know how you are adding build inputs
<akavel> I'm not yet adding, because I'm not sure how to do that :) hm, ok, so maybe rename the default.nix to foo.nix as you say, and then do as you say further
<akavel> I'll try now...
<fiatjaf> jackdk, that would be the answer to my second question :P
<fiatjaf> jackdk, the first one is: how do I get vultr to stop booting into the installation ISO?
<akavel> jackdk: thanks for the ideas
<fiatjaf> akavel, everything is a derivation.
<jackdk> fiatjaf: do you have the boot.loader.grub settings? I do not recall needing to fiddle boot order in the configuration
<fiatjaf> jackdk, oh, I see
__monty__ has quit [Quit: leaving]
<fiatjaf> it's very unexpected for me that the os determines the bootloader order like that, but I guess nix is a different beast
uri-canva has joined #nixos
<jackdk> I don't think it does. I suspect that boot from CD is the first option, then HD, that fails because your grub didn't install properly, then the next option is PXE
<akavel> jackdk: mbwahahaha, I managed to squeeze it into a "one-liner", a.k.a. magical incantation: nix-shell -E 'with import <nixpkgs> {}; (import ./default.nix {}).shell.overrideAttrs (a: { buildInputs = a.buildInputs ++ [gifsicle]; })'
<akavel> Thanks! :)
<akavel> Now, got some another error, obviously ;)
jtojnar has quit [Quit: jtojnar]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #48803 → Experiments in pkgsStatic: a fully static overlay → https://git.io/fxKbY
<uri-canva> Is there a logging bot on the Nix channels so I can search if a particular question has been asked before?
<samueldr> uri-canva: yes!
catch22 has quit [Quit: Leaving]
<samueldr> uri-canva: log location is here https://logs.nix.samueldr.com/
<uri-canva> samueldr: thank you!
<samueldr> you're welcome
<samueldr> the logs are even starting to pop up in google search results sometimes :)
<pie___> if im not using channels, just pointing nixpkgs= to a git repo, to update, i just update the repo and rebuild switch right?
<samueldr> pie___: right
<pie___> ok thanks
uri-canva has quit [Ping timeout: 256 seconds]
aanderse has joined #nixos
drakonis has joined #nixos
akavel has quit [Quit: Page closed]
graphene has joined #nixos
camsbury has joined #nixos
camsbury has quit [Ping timeout: 252 seconds]
<pie___> so, afaict stateversion is basically for not breaking things on an update that generally would?
<slack1256> Does anybody have problems with TRAMP under nixos?
<pie___> so when you update you get warnings (do you?) for services that you have an older config for, and then you can go look at a migration guide?
<slack1256> 7w
<slack1256> sorry
<pie___> samueldr, ^ (?)
<pie___> another thing: I looked at my mount list and it had these lines:
<pie___> /dev/sda1 on / type ext4 (rw,relatime,data=ordered)
<pie___> /dev/sda1 on /nix/store type ext4 (ro,relatime,data=ordered)
<pie___> how does it work that the same block device is mounted in two places with different directory structures? or is mount just not showing all the information
<jasongrossman> slack1256: Tramp as in Emacs? I only use it a bit, but it's been fine for me.
nbardiuk has quit [Ping timeout: 268 seconds]
<slack1256> jasongrossman: Yes as in Emacs. I just wanted to discard that as as source of error.
<clever> pie___: bind mounts
<clever> pie___: you can mount a subdir of anything to another dir
<pie___> oh ok that makes sense
<pie___> the information given by mount is kind of misleading then?
<clever> in this case, nix mounts /nix/store to /nix/store, with an extra read-only mount
<samueldr> pie___: no warnings, and as of right now, and nothing in the close future, is expected to break at any older stateVersion (AFAIK)
<jasongrossman> pie___: If you think of the Linux filesystem as a tree then it seems misleading, but it just isn't a tree. Does that help?!
<samueldr> I'm pretty sure most stateVersion using options are folder locations
<clever> samueldr: it can also impact the postgresql version, and some ssh hostkey types
<samueldr> oh right, versions
<samueldr> but the main thing to remember is that as of today, it's not an issue to keep older stateVersion
<jasongrossman> pie___: Or do you mean the fact that not the whole of /dev/sda1 is mounted on /nix/store? I agree that the output of mount hides that fact.
<clever> in the case of sshd, its to prevent the hostkey changing and causing unexpected mitm warnings
Rusty1 has quit [Quit: Konversation terminated!]
<samueldr> and if you want to update, the safest way is to look at everything using `stateVersion` in <nixos/modules>
<samueldr> s/want to update/want to change it/
<worldofpeace__> anyone want to merge/comment on this backport pr #48150 ? (been sitting for over a week)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/48150 (by Vskilet, 1 week ago, open): [18.09] nixos/emby: use the dataDir option
<pie___> jasongrossman, thats what i meant
<pie___> samueldr, hm ok
<pie___> ugh crap, looks like rebuild switch still fails to restart tinc
sigmundv has joined #nixos
<pie___> not sure if i just have something configured badly... the errors :https://bpaste.net/show/b3cdceccc098
sigmundv has quit [Remote host closed the connection]
<pie___> i have an old command laying around that seems to fix it: systemctl start network-interfaces.target network-addresses-enp0s25.service network-local-commands.service network-addresses-tinc.iaacluster.service
sigmundv has joined #nixos
<pie___> which may or may not make sense. is there some way i could make it so that doesnt fail and i have to physically go and fix the connection?
Lears has quit [Ping timeout: 264 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fragamus has joined #nixos
goibhniu has quit [Ping timeout: 252 seconds]
Dedalo has joined #nixos