sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<Matthieu_> I'm trying to install skypeforlinux, but I get this error : "error: cannot download skypeforlinux_8.32.0.44_amd64.deb from any mirror"
m0rphism has quit [Ping timeout: 258 seconds]
<Matthieu_> And actually, this file does not exists : https://repo.skype.com/deb/pool/main/s/skypeforlinux/
<Matthieu_> So, what should I do ? Should I report this issue somewhere ?
schjetne has joined #nixos
polman has quit [Ping timeout: 244 seconds]
mexisme_ has quit [Ping timeout: 245 seconds]
<PyroLagus> open an issue or make a pull request
schjetne has quit [Ping timeout: 245 seconds]
<Matthieu_> well, everything works fine, I think
<PyroLagus> hm?
<Matthieu_> This is related with the sfl version in the stable release
<Matthieu_> here, the version is 8.45.0.41
<Matthieu_> Which is available in the mirror.
<PyroLagus> ah
<Matthieu_> If the version is updated, then everything works well.
H55434 has quit [Ping timeout: 248 seconds]
polman has joined #nixos
<Matthieu_> I'm writing a mail to the maintainer (I'm not sure he'll be able to make something about this)
<zfnmxt> Does anyone have an inkling why `fc-list | grep gohufont` only turns up the 11 px font? The package should include both 11 and 14, but I update my system today (after a number of months...) and now the 14 px font is just gone. Here's the nix expression: https://github.com/NixOS/nixpkgs/blob/master/pkgs/data/fonts/gohufont/default.nix
<Matthieu_> Oh well
<tobiasBora> oh
slack1256 has joined #nixos
<tobiasBora> you mean that the stable channel does not work anymore?
<Matthieu_> I'm checking this
<Matthieu_> wait for a minute, please
<Matthieu_> ^^
jasongrossman has quit [Remote host closed the connection]
jasongrossman has joined #nixos
<Matthieu_> Yep, it works now…
<catern> is the nixos-lustrate process sufficiently weird that I should use AWS instead, if I'm fine with using AWS?
<Matthieu_> Sorry for the noise.
<Matthieu_> :(
<catern> (instead of using some other VPS provider)
slack1256 has quit [Remote host closed the connection]
judson has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
<samueldr> I guess you should try it and feel for it
<samueldr> once it's installed, I don't think there's any weirdness specific to having lustrated
<catern> I don't think I want to pay money to make two VMs just to try it?
<samueldr> I kinda assumed it was at a provider you already had a or some VPS, a couple hours to test would be relatively cheap
<samueldr> (most VPS services bill at the hour or even more granular)
<catern> Oh yeah
<catern> o brave new world, that has such hosting in it!
<jasongrossman> Good motto!
<jasongrossman> nixos-lustrate either works or it doesn't. I would definitely try it if I were you.
<jasongrossman> There's nothing at all weird about the system it leaves you with if it works.
<catern> OK, cool, good to know
<aanderse> why is it that when i add environment.SYSTEMD_LOG_LEVEL = "debug"; to my systemd service i get no debug output :(
<samueldr> most likely too late for systemd to see it?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjuN0
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62715 → Darwin GL Experiments → https://git.io/fjuwW
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fjuNE
<aanderse> samueldr: almost there on the wordpress module
<aanderse> been taking a large number of days because i'm only getting ~20 minutes a night to hack it :\
<samueldr> aanderse: try boot.initrd.postMountCommands = ''export SYSTEMD_LOG_LEVEL=debug''; if it has to happen before execing system
<samueldr> systemd*
<aanderse> samueldr: will do, thanks
<samueldr> aanderse: the mediawiki one is the interesting one for me :)
<aanderse> samueldr: wait no i'm trying to debug the mediawiki service
<aanderse> so...
<samueldr> aanderse: though looking at things, it might also need to be set in the right service for the right systemd component
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
<aanderse> ok
<samueldr> (I don't actually know what you want to debug, and when systemd uses SYSTEMD_LOG_LEVEL)
<aanderse> hmm
<aanderse> ps. what is the preferred pastebin in here?
<samueldr> systemd services start with a mostly empty environment, even if the system defines som
<samueldr> aanderse: whatever you feel fine
<aanderse> ha, i'm pretty sure someone was upset last time i used pastebin :P
<aanderse> ** pastebin.com
<samueldr> whatever :)
<samueldr> it's not *my* choice, but it works
<{^_^}> [nixpkgs] @matthewbauer merged pull request #60559 → patchShebangs: Allow multiple args → https://git.io/fjZ3c
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to staging: https://git.io/fjuNa
simon_weber has joined #nixos
<aanderse> samueldr: i assume your bash is better than mine, so mind taking a look? https://hastebin.com/oqafejiyut.bash
<aanderse> lines 11-13 being relevant
<simon_weber> would it be blasphemous for me to manage app servers through nixos, but deploy their code manually? or is this something of an accepted pattern?
<samueldr> known to be done
<simon_weber> in my case I feel like I'd have better control over the deployment process (ie running migrations and whatnot) that might be annoying to do inside nix packaging
<samueldr> and if you're not used to nixos, a good first step, at least the system is declarative and reproducible :)
<aanderse> simon_weber: i'm pretty sure a few people use tomcat module in nixos, but deploy code themselves
<aanderse> and as far as apacheHttpd goes i manage all virtual hosts via local config files debian style (ie. /etc/httpd/sites-enabled)
<aanderse> samueldr: so line 11-12 checks if the mediawiki database is installed and returns a 1 or 0 exit code
<samueldr> aanderse: anything particular to look for or you were just looking for [...]
<simon_weber> cool, I'm relieved to hear that's not a ridiculous thing to do, haha. I'm already reasonably confident in the app-specific side of things, but nixos already seems like a big improvement over my previous ansible setup
<samueldr> right
<aanderse> i use that value to conditionally check if i should run the install script (line 13+)
<aanderse> here is the helpful message systemd gives me: mediawiki-init.service: Main process exited, code=exited, status=1/FAILURE
<aanderse> -_-
<samueldr> the last command to run was a failure, 1, because the table exists?
<samueldr> that would be my 10s assumption
<samueldr> (false && true) # return value 1
<aanderse> if db is not installed it ran fine and installed db
<aanderse> if db installed it was crashy crashy on me
<aanderse> oh...
<aanderse> wait a sec
<aanderse> yeah i'm bad at bash
<aanderse> so...
<aanderse> if the install script never returns
<samueldr> in bash, `x && y` will return either success if x and y succeed, or the failure of the first one that fails
<aanderse> that means the last value in the script...
<aanderse> yeah
<aanderse> >_<
<samueldr> it's implicitely the last return value
<aanderse> sometimes you just need to talk things out, right :)
<aanderse> yup
<aanderse> ha silly me
<catern> simon_weber: depends on what you mean by "manually"; it's still very nice to package your code with nix, and I don't see a reason why you shouldn't do that; but deploying it with nixops or nixos is definitely not necessary. i myself don't use nixops or nixos :)
<aanderse> thanks
<samueldr> might want to set -e at the start, so it exits on first failure, and instead run a proper `if` rather than chaining with `&&`
<samueldr> the if will convey your meaning
<samueldr> or continue like that and ping me on the PR and I'll look at the bash more in details
<aanderse> samueldr: definitely pinging you for testing :)
<aanderse> did you have a specific db in mind?
<aanderse> i was nearly mamed in the mediawiki channel for mentioning a db other than mysql
<samueldr> I don't remember what the current wiki runs on
<aanderse> they said "no... don't do that. just use mysql."
<samueldr> hm?
<aanderse> apparently other db support for mediawiki is not good they say
<clever> aanderse: i once got banned from #debian for mentioning i was running ubuntu, lol
<aanderse> clever: lol
<samueldr> is it a channel with authoritative users or only end-users being kinda nooby together?
<aanderse> i'm being sarcastic, but they really emphasized i should either only support mysql or highly suggest to only use mysql
<clever> dont really remember, it was ages ago
<samueldr> aanderse: likely to be mysql, from looking at my notes
<samueldr> clever: the question was more for aanderse :)
<aanderse> one of the wikimedia foundation guys was helping me out
<aanderse> stellar guy
<samueldr> right
<aanderse> he walked me through everything i needed to know
<aanderse> anywho, samueldr you have an existing mediawiki instance you want to migrate to nixos or something?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c68b82c7795 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ris has quit [Ping timeout: 272 seconds]
<samueldr> aanderse: not exactly, but kind of
<samueldr> aanderse: the current nixos.wiki isn't declaratively configured, and in the past wanted to do handle doing it, but never really ended up doing it
o1lo01ol1o has quit [Remote host closed the connection]
<samueldr> it would greatly help in improving it by just sending PRs for the config
<samueldr> (I am not the one hosting it)
o1lo01ol1o has joined #nixos
<aanderse> ah
<aanderse> ok
ryantrinkle has quit [Ping timeout: 268 seconds]
<samueldr> the current iteration has declarative config up to the web server, but it a traditional php install like just previously asked "if anyone does that" :)
<aanderse> well at least it isn't using the httpd.extraSubservices mediawiki module
<aanderse> :)
<{^_^}> [nixpkgs] @jonringer opened pull request #62746 → pythonPackages.azure-cli-core: init at 2.0.66 → https://git.io/fjuNK
psy3497 has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #62717 → Luazip update → https://git.io/fjuov
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/fjuN6
zeta_0 has joined #nixos
mmlb has quit [Ping timeout: 272 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
Matthieu_ has quit [Ping timeout: 248 seconds]
Rusty1 has joined #nixos
ryantrinkle has joined #nixos
Matthieu_ has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
freeman42x has quit [Ping timeout: 258 seconds]
niksnut has joined #nixos
mexisme_ has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #62748 → nixos/mediawiki: init service to replace httpd subservice → https://git.io/fjuNN
pbb_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<aanderse> samueldr: *very* wip still, but it at least boots and gives you a workable wiki, just in case you're interested in checking out
<aanderse> maybe i'll have it cleaned up in a few more days... hopefully no more than a week
pbb has joined #nixos
<samueldr> great, will probably look at it more once it's more finalized
drakonis_ has joined #nixos
adamantium has joined #nixos
drakonis has joined #nixos
jluttine has quit [Ping timeout: 272 seconds]
Copenhagen_Bram has quit [Read error: Connection reset by peer]
justanotheruser has quit [Ping timeout: 272 seconds]
drakonis_ has quit [Ping timeout: 252 seconds]
o1lo01ol1o has joined #nixos
adamantium has quit [Remote host closed the connection]
jluttine has joined #nixos
mniip has joined #nixos
Copenhagen_Bram has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/b2ec3b6db2b (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
Matthieu_ has quit [Ping timeout: 252 seconds]
justanotheruser has joined #nixos
<o1lo01ol1o> i have some keys configured with deployment.keys that i'm able to pass to a hydra server and build machines in nixops. How can I configure the hydra evaluator to use one set of keys (to talk to github) and the hydra-queue-runner to use another (to talk to the build machines)?
<gchristensen> you can give the hydra-queue-runner user an ssh config
<o1lo01ol1o> gchristensen: can you point me to an example of that?
<gchristensen> ehh just like sticking one in hydra-queue-runner's ~/.ssh/config
<o1lo01ol1o> ah right
justan0theruser has joined #nixos
<o1lo01ol1o> is there a way to get the key from en environment variable? Since they're not actually on the disk, it'd be nice to keep them that way
<clever> i just run `ssh-keygen` with no args (and no passphrase) as the hydra-queue-runner user
<clever> and then give it read on the github repo
<gchristensen> you can use IdentityFile /run/keys/...
<clever> that should also work
<o1lo01ol1o> wait, which user sends the jobs to the build machines and which checks github?
<o1lo01ol1o> gchristensen: cool, what's that called so I can lookup the docs?
justanotheruser has quit [Ping timeout: 244 seconds]
<gchristensen> IdentityFile in `man 5 ssh_config`
<clever> o1lo01ol1o: hydra-queue-runner is the user that connects to build machines via ssh
<o1lo01ol1o> clever: ok, so if `hydra` has one set of keys to talk to github and hydra-queue-runner is pulling the nixops key to talk to the build machine, everything should be gravey
<o1lo01ol1o> gchristensen: ah right, I thought that was a nixops tag.
thomasd has joined #nixos
<thomasd> Hi all, I'm giving a talk tomorrow and I have never plugged an HDMI cable into my laptop running NixOS... am I going to have trouble tomorrow when I setup to present?
<jackdk> find a screen with hdmi in and find out. Don't be that guy who fights AV gear just before the talk starts
<thomasd> Don't worry, I have 2hrs at the venue before my talk to resolve any issues that crop up. I will be skipping the keynote if I need to. I was mainly asking just to know what to expect; if it's a "definitely" or a "maybe".
<jackdk> my laptop with nixos has never had trouble over its miniDP connection, that's all I know
<thomasd> NixOS is a lifestyle :'D
polman has quit [Ping timeout: 244 seconds]
<thomasd> Q: Will it work on the first try?
<thomasd> A: Probably not
ddellacosta has joined #nixos
drakonis1 has joined #nixos
polman has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
aanderse has joined #nixos
hedning_ has quit [Remote host closed the connection]
thomasd has quit [Quit: Page closed]
<samueldr> tbf, the question is more "will it work on Linux?"
<samueldr> and with hdmi, likely it will
<{^_^}> [nixpkgs] @xrelkd opened pull request #62750 → font-awesome: 5.8.2 -> 5.9.0 → https://git.io/fjuAu
jackdk has quit [Ping timeout: 252 seconds]
gyroninja has joined #nixos
<gyroninja> Hi, I'm having trouble with the order / refesh rate of my monitors
drakonis1 has quit [Quit: WeeChat 2.4]
<gyroninja> I tried setting services.xserver.xrandrHeads, but it didn't seem to work. Could using the nvidia driver be breaking this?
drakonis_ has joined #nixos
drakonis1 has joined #nixos
simon_weber has quit [Quit: Connection closed for inactivity]
drakonis has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/17ebcb4b196 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<Mateon1> Hi, I'm on nixos on the unstable channel and recently some things seem to have broken after an update, some tools like meld (graphical diff) and mousepad (xfce notepad) broke. The programs still sort of work, but it's impossible to toggle any configuration, like line wrapping, font or line numbers in either program
<Mateon1> If I start the programs with --disable-server so I can examine the stdout, they keep complaining about dconf
<Mateon1> (mousepad:75438): dconf-WARNING **: 04:41:31.985: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
<Mateon1> (I'm unsure if dconf is related to the config not working)
<Mateon1> I tried installing nixos.xfce.mousepad which is still mousepad-4.0 (instead of nixos.xfce4-13.mousepad - mousepad-4.1), but that immediately segfaults when I try to start it
<Mateon1> Sorry, got the version numbers wrong, mousepad-0.4.0 and mousepad-0.4.1 respectively
Ralith_ has quit [Remote host closed the connection]
Ralith_ has joined #nixos
<colemickens> "Will it work in NixOS?" => "how much Nix do you want to write today?"
<colemickens> (but I mean it in a good way... I think?)
H55434 has joined #nixos
H55434 has quit [Client Quit]
hiroshi- has joined #nixos
hiroshi- is now known as hiroshi
schjetne has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #62751 → Luazlib renamed to lua-zlib + update + move to generated → https://git.io/fjuAQ
<mjrosenb> can someone help me come up with a nix expr that will build two separate targets? I want two things to be visible inside of a nix-shell. (sorry, I ask this like once a week, and never have enough scrollback to see if anyone answered)
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<li_matrix> mjrosenb: do you mean two different target system?
<li_matrix> for cross compilation?
<li_matrix> or two derivations?
<mjrosenb> cross compilation I guess is a good analogy.
<li_matrix> cause 'target' is usually used to talk about target architecture in nix
<li_matrix> maybe you meant two derivations
<li_matrix> its not so clear
<mjrosenb> I have a project that I'm compiling with ghcjs, and I'd like to be able to use some emacs extensions that require all the libraries be build targeting x86
<li_matrix> check out 'buildEnv'
<mjrosenb> two different derivations would work.
<mjrosenb> I'm used to make terminology.
<li_matrix> ok so you want two derivations in a single expression, you can use the `buildEnv` function
<li_matrix> it'll put all your derivations in a single 'environment'
<li_matrix> thats now nixos and nixos containers are built
<li_matrix> theres a builtin function by that name, but you most probably want to use the nixpkgs function of the same name
<li_matrix> which will be `pkgs.buildEnv` if nixpkgs is imported as pkgs
<mjrosenb> I'll grep through my checkout for buildEnv.
buffet_ has joined #nixos
buffet has quit [Ping timeout: 246 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<li_matrix> pkgs/build-support/buildenv
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #62751 → Luazlib renamed to lua-zlib + update + move to generated → https://git.io/fjuAQ
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/fjuAb
drakonis1 has quit [Quit: WeeChat 2.4]
<mjrosenb> for whatever reason, I can not wrap my head around nixexprs. It feels like every time I look at a different .nix file, it is a different language. https://gist.github.com/mjrosenb/68166ebf630a6ac128f7234df158801f
<mjrosenb> that's my default.nix, and it works. I want to be able to run "nix-shell -A env", it also grabs the build dependencies for nixpkgs.haskell.packages.ghc.callCabal2nix "verify" ./. {}
<clever> mjrosenb: the .env is meant to be used with nix-shell, and cant be put into buildEnv
<clever> mixing 2 ghc's like that may be difficult
<clever> mjrosenb: have you thought of just doing most of the development on x86, and testing with ghcjs every now and then?
cantstanya has joined #nixos
<mjrosenb> it is a game, and I do all of my rendering by manipulating html/svg
<clever> ah
<clever> mjrosenb: why does emacs need the x86 version of things?
schjetne has quit [Ping timeout: 248 seconds]
<mjrosenb> I'm trying to get my old emacs/haskell environment set up, and it launches an inferior ghci process, runs imports, and tells me the types of expressions.
toppler`` has quit [Ping timeout: 258 seconds]
<clever> mjrosenb: does ghci work on ghcjs?
<mjrosenb> ghcjs: --interactive is not yet supported.
<clever> ah
<mjrosenb> at least that is what cabal new-repl tells me.
<clever> what about having one shell for ghcjs, and then another shell for x86+emacs ?
<mjrosenb> hrmm, I like being able to compile from within emacs, and have been doing that by just running emacs inside of my nix-shell that is configured for ghcjs.
<clever> yeah, i can see the trouble
<clever> let me try something...
dbmikus has joined #nixos
toppler`` has joined #nixos
<mjrosenb> so, the miso website and server are both built with nix in a single nixexpr
<clever> mjrosenb: but nix-shell cant take the shell for 2 things at once and merge it
<clever> thats just 2 derivations, that builds one, then the other
<mjrosenb> that's what I though. I also have almost no clue how nix-env works.
<mjrosenb> *thought
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7a35dcef0a3 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<clever> mjrosenb: nix-env works differently
alex`` has quit [Quit: WeeChat 2.4]
<clever> youll need to list the deps yourself on line 4
<mjrosenb> so, whatever magic this is using to pull deps out of the cabal file won't work?
<clever> mjrosenb: not easily
o1lo01ol1o has joined #nixos
<mjrosenb> I shall see how this goes.
<{^_^}> [nixpkgs] @kalbasit closed pull request #61097 → bazel: 0.24.0 -> 0.25.1 → https://git.io/fjcRt
o1lo01ol1o has quit [Ping timeout: 244 seconds]
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #nixos
<li_matrix> in my view nobody has yet developped a very good nix-based CI, which explains why nixos hasnt taken over debian. there are a few projects pursuing this from different direction and I have my own. I find that keeping an open mind and putting as much work as possible into nix is the right way to go. So maybe you can start rethinking your emacs testing flow, mjrosenb . That's the conclusion I came to, so Im looking at creating
<li_matrix> a different interface than nix's commands, by wrapping them at first.
<mjrosenb> well, the nix file that clever gave me is building now. I guess I'll find out how it worked sometime tomorrow.
<mjrosenb> I suspect I'll have to add the same doctest exclusion
<mjrosenb> or at least a similar one.
Glider_IRC_ has joined #nixos
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos
Glider_IRC__ has quit [Ping timeout: 248 seconds]
<mjrosenb> well, that failed... but it failed in building network, which I don't actually need, so, trying that again without.
mexisme_ has quit [Ping timeout: 245 seconds]
<clever> mjrosenb: was trying to think of something thats on both
orivej has joined #nixos
ddellacosta has quit [Ping timeout: 248 seconds]
emptyflask has joined #nixos
justan0theruser has quit [Ping timeout: 248 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
justanotheruser has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
mexisme_ has joined #nixos
endformationage has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #62752 → Fixes for x86_64-darwin failures on Hydra → https://git.io/fjuxG
palo1 has joined #nixos
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
mexisme_ has quit [Ping timeout: 248 seconds]
reinhardt has quit [Quit: Leaving]
jasongrossman has quit [Ping timeout: 248 seconds]
gyroninja has quit [Quit: WeeChat 2.4]
<gentauro> I'm looking to install `LaTex` on my NixOS box
<gentauro> if I want the `xelatex` for pandoc, should I go for the `texlive-combined-tetex-2018` package?
<gentauro> btw, why are these packages actually prefixed with a year?
jackdk has joined #nixos
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @thedavidmeister opened pull request #62753 → ledger-live-desktop: init at 1.9.1 → https://git.io/fjuxl
mexisme_ has quit [Ping timeout: 248 seconds]
sb0 has quit [Quit: Leaving]
gyroninja has joined #nixos
gyroninja has left #nixos [#nixos]
gyroninja has joined #nixos
<gyroninja> How can I install weechat with python support?
<gyroninja> I tried adding weechat = { pythonSupport = true; }; to my config.nix but when I do nix-env -i weechat again nothing changes
<gyroninja> am I missing something?
schjetne has joined #nixos
<{^_^}> [nixpkgs] @tbenst opened pull request #62754 → imagecodecs-lite: init at 2019.4.20 → https://git.io/fjuxE
<{^_^}> [nixpkgs] @tbenst opened pull request #62755 → Tifffile → https://git.io/fjuxu
<{^_^}> [nixpkgs] @teto opened pull request #62756 → Luaposix → https://git.io/fjux2
tbenst_ has joined #nixos
Copenhagen_Bram has quit [Read error: Connection reset by peer]
tbenst has quit [Read error: Connection reset by peer]
<etu> gyroninja: And unless you added that config (that in that form doesn't tell us much at all) to an overlay on your configuration, I wouldn't know what it does
<gyroninja> I don't seem to have the /python command though, maybe there's something else wrong
<etu> Which version of weechat did you get?
<etu> Or which channel are you on?
<gyroninja> It installed weechat 2.4
<gyroninja> I'm on unstable
<{^_^}> [nixpkgs] @lightbulbjim opened pull request #62757 → libblockdev: add gptfdisk as a dependency → https://git.io/fjuxV
<etu> gyroninja: Yeah, that should be fine then... I should check my weechat, just need to fetch a laptop (on the relay in my phone atm)
<gyroninja> thanks
<etu> I have the /python command
<etu> Maybe plugins needs to be enabled or something... It was such a long time ago I set up weechat
<{^_^}> [nixpkgs] @fuwa0529 closed pull request #62643 → altcoins.wownero: 0.5.0.2 -> 0.6.0.0 → https://git.io/fjuTv
pacman99 has joined #nixos
hyper_ch2 has joined #nixos
Copenhagen_Bram has joined #nixos
dbmikus has quit [Remote host closed the connection]
<mjrosenb> clever: as expected (sort of), doctest failed to build.
palo1 has joined #nixos
etbe has joined #nixos
palo has quit [Ping timeout: 248 seconds]
palo1 is now known as palo
<etbe> In coreutils there is a selinuxSupport option which defaults to "false", how do I setup a configuration.nix to make coreutils be built with selinuxSupport=true and have that be the coreutils for the entire system?
schjetne has quit [Ping timeout: 244 seconds]
<gyroninja> okay found something
<gyroninja> the python plugin IS in my nix store
<gyroninja> but in a different package than regular weechat
<{^_^}> [nixpkgs] @teto merged pull request #62756 → Luaposix → https://git.io/fjux2
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/fjuxN
zupo has joined #nixos
<gyroninja> I think I can figure out the rest myself (will just need to figure out how to autoload it)
<pacman99> etbe: in nixpkgs.config in your configuration.nix set coreutils.selinuxSupport=true
<ploupiboulba[m]> I've enabled the nvidia driver, how can I get nvidia-xconfig ? I've lost audo output too
nschoe has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #62758 → nixos/zoneminder: font files cannot be found → https://git.io/fjuxp
reinhardt has joined #nixos
erudition has quit [Ping timeout: 245 seconds]
alp has joined #nixos
linarcx has joined #nixos
schjetne has joined #nixos
<gyroninja> If I wanted weechat to use python 3 would I need to make my own package?
emptyflask has quit [Ping timeout: 252 seconds]
<gyroninja> actually I don't need python3, though a package I need for a plugin seems to be restricted to above python 3.3
<ar> weechat scripts now work with python3? last time i tried, while weechat itsefl compiled and seemed to work fine with py3, scripts didn't :(
<gyroninja> I don't know how to make it use python 3 on NixOS
schjetne has quit [Ping timeout: 248 seconds]
<gyroninja> I don't need it though, I had misremebered what I had compiled against on my previous system
<etbe> pacman99: sorry if I'm asking stupid questions, but I tried "nixpkgs.config = { coreutils.selinuxSupport = true; };" and it didn't change anything. Thanks for the suggestion but I'm a beginner at NixOS.
mighty_vee has quit [Ping timeout: 258 seconds]
wfranzini has joined #nixos
nschoe has quit [Ping timeout: 252 seconds]
<gyroninja> ah it seems like I have to patch my scripts so they can find there libraries
jackdk has quit [Ping timeout: 246 seconds]
Soo_Slow has joined #nixos
alp has quit [Ping timeout: 258 seconds]
<gyroninja> *their
Synthetica has joined #nixos
shabius has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #62759 → icr: do not wrap crystal so we can use one from the environment → https://git.io/fjupG
lopsided98 has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @dywedir merged pull request #62722 → cargo-bloat: 0.6.4 -> 0.7.0 → https://git.io/fjuix
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjupC
jasongrossman has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
jasongro` has joined #nixos
knupfer has joined #nixos
jasongrossman has quit [Ping timeout: 244 seconds]
etbe has quit [Quit: Konversation terminated!]
Matthieu_ has joined #nixos
<{^_^}> [nixpkgs] @tbenst closed pull request #62754 → imagecodecs-lite: init at 2019.4.20 → https://git.io/fjuxE
schjetne has joined #nixos
Tucky has joined #nixos
lopsided98 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thc202 has joined #nixos
niksnut has quit [Ping timeout: 245 seconds]
hmpffff has joined #nixos
<colemickens> How do I get gsettings without gnome?
niksnut has joined #nixos
kvda has joined #nixos
jasongro` has quit [Remote host closed the connection]
weedloser has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
<colemickens> I don't understand.
<colemickens> I use Wayland and GTK3 apps do the right thing, I don't think I have a use for xsettingsd personally.
<colemickens> although it is interesting you mention this, since I'm dealing with a issue that specifically deals with how GTK3 apps behave differently with regards to the mouse cursor because there isn't an xsettings daemon running.... but you're not in #sway where I mentioned that, so o_0.
<azazel> ah, i thought you were looking for a gsettings replacement when you haven't installed gnome
<colemickens> anyway, `glib` provides gsettings :)
<{^_^}> [nixpkgs] @teto merged pull request #62724 → vimPlugins: Update → https://git.io/fjuPR
<{^_^}> [nixpkgs] @teto pushed commit from @rvolosatovs to master « vimPlugins: Update »: https://git.io/fjupb
<azazel> i halted my Wayland/sway adoption because of how XWayland deals with HiDPI, which has yet to be decent
<colemickens> Yeah. I wish sway would work around it but I don't think they want ot invest around xwayland and I don't blame them, it seems majorly annoying
<{^_^}> [nixpkgs] @teto opened pull request #62760 → sile: leverage lua environments → https://git.io/fjupA
knupfer has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @globin merged pull request #60029 → nixos-container: allow setting custom local and host address → https://git.io/fj3ns
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjupx
kranium has joined #nixos
<jD91mZM2> Let's say I first enable `system.autoUpgrade.enable` (and rebuild my system), and then further change my configuration.nix without rebuilding. Which version would get rebuilt?
goibhniu1 has joined #nixos
gratto has quit [Read error: Connection reset by peer]
xok has joined #nixos
<{^_^}> [nixpkgs] @chreekat opened pull request #62761 → keychain: Add long description → https://git.io/fjuhe
gratto has joined #nixos
xok has quit [Client Quit]
zupo has joined #nixos
<lewo> Someone created a repository to quickly setup a development env for Hydra. But I'm not able to find it back:( Do you know what is the name of this repository?
orivej has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6cd4281c5e4 (from 87 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<colemickens> jD91mZM2: my hunch, from peaking at auto-upgrade.nix, is that it uses nixos-config from NIX_PATH
<jD91mZM2> colemickens: Right, thanks a lot! :) To clarify, that's by default /etc/nixos/configuration.nix, and will therefore indeed rebuild the *latest* changes?
nwspk has quit [Quit: nwspk]
<colemickens> that's my understanding
<azazel> jD91mZM2: at 04:40 of everyday?
<jD91mZM2> azazel: I suppose?
<{^_^}> [nixpkgs] @teto opened pull request #62762 → vis: leverage lua environments → https://git.io/fjuhL
schjetne has quit [Ping timeout: 246 seconds]
<azazel> I would be much more prone to enable such functionality if nixos had something like a "security updtates only" channel
<azazel> but maybe I'm too strict
<jD91mZM2> azazel: Isn't that basically the stable channels? They don't get all the latest versions
nwspk has joined #nixos
<azazel> jD91mZM2: usually they don't get new major releases advancement, but I don't know if there is some kind of an "agreed upon" (read "written down") policy about what goes on stable updates
<azazel> jD91mZM2: I any case, kernel doesn't get upgraded until the next system reboot, so it will get its security fixes applied only then
<jD91mZM2> azazel: I suppose you're right. I was about to just enable autoUpgrading for my nixops-managed server, but I just got tired of manually updating (or rather, forget to update) my normal system
<ashkitten> i wonder if it'd be possible to patch the live kernel, like the service canonical provides for ubuntu lts
<ashkitten> i'm not clear on the specifics of such an operation, though
arjen-jonathan has joined #nixos
<azazel> ashkitten: this is some background https://lwn.net/Articles/734765/
civodul has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ashkitten> azazel: so essentially, "it requires manual intervention at every step"
emily has joined #nixos
knupfer has joined #nixos
<ashkitten> which is not good for nixos
erudition has joined #nixos
erudition has quit [Client Quit]
Shoubit has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mighty_vee has joined #nixos
mighty_vee has quit [Max SendQ exceeded]
mighty_vee has joined #nixos
mighty_vee has quit [Max SendQ exceeded]
mighty_vee has joined #nixos
mighty_vee has quit [Max SendQ exceeded]
mighty_vee has joined #nixos
nschoe has joined #nixos
mighty_vee has quit [Max SendQ exceeded]
mighty_vee has joined #nixos
hmpffff has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
<Taneb> How can I diagnose my hydra server failing to connect to a builder with "Aborted: cannot connect to ‘nix@dandy.myrtle’: Host key verification failed."?
mighty_vee has quit [Max SendQ exceeded]
mariel__ has joined #nixos
mighty_vee has joined #nixos
hmpffff has quit [Client Quit]
mighty_vee has quit [Max SendQ exceeded]
mighty_vee has joined #nixos
mighty_vee has quit [Max SendQ exceeded]
mighty_vee has joined #nixos
jasongrossman has joined #nixos
botayhard has joined #nixos
Matthieu_ has quit [Ping timeout: 248 seconds]
adamantium has joined #nixos
m0rphism has joined #nixos
polman has quit [Ping timeout: 244 seconds]
<azazel> Taneb: probably it's an ssh issue with the host keys? have you checked the ~/.ssh folder of the user running that process
<azazel> ~/.ssh/known_hosts specifically
polman has joined #nixos
<Taneb> azazel: it looks reasonable and I can connect manually
<{^_^}> [nixpkgs] @dywedir merged pull request #62672 → cargo-edit: 0.3.1 -> 0.3.2 → https://git.io/fju4L
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjuhh
<azazel> Taneb: your hydra server is run as your user?
<Taneb> hydra-queue-runner is running as root, and that's what I was trying
knupfer has quit [Ping timeout: 252 seconds]
dansho has quit [Quit: Leaving]
ambro718 has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #60529 → go-jsonnet: init at v0.13.0 → https://git.io/fjZtO
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fjujL
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-18.09: https://git.io/fjujZ
Matthieu_ has joined #nixos
sigmundv has joined #nixos
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #62763 → zfs: 0.7.13 -> 0.8.0 → https://git.io/fjujc
<Taneb> Ah, discovered the error
<Taneb> I was manually connecting to "hostname" but telling Hydra to connect to "hostname.localdomain" and they're different to ssh
<azazel> good catch
kvda has joined #nixos
<{^_^}> [nixpkgs] @uvNikita opened pull request #62764 → moonlight-embedded: 2.4.9 -> 2.4.10 → https://git.io/fjuj8
gratto has quit [Ping timeout: 246 seconds]
kvda has quit [Client Quit]
jD91mZM2 has joined #nixos
kvda has joined #nixos
kvda has quit [Client Quit]
<nschoe> Hi all, anobody familiar with Qt? I'm missing `QtCore/QtCoremod.sip`, and I don't if I'm missing a nix dependency?
fusion809 has quit [Remote host closed the connection]
<Shoubit> nschoe, have you tried adding [ pyqt5 sip ] to your buildInputs?
turion has joined #nixos
nschoe has quit [Ping timeout: 248 seconds]
adamantium has quit [Remote host closed the connection]
<turion> I started a container with just this config: { ... }: { services.cassandra.enable = true;}
<turion> But it fails: # systemctl status cassandra
<turion> Jun 06 09:22:06 cassandra systemd[1]: Started Apache Cassandra service.
<turion>   Active: failed (Result: exit-code) since Thu 2019-06-06 09:22:07 UTC; 24s ago [...]
<turion> ● cassandra.service - Apache Cassandra service
<turion>   Loaded: loaded (/nix/store/rj2jv6p04ma9qgm592sa9h2xfiqyfyjf-unit-cassandra.service/cassandra.service; enabled; vendor preset: enabled)
<turion> Jun 06 09:22:07 cassandra systemd[1]: cassandra.service: Main process exited, code=exited, status=126/n/a
<turion> Jun 06 09:22:07 cassandra systemd[1]: cassandra.service: Failed with result 'exit-code'.
schjetne has joined #nixos
<turion> Jun 06 09:22:07 cassandra cassandra[334]: /nix/store/97gl5mlbfj91n1b64bp5lngnp8cig13n-cassandra-3.11.3/bin/cassandra: line 5: /nix/store/97gl5mlbfj91n1b64bp5lngnp8cig13n-cassandra-3.11.3/bin/cassandra: Argument list too long
ThatDocsLady_ has joined #nixos
mariel__ has quit [Read error: Connection reset by peer]
kvda has joined #nixos
kvda has quit [Client Quit]
ubert has joined #nixos
sb0 has joined #nixos
gratto has joined #nixos
palo has quit [Quit: WeeChat 2.4]
jbgi has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #62764 → moonlight-embedded: 2.4.9 -> 2.4.10 → https://git.io/fjuj8
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjzev
Soo_Slow has quit [Remote host closed the connection]
Soo_Slow has joined #nixos
<gentauro> is it possible to write "open firewall port 42" in a `default.nix` file and then `nix-shell` it and open the port for a specific task. Once leaving the `nix-shell` the port will then be closed again?
__monty__ has joined #nixos
kvda has joined #nixos
kranium has quit [Remote host closed the connection]
toppler`` has quit [Ping timeout: 258 seconds]
<jbgi> Hi, ellipsis pattern (...) does not works when providing arguments to a nix-shell. Is that a known issue? Is there a workaround?
CcxWrk has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evhan has joined #nixos
Anton-Latukha has joined #nixos
schjetne has quit [Ping timeout: 244 seconds]
toppler`` has joined #nixos
<jbgi> or rather it's the @-pattern that does not work in shell.nix :(
evhan has quit [Read error: Connection reset by peer]
evhan has joined #nixos
gratto has quit [Read error: Connection reset by peer]
Soo_Slow has quit [Remote host closed the connection]
<__monty__> @-patterns should work anywhere in nix code.
gratto has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
otulp has quit [Ping timeout: 259 seconds]
Matthieu_ has quit [Ping timeout: 245 seconds]
slyfox has quit [Ping timeout: 252 seconds]
kvda has joined #nixos
<jbgi> __monty__: so the complete issue is given a shell.nix strating with {a ? 1, ...}args:
<__monty__> Where's the @?
<jbgi> __monty__: sorry {a ? 1, ...}@args:
<jbgi> I cannot access either args.a and args.b, even when running nix-shell --arg b 2 for exemple.
<__monty__> How about if you flip the record and `args`?
<jbgi> __monty__: same "error: attribute 'b' missing, ..."
<jbgi> I can however access args.a if I provide --arg a <value>
zupo has joined #nixos
ee1943 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @WilliButz opened pull request #62767 → grafana: 6.2.1 -> 6.2.2 (security update) → https://git.io/fjzvm
<mk_modrzew> what's the best medium to ask questions about issues with nixos? forum, reddit or else?
<__monty__> jbgi: Does nix-shell take --arg?
ee1943 has joined #nixos
evhan has quit [Quit: De IRC non curat rex...]
<__monty__> mk_modrzew: This channel's pretty helpful/responsive when the experienced people are around.
evhan has joined #nixos
<mk_modrzew> __monty__: i have no doubt but i have issue with X11 and nvidia and it could be hard to reproduce problem and describe it in the same moment xd
lordcirth__ has quit [Read error: Connection reset by peer]
lordcirth has joined #nixos
<jasongrossman> mk_modrzew: You could post on the forum (or reddit) and also announce your post here.
<mk_modrzew> okay, thanks
<jbgi> __monty__: it does work in other cases (eg. 'a' get the value 2 if I provide --arg a 2)
<__monty__> jbgi: As I read it --arg only passes arguments to a function if it the function needs them. So, since there's no b in the pattern maybe it just doesn't get passed.
dahirsch has joined #nixos
dne has left #nixos ["WeeChat 2.4"]
lordcirth__ has joined #nixos
akaWolf has joined #nixos
<yorick> gentauro: no, the firewall opening is a nixos thing
jbgi has quit [Ping timeout: 245 seconds]
<yorick> gentauro: you could probably make it with a shellHook
mexisme_ has quit [Ping timeout: 258 seconds]
<freddie_freeload> Hey! I am on unstable and use networkmanager. Does anyone know what the best practice is for connecting with eduroam? 🙂
lordcirth has quit [Ping timeout: 248 seconds]
<{^_^}> [nix] @edolstra merged pull request #2920 → Lazy flake input fetching → https://git.io/fju0V
<{^_^}> [nix] @edolstra pushed 14 commits to flakes: https://git.io/fjzvC
<{^_^}> [nix] @edolstra pushed 0 commits to lazy-flakes: https://git.io/fjzvW
<{^_^}> [nix] @edolstra pushed 0 commits to flake-apps: https://git.io/fjzvl
<{^_^}> [nix] @edolstra pushed 0 commits to subdir: https://git.io/fjzv4
Ariakenom has joined #nixos
lordcirth has joined #nixos
<clacke_movim> __monty__: Yes, an ellipsis won't get fed the parameters from the command line, they need to be explicitly requested.
<alexarice[m]> freddie_freeloader: Mine just works, what is going wrong with yours
<clacke_movim> Or that's for jbgi rather
lordcirth__ has quit [Ping timeout: 252 seconds]
<clacke_movim> The workaround is to use an explicit expression with -E instead, or a wrapper nix file
jbgi has joined #nixos
<clacke_movim> nix-shell -E '{reallywantthisarg}: import ./. { inherit reallywantthisarg; }' --argstr reallywantthisarg "foo bar"
<clacke_movim> Or, of course, simply including the value in the expression directly, depending on circumstances.
<freddie_freeload> <alexarice[m] "freddie_freeloader: Mine just wo"> Okay, good old heisenbug. I wanted to check the error again - but it just works now. Well.... it take it :D
<alexarice[m]> I sometimes have a problem with dns not being set correctly after a rebuild, but reconnecting fixes that
<alexarice[m]> though I have no idea if that is eduroam related or just general networkmanager being odd
<freddie_freeload> alexarice: Sometimes it seems wifi-tech is even more complicated and unpredictable than quantum physics. ;) Thanks anyway 😁
johnny101 has quit [Remote host closed the connection]
johnny101 has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed to master « wireguard: Don't fail if modprobe fails »: https://git.io/fjzvK
<{^_^}> [nixpkgs] @aanderse merged pull request #60021 → nixos/httpd: cleanup old apache2.2 syntax → https://git.io/fj33B
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjzvi
fendor has joined #nixos
andreas303 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa merged pull request #62767 → grafana: 6.2.1 -> 6.2.2 (security update) → https://git.io/fjzvm
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjzvS
andreas303 has joined #nixos
dwdr has joined #nixos
nschoe has joined #nixos
DerGuteMoritz has quit [Ping timeout: 258 seconds]
adamantium has joined #nixos
<{^_^}> [nixpkgs] @markuskowa pushed commit from @WilliButz to release-19.03 « grafana: 6.2.1 -> 6.2.2 »: https://git.io/fjzvd
sb0 has quit [Quit: Leaving]
adamantium has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 272 seconds]
<jbgi> clacke_movim: thanks.
<{^_^}> [nixpkgs] @ehamberg opened pull request #62768 → erlangR21: 21.2.3 -> 21.3.7.1 → https://git.io/fjzfv
<Izorkin> etu: Please check this moment php options --with-apxs2 - automatic enable options --enable-maintainer-zts and build php with zts?
ilmu has joined #nixos
Matthieu_ has joined #nixos
Jetien_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @JorisE opened pull request #62769 → sngrep: init at 1.4.6 → https://git.io/fjzfn
<{^_^}> [nixpkgs] @markuskowa merged pull request #62705 → pyotherside: 1.5.4 -> 1.5.5 → https://git.io/fjuzk
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjzfl
<{^_^}> [patchelf] @edolstra pushed to master « Update flake.lock »: https://git.io/fjzfR
vidbina has joined #nixos
init_6 has joined #nixos
psy3497 has quit [Ping timeout: 246 seconds]
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
init_6 has quit []
schjetne has joined #nixos
<{^_^}> [nixpkgs] @dawidsowa opened pull request #62770 → gallery-dl: 1.8.4 -> 1.8.5 → https://git.io/fjzf9
dahirsch has quit [Ping timeout: 258 seconds]
zupo has joined #nixos
dahirsch has joined #nixos
zeta_0 has joined #nixos
zeta_0 has quit [Client Quit]
zeta_0 has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 272 seconds]
Tucky has quit [Quit: WeeChat 2.4]
Jackneill has quit [Ping timeout: 248 seconds]
alp has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<{^_^}> [nixpkgs] @marsam merged pull request #62750 → font-awesome: 5.8.2 -> 5.9.0 → https://git.io/fjuAu
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjzJG
<{^_^}> [nixpkgs] @marsam merged pull request #62706 → buildah: 1.8.2 -> 1.8.3 → https://git.io/fjuzL
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjzJZ
civodul has quit [Ping timeout: 248 seconds]
Matthieu_ has quit [Read error: Connection reset by peer]
Tucky has joined #nixos
acarrico has joined #nixos
<risson> How do I tell nix-env not to check certificates from https://cache.nixos.org ?
<gchristensen> I don't think you can (because you really should not do that). what is going on?
Jackneill has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Soo_Slow has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f2c18161364 (from 76 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<risson> Yes I know I shouldn't but the network I'm on does not let me check those certificates, it does it for me. However I trust that network so it's ok I guess
<risson> Can I change the cache server to something in plain http ?
schjetne has quit [Ping timeout: 258 seconds]
Avaq has joined #nixos
clacke_movim has left #nixos [#nixos]
<ajs124> Are you in a corporate network? Maybe you can add their root to your trust store.
dahirsch has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #62771 → mpd: 0.20.23 -> 0.21.10 + nixos module support for standard users → https://git.io/fjzJd
Matthieu_ has joined #nixos
Jetien_ has quit [Ping timeout: 272 seconds]
turion has quit [Ping timeout: 244 seconds]
clacke_movim has joined #nixos
dahirsch has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #62772 → vscode: 1.34.0 -> 1.35.0 → https://git.io/fjzUO
kochev has joined #nixos
gxt has quit [Ping timeout: 256 seconds]
ricekrispie2 has joined #nixos
mexisme_ has joined #nixos
fendor has joined #nixos
ricekrispie has quit [Ping timeout: 268 seconds]
<risson> ajs124: yes I can do that
mexisme_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @nlewo merged pull request #62719 → dockerTools.buildLayeredImage: restore layer sharing → https://git.io/fjuKd
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fjzUa
zupo has joined #nixos
fendor has quit [Ping timeout: 244 seconds]
o1lo01ol1o has joined #nixos
kim0 has joined #nixos
kochev has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @abbradar pushed to master « nfs-utils: fix format strings in nfsdcld »: https://git.io/fjzU5
fendor has joined #nixos
drakonis_ has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<Avaq> Hi! I need help with an issue previously discussed with clever and symphorien (on Feb 05 between 20:45 and 00:00 CET, if you want to search your logs) related to my attempts to use NixOps to manage my Raspberry Pi.
<Avaq> I have not been able to resolve the issue that after copying closures successfully, I am presented with an error: "Exception: unable to activate new configuration (exit code 2)". Full error: https://gist.github.com/0889642443a4465c14b616f76d2672b4
<Avaq> At the time, it was thought to be related to https://github.com/NixOS/nixpkgs/issues/53672, which attributes the error to a bug in the kernel of the target host machine.
<Avaq> I don't know where to start debugging this issue. I really want to get acquainted with NixOps, and eventually introduce it at work for managing some operations.
<Avaq> In the meantime, I have downgraded the kernel, but the error persists. Nix Info: https://gist.github.com/67b125a4ec913d880d1b2c2b05f7bcea
<{^_^}> #53672 (by eadwu, 21 weeks ago, closed): switch-to-configuration not interpreted using perl
<gchristensen> thaht is very likely it, still, what version kernel is on it?
<{^_^}> [nixpkgs] @danieldk opened pull request #62773 → nixos/tests/docker-tools: check layer sharing with buildLayeredImage → https://git.io/fjzTL
<Avaq> gchristensen: Linux 4.14.9 (see also the Nix Info gist I posted) - or is that not the kernel version?
<gchristensen> 4.14.9? not 4.14.99?
alex`` has joined #nixos
<Avaq> Uh, copy paste off error, sorry. It's Linux 4.14.97, as taken from the gist. :P
<gchristensen> hrm.
<gchristensen> you downgraded and then rebooted to the older version?
<Avaq> Yeah, downgraded, rebooted various times, gave up and left it in cold storage for 2 months, and booted this morning. :P
<Avaq> Does it matter at all what software I'm using on the command machine (not sure what to call it - the machine I'm ussuing the nixops commands *from*)
<gchristensen> hah
civodul has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #62759 → icr: do not wrap crystal so we can use one from the environment → https://git.io/fjupG
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjzTR
Henson has joined #nixos
<Henson> Hi everyone. Could somebody point me in the direction of understanding how NixOS packages install stuff in the /etc directory? I've done a lot of work with Nix packages, but never in the context of Nix OS. I have a custom package that needs to install stuff in /etc/udev and to patch the /usr/share/misc/usb.ids file.
<{^_^}> [nixpkgs] @marsam merged pull request #62711 → lego: 2.2.0 -> 2.6.0 → https://git.io/fju2o
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjzTi
stepcut has joined #nixos
wzrd- has quit [Quit: wzrd exits]
<nschoe> Henson, IIRC there's a section in the configuration.nix. For instance for udev rules there's this: https://github.com/NixOS/nixos/blob/master/modules/services/hardware/udev.nix#L13-L24
hmpffff has joined #nixos
<nschoe> (disclaimer: I'm quite the newbie in nixOS)
<Henson> I need to make the transition from understanding how stuff is done with "nix-env -i" to how things are done with nixos-rebuild and /etc/nixos/configuration.nix and environment.systemPackages
orivej has quit [Ping timeout: 248 seconds]
<stepcut> I am trying to run `nixops delete` on a virtualbox instance that I never actually spun up, but it is saying, "Exception: cannot delete this deployment because it still has resources". How can I figure out what 'resources' it is talking about? I tried `nixops info` but it does not list anything under 'Resource Id' and nixops check has Exists=no
anton has joined #nixos
<stepcut> I could just run destroy -- but I'd kind of like to know what it will destroy
<gchristensen> did you erase it from your network configuration?
<gchristensen> ie, the .nix file?
<{^_^}> [nixpkgs] @kevingriffin opened pull request #62774 → 1password: 0.5.5 -> 0.5.6 → https://git.io/fjzTS
<stepcut> gchristensen: no? I have a logical specification, and two physical specifications -- one for ec2 and one for virtualbox. I run nixops create for the virtualbox instance, but never ran deploy. I might choose to create the virtualbox instance again later so I am not sure I want to delete anything from the .nix files
<stepcut> s/I run nixops/I ran nixops/
fendor has quit [Ping timeout: 248 seconds]
Jackneill has quit [Ping timeout: 248 seconds]
<nh2> stepcut: given that it doesn't contain any important data, you could run `destroy` and see what things it prompts you to destroy (usually it prompts you for that)
<stepcut> ah
<nh2> alternatively you could also inspect its full state by opening the nixops db file in e.g. sqlitebrowser
<nh2> and see what resources it has in there
<nh2> (of course that shouldn't be necessary but is an option available)
<aminechikhaoui> nh2 nixops export should dump the same thing
<nh2> ah yes also a good idea
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging-next: https://git.io/fjzTx
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « python*Packages.PyICU: switch patch URL »: https://git.io/fjzTh
hmpffff has quit [Quit: nchrrrr…]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62752 → Fixes for x86_64-darwin failures on Hydra → https://git.io/fjuxG
<{^_^}> [nixpkgs] @matthewbauer pushed 16 commits to master: https://git.io/fjzkU
<stepcut> I ran export -- this is the resources section, "resources": { "webserver": { "index": "0", "type": "virtualbox" }
Jackneill has joined #nixos
<stepcut> anyway, I just renamed the deployment which is also an acceptable solution to my problem
Anton-Latukha has quit [Quit: Leaving.]
o1lo01ol_ has joined #nixos
Matthieu_ has quit [Read error: Connection reset by peer]
wzrd- has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
ottidmes has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> Is it possible to overwrite a mkOption definition? I guess I could resort to disabledModules, but is there a way for a single option definition as well?
<aminechikhaoui> stepcut what was the state of the webserver in the export output
fendor has joined #nixos
<aminechikhaoui> in theory when the state is "missing" which means destroyed, you won't even see the resource in the xport
<aminechikhaoui> export *
<stepcut> aminechikhaoui: what site do people use for pastes these days? The ones I used to use are offline
<aminechikhaoui> let's see
<aminechikhaoui> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<azazel> Henson: the difference is that the same packages you install using nix-env -i are installed into the system and configured using the configuration modules found in nixpkgs/nixos/modules
sigmundv has quit [Ping timeout: 248 seconds]
<aminechikhaoui> hm that's a weird state
<stepcut> :)
toppler`` has quit [Ping timeout: 252 seconds]
<stepcut> I think it is the result of running nixops create but not nixops deploy
Avaq has quit [Ping timeout: 248 seconds]
<aminechikhaoui> I think in any case you could run nixops delete -f
<stepcut> yeah
jmeredith has joined #nixos
astrofog has joined #nixos
<Henson> azazel: so is it the things in nixpkgs/nixos/modules that integrate regular nix packages into NixOS's system directories?
toppler`` has joined #nixos
Avaq has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<Henson> azazel: also, how do the configuration options in /etc/nixos/configuration.nix (for example the Apache configuration options) get transformed into a configuration file the Apache server is expecting to read?
<azazel> Henson: yes, and the primary interface to them is to compile your desired configuration in /etc/nixos/configuration.nix which is the "main" module
<Henson> azazel: so the files in nixpkgs/nixos/modules, are those just a static list of files, or can packages you install also put stuff in that directory to then be included in the new system? Another way is: can an individual package carry the instructions of how it should be integrated in to the system, or are all the integration instructions separate from the packages?
<azazel> Henson: configuration is nothing more that another packages (or group of packages) containing configuration files built from derivations contained into the configuration modules in nixos/modules
<Henson> aanderse: thank you for that link
<aanderse> Henson: no problem. you can create your own modules and then include them into configuration.nix if you wish
ilmu has quit [Quit: statebox]
sigmundv has joined #nixos
ilmu has joined #nixos
<azazel> Henson: usually configuration modules for services like apache produce the necessary configuration files in one package and augment the configuration of another service like systemd whose role is to manage the services
Soo_Slow has quit [Remote host closed the connection]
zupo has joined #nixos
Soo_Slow has joined #nixos
<Henson> azazel, aanderse: so I still don't understand yet if the instructions needed to adjust things in the /etc (and other system) directories are present in the one package you install, or if the developer also has to make an adjustment in another package (for example creating a new derivation that contains the nixpkgs/nixos/modules files).
<pie__> Henson, generally modules are written independently of a package because most people dont use nix
<pie__> you _can_ include an external file into the configuration
<Henson> azazel, aanderse: I would expect that for packages that need to adjust the system a new output could be create d(outputs like "out", "doc", "lib", etc) that would allow the NixOS configuration instructions to be composed with instructions from other packages.
<pie__> generally system configuration is desired to be separated into a module, and package building is in a file in the rest of the tree
<Henson> pie__: ok
<pie__> and the module somehow refers to the package
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<azazel> Henson: packages are just added to the nix store, it's the role of the configuration modules to hook them up
<Henson> azazel: ok
<aanderse> Henson: yes, simple applications which don't run as a service or anything *often* require no module
emptyflask has joined #nixos
reinhardt has quit [Quit: Leaving]
inkOne has joined #nixos
<pie__> Henson, modules can also end up creating derivations, but thats just the normal mechanism, what actually ends up doing stuff in the rest of the system are i think "activation scripts" and some options that result in creating files
<Henson> azazel: so what is the name of the derivation that contains the nixos/modules files? I'll need to create my own derivation of these files in order to incorporate my own configuration instructions.
<pie__> so you could have something like the.file.option."/etc/wat" = generateConfigForThing {}
<pie__> * not what it actually looks like
<Henson> pie__: ok
ddellacosta has joined #nixos
<pie__> a derivation is (usually) the result, not something containing the nix files
<Henson> if I trying doing something like "nix-store -q -d ./2cai0ankbxbdhg0mvjdvr370gnfm2za9-nixos-19.03.172801.1a27474d474/nixos/pkgs/misc/vim-plugins/vim2nix/autoload/nix.vim" it says "unknown-deriver"
ottidmes has quit [Quit: WeeChat 2.4]
<pie__> if you want to add your own module you either use an overlay (the point is it lets you add external stuff to the attrsets) or you modify a git checkout
<{^_^}> [nixpkgs] @orivej-nixos pushed 2 commits to master: https://git.io/fjzIz
<pie__> Henson, i dont know my way around all that stuff but you might try nix show-derivation
<Henson> pie__: I'll probably use an overlay, but I need to know the name of the nix package that contains the nixos/modules files so I can edit it.
<pie__> ah
Anton-Latukha has joined #nixos
Tucky has quit [Quit: WeeChat 2.4]
<pie__> i havent tried figuring out yet if there's a way to do that. the usual fallbacks are grepping and https://nixos.org/nixos/options.html (i think theres a man page with the contents of this)
asheshambasta_m has joined #nixos
sigmundv has quit [Ping timeout: 272 seconds]
<Henson> pie__: ok, I'll check that out
<Henson> azazel, aanderse, pie__: thank you all for your help
<azazel> Henson: why you want to modify nixos' modules? You can override it
<aanderse> Henson: np
<Henson> azazel: yes, that was my plan, but I need to know the name of the thing to override.
astrofog has quit [Remote host closed the connection]
<Henson> azazel: presumably nix-build uses the files in the modules directory, and those files were put there by some nix package. It is that package I need to adjust in order to make my own files appear in the modules directory.
nschoe has quit [Ping timeout: 272 seconds]
hyper_ch2 has quit [Ping timeout: 256 seconds]
<azazel> Henson: Instead of try to reason on stuff that you are just now trying to understand, why don't you describe what you want to achieve?
<pie__> Henson, modules are not put there by packages
<pie__> Henson, https://github.com/NixOS/nixpkgs/tree/master/nixos/modules they exist independently (in a sense)
<Henson> azazel: say I have a package that needs to be run at startup. In addition to the package binary files, I also have to make some changes to the files in /etc to make it started by systemd (or whatever init system is being used). How do I go about making those changes in NixOS?
<clever> Henson: environment.etc and systemd.services, in your nixos module
<aanderse> Henson: yes, as clever said. you would create 2 separate files. a package under the pkgs/ directory, and then a module under nixos/modules directory
<pie__> also modules dont need to be in the nixpkgs tree, you can just include it in configuration.nix
<azazel> Henson: man configuration.nix is your friend ;-)
asheshambasta_m has quit [Ping timeout: 272 seconds]
sigmundv has joined #nixos
<Henson> ok, so do I need to create a new file and put it in the modules directory? If so, is there a package I need to edit or override to make that happen? Since /nix/store is mounted read-only I can't just copy my new module in there, which is contrary to Nix philosophy anyway. So I need to figure out how to get my own module file into the modules directory. Also (as pie__ hinted at) is it even...
<Henson> necessary for me to add any new files?
<Henson> I apologize if this is going on for a long time. It seems like I'm circling the understanding I need here, and it's just taking time for me to understand how it fits together.
<clever> Henson: if you want to test a nixos module, put it in /etc/nixos/ and use imports = [ ./thatfile.nix ];
<Henson> clever: I see. So I can include my own out-of-tree modules in, say, /root/custom.modules, and then patch those into the the configuration.nix file where they'll be included in whatever nix-build does?
silver has joined #nixos
<Henson> clever: instead of "patch" I should have said "import"
mmlb has joined #nixos
<aanderse> Henson: the module will take effect when you run nixos-rebuild test/switch
domogled has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
alex`` has quit [Ping timeout: 248 seconds]
<Henson> azazel, aanderse, pie__, clever: thanks everybody for your help! I think I understand it now
<aanderse> Henson: great! let us know if you have any issues when you get into it :)
<Henson> aanderse: I'm sure I'll experience issues, so I'll be back. Just hopefully not too soon :-)
alex`` has joined #nixos
endformationage has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #62776 → [coq] simple-io: 1.0.0 -> 1.2.0; QuickChick: init at 1.1.0 for Coq 8.9 → https://git.io/fjzLl
stepcut has quit [Ping timeout: 248 seconds]
<pie__> Henson, to be fair a lot of my answers werent able to directly answer the question you were circling around ;p
<pie__> Henson, please take notes on points of difficulty while youre a beginner
<pie__> by the time one gets around to trying to improve things theyve gotten better and it becomes hard to remember what the problems were
<Henson> pie__: no worries, we got there in the end. It's difficult to get an answer to a question you don't really know how to ask :-)
<sphalerite> Does anyone here use GNOME and have screen locking working right? If so, how?
<Shoubit> sphalerite, what's wrong? Mine's working as it were on Ubuntu, haven't noticed anything wrong.
<nisstyre> sphalerite: give this a shot instead if you want actual screen locking https://www.jwz.org/xscreensaver/
<{^_^}> [nixpkgs] @c0bw3b merged pull request #62633 → perlPackages.ImageExifTool: 11.30 -> 11.48 → https://git.io/fjueC
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjzLV
<sphalerite> Shoubit: there's no button for it or anything
<sphalerite> Shoubit: which display manager are you using?
<Shoubit> Oh you mean the lock button in the right corner's menu? I have that. I'm using GDM.
<Henson> pie__: I'm keeping a list called "what I wish I knew when learning Nix".
<pie__> Henson, same, except im a bit late
<pie__> xD
drakonis has joined #nixos
<Shoubit> sphalerite, here's my configuration.nix if it helps: https://gist.github.com/Shou/046d0dc18b27564e57118c50f04f98ed#file-configuration-nix
<sphalerite> Shoubit: oh, haha, didn't realise gdm is still a thing :p will try that
fendor has quit [Read error: Connection reset by peer]
nschoe has joined #nixos
drakonis_ has quit [Ping timeout: 257 seconds]
<sphalerite> Shoubit: yep, switching to gdm did the trick. Thanks!
npmccallum has joined #nixos
emptyflask has quit [Ping timeout: 246 seconds]
<Shoubit> No worries, glad I could help!
pacman99 has quit [Quit: Konversation terminated!]
Matthieu_ has joined #nixos
dahirsch has quit [Remote host closed the connection]
kim0 has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @thefloweringash opened pull request #62777 → mariadb: fix clang and darwin build → https://git.io/fjzLx
ottidmes has joined #nixos
o1lo01ol_ has quit [Ping timeout: 248 seconds]
<zfnmxt> I did nix-collect-garbage -d; nixos-rebuild switch and the nix-build command has been running for over 8 hours now and still isn't done...any idea if something's gone awry?
<zfnmxt> I passed it the -v flag and the last output was `evaluating file '/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/from-env.nix'`
zupo has joined #nixos
<clever> zfnmxt: is it building something or just chewing cpu?
<ottidmes> If I have a bunch of paths outside the Nix store and I want to create a directory containing those paths in the Nix store, what is the best way to achieve this? In my particular case I could probably get away with using pkgs.linkFarm, but if I did not wanted to have a symlink per path, what would be my options?
<zfnmxt> clever: How can I know?
<clever> zfnmxt: if outputs things when building
<zfnmxt> It's been stuck on the output above for 99.9% of the 8 hours.
<clever> try restarting it?
<zfnmxt> Will do
<zfnmxt> Huh, that's weird. I still have all my old boot entries.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schjetne has joined #nixos
<zfnmxt> Do you have to manually remove boot entries? I thought `nix-collect-garbage -d` handled that.
<clever> zfnmxt: nixos-rebuild will update the bootloader config
<zfnmxt> Ah, right. Okay, I'll try the rebuild again.
<zfnmxt> Looks like it's still hanging.
CapsLock has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #62517 → python37Packages.breathe: 4.12.0 -> 4.13.0 → https://git.io/fjEaX
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjzt8
<goibhniu1> zfnmxt: what does `nix-info` say?
<zfnmxt> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.2.2, channels(zfnmxt): "nixos-19.09pre181629.ae71c13a92f, nixpkgs", channels(root): "nixos-19.09pre181629.ae71c13a92f, nixos-hardware, nixpkgs-19.09pre181629.ae71c13a92f", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<zfnmxt> (ran it as root)
zeta_0 has joined #nixos
ottidmes has quit [Quit: WeeChat 2.4]
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62777 → mariadb: fix clang and darwin build → https://git.io/fjzLx
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjztr
<wucke13_> I have a rust bild which is ran in the nix-shell. When I try to compile statically, I get an error while linking, = note: impure path `/.../target/release/build/arrayvec-04d508924dca0069/build_script_build-04d508924dca0069' used in link. Is this caused by nix-shell setting some settings for the linker?
<Izorkin> etu: Please check this moment php options --with-apxs2 - automatic enable options --enable-maintainer-zts and build php with zts?
<etu> Izorkin: Do you want to enable more options by default?
<Izorkin> etu: No, change ztsSupport ? config.php.zts or false to ztsSupport ? (config.php.zts or false) || (apxs2Support)
<Izorkin> * ztsSupport ? (config.php.zts or true) || (apxs2Support)
<Avaq> I've run into the problem that my disk space is full of /nix/store, and nix-collect-garbage doesn't manage to complete because of "error: committing transaction: database or disk is full".
<goibhniu1> zfnmxt: is there high load on the machine when you run nixos-rebuild?
<etu> Izorkin: Isn't that a yes to my question? :p
<zfnmxt> goibhniu1: Well, one CPU thread goes to 100% the entire time.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #62577 → star: 2.7.0f -> 2.7.1a → https://git.io/fjEME
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « star: 2.7.0f -> 2.7.1a (#62577) »: https://git.io/fjztQ
<goibhniu1> zfnmxt: can you see what it's doing e.g. with strace?
peacememories has joined #nixos
<Izorkin> Correction parameter zts, it automatically turns on. It is to be seen that php is going to support zts. ./result/bin/php -v - PHP 7.2.19 (cli) (built: May 29 2019 07:14:43) ( ZTS )
<Avaq> I actually don't see a clear way out. There is nothing on my system (yet) that is safe to remove, besides the nix garbage. I can't manually remove it because the fs is locked, and nix-collect-garbage apparently needs to write to a database file before it can start actually deleting things, which of course it can't because there's no space.
<sphalerite> Avaq: you can remount the store read-write (`sudo mount -o remount,rw /nix`) then delete stuff (only /nix/store/.trash is safe I believe) manually
<sphalerite> err, /nix/store I think
<{^_^}> [nixpkgs] @grahamc opened pull request #62779 → Restart declarative containers when their host environment configuration changes → https://git.io/fjzth
<clever> Avaq: nix-collect-garbage --max-freed 1, should delete .trash for you
<clever> ahh, but its failing due to the disk being too full
<Avaq> I think I managed by using `nix-store --gc`, which was mentioned in the nix-collect-garbage man page.
<clever> Avaq: is /nix sharing the FS with something else?
<Avaq> Ah, no -- it just ook longer to show me the same error. >.<
neva has joined #nixos
<clever> Avaq: try `nix-collect-garbage --max-freed 1`
<{^_^}> [nixpkgs] @c0bw3b merged pull request #62507 → pulumi-bin: 0.17.8 -> 0.17.14 → https://git.io/fjE2H
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « pulumi-bin: 0.17.8 -> 0.17.14 (#62507) »: https://git.io/fjzqe
<Izorkin> etu: create PR?
<Avaq> clever: `nix-collect-garbage --max-freed 1` looks like it worked (112MiB freed), but somehow my disk is still at 0 bytes left :|
<clever> Avaq: keep running that, while increasing the number slowly
CapsLock has joined #nixos
<Avaq> clever: That worked! :D Thanks
<clever> the problem is that its trying to delete everything at once
asheshambasta_m has joined #nixos
<clever> which requires a large change to the state
<clever> and then it doesnt have enough free space to update the state
sigmundv has quit [Ping timeout: 252 seconds]
<neva> kinda stupid question, but how do i install nixos from a usb onto the same usb, in a way that my files wouldn't be gone when the pc restarts?
mighty_vee has quit [Remote host closed the connection]
<sphalerite> neva: boot using copytoram
mighty_vee has joined #nixos
<sphalerite> neva: then repartition the USB stick and install as normal
<neva> the usb is partitioned (10 gb which i'm currently running on and 118 gb where i want it)
zupo has joined #nixos
Glider_IRC__ has joined #nixos
<Yaniel> just mount the other partition as your target root and hit the button then
o1lo01ol1o has joined #nixos
<sphalerite> neva: oh, so it's an already installed nixos, not the installer iso?
schjetne has quit [Ping timeout: 258 seconds]
<neva> it is the installer ISO, but when the pc restarts, all files are gone, which i don't want
<{^_^}> [nixpkgs] @lheckemann merged pull request #61474 → linuxPackages.bcc: use llvm 7.x → https://git.io/fjW9o
<sphalerite> neva: right
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to release-19.03: https://git.io/fjzqO
<sphalerite> neva: then yeah, boot it with copytoram, then repartition the stick and install as you would on a regular internal storage medium
arjen-jonathan has quit [Ping timeout: 272 seconds]
<zfnmxt> goibhniu1: Sorry for the delay, had to read a bit about strace. Here's the trace, not sure if it's helpful at all: http://ix.io/1L55
<neva> the regular way being just running the ISO?
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
Glider_IRC_ has quit [Ping timeout: 258 seconds]
<Izorkin> etu: Another option is to build a separate package for apache-httpd, without embed systemd cgi fpm. How in php-unit.
<goibhniu1> zfnmxt: I barely know how to run it myself :D ... is that what you see after you let `nixos-rebuild switch` run until it appears to get stuck?
<zfnmxt> I mean it gets stuck after 3 seconds or so.
<zfnmxt> That's just `strace nixos-rebuild boot`
<zfnmxt> Well, `strace -o trace.txt nixos-rebuild boot` to be specific
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<sphalerite> neva: yes, as you already are AFAIU
<zfnmxt> Do you think trying a different channel might help? Maybe I should just try 19.03?
<zfnmxt> I'm a big nixos noob if it wasn't apparent so sorta floundering :D
<goibhniu1> yeah sorry, I have no clue what that could be, trying a different channel sounds like a good idea
<zfnmxt> No worries. Worst case I'll just re-install. Pretty painless with nix :)
<zfnmxt> Thanks for your efforts, though.
neva has quit [Ping timeout: 256 seconds]
<goibhniu1> zfnmxt: cool, BTW how much RAM have you got?
<zfnmxt> 16GB and it isn't filling up.
<goibhniu1> great, and did you make any changes to your configuration.nix before running nixos-rebuild?
drakonis_ has joined #nixos
<zfnmxt> Nope
<zfnmxt> What's the difference between the nixos and nixpkg channels...by the way
<gchristensen> ,which-channel
nschoe has quit [Quit: Program. Terminated.]
<etu> Izorkin: Create a PR
<zfnmxt> gchristensen: Thanks :)
drakonis has quit [Ping timeout: 252 seconds]
<gchristensen> hehe
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
Shoubit has quit [Quit: Leaving]
<gchristensen> marek: it appears that people are taking the fun in that update script too seriously :P
schjetne has joined #nixos
<acowley> Is it possible to make an installation image based on a running NixOS system?
<tilpner> acowley: Can you specify what you mean by that?
<tilpner> acowley: It could mean any of the following: 1. Build an ISO that behaves like a config you have. 2. Build a disk image that behaves like a config you have. 3. Build an ISO/disk image that supports installing a system that behaves like a config you have.
<acowley> My original intention was to investigate backup / system restore options for NixOS, but then I thought a useful start would be an installation disk that included all the things I have installed on my system rather than a minimal store
<acowley> I'm interested in all three :D
drakonis_ has quit [Ping timeout: 252 seconds]
<tilpner> You can do all three, but in all cases you'll work off of your configuration files
<tilpner> There is no feasible way to probe an existing system and synthesize a configuration that would build to the same
<acowley> I was surprised there wasn't more about this in the manual. It only has a brief chapter on creating a stock installation image
schjetne has quit [Ping timeout: 272 seconds]
<acowley> Yes
<Yaniel> your config file(s) is the only backup you need
<Yaniel> aside from your personal files of course
<tilpner> You can alter that config as needed, even import your existing modules
<acowley> Yaniel: It's a lot of downloading!
<Yaniel> that can be worked around with nix-copy-closure I think?
<acowley> For example, I'd like to be able to produce a USB stick that will install a system similar to a current one as quickly as possible.
<tilpner> acowley: You can use make-disk-image.nix from nixos/lib to build prepartioned images which have NixOS installed
<acowley> Yeah, breaking the problem up seems like the easiest way forward.
<tilpner> Easy, let me find the option
<tilpner> You can do something like: system.extraDependencies = [ (import <nixpkgs/nixos> { ... }).system ];
<tilpner> You will want to pass a configuration file that is also linked/copied to the ISO
<{^_^}> [nixpkgs] @grahamc merged pull request #62779 → Restart declarative containers when their host environment configuration changes → https://git.io/fjzth
<acowley> Yeah, make-disk-image looks super relevant, but I think I'd need more documentation to work out how to use it.
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to master: https://git.io/fjzqh
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tilpner> Hold on
zeta_0 has joined #nixos
dontobey has quit [Ping timeout: 252 seconds]
<acowley> What I'll probably attempt first is migrating to a new drive, which I guess I can mostly do with just dd or the like. But then I thought it possible that NixOS would have some kind of media creation gizmo that could copy the whole system closure, so I could even get a new system up and running more quickly than following a from-scratch NixOS installation guide (e.g. Chris Martin's).
<tilpner> You can use nix-copy-closure for that
<tilpner> Or nix copy
stepcut has joined #nixos
<tilpner> acowley: https://tx0.co/3l1
<tilpner> acowley: I haven't tested this particular image, but it's a start
<tilpner> (Oh, and you don't want minimal.nix unless you have CI)
<tilpner> (Not CI, a build server)
<acowley> tilpner: thank you!
knupfer has joined #nixos
stepcut has quit [Remote host closed the connection]
<acowley> What is with the diskSize attribute?
<acowley> Is it actually used?
<tilpner> acowley: Yes, that's how big the image will be
stepcut has joined #nixos
<tilpner> acowley: It will be automatically resized to fill the disk on first boot
<acowley> Ah
stepcut has quit [Ping timeout: 258 seconds]
drakonis_ has joined #nixos
<tilpner> acowley: 1000 isn't enough for the image above, 2000 builds but is probably too much
<tilpner> Compresses well though, so if you have zfs it's not that bad
<Izorkin> etu: check this patch - https://pastebin.com/HBkPbzmp
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
erasmas has joined #nixos
vidbina has quit [Ping timeout: 244 seconds]
alex`` has quit [Ping timeout: 272 seconds]
<marek> my latest nixos-install fails with this: https://gist.github.com/mmahut/12fa6266e9c3b644bc7691aaa768c855
<marek> libreoffice fails building
genesis has quit [Remote host closed the connection]
<marek> this is an ISO I have built from the upstream nixpkgs
peacememories has joined #nixos
<tilpner> marek: Can you comment libreoffice out and worry about that later?
<tilpner> Installation doesn't really need to be blocked by it
genesis has joined #nixos
judson has joined #nixos
ubert has quit [Quit: Leaving]
peacememories has quit [Client Quit]
knupfer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @abbradar opened pull request #62780 → Add mystem package → https://git.io/fjzmH
knupfer has joined #nixos
ThatDocsLady_ has quit [Quit: Leaving]
<genesis> do u have tricks for when you need few dependancies but they are in differents branch
<tilpner> Different nixpkgs branches?
<tilpner> You can fetch and import those
<genesis> yeap
<genesis> manually with git ?
<genesis> i create a new branch and pick different files ? sounds not an amazing workflow.
<tilpner> No, with Nix
<tilpner> E.g. staging = fetchTarball "https://github.com/nixos/nixpkgs/archive/staging.tar.gz";
<tilpner> And then you import that however you wish
<genesis> with my local branches, need to look
zeta_0 has joined #nixos
<genesis> i hope wxpython4 issue will be fix soon.
<tilpner> genesis: You can try git worktrees
<genesis> imagine i need to package beremiz, i need 5 unpackaged dependancies (matiec, canfestival, wxglade and so)
<genesis> since reviewer prefers 1 commit by package, not easy to not lose time, even if you need to copy paste some derivation (for wxpython40 for exemple) from PR
<tilpner> I don't package things in nixpkgs, I always use overlays first
knupfer has quit [Ping timeout: 248 seconds]
Matthieu_ has quit [Read error: Connection reset by peer]
<tilpner> And then when it works, I integrate it into nixpkgs. Which is not that great, but it means I don't have that problem
<johnw> tilpner: same here
<genesis> temp1: +98.0°C (crit = +100.0°C) :/
<genesis> i'll crash again.
<Izorkin> etu: checked?
<tilpner> (Although too often I just keep them in overlays now, I don't always have the motivation to polish and nag people about my PR)
Matthieu_ has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<{^_^}> [nixpkgs] @jluttine opened pull request #62781 → pythonPackages.tables: 3.4.4 -> 3.5.2 → https://git.io/fjzYI
<joepie91[m]> holy shit, is this real lol
<joepie91[m]> gchristensen: okay, so what is that collision code *actually* doing :P
<gchristensen> hrm?
<gchristensen> oh
<gchristensen> joepie91[m]: it is part of the update code, extracting a single bit of information
<etu> Izorkin: I don't have the time at the moment, could you make a PR so I can check later?
<tilpner> gchristensen: It implements failable fetchUrl by having both results (true and false) hash to the same thing
freeman42x has joined #nixos
<gchristensen> yes
<tilpner> Oh
<tilpner> joepie91[m]: ^
peacememories has joined #nixos
peacememories has quit [Client Quit]
hmpffff has joined #nixos
sir_guy_carleton has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjzYZ
v88m has joined #nixos
kvda has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjzYn
fusion809 has joined #nixos
v88m has quit [Quit: Quit]
v88m has joined #nixos
kvda has quit [Client Quit]
arjen-jonathan has joined #nixos
peacememories has joined #nixos
mexisme_ has joined #nixos
daGrevis has quit [Quit: daGrevis]
<Avaq> I'm at a loss. Whatever I try, I keep running into #53672 on my Raspberry Pi: https://gist.github.com/0f0486c2ff727b366f9ee1a4fef1c062 :(
<Avaq> It only happens when pushing a configuration there with NixOps. I've tried switching to various different kernel versions without luck.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/53672 (by eadwu, 21 weeks ago, closed): switch-to-configuration not interpreted using perl
daGrevis has joined #nixos
gxt has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has joined #nixos
ddellacosta has quit [Ping timeout: 248 seconds]
ddellacosta has joined #nixos
<genesis> tilpner : a bit shame you don't contribute but i understand it's time consuming
<genesis> sometimes i think some reviews are a bit too much
toppler`` has quit [Ping timeout: 248 seconds]
peacememories has joined #nixos
<genesis> and it can be discouraging to ask too much time when anyway, a derivation could be improve time to time
<genesis> s/to/after
copumpkin has quit [Read error: Connection reset by peer]
<joepie91[m]> oh wow lol
<sphalerite> Does anybody have a favourite SIP client that they would recommend to me? :)
<catern> matthewbauer: btw I just noticed in your static Nix script your shebang is /bin/sh but you're doing "exec -a" - that's actually not valid POSIX sh, and /bin/sh on Debian at least (which is dash) rejects it
toppler`` has joined #nixos
rprije has quit [Remote host closed the connection]
<catern> matthewbauer: unfortunately I don't know of a way to do exec -a in a POSIX-portable way
copumpkin has joined #nixos
<catern> so you might want to explicitly use /usr/bin/env bash
rprije has joined #nixos
gml8 has joined #nixos
<{^_^}> [nixpkgs] @abbradar pushed to master « nfs-utils: use upstream patch to fix i686 build »: https://git.io/fjzOe
Ariakenom has quit [Quit: Leaving]
astal has joined #nixos
npmccallum has quit [Quit: npmccallum]
<{^_^}> [nixpkgs] @abbradar merged pull request #62780 → Add mystem package → https://git.io/fjzmH
<{^_^}> [nixpkgs] @abbradar pushed 3 commits to master: https://git.io/fjzOs
npmccallum has joined #nixos
slyfox has joined #nixos
ris has joined #nixos
<tilpner> genesis: I don't mind time spent writing, discussing, implementing requested changes. I mind PRs becoming stale and having to be kept updated, and having to bug people to merge things. I'm not assigning blame to anyway, I'm part of the problem by not reviewing other PRs
<genesis> true :)
<Henson> I'm having a wierd problem trying to get a custom package's udev rules included in nixos-rebuild. I've specified the package path in /nix/store as one of the entries in services.udev.packages in configuration.nix. I see that the nixos/modules/services/hardware/udev.nix file loops over things in "$i/{etc,lib}/udev/rules.d/*" to copy into /etc. I've even edited this to print out the contents...
<tilpner> genesis: I like going "Oh, I could improve this" or "Hey, I have this package, want to have it?", but that enthusiasm doesn't last the month it takes for things to get merged
<genesis> because we don't have infinite time, and our process should understand that
<Henson> of the directories and files it's processing. However it appears as though it's unable to see the contents of my derivation in /nix/store, even though it does exist. There's nothing different between my path in /nix/store and another one which it is able to process happily.
<Henson> does anybody have any ideas?
<tilpner> *blame to anyone
hmpffff has quit [Quit: nchrrrr…]
goibhniu1 has quit [Ping timeout: 252 seconds]
<tilpner> genesis: On the other hand I don't want PRs to be merged review-less either
asheshambasta_m has quit [Quit: Leaving.]
orivej has quit [Ping timeout: 258 seconds]
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #62509 → phoronix-test-suite: init at 8.8.1 → https://git.io/fjEaf
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjzOg
inquisitiv3 has joined #nixos
inquisitiv3 has quit [Client Quit]
stepcut has joined #nixos
drakonis has joined #nixos
<Henson> it's as if only a subset of packages from /nix/store are copied and appear as /nix/store for nixos-rebuild
Henson has quit [Quit: gotta go]
hmpffff has joined #nixos
isidore has joined #nixos
gml8 has quit [Quit: gml8]
neva has joined #nixos
isidore has quit [Client Quit]
<matthewbauer> catern: yeah which is super annoying
<neva> My new install says this: Unit display-manager.service not found, what do I do?
<matthewbauer> catern: exec -a does work on zsh, but not dash? i wonder if there's an alternative
<matthewbauer> catern: see https://github.com/solidsnack/arx/pull/11 for rationale
<{^_^}> solidsnack/arx#11 (by matthewbauer, 3 weeks ago, open): Set argv0= to allow multi-executable binaries
weedloser has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @veprbl merged pull request #62458 → lhapdf: 6.2.1 -> 6.2.3 → https://git.io/fjE0J
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/fjzOA
<azazel> neva: verify to have services.xserver.enable = true in configuration.nix
dsx has quit [Quit: dsx]
<neva> azazel: it is set to true
<tilpner> neva: If "nixos-option services.xserver.enable" also agrees that it's true, and you've done a "nixos-rebuild switch", it should be there
<catern> matthewbauer: to my knowledge there isn't an alternative
dsx has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/00322ccb73e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<matthewbauer> catern: unfortunately /usr/bin/env isn't in nix sandbox path for some reason
<{^_^}> nix#1205 (by copumpkin, 2 years ago, open): Inconsistent treatment of /usr/bin/env in build sandbox vs. NixOS
<{^_^}> [nixpkgs] @risicle opened pull request #62782 → sigrok suite: enable for darwin → https://git.io/fjz3G
<neva> tilpner: It agrees, but there's no intenet connection and no wpa_supplicant.conf file
knupfer has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
danielrf has joined #nixos
is_null has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
Avaq has quit [Ping timeout: 250 seconds]
neva has quit [Ping timeout: 256 seconds]
neva has joined #nixos
peacememories has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
rprije has quit [Remote host closed the connection]
alp has quit [Ping timeout: 248 seconds]
rprije has joined #nixos
ym555 has joined #nixos
alp has joined #nixos
peacememories has quit [Client Quit]
peacememories has joined #nixos
peacememories has quit [Client Quit]
schjetne has joined #nixos
orivej has joined #nixos
wzrd- has left #nixos ["Leaving"]
<hexo> hi there, is it please possible to build nix (on ubuntu) without libbrotli?
alp has quit [Remote host closed the connection]
alp has joined #nixos
<drakonis> wait why?
<hexo> seem'd like there is no brotli lib here
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3471705998e (from 65 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<hexo> but it was
<hexo> it just had ****** name :D
<hexo> had to be pointed on it
mexisme_ has quit [Ping timeout: 272 seconds]
Copenhagen_Bram has quit [Read error: Connection reset by peer]
<o1lo01ol1o> I need a user to be able to access a secret set via `deployment.keys.hqr-secret.user = "norooty"` and friends. However, the user doesn't have execute on /run/keys and so can't reach the key. How can I grant execute on the path leading to the key?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62772 → vscode: 1.34.0 -> 1.35.0 → https://git.io/fjzUO
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjzsG
<slabity> Typically you would use Nix to build another Nix
<hexo> make cannot load docbook schema
<hexo> i'm puzzled
<hexo> :(
lockshaw_ has left #nixos ["WeeChat 2.4"]
<hexo> i'm on powerpc64le
<hexo> and on ubuntu
<hexo> so... :/
Ariakenom has joined #nixos
<catern> what kind of store url should I use for a read-only store in my local filesystem?
Copenhagen_Bram has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 8 commits to release-19.03: https://git.io/fjzs4
callahad6 is now known as callahad
<catern> also, what's the most efficient way to get Nix to set up the namespaces to use a user-local store and run a binary inside them?
<catern> going through "nix run nixpkgs.somepkg -c somepkg" requires evaluating Nix expressions
gml8 has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
sir_guy_carleton has quit [Quit: WeeChat 2.4]
gml8 has quit [Client Quit]
tmaekawa has joined #nixos
schjetne has quit [Ping timeout: 248 seconds]
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Izorkin opened pull request #62783 → php: update build config and php package → https://git.io/fjzsy
<catern> matthewbauer: btw, maybe you've run into this; I'm trying to use nix-env with your static Nix, and I'm getting an error about not being able to find /nix/store/*-musl/bin/busybox ?
<catern> oh, now that I think about it - does nix-env not have the auto-namespacing magic? is it only the "nix" command that has auto-namespacing?
mexisme_ has joined #nixos
talqu has joined #nixos
<noonien> hello folks
<noonien> how can i use patchelf on a cross-compiled binary?
neva has quit [Ping timeout: 256 seconds]
<catern> also, does "nix build" have the ability to output the path of the result on stdout? or do I have to use nix-build if I want that?
shibboleth has joined #nixos
<manveru> catern: no, it can't do that
ym555 has quit [Quit: leaving...]
<manveru> really wish there was `nix build` that only outputs the path and `nix build-result` that only makes the symlink... or something like that :)
<manveru> but atm that's `nix-build --no-out-link` and `nix build`
wfranzini has joined #nixos
<azazel> nix build has --no-link
<manveru> yeah, and then you don't know anything :P
tilpner has quit [Quit: WeeChat 2.4]
<gchristensen> you know it built or not ... :P
<manveru> :D
tilpner has joined #nixos
<noonien> is there a way to get an unwrapped gcc for cross-compilation? this is what i've tried so far: http://ix.io/1L6F
<noonien> (sorry, the second nativeBuildInputs should also be commented)
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @rasendubi opened pull request #62784 → Emacs packages 2019 06 06 → https://git.io/fjzGZ
shibboleth has quit [Quit: shibboleth]
domogled has quit [Quit: domogled]
MichalLaskus[m] has joined #nixos
vidbina has joined #nixos
<matthewbauer> noonien: yeah just cross.stdenv.cc.cc should work!
<matthewbauer> or cross.buildPackages.gcc.cc
niten` has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
silver_ has joined #nixos
silver has quit [Ping timeout: 258 seconds]
tmaekawa has quit [Quit: tmaekawa]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arjen-jonathan has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 248 seconds]
st4ll1_ has quit [Quit: ZNC 1.7.3 - https://znc.in]
st4ll1 has joined #nixos
gyroninja has quit [Quit: WeeChat 2.4]
simon_weber has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
drakonis has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
<simon_weber> for unattended upgrades under nixops, does anybody know of anything more recent than the hack referenced in https://github.com/NixOS/nixops/issues/842 (https://pascal-wittmann.de/category/Blog/entry/autoupgrade-with-nixops-and-nixops)?
<{^_^}> nixops#842 (by jokogr, 1 year ago, open): How to perform unattended system upgrades?
Lears has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
adamantium has joined #nixos
[Leary] has quit [Ping timeout: 248 seconds]
adamantium has left #nixos [#nixos]
dwdr has quit [Ping timeout: 245 seconds]
adamantium has joined #nixos
gagbo has joined #nixos
jbgi has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @sgraf812 opened pull request #62785 → glrnvim: init at 0.1.1 → https://git.io/fjzG1
<{^_^}> [nixpkgs] @yurrriq opened pull request #62786 → helmfile: 0.64.1 -> 0.73.0 → https://git.io/fjzGy
drakonis_ has joined #nixos
adamantium has quit [Remote host closed the connection]
talqu has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 248 seconds]
adamantium has joined #nixos
schjetne has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer opened pull request #62787 → vimPlugins.semshi: init at 2018-12-05 → https://git.io/fjzG7
<NemesisD> is there a good way to protect my nix-based project from being garbage collected?
drakonis_ has quit [Read error: Connection reset by peer]
<o1lo01ol1o> after much fiddling, i've finally got hydra-queue-runner able to ssh to my build machine (local .ssh/config for the user, dedicated user ssh key; home directories and shell access on the build machine). However, now: my hydra jobset fails with sh: nix-store: command not found
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjzG5
<o1lo01ol1o> Do I need to set some user rights or something?
<{^_^}> [nixpkgs] @veprbl merged pull request #57947 → mkl: fix install_name on Darwin → https://git.io/fjfWN
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fjzGb
alex`` has joined #nixos
<symphorien> o1lo01ol1o: make sure ssh sources /etc/profile
<o1lo01ol1o> symphorien: How can I do that?
<dhess> simon_weber: I believe domenkozar was working on that for SnabbLabs a few years ago, by getting machines to update from a channel. Not sure he ever got it working, but there is a partial implementation in https://github.com/snabblab/snabblab-nixos/tree/customchannel
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.03: https://git.io/fjzGA
<symphorien> Run as hydra : ssh foo nix-store --version
<o1lo01ol1o> $ ssh foo nix-store --version ssh: Could not resolve hostname foo: Name or service not known
drakonis has joined #nixos
daGrevis has quit [Quit: daGrevis]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
troydm has joined #nixos
<o1lo01ol1o> if you mean: ssh user@slave then the output is: nix-store (Nix) 2.2.2
daGrevis has joined #nixos
inquisitiv3 has joined #nixos
<symphorien> Did you try in an interactive shell ?
<o1lo01ol1o> that was an interactive shell
<o1lo01ol1o> hydra doesn't have ssh apparenetly
Henson has joined #nixos
<symphorien> Then try in a non interactive shell
<o1lo01ol1o> hydra-queue-runner does
<symphorien> ssh user@slave nix-store --version
<symphorien> You can also try nix ping-store
<o1lo01ol1o> right, doing that as hydra-queue-runner yields: nix-store (Nix) 2.2.2
drakonis_ has quit [Ping timeout: 272 seconds]
<symphorien> Ah ok then this was a wrong hypothesis
<inquisitiv3> I'm planning to install NixOS on ZFS. Do the ZFS partition need to be no. 1 as described in the wiki article? https://nixos.wiki/wiki/NixOS_on_ZFS
growpotkin has joined #nixos
AstroBadger has joined #nixos
drakonis1 has joined #nixos
<growpotkin> We bumped into something a bit unexpected about Python packages. I wanted to see if it sounded odd to anyone else. When we list python modules in our build dependencies the order that the modules are listed will lead to wildly different derivations. It seems like modules that are listed first get to set version resolution priority for all later packages.
adamantium has quit [Ping timeout: 258 seconds]
peacememories has joined #nixos
Matthieu_ has quit [Ping timeout: 252 seconds]
schjetne has quit [Ping timeout: 248 seconds]
vidbina has quit [Ping timeout: 248 seconds]
ambro718 has quit [Ping timeout: 258 seconds]
growpotkin has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e9c812e4772 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<Henson> If I want to specify an entry in services.udev.packages in /etc/nixos/configuration.nix, is it possible to specify something in /nix/store? I'm trying to deploy a custom package on a remote computer and it isn't present in nixpkgs, but all the contents are in /nix/store. If I specify the nix store path it doesn't work (the paths of the package aren't even present during nixos-rebuild. But...
<Henson> if I specify the path as something like pkgs.nethack, then the package paths are present).
<Henson> is there a way I can make this work without the package in question being in nixpkgs?
botayhard has quit [Ping timeout: 272 seconds]
botayhard has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #62788 → pythonPackages.asttokens: fix python3 build → https://git.io/fjzZn
erasmas has quit [Quit: leaving]
rprije has quit [Remote host closed the connection]
Anton-Latukha has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @fpletz pushed 6 commits to release-19.03: https://git.io/fjzZ8
<Baughn> Phew. Took me long enough, but I think I have a draft module for zrepl.
<Baughn> Henson: It'll work with any package, not just the ones in github.com/nixos/nixpkgs
<Baughn> Henson: So you should make your own. That can be fairly trivial, depending on what exactly you're trying to do.
npmccallum has quit [Quit: npmccallum]
Matthieu_ has joined #nixos
jackdk has joined #nixos
<catern> Henson: how do expect the store path to get deployed to the remote computer?
o1lo01ol1o has quit [Remote host closed the connection]
<catern> Henson: (btw, the direct answer to your question is "specify the path as something like pkgs.nethack" but I'm not sure why you think that isn't suitable)
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
botayhard_ has joined #nixos
botayhard has quit [Ping timeout: 258 seconds]
thc202 has quit [Ping timeout: 248 seconds]
Havvy has quit [Read error: Connection reset by peer]
<Henson> Baughn: if I specify pkgs.nethack, then it works. But if I specify the path of the .drv file or one of the outputs, then it doesn't work.
<Baughn> Henson: Don't do that. Specify the derivation itself.
<Baughn> The language construct, not the .drv file.
Havvy has joined #nixos
<Baughn> pkgs.nethack evaluates to a mkDerivation call. You want something similar.
<Henson> Baughn: ahh, ok
<Baughn> .drv files are implementation details. I've never needed to touch one.
<Henson> Baughn, catern: the issue is that my package is going to be deployed to a remote computer that is not online. I plan on copying the /nix/store paths directly to these remote machines through an intermediary that is sometimes connected to the machine, and sometimes to the internet
<jackdk> use nix copy to pack up a closure from your build machine? https://www.youtube.com/watch?v=PFi2mT9G65A
<jackdk> ignore the youtube link unless australian rugby is relevant to you. bamboozled by firefox and clipboards!
<Henson> haha!
alp has quit [Remote host closed the connection]
alp has joined #nixos
mbrgm_ has joined #nixos
toppler`` has quit [Ping timeout: 248 seconds]
mbrgm has quit [Ping timeout: 248 seconds]
mbrgm_ is now known as mbrgm
kvda has joined #nixos
<catern> Henson: ah, then you have several viable approaches