gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/c/NixCon/live 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
lnikkila has joined #nixos
<ottidmes> ldlework: can't you just use regular SSH + rsync to do so?
<ldlework> ottidmes: how do i get at the nixops credentials?
<ottidmes> ldlework: I use: sudo nixops export --deployment network | jq --raw-output '.[].resources | .[] | .["none.sshPublicKey"] // empty'
<ldlework> you pipe that to a file before hand?
fusion809 has joined #nixos
nDuff has quit [Quit: zzz]
<ottidmes> ldlework: your use case is different than mine, you probably want to get to the private keys
freeman42]NixOS has joined #nixos
<ottidmes> ldlework: but thats in the export as well
erasmas has quit [Quit: leaving]
<gchristensen> is `nixops scp`not good enough?
goibhniu has quit [Ping timeout: 272 seconds]
<ottidmes> ldlework: in my case I extract the public keys and write them to files that I include in my config such the public key is persistently added to the authorized keys (otherwise a nixos-rebuild would regenerate the authorized keys, removing the one added by nixops)
abathur has quit [Ping timeout: 268 seconds]
shabius_ has joined #nixos
<gchristensen> I wonder if rsync 's -e coulduse `nixops ssh`
freeman42x]NixOS has quit [Ping timeout: 268 seconds]
freeman]NixOS has joined #nixos
shabius has quit [Ping timeout: 252 seconds]
lnikkila has quit [Ping timeout: 250 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
fusion809 has quit [Ping timeout: 268 seconds]
<infinisil> jackdk: You can link to single messages directly by clicking on the timestamp
<infinisil> (and shift clicking another to select a range)
freeman42]NixOS has quit [Ping timeout: 268 seconds]
<jackdk> thanks infinisil. This is the closest thing to a breadcrumb I can find for my problem: https://logs.nix.samueldr.com/nixos/2018-04-16#1117127;
<jackdk> here is a build log: https://github.com/NixOS/nixpkgs/files/2617687/build.log but I'm not sure how to narrow it further. My spidey-senses suggest a parallelism problem, but how do I make nix build a package with `make -j1`?
<v0|d> jackdk: nix-build has --cores and --max-jobs switchs.
Radivarig has quit [Ping timeout: 268 seconds]
freeman]NixOS has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @delroth opened pull request #51091 → php: 7.2.11 -> 7.2.12, 7.1.23 -> 7.1.24 (CVE-2018-17082) → https://git.io/fpzUh
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
peacememories has joined #nixos
vk3wtf has joined #nixos
vasiliy_san has joined #nixos
<jackdk> thank you v0|d
vk3wtf has quit [Ping timeout: 252 seconds]
<jackdk> Yep, seems like the postgresql build is brittle under -j > 1 at least on Darwin. I'll file a bug when I get back from lunch.
<v0|d> jackdk: please do
Rusty1 has quit [Quit: Konversation terminated!]
vidbina has joined #nixos
Rusty1 has joined #nixos
isHavvy has joined #nixos
Havvy has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpzkS
vk3wtf has joined #nixos
orivej has joined #nixos
nekroze has joined #nixos
<{^_^}> [nixpkgs] @benley pushed to master « stern: build shell completion scripts even when cross-compiling (#51075) »: https://git.io/fpzkh
<{^_^}> [nixpkgs] @benley merged pull request #51075 → stern: build shell completion scripts even when cross-compiling → https://git.io/fpu17
<nekroze> is it possible to select a different cpu for a nixops libvirt vm? say I wanted to try a arm aarch64 machine?
vidbina has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @delroth opened pull request #51092 → [18.09] php: 7.2.11 -> 7.2.12, 7.1.23 -> 7.1.24 (CVE-2018-17082) → https://git.io/fpzIq
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis1 has quit [Quit: WeeChat 2.2]
rprije has quit [Ping timeout: 268 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
ng0 has quit [Quit: Alexa, when is the end of world?]
halfbit has quit [Quit: WeeChat 2.3]
thc202 has quit [Ping timeout: 250 seconds]
vk3wtf has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 268 seconds]
hellrazor has joined #nixos
hellrazo1 has quit [Ping timeout: 250 seconds]
mayhewluke has quit [Ping timeout: 250 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer closed pull request #50776 → [wip] Remove lib functions from all-packages.nix attrs → https://git.io/fpWLD
nekroze has quit [Quit: Lost terminal]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
dbmikus_ has joined #nixos
xelxebar has joined #nixos
dbmikus_ has quit [Ping timeout: 268 seconds]
Akii has quit [Quit: ZNC 1.7.1 - https://znc.in]
aw has quit [Read error: Connection reset by peer]
aw has joined #nixos
otti0815 has quit [Ping timeout: 250 seconds]
spacefrogg_ has joined #nixos
spacefrogg has quit [Read error: Connection reset by peer]
SyrupThinker has quit [Ping timeout: 252 seconds]
nwspk has quit [Ping timeout: 264 seconds]
nwspk has joined #nixos
SyrupThinker has joined #nixos
sigmundv has quit [Ping timeout: 246 seconds]
sigmundv__ has quit [Ping timeout: 268 seconds]
rpg has joined #nixos
lnikkila has joined #nixos
epicmetal has joined #nixos
rpg has quit [Client Quit]
alex`` has quit [Ping timeout: 268 seconds]
lnikkila has quit [Ping timeout: 268 seconds]
emily has quit [Quit: Reconnecting]
emily has joined #nixos
graphene has quit [Remote host closed the connection]
jmeredith has quit [Quit: Connection closed for inactivity]
graphene has joined #nixos
xelxebar has quit [Quit: WeeChat 2.3]
rprije has joined #nixos
<gchristensen> jackdk: how did you upload that build.log?
jperras has quit [Quit: WeeChat 2.2]
<jackdk> gchristensen: dragged and dropped it into another github issue. I've been trying to fix #50902 which is how I tripped over the postgres build issue
<{^_^}> https://github.com/NixOS/nixpkgs/issues/50902 (by endgame, 5 days ago, open): haskellPackages.postgresql-libpq fails to link on Darwin
<samueldr> uh, it didn't always work IIRC
<samueldr> (just tried and it works)
graphene has quit [Remote host closed the connection]
lejonet has quit [Ping timeout: 246 seconds]
zemm has quit [Ping timeout: 250 seconds]
graphene has joined #nixos
vk3wtf has joined #nixos
sigmundv_ has joined #nixos
NickHu has quit [Ping timeout: 252 seconds]
reivilibre has quit [Ping timeout: 252 seconds]
rprije has quit [Ping timeout: 268 seconds]
<jackdk> mightybyte: #51093 tracks the ranlib issue
<{^_^}> https://github.com/NixOS/nixpkgs/issues/51093 (by endgame, 2 minutes ago, open): postgresql parallel builds fail on Darwin
sigmundv_ has quit [Ping timeout: 250 seconds]
barrucadu has quit [Ping timeout: 246 seconds]
vk3wtf has quit [Ping timeout: 268 seconds]
lejonet has joined #nixos
pent has left #nixos [#nixos]
xelxebar has joined #nixos
nika has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @bcdarwin opened pull request #51094 → minc2-simple: init at 2.1 → https://git.io/fpzON
orivej has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #51095 → emacsPackagesNg.trivialBuild: cleanup and standardize function → https://git.io/fpz3I
nikka has joined #nixos
nika has quit [Ping timeout: 250 seconds]
nikka has quit [Ping timeout: 246 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
nikka has joined #nixos
nikos has joined #nixos
nikos is now known as Guest58038
nikka has quit [Ping timeout: 268 seconds]
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
lo_mlatu has joined #nixos
<lo_mlatu> what happened on nixos-unstable channel? I just noticed the last update was 10d ago
<jackdk> re: #51096: is it correct to turn off tests for this package on darwin? I assume we don't propagate env vars into the build environment, so the "standard" fixes won't work
<{^_^}> https://github.com/NixOS/nixpkgs/issues/51096 (by endgame, 58 seconds ago, open): python37Packages.docutils fails to build on Darwin
lovek323 has joined #nixos
<lovek323> I'm having trouble with nix-shell - sometimes it goes into the shell, sometimes it just exits silently with exit code 1
<lovek323> I've compared the output with maximum verbosity for a successful run and a failed run and there is no difference
<lovek323> the env itself is very simple - simply provides python37
<lovek323> any ideas?
<lovek323> (sorry for waiting time... looks like it doesn't play well with liquidprompt)
ma27 has quit [Ping timeout: 240 seconds]
palo4 has joined #nixos
ma27 has joined #nixos
<jasongrossman> lo_mlatu: nixos-unstable often takes a while to be stable enough. Ironic, but normal. You might be thinking of the master channel? That updates continuously.
palo3 has quit [Ping timeout: 250 seconds]
<jasongrossman> lo_mlatu: Master is more like what some distros call unstable (or testing). Unstable is actually quite stable.
<mgttlinger> is there a nice way to get some sort of dependency tree of the nix store to analyze why it has grown so large?
<mgttlinger> that is after hardlinking and regular garbage collection
<mgttlinger> the store has continually grown larger over the years without mew installing significantly more software
<mgttlinger> the store has continually grown larger over the years without me installing significantly more software
<Izorkin> How to need to merge PR? - https://github.com/NixOS/nixpkgs/pull/44343
<{^_^}> #44343 (by Izorkin, 16 weeks ago, open): mariadb: 10.2.17 -> 10.3.10
<{^_^}> [nixpkgs] @Mic92 pushed to master « python37.pkgs.netaddr: skip failing test »: https://git.io/fpzGh
<jackdk> my understanding is that enableParallelBuilding defaults to false, so why would postgresql non-deterministically fail to build on darwin unless I passed --max-jobs 1 --cores 1?
reinhardt has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
ma27 has quit [Ping timeout: 250 seconds]
domenkozar has quit [Ping timeout: 252 seconds]
ma27 has joined #nixos
iMatejC has quit [Ping timeout: 268 seconds]
iMatejC has joined #nixos
dmc has quit [Quit: WeeChat 2.3]
oldandwise has joined #nixos
<oldandwise> need help: <stdout>: commitBuffer: invalid argument (invalid character)
dmc has joined #nixos
<oldandwise> already tried LC_ALL,LANG, etc.... still problem exists
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
epicmetal has quit [Ping timeout: 250 seconds]
oldandwise has quit [Quit: leaving]
wchresta has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 272 seconds]
Mateon3 is now known as Mateon1
wchresta has quit [Remote host closed the connection]
nikka has joined #nixos
jackdk has quit [Ping timeout: 246 seconds]
lnikkila has joined #nixos
Guest58038 has quit [Ping timeout: 268 seconds]
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51064 → quantomatic: init at 0.7 → https://git.io/fpuBA
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpzni
<{^_^}> [nixpkgs] @Mic92 merged pull request #49290 → get nix-writers into nixpkgs → https://git.io/fxHs5
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fpzcO
pi3r has joined #nixos
<bennofs[m]> oldandwise: check if glibc version of the binary (ldd) matches the version used in $LOCALE_ARCHIVE
jasongrossman has joined #nixos
<pi3r> Hello, any hope to get ghc-8.2.4 as the default ghc in stable nixos-18.09 ?
<pi3r> I meant ghc-8.4.4
jasongrossman has quit [Client Quit]
<pi3r> FWIW There are real bugs from ghc-8.4.3 regression in nixos-18.09 (for instance the included taffybar derivation).
crmlt has joined #nixos
<pi3r> See #46757
<{^_^}> https://github.com/NixOS/nixpkgs/issues/46757 (by PierreR, 10 weeks ago, open): Taffybar should use `ghc-8.2.x`
metastance has joined #nixos
ma27 has quit [Ping timeout: 268 seconds]
barrucadu has joined #nixos
ma27 has joined #nixos
<elvishjerricco> pi3r: I don't have time to do this tonight, but you can probably backport the change from master that changed the default GHC version from 8.4.3 to 8.4.4. Just rebase whatever change it was on the release-18.09 branch. I can do it tomorrow if you'd rather and if you remind me :P
<{^_^}> [nixpkgs] @colemickens opened pull request #51098 → dolphin: enable wayland → https://git.io/fpzWm
xelxebar has quit [Quit: WeeChat 2.2]
jasongrossman has joined #nixos
freeman42x]NixOS has joined #nixos
elgoosy has quit [Remote host closed the connection]
otti0815 has joined #nixos
pkx3__ has joined #nixos
pi3r has quit [Ping timeout: 268 seconds]
crmlt has quit [Remote host closed the connection]
pkx3 has quit [Read error: Connection reset by peer]
civodul has joined #nixos
hke has quit [Quit: bye]
hke has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #51102 → perlPackages: remove old broken packets → https://git.io/fpzl1
pie__ has quit [Ping timeout: 268 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
carlosdagos has quit [Quit: Connection closed for inactivity]
freeman42x]NixOS has quit [Ping timeout: 268 seconds]
spacefrogg_ is now known as spacefrogg
<Ashy> hmm, anyone using jetbrains datagrip?
<Ashy> `nix-env -iA nixos.jetbrains.datagrip` seems to just do nothing and return within a second or so
<clever> Ashy: i believe you are at step 3, https://github.com/NixOS/nixpkgs/issues/17126
<{^_^}> #17126 (by grahamc, 2 years ago, open): Unfree software is unintuitively hidden for new users
<clever> possibly 5
<Ashy> ah yeap
<Ashy> it'd be nice if nix-env spat out a warning message about that
<clever> it used to, but a recent change broke the error handling
<Ashy> hmm, except that i have allowUnfree set in my config
<Ashy> in my repo at least, is there a way to dump the currently active config?
<clever> is it in config.nix?
<clever> configuration.nix doesnt effect nix-env, see the comment at the very bottom
<{^_^}> [nixpkgs] @lovek323 opened pull request #51103 → scss_lint: init at 0.57.1 → https://git.io/fpz8o
__monty__ has joined #nixos
<Ashy> haha
fusion809 has joined #nixos
<Ashy> hmm, what's config.nix?
<clever> ~/.config/nixpkgs/config.nix
<Ashy> my repo is based on someone's example setup and doesnt have a standalone one
<Ashy> ah ok
<clever> { allowUnfree = true; }
ckauhaus_ is now known as ckauhaus
<Ashy> cheers that looks to be working now
vidbina has joined #nixos
<lovek323> it says that `idea-ultimate` was updated by a script -- https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/jetbrains/default.nix#L303
<lovek323> I'm happy to update manually, but if it's supposed to be done by a script, can anyone point me at it? 2018.3 is out now
<joko> Hello, has anyone Hydra access to clean up some failed builds? https://hydra.nixos.org/job/nixos/unstable-small/tested#tabs-constituents
Thra11 has joined #nixos
<joko> It also appears that packet-t2-4 is not connectable, e.g. https://hydra.nixos.org/build/83331959
Ariakenom has joined #nixos
<joko> lovek323: you would need to use an overlay to update it manually, e.g. https://gist.github.com/matklad/3b7b5e30b4302ac2a4cc68a71252ab48
<lovek323> thanks joko
<joko> No need to override jbsdk
<lovek323> next question :) is there a way to update `/etc/nixos/configuration.nix` to symlink `/usr/bin/file` to the `file` command?
<joko> so it would be (super.idea.idea-community.overrideAttrs (...);}
<joko> lovek323: why do you need this? You could have /run/current-system/sw/bin/file
<lovek323> it's in a node package for work that I don't control
<lovek323> a better alternative... is there a way to have a node module installed from nix instead of through `npm install`?
<joko> Can't you patch it to point to /run/current-system/sw/bin/file or even better to the proper derivation?
<joko> Yes, I have good results with node2nix
<lovek323> it's when installing the `grunt-contrib-imagemin` node package, so I don't want to have to rewrite some other package
<lovek323> thanks. I'll give it a crack!
<lovek323> just read through the readme - maybe I'm just missing something obvious, but for stuff to work, I'll need a `node_modules` directory, things can be symlinked to the correct derivations, etc., but I need that - am I making sense?
goibhniu has joined #nixos
<joko> lovek323: no, node2nix replaces npm with nix, it reads package.json etc. and generates a nix file
<lovek323> yeah, so that's not what I want, right?
sigmundv_ has joined #nixos
<joko> Well, I believe that would be the optimal way to do it
<joko> If you choose to use npm
<lovek323> how can that work when it doesn't put the files where they need to be?
<lovek323> for a local dev environment (I can understand how this can be used to package and distribute)
<joko> Hmm, maybe you could patch the files then directly in node_modules
<lovek323> yeah
Thra11 has quit [Ping timeout: 250 seconds]
<lovek323> looks like node2nix fails to understand `git+ssh://git@github.com:user/repo.git` -- looks like we've written it strangely, but it works with `npm`
<lovek323> yep, it also struggles on private repos due to ssh issues... I'll leave this one for now
ThatDocsLady has joined #nixos
<joko> lovek323: this one is a bit more complicated, you have to give access to nix builders
<lovek323> how do I do that?
<joko> Unfortunately it's a manual process
<lovek323> that's okay
<lovek323> I did play around with that a little earlier today, but couldn't get anything working
<lovek323> so anyway... the original question, can I symlink /usr/bin/file?
xelxebar has joined #nixos
lo_mlatu has quit [Quit: Connection closed for inactivity]
thc202 has joined #nixos
cyounkins has joined #nixos
<bennofs[m]> lovek323: you could add ln -s ${file}/bin/file /usr/bin to system.activationScripts (see man configuration.nix)
<lovek323> thanks, I'll give it a try
hamishmack has joined #nixos
<lovek323> perfect. thanks
<bennofs[m]> there's also https://nixos.org/nixpkgs/manual/#sec-fhs-environments which can create a chroot-like environment (but without requiring root perms)
<lovek323> thanks
<lovek323> I really do need to build these native node extensions properly... I just have no idea how to do it
cyounkin_ has quit [Ping timeout: 268 seconds]
cyounkins has quit [Ping timeout: 250 seconds]
<bennofs[m]> lovek323: sometimes it works to just nix-shell --pure -p native-dep-a native-dep-b ...
<lovek323> this particular binary needs to be in `node_modules/grunt-contrib-imagemin/node_modules/optipng-bin/vendor/optipng`
<lovek323> if it's not there, the `npm run build` script won't work
<bennofs[m]> oh, just symlink optipng there then?
<lovek323> I guess so
<lovek323> I really want to avoid having to do these things manually
<lovek323> for me, ideally I'd be using the same tooling as the rest of the team
<lovek323> and they use `npm install`
<lovek323> if I symlink manually, every time these packages change I have to investigate what the issue is all over again
arjen-jonathan has joined #nixos
__Sander__ has joined #nixos
<bennofs[m]> how is that binary supposed to get there? is it built natively?
<lovek323> yeah, it's built by `npm install`
<bennofs[m]> did you try running npm install in a nix-shell with the required native dependencies?
<lovek323> just trying to do that now
<lovek323> it's not clear what they are... but I will keep going till there are no errors left :)
<lovek323> on an unrelated note, do I need to wait for explicit approval to merge a PR? https://github.com/NixOS/nixpkgs/pull/51103
<{^_^}> #51103 (by lovek323, 1 hour ago, open): scss_lint: init at 0.57.1
mayhewluke has quit [Ping timeout: 268 seconds]
<joko> lovek323: yup, find someone who could review it and ping her
<bennofs[m]> lovek323: imo it's okay to merge yourself if it has small scope like this / is your own package. though I don't know if we have an official stance on this?
<Taneb> Continuing from yesterday, if I want a hydra jobset that won't automatically be scheduled, is it enough to set checkinterval to 0?
<bennofs[m]> iirc there was a way to set trigger to manual/oneshot?
mayhewluke has joined #nixos
<lovek323> bennofs[m]: I'll give it some time (it's been a while since I contributed anything, don't want to make a bad name for myself :))
<lovek323> thanks both for all your help
<Taneb> bennofs[m]: one shot seems to disable it when it completes
alex`` has joined #nixos
fendor has joined #nixos
betaboon has joined #nixos
<{^_^}> [nixpkgs] @periklis opened pull request #51104 → openjpeg: fix for CVE-2018-18088 → https://git.io/fpzEx
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Ping timeout: 252 seconds]
ThatDocsLady_ has quit [Read error: Connection reset by peer]
ng0 has joined #nixos
fendor has quit [Ping timeout: 250 seconds]
rprije has joined #nixos
kisik21 has left #nixos ["WeeChat 2.4-dev"]
<{^_^}> [nixpkgs] @andrew-d opened pull request #51105 → libtiff: 2018-11-04 -> 4.0.10 → https://git.io/fpzzV
rprije has quit [Ping timeout: 250 seconds]
rprije has joined #nixos
nikos_ has joined #nixos
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #50802 → autoPatchelfHook: Fixes/improvements for Android SDK emulator → https://git.io/fpW4b
<{^_^}> [nixpkgs] @Mic92 pushed 8 commits to master: https://git.io/fpzg2
nikka has quit [Ping timeout: 268 seconds]
rprije has quit [Ping timeout: 250 seconds]
rprije has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #51102 → perlPackages: remove old broken packages → https://git.io/fpzl1
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpzgX
<{^_^}> [nixpkgs] @Mic92 merged pull request #51086 → cups-toshiba-estudio: fix homepage → https://git.io/fpu7W
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpzg1
<mbrgm> fpletz: -> q
fendor has joined #nixos
fusion809 has quit [Remote host closed the connection]
ThatDocsLady has quit [Ping timeout: 246 seconds]
[Leary] has quit [Read error: Connection reset by peer]
metastance has quit [Ping timeout: 268 seconds]
Lears has joined #nixos
klntsky has joined #nixos
vk3wtf has joined #nixos
rprije has quit [Ping timeout: 250 seconds]
fendor has quit [Ping timeout: 246 seconds]
fendor has joined #nixos
iyzsong has joined #nixos
ThatDocsLady has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/a7fd4310c0c (from 2 days ago, history: https://channels.nix.gsc.io/nixos-18.09)
init_6 has joined #nixos
vidbina has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed to release-18.09 « nixopsUnstable: 1.6.1pre2622_f10999a -> 1.6.1pre2706_d5ad09c »: https://git.io/fpzrI
<{^_^}> [nixpkgs] @srhb opened pull request #51107 → valgrind: Apply upstream patch for Makefile race in coregrind → https://git.io/fpzro
<{^_^}> [nixpkgs] @srhb closed pull request #51082 → valgrind: Disable parallel building → https://git.io/fpuHG
domenkozar has joined #nixos
erictapen has joined #nixos
klntsky has quit [Ping timeout: 256 seconds]
fendor has quit [Ping timeout: 268 seconds]
<Twey> nix-copy-closure used to have a --gzip flag. Does `nix copy` just use gzip by default?
<{^_^}> [nixpkgs] @vcunat pushed to master « sssd: fix build with updated curl-7.62 »: https://git.io/fpz6I
<{^_^}> [nixpkgs] @Mic92 pushed to master « python37.pkgs.rope: ignore broken type hinting tests »: https://git.io/fpz6q
<{^_^}> [nixpkgs] @vcunat pushed to release-18.09 « sssd: fix build with updated curl-7.62 »: https://git.io/fpz60
erictapen has quit [Ping timeout: 268 seconds]
<srhb> Twey: I believe the store abstraction has a "compression" flag
mkoenig has quit [Ping timeout: 252 seconds]
mkoenig has joined #nixos
<srhb> Twey: And I believe the default is xz
<srhb> (Not sure what happens with ssh stores over the wire though...)
<bennofs[m]> are nix-copy-closure and nix copy streaming? since I had a case where both failed with out-of-memory (but a nix-store --export closure > closure.dump, then scp and then nix-store --import < closure.dump worked)
<srhb> I guess you can manipulate the actual ssh command line in that case though..
<Mic92> bennofs[m]: take a look at the installer. There we use streaming
phreedom_ has quit [Ping timeout: 256 seconds]
<Taneb> So I'm trying to use hydra's API with "curl -k https://localhost/api/..."; and everything gives me a 403 error, even though it works as "curl -k https://hydra/api/..."; from a different computer
<Taneb> (trying to access https://hydra from hydra gets 403 errors too)
<Taneb> ...I think this is because of the nginx config
steshaw has quit [Quit: Connection closed for inactivity]
<Taneb> Yeah, "curl localhost:3000" worked fine :)
metastance has joined #nixos
peacememories has joined #nixos
metastance has quit [Client Quit]
metastance has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @lovek323 opened pull request #51108 → jetbrains-editors: 2018.2 -> 2018.3 → https://git.io/fpzXK
<{^_^}> [nixpkgs] @scalavision closed pull request #42240 → Adding mill build tool → https://git.io/fLEV2
drakonis has joined #nixos
Tucky has joined #nixos
<{^_^}> [nixpkgs] @4z3 opened pull request #51109 → nixos: allow overriding lib → https://git.io/fpz1Z
arjen-jonathan has quit [Ping timeout: 246 seconds]
vidbina has joined #nixos
__monty__ has quit [Quit: leaving]
__monty__ has joined #nixos
<roberth> do we have a tool in nixpkgs to pretty print yaml from json?
<gchristensen> `jq` prints YAML just fine :) (in that JSON is valid YAML)
<lovek323> haha
<roberth> that's my current solution, but the multiline strings aren't nice to read
<roberth> I asked for pretty ;)
<{^_^}> [nixpkgs] @scalavision opened pull request #51110 → Add mill build tool → https://git.io/fpzMU
<lovek323> what is 'yaml from json'?
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
klntsky has joined #nixos
<roberth> I'm looking for a tool that prints yaml in a more readable way than just json, so basically a function from json to yaml
<gchristensen> (I'll be honest, YAML scares me because of the ambiguity, part of why I make the json "joke") but maybe remarshal?
<{^_^}> [nixpkgs] @vcunat pushed to master « sssd: style nitpick - don't use pkgs parameter »: https://git.io/fpzMG
<gchristensen> [nix-shell:~]$ echo '{"foo": "bar"}' | remarshal -if yaml -of yaml
<gchristensen> foo: bar
<{^_^}> [nixpkgs] @flokli merged pull request #51089 → gitlab-runner: 11.4.0 -> 11.5.0 → https://git.io/fpuFl
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fpzMo
fendor has quit [Ping timeout: 246 seconds]
waleee has joined #nixos
arjen-jonathan has joined #nixos
hydraz is now known as ^W
das_j has joined #nixos
<das_j> Hey, what software is added to /run/current-system/sw? Of course a module decides that, but which one?
<srhb> das_j: environment.systemPackages. Any module may add to this by the normal rules.
<das_j> srhb: So every package in systemPackages is lndir'ed into that directory?
<srhb> das_j: Approximately, yes. :)
<tilpner> ,find system-path.nix
graphene has quit [Remote host closed the connection]
<tilpner> In there, you'll find pathsToLink, which should answer your question
<roberth> gchristensen: seems like you need --style=\| to stop it from introducing extra newlines :/
justanotheruser has quit [Ping timeout: 268 seconds]
<roberth> gchristensen++
<{^_^}> gchristensen's karma got increased to 46
graphene has joined #nixos
Rusty1 has joined #nixos
<das_j> Hm. So pathsToLink seems to limit what is linked
<das_j> My problem is that I need a well-known location for my android sdk so android studio can find it
<das_j> However, the sdk is located in $out/libexec
<srhb> das_j: Why does your android studio need that?
<srhb> (Are you solving the wrong problem?)
<das_j> srhb: Well, if I start studio, it greets me with "Please provide the path to the Android SDK. If you do not have the ANdroid SDK, you can obtain it from URL"
mayhewluke has quit [Ping timeout: 268 seconds]
<srhb> das_j: Looking at the package, it looks like it expects to manage the SDK itself.
erictapen has joined #nixos
<bennofs[m]> i used to have a ~/software.nix that simply build a derivation that symlinked a few things into $out (like jdk and android sdk)
mayhewluke has joined #nixos
<srhb> bennofs[m]: Doesn't it barf if it can't write to the sdk path?
<das_j> bennofs[m]: Sounds good, but what I was looking to write was a module so I can do something like programs.androidsdk = [ { apilevel = 15; packages = [ "system-image" "whatever" ]; }; ]
Rusty1 has quit [Ping timeout: 268 seconds]
metastance has quit [Ping timeout: 250 seconds]
klntsky has quit [Ping timeout: 256 seconds]
erictapen has quit [Ping timeout: 246 seconds]
hyper_ch2 has quit [Ping timeout: 256 seconds]
erictapen has joined #nixos
troydm has quit [Ping timeout: 268 seconds]
ivegotasthma has joined #nixos
troydm has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50647 → picard-tools: 2.18.14 -> 2.18.17 → https://git.io/fpc7z
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « picard-tools: 2.18.14 -> 2.18.17 (#50647) »: https://git.io/fpzyb
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50670 → open-vm-tools: 10.3.0 -> 10.3.5 → https://git.io/fpcjn
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpzyA
fendor has joined #nixos
alex`` has quit [Ping timeout: 250 seconds]
<yorick> aminechikhaoui: do you need maintainers for nixops, maybe?
alex`` has joined #nixos
<Streetwalrus> hi, I want to set onFailure for all systemd services to send me notifications when something breaks, I've tried this but it's infinitely recursive:
<Streetwalrus> systemd.services = lib.mapAttrs (name: service: { onFailure = [ "failbot@%n" ]; }) config.systemd.services;
<Streetwalrus> what would the proper way be?
<yorick> Streetwalrus: boy, do I have a hack for you
<yorick> let me find it
<Streetwalrus> thanks
<yorick> Streetwalrus: options.systemd.services = mkOption { apply = mapAttrs (name: service: { service // { onFailure = ...; ); };
<Streetwalrus> trying this
<gchristensen> yorick: oh dear
<Streetwalrus> it doesn't seem to like it
<Streetwalrus> error: Module `/etc/nixos/configuration.nix' has an unsupported attribute `boot'. This is caused by assignments to the top-level attributes `config' or `options'.
<yorick> Streetwalrus: do { options.systemd.services = ...; config = { your system config; }; } in configuration.nix
WilliamHamilton[ has joined #nixos
<das_j> yorick: wow
<Streetwalrus> is the "do" part of it?
<Streetwalrus> probably not
<gchristensen> no
<das_j> no
<srhb> Suddenly monads.
drakonis has quit [Quit: WeeChat 2.2]
<Streetwalrus> https://wank.party/aX6H.txt => value is a function while a set was expected, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:220:18
erictapen has quit [Ping timeout: 246 seconds]
<das_j> Streetwalrus: Best domain ever
<Streetwalrus> thanks
<yorick> Streetwalrus: put parentheses around service // { onFailure }
metastance has joined #nixos
<waleee> anyone got a clue to why a nix-shell with gfortran added doesn't have gfortran in it's environment?
metastance has quit [Client Quit]
metastance has joined #nixos
astronavt has joined #nixos
<waleee> the only warning is collisions for libgcc_s.so (gcc vs. glibc-multi)
<srhb> waleee: Are you opening a shell that has just the dependencies for building gfortran? Can you elaborate?
<Streetwalrus> yorick: nah that wasn't it, instead of putting those imports in the middle there I had to set the imports array above
astronavt has quit [Client Quit]
<Streetwalrus> like so https://wank.party/XStO.txt
reardencode has quit [Ping timeout: 245 seconds]
<Streetwalrus> this seems to work
<waleee> srhb: a shell with gfortran usable for building, in this case, julia from source
arjen-jonathan has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @alyssais opened pull request #51111 → doc: document upgrading Ruby packages → https://git.io/fpzQK
<srhb> waleee: So something like nix-shell '<nixpkgs>' -A julia ?
<srhb> waleee: It's difficult to guess exactly what you're doing -- do you have a nix expression handy? :)
<waleee> srhb: more like "git clone julia-github/julia.git", make julia
erictapen has joined #nixos
<srhb> waleee: And what does the nix shell expression look like?
<srhb> waleee: You can pastebin it to help people identify the problem.
<srhb> Hmm, do you really need that FHSUserEnv? Not sure how well that interacts with nix-shell, if at all.
aleph- has joined #nixos
<waleee> srhb: julias packagemanager will fail to build some packages otherwise
arjen-jonathan has joined #nixos
<Streetwalrus> yorick: it "works", as in the attribute is set, but it looks like it's being applied after everything else, so it doesn't actually pick it up or even error on invalid keys
<Streetwalrus> thanks anyway
Mic92 has quit [Quit: WeeChat 2.3]
asymmetric has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/56aac496ffd (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
hyper_ch2 has joined #nixos
peacememories has joined #nixos
peacememories has quit [Client Quit]
<aleph-> Hey is there a package for the zoom messenger floating around anywhere?
<gchristensen> nix-shell -p zoom-us
<goibhniu> there is aleph-, you might just need to allowUnfree in your config though
<aleph-> Huh thought I had.
<aleph-> Hmm.
<aleph-> Yeah I have it set, nixpkgs.config.allowUnfree = true;
<goibhniu> that won't apply the nix commands though
<goibhniu> 'unfree
<etu> aleph-: That is on a system level, not user level
<goibhniu> `unfree
<gchristensen> ,unfree
<{^_^}> You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
<aleph-> Doy
<goibhniu> thanks :D
<aleph-> Hmm and Zoom seems to be broken... odd.
iyzsong has quit [Ping timeout: 250 seconds]
arjen-jonathan has quit [Ping timeout: 246 seconds]
vidbina has quit [Ping timeout: 268 seconds]
<aleph-> Huh and chromium and google chrome seem to be borked as well...
<aleph-> Maybe I'll do a liveusb for this video call.
jperras has joined #nixos
sierraDelta has joined #nixos
<sierraDelta> noob question: can I `nix-channel --add` both the stable and unstable channels? If not, is there a way to cherry pick stuff from the unstable channel while keeping the stable channel added?
<tilpner> ,unstable sierraDelta
<worldofpeace> aleph-: can you define borked?
<sierraDelta> My google foo has failed me. Thank you, tilpner!
aleph- has quit [Ping timeout: 250 seconds]
* etu did a nix-shell for zoom-us and waited a bit and the client seemed to start
fendor has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fpzbU
bbarker_home has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to master « dino: 2018-09-21 -> 2018-11-27 »: https://git.io/fpzbV
<bbarker_home> Does anyone have any ideas about configuring DNS properly in a nixos container? see e.g. https://discourse.nixos.org/t/dns-in-declarative-container/1529/2
<bbarker_home> but the short story is that the resolv.conf in the container does not mirror that in the host, and does not have any nameserver listed
reinhardt has quit [Quit: Leaving]
endformationage has joined #nixos
init_6 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-chell: pin build to patience-0.1.x »: https://git.io/fpzNq
aleph- has joined #nixos
<yorick> bbarker_home: bind-mount /etc/resolv.conf from the host
<tilpner> Wow, enabling networkmanager adds 436MB to the image
johanot has joined #nixos
<bbarker_home> yorick, thanks, sounds promising, found the nix expression - will give it a try
nika has joined #nixos
nikos_ has quit [Ping timeout: 250 seconds]
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @zimbatm opened pull request #51113 → doc: tweag the coding conventions → https://git.io/fpzxt
aleph- has quit [Ping timeout: 244 seconds]
<sierraDelta> If I have multiple channels added, how can I tell which channel things are in when doing a `nix-env --query --available --attr-path`
<gchristensen> the attr path will be prefixed by the channel name, so if you have a nixpkgs channel and a foobar channel, you'll see nixpkgs.hello and foobar.hello
<sierraDelta> weird, it seems that I'm only seeing one of the channels then. I get this message at the top of the results: warning: name collision in input Nix expressions, skipping '/Users/dansan/.nix-defexpr/channels_root/nixpkgs'
<sierraDelta> and all the results are prefixed with only one of the channel names
<jasongrossman> c
<Twey> sierraDelta: Do you also have /Users/dansan/.nix-defexpr/channels/nixpkgs ?
<gchristensen> have you run nix-channel --update?
<sierraDelta> .nix-defexpr/channels has these 4 entries: binary-caches darwin manifest.nix nixpkgs
<sierraDelta> I did do a nix-channel update. The packages that are showing up in nix-env --query are the ones for the channel I just added.
lewo has joined #nixos
dbmikus_ has joined #nixos
waleee has quit [Quit: WeeChat 2.3]
vidbina has joined #nixos
<bbarker_home> has anyone had an issue where mutableUsers=false seems to work for a while, but then, miraculously stops working shortly after (i.e. one's passwords no longer work)?
Ariakenom has quit [Quit: Leaving]
<bbarker_home> I'll try to do some diagnostics by adding a public key to the root user when I do the rebuild of the VM I guess
<disasm> bbarker_home: is the hash correct for the passwords in the nix configs?
<{^_^}> [nixpkgs] @ttuegel merged pull request #51095 → emacsPackagesNg.trivialBuild: cleanup and standardize function → https://git.io/fpz3I
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/fpzpM
<bbarker_home> disasm, this is very odd ... I had two passwords. running the same command as before on the same passwords, I'm getting different results
<bbarker_home> command is mkpasswd -m sha-512
<avn> Folks, anyone understand logic, how session (dbus + all other crap) starts up? I upgrade one setup from 17.09 to 18.09, and lot of stuff changed :/
<bbarker_home> and i'm very sure at least one of them was working before, 99% sure both were working before
<bbarker_home> It doesn't look like I did an upgrade afterwards, although even if mkpasswd was upgraded I would hope it would be stable
<hyper_ch2> bbarker_home: it's normal as it uses a random salt
<hyper_ch2> so everytime you run it, the hashed password will be different
<bbarker_home> ah
<{^_^}> [nixpkgs] @peti pushed 7 commits to haskell-updates: https://git.io/fpzh3
<bbarker_home> anyone know off hand how to check if the hash is correct then?
<bbarker_home> other than trying to login
<{^_^}> [nixpkgs] @peti pushed 0 commits to haskell-updates: https://git.io/fpzhn
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/fpzhZ
<hyper_ch2> bbarker_home: the hash is always correct for the input provided :)
<hyper_ch2> rehash it and provide the salt with mkpasswd -m sha-512 -s xxxx
<bbarker_home> I guess my concern is that this has happened to me twice, each time with a period where it seemed to work, even after a reboot
dbmikus__ has joined #nixos
<bbarker_home> ok
<hyper_ch2> the salt is the one string between the two $...$
dbmikus_ has quit [Ping timeout: 268 seconds]
<bbarker_home> i'm well aware of my ability to make user errors
<{^_^}> [nixpkgs] @dtzWill opened pull request #51114 → gist: 4.6.2 -> 5.0.0, simplify → https://git.io/fpzha
<bbarker_home> ohh
<hyper_ch2> so if your hashed passwd is $abc$xyz then the salt will be abc --> mkpasswd -m sha-512 -s "abc"
<hyper_ch2> does it work?
<bbarker_home> so in the configurationl.nix, the entire hashedPassword shoudl still just be stored as "$abc$xyz"?
<hyper_ch2> yes, you need to know the salt
<{^_^}> [nixpkgs] @vbgl opened pull request #51115 → ocamlPackages.buildDunePackage: fix meta.platforms → https://git.io/fpzhb
<tobiasBora> Hello,
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fpzhA
<tobiasBora> I'm trying to install sage after the new push in master, so I tried to update the repo... but I don't why it fails during the kernel built with the error depmod: WARNING: could not open /nix/store/9sg8j2lq8nq7k47ncl3yvxnjfbbvb9yp-kernel-modules-shrunk/lib/modules/4.14.81/modules.order: No such file or directory
<tobiasBora> (actually I don't even understand why it tries to install the kernel...)
<{^_^}> [nixpkgs] @dtzWill opened pull request #51116 → radare2: 3.0.1 -> 3.1.0 → https://git.io/fpzjY
<hyper_ch2> bbarker_home: you know what a salt is right?
<bbarker_home> hyper_ch2, yes
<bbarker_home> looks like there is also a prefix before the salt
<bbarker_home> $n$salt$hash
<hyper_ch2> right
<hyper_ch2> forgot about that, no idea what the first one is for
<gchristensen> I think it is a bcrypt "rounds" number
<gchristensen> cost*
<bbarker_home> well, it is indeed wrong, good to know about the salt. not sure how it is wrong, but at least now I can keep track of what is going on better
<bbarker_home> thanks!
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @Ekleog merged pull request #51098 → dolphin: enable wayland → https://git.io/fpzWm
<hyper_ch2> yeah, could be bcrypt rounds :)
astronavt has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @dtzWill opened pull request #51117 → lm_sensors: 3.4.0 -> 3.5.0 → https://git.io/fpgvU
<{^_^}> [nixpkgs] @dtzWill merged pull request #50978 → nghttp2: 1.34.0 -> 1.35.0 → https://git.io/fp03a
<{^_^}> [nixpkgs] @dtzWill pushed to staging « nghttp2: 1.34.0 -> 1.35.0 »: https://git.io/fpgvc
drp has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #50972 → bison: 3.2.1 -> 3.2.2 → https://git.io/fp0tz
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fpgvl
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to staging: https://git.io/fpgvR
<{^_^}> [nixpkgs] @dtzWill merged pull request #50971 → pixman: 0.34.0 -> 0.36.0 → https://git.io/fp0tu
<{^_^}> [nixpkgs] @dtzWill merged pull request #50636 → lynx: 2.8.9dev.17 -> 2.8.9rel.1 → https://git.io/fpcS2
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fpgva
<{^_^}> [nixpkgs] @dtzWill closed pull request #49600 → sqlalchemy: 1.2.12 -> 1.2.13 → https://git.io/fxAnI
<tobiasBora> I don't know what happened, but one more nix-channel --update and it worked
<tobiasBora> well
<tobiasBora> the kernel compiled
<tobiasBora> but sagemath is now compiling
<tobiasBora> any idea why hydra did not built it before? (it's 2 day long, and I can find on github some logs about it: https://logs.nix.ci/?key=nixos/nixpkgs.51030&attempt_id=a5b344f9-fae7-4871-a6bf-d776cd4c9d84)
slyfox_ has joined #nixos
<{^_^}> [nixpkgs] @bennofs opened pull request #51118 → mkpasswd: fix cross compilation → https://git.io/fpgfR
slyfox has quit [Ping timeout: 244 seconds]
michas has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
nika has quit [Quit: Konversation terminated!]
Mic92 has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #51048 → melpaBuild: Get package-build from melpa/package-build → https://git.io/fpEl0
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/fpgJ0
Lisanna has joined #nixos
thc202 has quit [Ping timeout: 268 seconds]
<Lisanna> hey, are there any utilities in nixpkgs that given a derivation simply produces a tarball that unpacks the derivation's outputs and requisites to /nix/store (e.g., for distributing software to platforms that don't have nix installed)
alex`` has quit [Quit: WeeChat 2.3]
<Lisanna> (or outside of nixpkgs, I guess)
<gchristensen> you can use nix-store -qR /nix/store/the-thing | xargs tar ... or something?
<ottidmes> Lisanna: you probably want: pkgs.callPackage <nixpkgs/nixos/lib/make-system-tarball.nix> { ... }
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51067 → traefik: 1.7.1 -> 1.7.4 → https://git.io/fpuzH
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpgUe
jmeredith has joined #nixos
<Lisanna> ottidmes do you know if it works well if some /nix/store files already exist (e.g., from an unpack of a prior tarball)?
<Lisanna> but yeah, that looks like exactly what I want
klntsky has joined #nixos
<tobiasBora> Also, any idea how I could disable the tests of sage?
<tobiasBora> (it takes ~1h, which is really long for a simple install)
<ottidmes> Lisanna: would that not just depend on how you unpack it?
<clever> Lisanna: if you want to merge it into an existing store, you need to use nix copy
<Lisanna> clever not existing real nix store, just a previously unpacked tar, e.g. produced by the same thing
erasmas has joined #nixos
<ottidmes> Lisanna: just check the tar man page, its there
<Lisanna> ottidmes yeah you're right
Tucky has quit [Quit: WeeChat 2.2]
<Lisanna> ok that's perfect, thanks
<clever> Lisanna: nix copy would allow you to have GC when doing thins kind of thing
<Lisanna> clever yeah, application for this is environments that don't have nix and users that don't know what nix is
<clever> Lisanna: `nix copy --to local?root=/tmp/totar /nix/store/foo`, tar up /tmp/tofar, move it, untar, `nix copy --from local?root=/tmp/totar /nix/store/foo` to get it back out
<clever> Lisanna: ive done all of the above, in exactly that situation
<clever> Lisanna: this manages a ~/.daedalus/nix/store/, along with nix-user-chroot, and similiar nix copy's, to apply updates to it when installers are ran
<Lisanna> cool!
<clever> and i tried to keep the nix-installer.nix part modular and generic, so you can just grab it, and call it with different args
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/56aac496ffd (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @rvolosatovs to master « echoip: init at unstable-2018-11-20 »: https://git.io/fpgTl
<clever> the default.nix in the root has examples of its usage
<{^_^}> [nixpkgs] @worldofpeace closed pull request #50965 → echoip: Init at unstable-2018-11-20 → https://git.io/fp0Io
ng0 has quit [Quit: Alexa, when is the end of world?]
oida has quit [Remote host closed the connection]
<nisstyre> hypothetically, if I wanted to programmatically generate nix expressions, what's the best way to do that? Is there a library for outputting expressions from an AST?
<nisstyre> this is for a potential use of NixOPs
<gchristensen> do you want to emit code, or pure data?
<tilpner> hnix or libexpr
<{^_^}> [nixpkgs] @dtzWill opened pull request #51120 → libical: disable parallel check, fix → https://git.io/fpgkt
<nisstyre> gchristensen: code
<gchristensen> what kind of expressions do you want to generate? sounds neat
<nisstyre> tilpner: I'll check out hnix, I'm assuming it'as a Haskell lib?
<tilpner> It is
<nisstyre> gchristensen: just regular NixOPs deployments and such, I'm thinking of making an experimental system to automate deployments with a frontend
<nisstyre> it would integrate another tool I've been working on for devops as well (that is in Racket though)
sierraDelta has quit [Ping timeout: 246 seconds]
<nisstyre> I thought about using Guix for this but Guix doesn't have anything like NixOPs
thc202 has joined #nixos
<gchristensen> neat
<tilpner> nisstyre - Oh, Racket! What's it do?
oida has joined #nixos
<nisstyre> tilpner: it's still early stages, but it's basically like a DSL that lets you automate system administration tasks and stuff. Like Ansible or Fabric, but the idea is to make things inherently asynchronous
<nisstyre> so each deployment "task" is a thread that uses mailboxes (actor model)
<nisstyre> It might get reimplemented at some later point in Haskell or Elixir
mayhewluke has quit [Ping timeout: 250 seconds]
<tilpner> Aww, it's not Nix-specific (And your example doesn't show off any async)
<nisstyre> tilpner: yeah that's right, the threading stuff is all still on my local tree
<nisstyre> tilpner: I'm trying to figure out how to integrate nix with it
<nisstyre> tilpner: this is what I was experimenting with https://gist.github.com/weskerfoot/9121c2e1cc2c1d5aaff65fd6e082bbf3
<{^_^}> [nixpkgs] @peti pushed to release-18.09 « gnome3.gnome-keyring: disable test suite on i686 to fix the build »: https://git.io/fpgIs
<{^_^}> [nixpkgs] @peti pushed to master « gnome3.gnome-keyring: disable test suite on i686 to fix the build »: https://git.io/fpgI4
<{^_^}> [nixpkgs] @dtzWill opened pull request #51122 → networkmanager: 1.12.2 -> 1.12.4 → https://git.io/fpgIP
__Sander__ has quit [Quit: Konversation terminated!]
johanot has quit [Quit: WeeChat 2.2]
erictapen has quit [Ping timeout: 250 seconds]
erictapen has joined #nixos
phreedom has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #51124 → vivaldi: 2.1.1337.47-1 -> 2.1.1337.51-1 → https://git.io/fpgtn
arjen-jonathan has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #50672 → grpc, pythonPackges.grpcio, pythonPackages.grpcio-tools: update to 1.16.1 → https://git.io/fpCeJ
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fpgqO
dbmikus__ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpgqW
<yl[m]> is `nixops deploy --copy-only` equivalent to `nixos-rebuild boot`?
Ariakenom has joined #nixos
mayhewluke has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
<ryantm> Can someone recommend a tool for seeing how the memory usage of nix-build breaks down? I currently have a bunch of single-machine NixOps deployments that take 500 MB to build, and I am hoping to see if I can figure out why it is that much.
fendor has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
jperras has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @timokau merged pull request #51084 → pythonPackages.rpy2: various fixes → https://git.io/fpuQF
<{^_^}> [nixpkgs] @timokau pushed to master « pythonPackages.rpy2: various fixes (#51084) »: https://git.io/fpgYn
<Lisanna> yl[m] I don't think so, copy-only sounds like it'll just copy the closure but not activate the configuration
<Lisanna> nixos-rebuild boot delays the activation until a reboot
<yl[m]> Lisanna: it sounds like there's no such option?
<Lisanna> if you reboot after nixops deploy --copy-only nothing will be changed
renais has joined #nixos
Akii has joined #nixos
<bbarker_home> gchristensen, hyper_ch2: apparently $6$ means you are using SHA-512: https://superuser.com/questions/148971/what-is-the-max-length-of-password-on-unix-linux-system
<Lisanna> yl[m] that sounds right. I don't see anything in the manual for it
dbmikus__ has joined #nixos
<bbarker_home> in other news, none of the passwords I used to build NixOS VMs are working, not just this one. I saved them in a vault and history doesn't report changes. I think I may be going insane
<Lisanna> yl[m] closest thing would be --force-reboot
sigmundv_ has quit [Ping timeout: 246 seconds]
<aminechikhaoui> dtz do you remember how the issue that led to https://github.com/NixOS/nixpkgs/commit/42c33ce12f59d36d11d3d5cb74aca460168fc737 got manifested, was the error message explicit about the undefined reference for 32bit architecture or was it just "undefined reference to `__divmoddi4'" , I'm seeing a similar problem while updating a codebase to 18.03/gcc
<aminechikhaoui> -7 but with __divmodti4 and it's driving me crazy so I thought maybe somehow related :D
<yl[m]> Lisanna: the problem is the configuration I applied last night restarted my network interface which broken ssh and had to login via serial console. I was hoping I can create the boot entry and just manually reboot
<bbarker_home> these passwords were all sha256sums generated from random data, so I can't really memorize them to verify ... one NixOS VM I had with a short password I memorized is working
<yl[m]> Lisanna: will --force-reboot restart the server instead of services?
<bbarker_home> so at least i can mostly recover to these thanks to configuration.nix backups
<bbarker_home> I'll give it a day to see if the insanity clears
<Lisanna> yl[m] --force-reboot will use nixos-rebuild boot, and then reboot the machine
<yl[m]> awesome, that's probably what I need
<yl[m]> thx
<woffs> aminechikhaoui, divmoddi on i686 is always #36947
<{^_^}> https://github.com/NixOS/nixpkgs/issues/36947 (by dtzWill, 36 weeks ago, open): libgcc_s is from bootstrap tools??
rihardsk has joined #nixos
<woffs> time to revive #36948 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/36948 (by dtzWill, 36 weeks ago, open): glibc: don't use bootstrap libgcc_s
<Lisanna> yl[m] that's safer for larger updates since you won't have only half of your services restarting and the other half not being restarted since they can't be without a reboot - I experience stuff getting mucked up that way if I do a major system config change and don't reboot on the deploy
fendor has quit [Remote host closed the connection]
<yl[m]> Lisanna: thanks for the tip
fendor has joined #nixos
<aminechikhaoui> woffs: actually in my case it's not i686, it's a regular x86_64 and I see clearly -lgcc_s in the linker arguments and gcc-lib in the linker search path, running nm -C <path/to/libgcc_s.so> | grep __divmodti4 shows that the symbol is there
<gchristensen> Lisanna, yl[m]: it is good practice, too, seeing what fails when your service is rebooting :)
<aminechikhaoui> but donnow how it's complaining about it being not defined
<{^_^}> [nixpkgs] @dtzWill opened pull request #51125 → gmime3: 3.2.1 -> 3.2.3 → https://git.io/fpgO4
<yl[m]> gchristensen: not when you have to drive somewhere to restart the machine :) I really gotta find a way to reset via serial console
<bbarker_home> (I'll add that most of these VMs were using mutable passwords, so that doesn't seem to be the issue)
<gchristensen> yl[m]: get you a PDU! :)
<yl[m]> gchristensen: do you have a recommendation for one? I haven't ever worked with one so not sure what to expect
<gchristensen> I would recommend bugging andi- for a recommendation
<yl[m]> andi-: recommendation for a PDU? ^^ :)
fendor has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @magnetophon opened pull request #51127 → avldrums.lv2: 0.3.0 -> 0.3.1 → https://git.io/fpgO1
<yl[m]> I have a custom built switch controlled via USB. I forgot the USB sequence for it though :( I'll have to find the arduino code and put it back to use
<yl[m]> s/switch/outlet/
erictapen has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51114 → gist: 4.6.2 -> 5.0.0, simplify → https://git.io/fpzha
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fpgOx
<gchristensen> anything you can toggle from home and can handle the watts will do the business
<{^_^}> [nixpkgs] @magnetophon opened pull request #51128 → dragonfly-reverb: 0.9.4 -> 1.0.0 → https://git.io/fpg3J
<gchristensen> no specific need to get fancy and high-dollar :)
<ldlework> I'm Vincent Adultman and I do the business.
<gchristensen> oh yeah? where is your business factory o_o
<ldlework> At the stock market.
markus1189 has quit [Ping timeout: 268 seconds]
<ldlework> brb i have to call the guy at the office to take the car to the place
<gchristensen> haha
c0bw3b_ has joined #nixos
<{^_^}> [nixpkgs] @magnetophon opened pull request #51129 → avldrums.lv2: 0.3.0 -> 0.3.1 → https://git.io/fpg3z
Ariakenom has joined #nixos
<makefu> i am having some issues with installing nix via intercepting proxy and the curl |sh method. i have set NIX_SSL_CERT_FILE and SSL_CERT_FILE , curl is working and i have in mind that at some point it worked before. anybody can check this in their "enterprise" environment? (ping gchristensen :)
<gchristensen> host os?
<c0bw3b_> (oooh just noticed coretemp got ban today! good! I won't have to read unconstructive obnoxious comments anymore \o/ )
ThatDocsLady has quit [Remote host closed the connection]
Thra11 has joined #nixos
<makefu> centos7
<gchristensen> can you sare logs?
<makefu> sure, what do you want to look at? nix-channel --update is the thing failing with error 60 (Peer certificate cannot be authenticated with given CA certificates)
<hodapp> coretemp whaa?
<makefu> gchristensen: probably means that if i can get nix-channel running the installation should be completed.
<gchristensen> yikes :?
<gchristensen> nix-channel is a bit frustrating to debug iirc
<{^_^}> [nixpkgs] @magnetophon closed pull request #51129 → avldrums.lv2: 0.3.0 -> 0.3.1 → https://git.io/fpg3z
<makefu> strace does not help much, not many files get opened
<{^_^}> [nixpkgs] @magnetophon opened pull request #51130 → x42-plugins: 20180812 -> 20181103 → https://git.io/fpgs4
<gchristensen> does the cert get opened? :)
<makefu> nope, nothing. for some reason it opens /nix/store/openssl/etc/ssl/openssl.cnf
<gchristensen> hmm
<makefu> also it opens nix.conf, but this does not seem to be having any options to configure the cert path
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<makefu> strace -f helped
markus1189 has joined #nixos
cyounkins has joined #nixos
<makefu> oh oh, i think i remember, there was something about the curl version of nix and the one installed ...
cyounkin_ has joined #nixos
<c0bw3b_> Oh and GitHub _finally_ added an option to watch a repo only for new release! glorious day
<gchristensen> it sounds like for some reason, NIX_SSL_CERT_FILE isn't propagated to the nix-channel step? not sure :/?
renais has quit [Remote host closed the connection]
* makefu is crossing fingers
<makefu> damn, that was not it :\
cyounkins has quit [Ping timeout: 250 seconds]
<makefu> HA! managed to get nix-channel working with my certificate, now lets see why it does not get propagated
<gchristensen> nice!
astronavt has quit [Ping timeout: 246 seconds]
graphene has quit [Remote host closed the connection]
mmlb has joined #nixos
jperras has joined #nixos
graphene has joined #nixos
<makefu> gchristensen: sheesh, i actually found it. the installer sources $nix/etc/profile.d/nix.sh which has its very own "what will be the correct NIX_SSL_CERT_FILE" logic which then in turn defaults to the system default
<gchristensen> :/ I thought it handled the case ok?
<makefu> if your system default ssl file contains the correct certs (which will be the intercepting proxy certificate instead of the root cert of the intercepting proxy) then it will work
<makefu> however it seems like the new curl version is more picky about the certificates
mmlb has quit [Ping timeout: 246 seconds]
<makefu> which results in libcurl does not work in the nix-channel but when i run curl locally it does
shoogz has quit [Ping timeout: 264 seconds]
<makefu> if you want to set your own NIX_SSL_CERT_FILE for the installer, then the variable will always be overwritten by the profile source
<Izorkin> рщц ещ туув ещ цщкл jemalloc?
<Izorkin> *how to need to work jemalloc?
cyounkin_ has quit [Remote host closed the connection]
cyounkins has joined #nixos
sigmundv_ has joined #nixos
cosarara has joined #nixos
metastance has quit [Quit: WeeChat 2.3]
Myrl-saki has quit [Quit: WeeChat 1.6]
metastance has joined #nixos
<cosarara> hi there, I tried installing nix on a proot on arch linux and I got this error https://ptpb.pw/fGO7 (is this the right channel for this kind of problems?)
Myrl-saki has joined #nixos
metastance has quit [Client Quit]
<{^_^}> [cabal2nix] @peti pushed to master « pandoc: add post-process hook to move the man pages into the right location »: https://git.io/fpgc9
metastance has joined #nixos
<tilpner> Hi cosarara! Yes, it's the right channel. I assume you don't have root privileges on that machine?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpgcp
<{^_^}> [nixpkgs] @Mic92 merged pull request #51116 → radare2: 3.0.1 -> 3.1.0 → https://git.io/fpzjY
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpgCJ
<cosarara> tilpner: I do have root privileges, I just felt like installing it on home as non-root
<gchristensen> cosarara: you can install it as non-root if you first simply `sudo mkdir /nix`
<tilpner> I got Nix-on-proot to work once, but it felt brittle and wasn't that fun
<cosarara> oh I see
<cosarara> then I'll just do that
<tilpner> If you can get the userns or single-user installation method to work, I suggest preferring those
hotfuzz has joined #nixos
pxc has joined #nixos
<pxc> is anyone here running NixOS on the Gemini PDA?
<pxc> I just got one and I'm thinking about trying it
<Mic92> If nix-daemon could run without root, than a non-root installation with nix-user-chroot + build sandbox would be possible.
<Mic92> atm. nix cannot use the sandbox insize nix-user-chroot. I think mountnamespace nesting is not allowed for unprivileged users.
vaibhavsagar has quit [Remote host closed the connection]
bennofs[m] has quit [Remote host closed the connection]
roberth has quit [Read error: Connection reset by peer]
cornu has quit [Remote host closed the connection]
ptotter[m] has quit [Read error: Connection reset by peer]
icetan has quit [Read error: Connection reset by peer]
Purple-mx has quit [Read error: Connection reset by peer]
rnhmjoj has quit [Remote host closed the connection]
dtz has quit [Remote host closed the connection]
clacke[m] has quit [Remote host closed the connection]
leons has quit [Read error: Connection reset by peer]
Ralith has quit [Write error: Connection reset by peer]
stammon has quit [Remote host closed the connection]
nyanloutre[m] has quit [Read error: Connection reset by peer]
yangm97 has quit [Read error: Connection reset by peer]
florianjacob has quit [Remote host closed the connection]
rycee has quit [Read error: Connection reset by peer]
schmittlauch[m] has quit [Read error: Connection reset by peer]
sphalerit has quit [Write error: Connection reset by peer]
WilliamHamilton[ has quit [Write error: Connection reset by peer]
timclassic has quit [Remote host closed the connection]
yegortimoshenko has quit [Remote host closed the connection]
fgaz has quit [Write error: Connection reset by peer]
irdr has quit [Max SendQ exceeded]
timokau[m] has quit [Read error: Connection reset by peer]
ejpcmac has quit [Write error: Connection reset by peer]
thefloweringash has quit [Remote host closed the connection]
tokudan[m] has quit [Read error: Connection reset by peer]
bachp has quit [Read error: Connection reset by peer]
Ericson2314 has quit [Read error: Connection reset by peer]
<Mic92> s/insize/inside/
ysndr_ has quit [Remote host closed the connection]
simbergm has quit [Remote host closed the connection]
MarkOtaris has quit [Read error: Connection reset by peer]
kaychaks[m] has quit [Remote host closed the connection]
koschei[m] has quit [Read error: Connection reset by peer]
<clever> we got matrix'd again!
mconstant has joined #nixos
<c0bw3b_> woah!
<mconstant> hi, trying to configure wireless
<gchristensen> clever: huh?
<clever> gchristensen: ~40 matrix.org users disconnecting en-mass
<clever> filled the entire screen
<gchristensen> oh hehe
cosarara has left #nixos ["it worked, see you!"]
<Mic92> matrix bridge to irc was actually kind of cool featurewise, but had too many bugs unfortunally.
noffle has left #nixos ["WeeChat 1.9-dev"]
irdr has joined #nixos
<gchristensen> gotta make that persistence layer as thin, resilient, and stupid as possible
<clever> gchristensen: like {^_^} ?
<mconstant> how do I know if I can use wpa_supplicant?
<mconstant> and is there a way to do it in configuration.nix
<clever> mconstant: have you set wireless.enable in configuration.nix?
simendsjo has joined #nixos
<gchristensen> clever: yeah ;)
[Leary] has joined #nixos
<gchristensen> though probably better to use erlang
<mconstant> clever: i suspect it is enabled... I'll check the imported file
Lears has quit [Ping timeout: 246 seconds]
<Mic92> Has someone else on unstable + kde experienced plasmashell + kwin_x11 running at 100% CPU after connecting/disconnecting from the external display?
<mconstant> can I see from a nix repl
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
<clever> mconstant: there is the nixos-option command as well
<clever> [root@system76:~]# nixos-option networking.wireless.enable
<{^_^}> [nixpkgs] @nlewo merged pull request #51069 → kustomize: 1.0.9 -> 1.0.10 → https://git.io/fpugw
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fpgWy
rihardsk has quit [Quit: rihardsk]
rihardsk has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.18.0 -> 1.18.1 »: https://git.io/fpgWA
<tilpner> Here's a riddle for you, #nixos
<tilpner> I have an instantiated nixpkgs, and I want to reimport it with modified arguments
freeman42x]NixOS has joined #nixos
<mconstant> clever: is there a way to check if it is already enabled?
<tilpner> This is useful to e.g. change the localSystem of pkgs. But if I do import pkgs.path { ... } I lose the previous arguments passed to pkgs, like e.g. overlays
<clever> [root@system76:~]# ls -l /etc/systemd/system/wpa_supplicant.service
<clever> mconstant: this file will exist if its enabled
simendsjo has quit [Quit: ERC (IRC client for Emacs 26.1)]
<mconstant> clever: yes the file is there
<clever> mconstant: then you want to move on to creating a /etc/wpa_supplicant.conf using wpa_passphrase
<clever> and restart the systemd service when the file is updated
<mconstant> yes
<mconstant> looking through docs
<tilpner> How do I cleanly change the localSystem of a nixpkgs set, while keeping overlays, without writing my own version of nixpkgsFun as a wrapper around <nixpkgs>?
<clever> wpa_passphrase netname password >> /etc/wpa_supplicant.conf && systemctl restart wpa_supplicant.service
<mconstant> clever: thx
Radivarig has joined #nixos
<mconstant> clever: that is great. is there a way to write current config to configuration.nix automatically?
florianjacob has joined #nixos
simendsjo has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #51135 → python37Packages.docutils: fix on darwin → https://git.io/fpglK
<clever> mconstant: check networking.wireless.networks in the nixos docs (man configuration.nix, or https://nixos.org/nixos/options.html or some 3rd option)
<mconstant> thx
<clever> but then your password is world-readable in /nix/store/
<mconstant> yeah will decide against that one
<mconstant> thanks that is super memorable as a one liner
<{^_^}> #51134 (by eburimu, 21 minutes ago, open): spidermonkey_52 doesn't cross compile
<clever> mconstant: i just copy the wpa_supplicant.conf between laptops when doing a new install
<clever> mconstant: then it automagically knows every wifi i have visited before
<mconstant> sounds good
<mconstant> raspberry pi zero w s
<mconstant> let's see what they can do
<{^_^}> [nixpkgs] @domenkozar pushed to master « postgresql: Enable systemd integration for 9.6+ »: https://git.io/fpg8U
<gchristensen> ooh nice domenkozar
<{^_^}> [cabal2nix] @peti pushed to master « pandoc: recent versions succeed their test suite on NixOS »: https://git.io/fpg8O
<domenkozar> I finally got frustrated enough to fix this :)
<{^_^}> [nixpkgs] @dywedir opened pull request #51136 → rustup: 1.13.0 -> 1.15.0 → https://git.io/fpg8r
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fpg8o
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpg8d
<{^_^}> [nixpkgs] @domenkozar opened pull request #51137 → (18.09) postgresql: Enable systemd integration for 9.6+ → https://git.io/fpg4m
<{^_^}> [nixpkgs] @veprbl closed pull request #51135 → python37Packages.docutils: fix on darwin → https://git.io/fpglK
<catern> is there a way to nix-env --install an expression?
<clever> catern: nix-env -E 'foo' -i
<v0|d> systemctl add-wants kozard postgresql
nika has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to master « postgresql: conditionalize systemd (on darwin) »: https://git.io/fpgBq
<{^_^}> [nixops] @jslight90 opened pull request #1057 → deployment keys: disable service if no key destinations are in /run/ → https://git.io/fpgBm
bachp has joined #nixos
fgaz has joined #nixos
bennofs[m] has joined #nixos
cornu has joined #nixos
clacke[m] has joined #nixos
simbergm has joined #nixos
Purple-mx has joined #nixos
leons has joined #nixos
dtz has joined #nixos
Ericson2314 has joined #nixos
ejpcmac has joined #nixos
nyanloutre[m] has joined #nixos
koschei[m] has joined #nixos
MarkOtaris has joined #nixos
ptotter[m] has joined #nixos
schmittlauch[m] has joined #nixos
Ralith has joined #nixos
timclassic has joined #nixos
icetan has joined #nixos
thefloweringash has joined #nixos
kaychaks[m] has joined #nixos
stammon has joined #nixos
vaibhavsagar has joined #nixos
timokau[m] has joined #nixos
sphalerit has joined #nixos
tokudan[m] has joined #nixos
yangm97 has joined #nixos
roberth has joined #nixos
yegortimoshenko has joined #nixos
ysndr_ has joined #nixos
rycee has joined #nixos
rnhmjoj has joined #nixos
<{^_^}> [cabal2nix] @peti pushed to master « pandoc-citeproc: update ticket URL for the test suite failure »: https://git.io/fpgBC
mconstant has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fpgBV
<{^_^}> [nixpkgs] @c0bw3b pushed to master « renoise: needs only mpg123 library »: https://git.io/fpgBD
nika has quit [Ping timeout: 246 seconds]
nika has joined #nixos
<fusion809> Is it possible to run a NixOS stable system (i.e. version 18.09 atm), but with the nixpkg-unstable channel used for user-installed packages?
<ryantm> fusion809: Yes!
<makefu> ,unstable fusion809
<fusion809> Thanks, mate!
<makefu> also, every user manages its own channels
<makefu> so you can (as a user) simply change your own channel using nix-channel
<fusion809> Great, I use SageMath from time to time and it's not available in the stable channel (yet), but it is in nixpkgs-unstable.
<{^_^}> [nixpkgs] @dtzWill opened pull request #51138 → pdns-recursor: 4.1.7 -> 4.1.8 (security) → https://git.io/fpgRG
<makefu> yeah, i think the faq entry will help you with that
fgaz has quit [Read error: Connection reset by peer]
thefloweringash has quit [Read error: Connection reset by peer]
yangm97 has quit [Read error: Connection reset by peer]
ptotter[m] has quit [Read error: Connection reset by peer]
simbergm has quit [Read error: Connection reset by peer]
timclassic has quit [Read error: Connection reset by peer]
timokau[m] has quit [Remote host closed the connection]
Purple-mx has quit [Read error: Connection reset by peer]
clacke[m] has quit [Read error: Connection reset by peer]
rycee has quit [Read error: Connection reset by peer]
stammon has quit [Read error: Connection reset by peer]
ysndr_ has quit [Remote host closed the connection]
bennofs[m] has quit [Remote host closed the connection]
leons has quit [Read error: Connection reset by peer]
rnhmjoj has quit [Read error: Connection reset by peer]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ejpcmac has quit [Remote host closed the connection]
bachp has quit [Write error: Connection reset by peer]
MarkOtaris has quit [Remote host closed the connection]
icetan has quit [Read error: Connection reset by peer]
schmittlauch[m] has quit [Read error: Connection reset by peer]
koschei[m] has quit [Remote host closed the connection]
nyanloutre[m] has quit [Remote host closed the connection]
vaibhavsagar has quit [Remote host closed the connection]
kaychaks[m] has quit [Remote host closed the connection]
florianjacob has quit [Remote host closed the connection]
cornu has quit [Remote host closed the connection]
tokudan[m] has quit [Read error: Connection reset by peer]
roberth has quit [Read error: Connection reset by peer]
Ralith has quit [Read error: Connection reset by peer]
sphalerit has quit [Read error: Connection reset by peer]
dtz has quit [Remote host closed the connection]
yegortimoshenko has quit [Write error: Connection reset by peer]
Ericson2314 has quit [Read error: Connection reset by peer]
irdr has quit [Max SendQ exceeded]
irdr has joined #nixos
ivegotasthma has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @alyssais opened pull request #51139 → nginxMainline: 1.15.6 -> 1.15.7 → https://git.io/fpg0L
ivegotasthma has joined #nixos
Lisanna has quit [Remote host closed the connection]
florianjacob has joined #nixos
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @costrouc opened pull request #51140 → pythonPackages.sure: 1.2.24 -> 1.4.11 → https://git.io/fpgE0
c0bw3b_ has quit [Remote host closed the connection]
joehh has joined #nixos
<Mic92> is there a way to search tests?
<Mic92> I mean with nix-env
c0bw3b_ has joined #nixos
nikka has joined #nixos
fgaz has joined #nixos
cornu has joined #nixos
bennofs[m] has joined #nixos
Purple-mx has joined #nixos
Ericson2314 has joined #nixos
bachp has joined #nixos
koschei[m] has joined #nixos
nyanloutre[m] has joined #nixos
clacke[m] has joined #nixos
leons has joined #nixos
dtz has joined #nixos
ejpcmac has joined #nixos
simbergm has joined #nixos
MarkOtaris has joined #nixos
kaychaks[m] has joined #nixos
schmittlauch[m] has joined #nixos
timclassic has joined #nixos
icetan has joined #nixos
tokudan[m] has joined #nixos
Ralith has joined #nixos
thefloweringash has joined #nixos
ptotter[m] has joined #nixos
sphalerit has joined #nixos
timokau[m] has joined #nixos
stammon has joined #nixos
roberth has joined #nixos
vaibhavsagar has joined #nixos
yegortimoshenko has joined #nixos
yangm97 has joined #nixos
rnhmjoj has joined #nixos
ysndr_ has joined #nixos
rycee has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #51142 → postgresql: disable parallel building on Darwin → https://git.io/fpgzR
nika has quit [Ping timeout: 250 seconds]
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « hyperrogue: 10.4j -> 10.5a »: https://git.io/fpgzQ
<tilpner> Hey sphalerite, you're the only google result for "error: writing to file: Connection reset by peer"
<gchristensen> wow, sorry to hear that sphalerite
<joehh> anyone finding that the sha256 sums at https://www.cs.helsinki.fi/u/tmtynkky/nixos-arm/installer/ do not match?
<joehh> I'm getting a sha256 of 9f96a8541c5a21e80ff6ef4f640627068d17a23bd6cf1ecc6ed92ed634ed733e instead of the expected 25492de7aaff2fd4f41670e19b3a99b600a5a197af50e0ff55f71fb561ce98ab
<joehh> have donwloaded it twice and still the same result
orivej has quit [Ping timeout: 250 seconds]
dbmikus__ has quit [Ping timeout: 250 seconds]
perique has joined #nixos
dbmikus has joined #nixos
<qyliss^work> I got 9f96a8541c5a21e80ff6ef4f640627068d17a23bd6cf1ecc6ed92ed634ed733e too
<joehh> is this an oversight? or something else?
<qyliss^work> It looks like that file has been updated since the checksums were published
<joehh> true - same day, just later
<samueldr> it could be corrupted, another user reported having issues with the FAT32 partition, and I, too, had issues with its FAT32 partition
<qyliss^work> wouldn't explain the update without updating the checksums though
<samueldr> (unless what caused the corruption caused that mtime update)
<qyliss^work> oh true
<joehh> hmm - it wouldn't boot for me last night - though I had other stuff to blame...
<samueldr> joehh: which board?
<joehh> pi3b
<joehh> got stuck at rainbow screen, though whole process was managed by colleague with limited familiarity using windows, so repeating myself this morning
<samueldr> right, unless the image was further corrupted or changed, that one has been booted by the other user, and myself, on the 3b
<samueldr> joehh: I still had a copy around, I am getting the same hash as you are
<samueldr> (in this thread: we discover I did not check the sha256sum of the image)
<joehh> though I guess that image with that hash works for you on a pi3x
<gchristensen> samueldr: you're trusting :)
<samueldr> gchristensen: my only flaw
<samueldr> not the one I used for the pi 3b, it has been downloaded on nov 17th here, so if there was further changes during the time, it was from before the 17th
<ldlework> Is there a nice guide for using Steam on NixOS
<qyliss^work> On the wiki IIRC
<ldlework> cool
<joehh> samueldr: which did you use for the 3b?
<samueldr> probably the same, but I can't verify
pie__ has joined #nixos
<samueldr> I mean, it was the same image, originally, from after the september 13th date, but I don't have the file around anymore, and it was installed before november 17th
<{^_^}> [nixpkgs] @aanderse opened pull request #51143 → spdlog: 0.14.0 -> 0.17.0 & 1.1.0 -> 1.2.1 → https://git.io/fpgas
<makefu> gchristensen: fyi, i've opened an issue for the NIX_SSL_CERT_FILE https://github.com/NixOS/nix/issues/2558
<{^_^}> nix#2558 (by makefu, 48 seconds ago, open): `curl https://nixos.org/nix/install | sh` ignores nix NIX_SSL_CERT_FILE
<joehh> samueldr: thanks :)
<ldlework> qyliss^work++
<{^_^}> qyliss^work's karma got increased to 1
<qyliss^work> aww yeah
<qyliss^work> finally in the positives
<gchristensen> qyliss^work++
<{^_^}> qyliss^work's karma got increased to 2
<qyliss^work> wow
<qyliss^work> from 0 to -1 to 2 all in a day
arjen-jonathan has joined #nixos
<timclassic> I built my own aarch64 image recently and also had problems with the FAT32 partition. I was able to reformat the partition and nixos-switch replaced all the files, and all was well.
endformationage has quit [Ping timeout: 250 seconds]
<makefu> timclassic: the right channel for you ist most likely #nixos-aarch64
* timclassic notes that it is likely he made a mistake though
<{^_^}> [nixpkgs] @zimbatm merged pull request #51113 → doc: tweak the coding conventions → https://git.io/fpzxt
<{^_^}> [nixpkgs] @zimbatm pushed to master « doc: tweak the coding conventions (#51113) »: https://git.io/fpgVS
<{^_^}> [nixpkgs] @eburimu opened pull request #51144 → fix reiserfsprogs cross compilation → https://git.io/fpgV7
<joehh> timclassic: when you reformatted, what files did you put back on?
<{^_^}> [nixpkgs] @eburimu opened pull request #51145 → fix jfsutils cross compilation → https://git.io/fpgVh
vk3wtf has quit [Ping timeout: 252 seconds]
<samueldr> timclassic: "built my own", nix-built or did you flash an existing image? (just making sure here)
<samueldr> if it's nix-built, it's concerning
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/fpgwO
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-18.03: https://git.io/fpgwn
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-18.09: https://git.io/fpgwW
<joehh> need to run - hopefully I can find logs of any further pi discussion a bit later
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51074 → mopidy-iris: 3.31.1 -> 3.31.2 → https://git.io/fpu61
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fpgw1
<timclassic> makefu: good to know, thanks
<bennofs[m]> The Helsinki ARM image is weird. The FAT on that image is broken, I recommend replacing /boot after install
<bennofs[m]> Also fsck.vfat repair /boot on that image destroys it completely
joehh has quit [Ping timeout: 246 seconds]
<timclassic> samueldr: nix-built, using sd-image.nix or something like that (I'll have to check my notes at home)
<gchristensen> y'all are gutsy, using a known-broken image like that.
<samueldr> gchristensen: it wasn't known-broken when I used it at first!
<bennofs[m]> Well it's FAT you usually suspect it's got broken by power cycling the pi
<samueldr> before another user mentioned it I thought for sure my SD card was going bad
epicmetal has joined #nixos
<timclassic> joehh: None, I just mkfs.vfat'ted and mounted, and let nixos-rebuild do the rest
<bennofs[m]> But I checked the image after I hit the same error twice after clean install
joehh has joined #nixos
<timclassic> (while the system was booted--my particular corruption did not hit the parts required for booting, or happened after booting)
<tilpner> samueldr - Using the module results in broken /boot as well, it's not a single image
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #51139 → nginxMainline: 1.15.6 -> 1.15.7 → https://git.io/fpg0L
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @alyssais to master « nginxMainline: 1.15.6 -> 1.15.7 »: https://git.io/fpgrC
<{^_^}> [nixpkgs] @lovek323 merged pull request #51108 → jetbrains-editors: 2018.2 -> 2018.3 → https://git.io/fpzXK
<{^_^}> [nixpkgs] @lovek323 pushed 2 commits to master: https://git.io/fpgrl
<timclassic> Treat my experience as a mere data point, not proof, since I was doing a lot of things and I may have fat-fingered something.
<samueldr> well, good news bad news, looks like there's still an unexplained sha256 mismatch, and it possibly isn't what's causing the fat32 issue :/
<samueldr> I'm assuming tilpner's note is from another experience
<bennofs[m]> Another way to repair it is to remove /boot/nixos, then fsck.vfat repair it and then rebuild
<tilpner> I built my own image with the make-sd-image module, and the fat partition did not survive a nixos-rebuild (corruption)
<tilpner> So it's not an issue with just that prebuilt image
<tilpner> I have since switched to a single ext4 partition layout, which works much better
<tilpner> (Not Pi though)
<{^_^}> [nixpkgs] @zimbatm opened pull request #51146 → bundix: 2.3.1 -> 2.4.0 → https://git.io/fpgrK
<timclassic> Benno Fünfstück: That's what I did, except I did a mkfs.vfat instead, and it seems stable since
<timclassic> I'll check again once I'm home
<samueldr> tilpner: thanks for the confirmation
<samueldr> I'm guessing there's no issue opened yet (by anyone)
<{^_^}> [nixpkgs] @lovek323 opened pull request #51147 → conky: init latest → https://git.io/fpgot
shabius_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « gradle: Add 5.0 »: https://git.io/fpgoY
simendsjo has quit [Ping timeout: 250 seconds]
shabius has joined #nixos
<bennofs[m]> Not by me. It appears that .. and . directory entries are missing for the -dtbs directory. Maybe something to do with using dots in file names (kernel version has dots, fsck.vfat -d didn't like that)
<{^_^}> [nixpkgs] @markuskowa pushed commit from @pvgoran to release-18.09 « gitea: include "options" directory in "data" output »: https://git.io/fpgoZ
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51070 → kube-prompt: 1.0.4 -> 1.0.5 → https://git.io/fpug5
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fpgon
Adluc has quit [Ping timeout: 252 seconds]
cyounkin_ has joined #nixos
aither has quit [Read error: Connection reset by peer]
fusion809 has quit [Remote host closed the connection]
octovod has quit [Ping timeout: 252 seconds]
srk has quit [Ping timeout: 268 seconds]
snajpa has quit [Quit: ZNC 1.7.1 - https://znc.in]
<__monty__> Should I have a ~/.nix-channels with a multi-user nix? If not, do I need sudo to nix-channel --update?
fresheyeball has joined #nixos
<fresheyeball> hey out there
<fresheyeball> I am running a quick experiment and need npm2nix
<fresheyeball> anyone having luck with this tool? I get info retry will retry, error on last attempt: Error: unable to get local issuer certificate
cyounkins has quit [Ping timeout: 250 seconds]
snajpa has joined #nixos
cyounkin_ has quit [Ping timeout: 250 seconds]
jbaum98 has joined #nixos
<jbaum98> i'm having issues with nix running out of memory. when i execute nix-shell -p "with import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz) {}; pkgs.anki" I get GC warnings. this doesn't happen if I do the same thing for a package like hello. any thoughts?
<qyliss^work> What version of Nix?
<jbaum98> nix (Nix) 2.1.3
<jbaum98> on linux
<qyliss^work> hmm. I'm aware of pre-2.1 memory issues, but those were fixed
<jbaum98> right, i saw those prs closed.
<qyliss^work> How much memory do you have?
<infinisil> jbaum98: What GC warnings?
<jbaum98> 8 gb, but this is running on linux within a vm on chrome os, so possible that it's more like 4gb
<jbaum98> available actually to the linux os
<qyliss^work> __monty__: what's in your NIX_PATH?
mmlb has joined #nixos
<jbaum98> nixpkgs=/home/jakewaksbaum/.nix-defexpr/channels/nixpkgs:nixpkgs=/home/jakewaksbaum/.nix-defexpr/channels/nixpkgs
<__monty__> qyliss^work: NIX_PATH=/nix/var/nix/profiles/per-user/root/channels
<jbaum98> oops sorry
<qyliss^work> Then it looks like you'll have to `sudo nix-channel --update`
<qyliss^work> Seems strange to me that that's the default, but as I said, I don't really get channels
<qyliss^work> And after you do that, bb should work :P
metastance has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51138 → pdns-recursor: 4.1.7 -> 4.1.8 (security) → https://git.io/fpgRG
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpg6e
<jbaum98> oh i figured it out, it has to do with an overlay i was using. what is the preferred way to use a specific package from an old version of nixpkgs?
<{^_^}> [nixpkgs] @markuskowa merged pull request #51128 → dragonfly-reverb: 0.9.4 -> 1.0.0 → https://git.io/fpg3J
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fpg6J
<qyliss^work> The way you were doing, I think!
<__monty__> qyliss^work: sudo nix-channel --update doesn't seem to update anything.
<qyliss^work> how strange
<v0|d> Mic92: ~60 drv's left before I get a rootfs.
<qyliss^work> maybe you just don't have any channels at all?
<qyliss^work> you're not the first person I've seen this happen to on Darwin
<Mic92> I also don't use channel.
<qyliss^work> I'm not sure who would know about the Darwin installer that we could ask...
<Mic92> git blame would give the answer
<qyliss^work> gchristensen: is the Darwin installer supposed to add a channel?
<qyliss^work> looks like you wrote most of it...
<gchristensen> yes, to the root profile
<gchristensen> the multi-user one, anyway
<qyliss^work> doesn't look like it's doing it?
mmlb has quit [Read error: Connection reset by peer]
<qyliss^work> I've seen multiple instances now where it appears to have installed a copy of nixpkgs, but there's no channel, so it can't ever be updated.
nikka has quit [Quit: Konversation terminated!]
<gchristensen> how are you checking?
mmlb has joined #nixos
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @c0bw3b opened pull request #51148 → pdns-recursor: 4.1.7 -> 4.1.8 (security) → https://git.io/fpg6a
<__monty__> gchristensen: (sudo) nix-channel --list doesn't list anything.
* gchristensen scrounges for a mac to borrow
<jbaum98> how do you use a specific package from an old version of nixpkgs, but permanently ie in your config. do you use an overlay? if so how? even though nix-shell -p "with import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz) {}; pkgs.anki" works fine, adding an overlay with self: super: {}
<jbaum98> {
<jbaum98> }
<jbaum98> gives me the out of memory errors
<jbaum98> anki = with import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz) {}; pkgs.anki;
ottidmes has quit [Quit: WeeChat 2.2]
arjen-jonathan has quit [Ping timeout: 252 seconds]
<gchristensen> if you do `nix-shell -p nix-info --run nix-info` what do you get, __monty__?
fusion809 has joined #nixos
<Mic92> jbaum98: would `environment.systemPackages = [((import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz) {}).anki)];` work?
<fusion809> Hi, I installed sudo by specifying it as a system package in /etc/nixos/configuration.nix, but whenever I use it I get the error: "sudo: /run/current-system/sw/bin/sudo must be owned by uid 0 and have the setuid bit set". I haven't manually changed the perms there, is this meant to be the case or?
<jbaum98> Mic92: that goes in ~/.config/nixpkgs/config.nix? i'm not on nixos
nekroze has joined #nixos
<__monty__> gchristensen: http://ix.io/1uEK
<gchristensen> yeah so root does have a channel, but sudo doesn't list it because it doesn't update HOME
<nekroze> can nixops using the libvirt backend change cpu architecture? I want to use nixops to develop and test an aarch64 machine before deploying to the hardware from my x86_64 machine.
<gchristensen> try `HOME=~root sudo nix-channel --list` or ...something...
<gchristensen> :/
<Mic92> fusion809: you only need users.extraUsers.<yourusername>.extraGroups = ["wheel"];
<__monty__> gchristensen: Nothing.
<Mic92> fusion809: security.sudo.enable should be true by default
<__monty__> This makes channel updating rather more complicated than I'd want tbh.
<gchristensen> no kidding
<gchristensen> what about sudo -i nix-chanell --list
<fusion809> Mic92: thanks, although one other thing, when I press "su" and type in my root password it says Authentication failure. I know I'm using the password as I keep using it to login as root in TTY2, TTY3, TTY4, etc.
<fusion809> Is this to be expected?
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/86d1ba34b42 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<Mic92> fusion809: no. this works for me with the root password.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51124 → vivaldi: 2.1.1337.47-1 -> 2.1.1337.51-1 → https://git.io/fpgtn
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpgi2
<Mic92> fusion809: do you have a different keyboard layout when you are using the su command?
Neo-- has joined #nixos
<__monty__> gchristensen: Nope : /
<gchristensen> well it doesn't matter, just add one to your user?
<fusion809> Not that I'm aware of. I haven't noticed any glitches in what appears as I type.
<fusion809> Oh and on the wheel group, I already had that in /etc/nixos/configuration.nix
<fusion809> I didn't have security.sudo.enable enabled
<__monty__> gchristensen: I added .nix-channels but it seems like nix still uses root's channel.
<Mic92> fusion809: it should be by default true: https://nixos.org/nixos/options.html#sudo.enable
rprije has joined #nixos
<Mic92> remove sudo again from systemPackages
<Mic92> there should be a /run/wrappers/bin/sudo
pi3r has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50927 → mutt/neomutt: work around S/MIME issues with `application/pgp-encrypted` → https://git.io/fpRvQ
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpgP8
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51148 → pdns-recursor: 4.1.7 -> 4.1.8 (security) → https://git.io/fpg6a
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to release-18.09: https://git.io/fpgPE
<{^_^}> [nixpkgs] @ryantm merged pull request #45274 → aravis: init at 0.5.13 → https://git.io/fNj1W
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fpgP2
<pi3r> elvishjerricco: not sure if it is the best time for a reminder but I have a try ;-) +1 for GHC 8.4.4 as the default compiler in nixos-18.09-stable. Thanks.
<elvishjerricco> pi3r: Oh I forgot!
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51103 → scss_lint: init at 0.57.1 → https://git.io/fpz8o
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpgPP
rprije has quit [Ping timeout: 250 seconds]
IRCsum has quit [Remote host closed the connection]
IRCsum has joined #nixos
endformationage has joined #nixos
<azazel> hey guys, I have some java application (to do digital signature) that comes with it's own java vm executable, obviusly linked to stuff in /usr/lib/..., where can I find documentation on how to deal with apps like that?
<joehh> samueldr: timclassic : https://github.com/NixOS/nixpkgs/issues/51149
<{^_^}> #51149 (by joehealy, 1 minute ago, open): aarch64 raspberry pi sha256 hashes do not match
<gchristensen> cc Dezgeg who operates that
<gchristensen> joehh: and maybe drop a note in #nixos-aarch64
<samueldr> though, I was thinking about an issue for the broken FAT32 (which is apparently unrelated to the sha256sum issue)
tathougies has joined #nixos
pxc has quit [Quit: WeeChat 2.3]
cyounkins has joined #nixos
<tathougies> More of a general linux question I guess, but is there a way to prevent execution of any file, unless its from the Nix store?
<tathougies> I guess this would have to be kernel level
<tilpner> tathougies - Mount partitions with noexec
<tathougies> tilpner: how strict is that guarantee?
joehh has quit [Ping timeout: 246 seconds]
<samueldr> #51150 for the FAT32 partition issues, anyone who had issues and wants to consolidate information
<{^_^}> https://github.com/NixOS/nixpkgs/issues/51150 (by samueldr, 44 seconds ago, open): [aarch64] The sd-image-aarch64 FAT32 partition is broken
<tathougies> i would like to make it so not even root can execute outside /nix/store?
<gchristensen> well root could remount the partition without noexec
<elvishjerricco> tathougies: You'll have some problems with that and setuid wrappers like sudo
<tilpner> tathougies - Say you have a script /home/foo/bar.sh
<gchristensen> what is your goal, tathougies? this seems a bit wacky
<tilpner> tathougies - You could no longer make that executable, so ~/bar.sh would not work. sh ~/bar.sh would though, if sh refers to a store executable
<mdash> gchristensen: lookin' for security in all the wrong places
<mdash> (like, a unix kernel)
<emily> linux offers no strict guarantees or assurances, sorry.
<tilpner> Actually, I might be wrong, check before you rely on that
<emily> your best bet is probably SELinux or something
<azazel> tathougies: you can probably create some kind of namespace where even root's processes running from it are not permitted to do mount actions
<tathougies> goal here is i'm using nixos as the basis to build an embedded device. By default, I'd like the device to only run trusted code
<gchristensen> oh neat
<{^_^}> [nixpkgs] @zimbatm merged pull request #51146 → bundix: 2.3.1 -> 2.4.0 → https://git.io/fpgrK
<{^_^}> [nixpkgs] @zimbatm pushed to master « bundix: 2.3.1 -> 2.4.0 (#51146) »: https://git.io/fpgXx
<tilpner> Yeah. AppArmor an early process would probably break everything, but that has a higher chance of covering everything too
<tathougies> i would offer advanced users the ability to turn this off, but since this device is all about data protection, I want it to be 'secure by default'
<mdash> tathougies: what hardware is this going to run on?
<gchristensen> one thing is it is easy to make a nix expr to add an arbitrary file to the nix store to be able to execute it
<tathougies> Currently an ODROID-XU4, an arm32 based computer
<mdash> tathougies: you may be better served by something more security oriented
<mdash> tathougies: mmm, ok
* mdash looks that up
<tilpner> gchristensen - Which would be fine if the daemon is off and /nix/store is root:root
<tilpner> Or root:nixbld
<azazel> tathougies: I'm thinking for example about how root in docker containers is limited
<v0|d> TPE-LKM
<azazel> v0|d: Trusted Path Execution is a security feature that denies users from executing
<azazel> programs that are not owned by root, or are writable
<azazel> mmmm how that helps?
<v0|d> elfs in store are ownd by root?
<tathougies> I plan on turning off the nix-daemon, because there will be no execution of arbitrary nix expressions on the device. The entire update is given by a nix store path and updates are fetched from a binary cache directly. Users can modify which caches are trusted, but my hydra instance will be on by default
jackdk has joined #nixos
<tathougies> TPE looks promising
<v0|d> tathougies: would you mind fxng btrfs-progs when you've got free time?
Adluc has joined #nixos
<tathougies> v0|d: yeah sure… i'll look into it tonight
<elvishjerricco> tathougies: This still leaves the issue that they can run arbitrary scripts with sh, right?
<v0|d> tathougies: thnx.
<gchristensen> elvishjerricco: an arbitrary script is comprised of nothing but already existing programs
<tathougies> elvishjerricco: yes, and with python, etc. One step at a time…
asymmetric has quit [Ping timeout: 268 seconds]
<elvishjerricco> gchristensen: Yea but anything you could do with a custom executable can probably be done with a bash script
<gchristensen> then no shell access should be granted
<jackdk> is there a document that describes the differences between the staging and master branches of nixpkgs?
<tathougies> gchristensen: My intutition says that's not possible with nix, given that many programs are wrapped
<{^_^}> [nixpkgs] @Infinisil merged pull request #51085 → containers: simplify env var definition → https://git.io/fpu7v
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fpg1r
<gchristensen> not no shell, no shell access -- ie: no ssh
<elvishjerricco> tathougies: I think he just meant you shouldn't provide terminal / ssh access
<tathougies> oh i see
<tathougies> yeah, no terminal / ssh access unless explicitly enabled
<gchristensen> if you don't want people running shell scripts, you shouldn't let them run shell at all, because there is no difference
pi3r has quit [Quit: Leaving]
__monty__ has quit [Quit: leaving]
<MasseR> wise words
pie_ has joined #nixos
pie__ has quit [Remote host closed the connection]
rprije has joined #nixos
<tathougies> there's no SSH / terminal access to the device (well, not in production at least). I mainly want a way of assuring that my updates to the kernel + system software are done in such a way that I can be somewhat sure that what's booted has been signed
rihardsk has quit [Quit: rihardsk]
c0bw3b_ has quit [Remote host closed the connection]
jackdk has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #51065 → nixos/sway-beta: pass arguments from wrapper to sway → https://git.io/fpuR7
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fpgM9
jackdk has joined #nixos
Thra11 has quit [Ping timeout: 268 seconds]
perique has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @markuskowa merged pull request #51127 → avldrums.lv2: 0.3.0 -> 0.3.1 → https://git.io/fpgO1
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fpgMh
<jackdk> to answer my own question: the purpose of nixpkgs branches is documented at https://nixos.org/nixpkgs/manual/#submitting-changes-staging-branch
<{^_^}> [nixpkgs] @Ekleog pushed 4 commits to master: https://git.io/fpgDU
pxc has joined #nixos
<{^_^}> [nixpkgs] @Ekleog closed pull request #50511 → php: Fix CVE-2018-17082 (nixos-unstable) → https://git.io/fpnxp
<gchristensen> ekleog: your pr merges look funny, how do you merge them?
lnikkila has quit [Quit: lnikkila]
<elvishjerricco> tathougies: You planning on running `nix verify --all` at boot time?
<{^_^}> [nixpkgs] @markuskowa merged pull request #51091 → php: 7.2.11 -> 7.2.12, 7.1.23 -> 7.1.24 (CVE-2018-17082) → https://git.io/fpzUh
jasongrossman has joined #nixos
hedning has joined #nixos
<{^_^}> [nixpkgs] @Ekleog closed pull request #50505 → php: Fix CVE-2018-17082 (release-18.09) → https://git.io/fpnxY
fusion809 has quit [Remote host closed the connection]
<ekleog> gchristensen: I merge locally with merge -S --log then push, so that it's merged with a signature on the merge commit
<gchristensen> gotcha
<gchristensen> it doesn't close PRs -- https://github.com/NixOS/nixpkgs/pull/51092
<{^_^}> #51092 (by delroth, 21 hours ago, open): [18.09] php: 7.2.10 -> 7.2.12, 7.1.22 -> 7.1.24 (CVE-2018-17082)
<ekleog> hopefully the work on git-wotr will eventually be complete and it'll be possible to sign after having merged through the github ui :)
<ryantm> Is there a way to get the `nixops deploy --build-only` build result, even if it doesn't need to build anything?
<ekleog> I haven't merged 18.09 yet :° and it closes PRs with a ~3min delay, I guess the time for github to notice the merge commit
<gchristensen> merges do get signed, of course, but by github :)
init_6 has joined #nixos
<gchristensen> oh git-notes, eck
<ekleog> heh, we're hesitating between using git-notes or just doing things ourselves on a custom ref
<ekleog> hmm wait it looks like this time github wrote that markuskowa merged the PR? o.O https://github.com/NixOS/nixpkgs/pull/51091#issuecomment-442251419 / https://github.com/NixOS/nixpkgs/commits/master
<gchristensen> yeahthat is a thing github does
<samueldr> :\
<gchristensen> they've told me it isn't a bug
<infinisil> ekleog: -1 on your way of merging. I'm very dependent on github knowing which PR the commit came from so I can get to it with a single click
<ekleog> … wait, did they find a logical explanation for it?
<gchristensen> I think if you you jst put "#nnnn" in the PR it'll satisfy infinisil
fusion809 has joined #nixos
<gchristensen> in the merge commit* and no, they didn't
<infinisil> Probably ^^ :3
dbmikus_ has joined #nixos
<gchristensen> but to github's support staff, near as I can tell, any bug is user error, including the time I accidentally got Lyft's private ops secrets repository when fetching my repository.
dbmikus has quit [Ping timeout: 250 seconds]
<azazel> gchristensen: what?! :-D
<infinisil> ekleog: Ah, the non-merge commits are still linked to the PR, so I'm taking back my complaint
<ekleog> oh nice, github ui not being broken is a good surprise :)
<fusion809> OK, I rebuilt, with this config: https://github.com/fusion809/NixOS-configs/blob/NixOS-18.09/configuration.nix I'm still getting that sudo/su issue (unable to sign in with su, despite having the root password; /run/current-system/sw/bin/sudo must be owned by uid 0 and have the setuid bit set). I rebuilt, I upgraded (nixos-rebuild switch --upgrade), tried adding and removing sudo from the systemPackages field, not sure what else
<fusion809> I'm meant to do...
<ekleog> gchristensen: \o/
<gchristensen> fusion809: what is the output of `which sudo` and `groups`
<fusion809> /run/current-system/sw/bin/sudo and users wheel audio networkmanager
<gchristensen> ok, so you still have sudo installed in systemPackages and it should not be
<fusion809> Tried removing that, still the same issue.
<gchristensen> paste the output from when you ran nixos-rebuild switch
<fusion809> I had to do that in a TTY terminal (to get root), plus I've rebooted since I last rebuilt, so I don't have that output.
<fusion809> I can rebuild.
<tathougies> elvishjerricco: what does that do?
<gchristensen> sure
<gchristensen> also run: nixos-option environment.systemPackages and paste the otput
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/db561c90ef3 (from 66 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<nekroze> Can nixops using the libvirt backend change cpu architecture? I want to use nixops to develop and test an aarch64 machine before deploying to the hardware from my x86_64 machine.
<elvishjerricco> tathougies: it checks that all the store paths match the expected hash in the Nix DB
<elvishjerricco> nekroze: i don't know, but that's an awesome idea
<{^_^}> [nixpkgs] @costrouc opened pull request #51151 → Adding xnd packages: libndtypes, ndtypes, libxnd, xnd, libgumath, gumath → https://git.io/fpgSZ
<tathougies> Doesn't nix do that when it downloads derivations?
<fusion809> Re-built (going back from including sudo in systemPackages, to what I had previously, no sudo) here's the output: https://pastebin.com/KHuTqJmQ. Your nixos-option command returns: https://pastebin.com/KjLrRsnx
<elvishjerricco> tathougies: Yea. But verify just makes sure they haven't been corrupted by the disk or some attack of some kind
<elvishjerricco> I.E. this is for later, not for download time
<fusion809> (Without that sudo revert it's a very boring output)
<gchristensen> "/nix/store/kqb1mmkmacysi9whzqjwqlmi3dqr5r5y-sudo-1.8.24" sudo is still clearly in there
<fusion809> Could it be that I haven't rebooted since the revert?
erasmas has quit [Quit: leaving]
<gchristensen> you don't need a reboot to install / uninstall software :/
<fusion809> Well this is what I now have as /etc/nixos/configuration.nix (not much change from last link, just missing the sudo) https://pastebin.com/0w6ARjBt. Not sure why it still appears.
<tathougies> The main boot volume is encrypted, but nix verify is not a bad idea i guess
<tathougies> can you just have it verify the closure of a particular path?
<elvishjerricco> tathougies: You can. By default it verifies the paths in the arguments. With -r it verifies their closures. --all verifies the whole store
lnikkila has joined #nixos
lnikkila has quit [Client Quit]
dbmikus_ has quit [Ping timeout: 268 seconds]
justanotheruser has joined #nixos
justan0theruser has joined #nixos
mayhewluke has quit [Ping timeout: 246 seconds]
<fusion809> Well I did switch my Rawhide partition over to NixOS because I thought it might be interesting, and it has, not always in a pleasant way though, esp. with this su/sudo issue.
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51140 → pythonPackages.sure: 1.2.24 -> 1.4.11 → https://git.io/fpgE0
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fpg9f
<gchristensen> fusion809: ls -l /run/*-system
justanotheruser has quit [Ping timeout: 240 seconds]
<gchristensen> fusion809: did you install nixos, then install sudo with systemPackages and then it broke?
<gchristensen> have you tried rolling back to the version before installing sudo, at the bootloader?
<fusion809> Nope, this issue has existed since the dawn of time on this system. (ls -l > https://pastebin.com/PS84MCaw)
jperras has quit [Ping timeout: 250 seconds]
jperras has joined #nixos
joehh has joined #nixos
illegalprime has quit [Remote host closed the connection]
nekroze has quit [Quit: Lost terminal]
<LnL> fusion809: can you run command -v sudo