gchristensen changed the topic of #nixos to: NixOS stable: 18.09, beta: 19.03 https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950 || 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
<samueldr> all of your posts!
<marler8997> well, if it was flagged by a community member it makes sense
Guest97130 has quit [Read error: Connection reset by peer]
<marler8997> we should find out who flagged them and ask why they did
<jackdk> is there a release date for 19.03 yet?
<samueldr> sphalerite ^
Rusty1 has quit [Quit: Konversation terminated!]
joepie91 has quit [Excess Flood]
<romanofskiWork> is anyone using nix-shell for Python work? I'm wondering how to install packages in develop mode or what the workflow actually is to make it work
Rusty1 has joined #nixos
shibboleth has joined #nixos
thc202 has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @andersk opened pull request #58417 → or-tools: 6.10 -> 7.0, add Python bindings → https://git.io/fjUiR
<jackdk> romanofskiWork: Not I, but have you seen https://nixos.org/nixpkgs/manual/#developing-with-python ?
<sveitser> romanofskiWork: I'm using buildPythonPackage with "src = ./.;" in my shell.nix
<simpson> romanofskiWork: The workflow depends on what you're developing, likely. https://nixos.org/nixpkgs/manual/#developing-with-python explains how to do local development as with traditional Python tooling.
wolfman154 has joined #nixos
christianpoveda has joined #nixos
mbrgm_ has joined #nixos
<romanofskiWork> ah yep I read through it.. it also mentions: 9.11.2.3. Development mode ... and I thought.. huh do I invoke my nix-shell wrong or what am I doing
<romanofskiWork> I'll have a closer look
<romanofskiWork> perhaps I messed something up
<romanofskiWork> cheers!
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
<wolfman154> How do I change my terminal settings in configuration.nix ? I want to change the font and theme(background color), I am using xmonad so I have no access to the terminal GUI.
<samueldr> wolfman154: it depends on which terminal you're ending up using
<samueldr> and not all will have options in configuration.nix
<wolfman154> samueldr: vconsole.conf is not writable so I am trying to figure how to do this in configuration.nix ?
<christianpoveda> Ok i was checking the `generators.nix` documentation and i can generate an `.ini` file and then load it using `dconf load`, how can I execute `dconf load` from nix?
<samueldr> vconsole.conf isn't related to X; though maybe I'm wrong in assuming it was for a terminal running under X in xmonad?
<samueldr> (and I'm not sure vconsole.conf has anything to do with colour, from what I see)
<infinisil> christianpoveda: There's no "running code from Nix"
<infinisil> You can only create script that run code, and maybe include those scripts in the NixOS setup stuff/systemd services
<wolfman154> samueldr: well I completely removed gnome and gdm, and replaced them with xmonad, terminal has no GUI to change the font and theme?
<infinisil> wolfman154: Um, what terminal are you using?
<samueldr> I don't know about xmonad, but I'm pretty sure it doesn't have its own terminal; so it must end up using one, might be xterm, might be urxvt
<samueldr> then, once figured out, since it's a user setting, there probably won't be anything nixos-specific to configure, if it's one of the two I listed, might be done through Xdefaults
<christianpoveda> infinisil: where can i read about that?
<infinisil> christianpoveda: You are using NixOS right?
<christianpoveda> yes
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> Hmm, and you only want to change that .ini file with nixos-rebuilds?
<wolfman154> infinisil: I think I am using xterm, I am not sure though
<christianpoveda> infinisil: i guess that would be correct
<{^_^}> [nixos-org-configurations] @craigem opened pull request #81 → planet-nixos: add Craige McWhirter → https://git.io/fjUii
domogled has quit [Ping timeout: 246 seconds]
<infinisil> christianpoveda: I think you want to go for a systemd user service with `systemd.user.services`, search through nixpkgs (with rg or https://search.nix.gsc.io/) to find examples of it
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/07b42ccf2de (from 5 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
HappyEnt has quit [Remote host closed the connection]
<infinisil> I'm afraid I don't know any good explanation of systemd services, and user ones especially
<infinisil> I live from examples
aplainzetakind has joined #nixos
<christianpoveda> probably I'm overengineering this? i guess i could just mantain everything in an .ini file and run `dconf load` when i need to update something
romanofskiWork is now known as romanofski
<infinisil> a systemd user service isn't something big, it's the best way to get a command to run when a file you specify in nixos changes
<infinisil> I guess you *could* use the very new userActivationScripts, activationScripts are discouraged in general though
<infinisil> christianpoveda: Oh wait, is your .ini file even managed by NixOS/
<infinisil> ?
<wolfman154> How do I change my terminal settings in configuration.nix ?
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7e05cfabe19 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/08abce5ee31 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<aplainzetakind> What could be the reason for `---- oh no! ----\n Sorry, I don't know what to do on Linux` when trying to run the binary installation script?
<infinisil> wolfman154: So yeah that's probably xterm. I suggest you to switch to a different one, xterm isn't well fit for beginners, other terminals will be easier to configure and have a GUI too.
<christianpoveda> infinisil: not that i'm aware of, I was thinking on generating the file from nix and then hooking a script with it when rebuilding
<samueldr> aplainzetakind: elif [ "$(uname -s)" = "Linux" ] && [ -e /run/systemd/system ]; then
<samueldr> looks like it's checking for systemd
<samueldr> (for a multi-user install)
romanofski has left #nixos [#nixos]
<samueldr> this is... not the best UX :/
o1lo01ol1o has joined #nixos
mehran has joined #nixos
<infinisil> christianpoveda: I see, so this might look something like this: `let iniFile = pkgs.writeText "dconf.ini" "<the contents>"; in { systemd.user.services.dconf-reload.script = "${pkgs.dconf}/bin/dconf load ${iniFile}"; }`
<wolfman154> infinisil: echo $SHELL tells me I am using bash, I am only using xmonad so the terminal has no GUI and the terminal settings are not writable, how would I change the terminal font and theme in configuration.nix ?
<aplainzetakind> samueldr: Yes I'm using OpenRC.
<samueldr> aplainzetakind: (1) I'll PR an updated error message specifically for the init
<samueldr> aplainzetakind: (2) AFAIK multi user installs using the script are only supported under systemd
<samueldr> (by lack of contributors mainly)
<infinisil> wolfman154: So you decided on using the really hard-to-configure and outdated urxvt instead of a simpler, newer terminal?
<samueldr> aplainzetakind: I mean, lack of contributors using a distribution using another init system, not lack of contributors at all :)
<infinisil> wolfman154: Maybe you're not getting something here. xmonad doesn't make you have to use that terminal, you're free to choose any terminal you want! If you're coming from a traditional DE background, this might be a bit confusing
<samueldr> aplainzetakind: I believe it should work fine using the single-user installation instructions here https://nixos.org/nix/manual/#sect-single-user-installation
<mehran> what's different between install a package with root privilege or without it?
<aplainzetakind> I'm on Gentoo, I actually emerged nix but the user profile symlink was a dead-end and I wasn't confident to manually fix stuff, and since the ebuild was marked as unstable I decided to just unmerge it and do it manually.
rcshm has joined #nixos
<samueldr> (sorry, I'm not and wasn't a Gentoo user, can't really be of help with specifics, if any)
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<ToxicFrog> mehran: without installs it for just you, as root installs it for everyone
<infinisil> wolfman154: You could for example give terminator a go with `nix-shell -p terminator --run terminator`, this has a GUI you can use to configure
Notkea has quit [Read error: Connection reset by peer]
<wolfman154> infinisil: I am just using the default terminal, should I change terminals or just try to change bashes font and theme in configuration.nix ?
Notkea has joined #nixos
<infinisil> wolfman154: Change terminals, I think it's better for you
<wolfman154> infinisil: ok I’ll give it a try, thanks for the tips
<mehran> what's the root? Is that a user like all other distributions or what?
<wolfman154> infinisil++
<{^_^}> infinisil's karma got increased to 66
<ToxicFrog> mehran: by "the root" do you mean GC roots, or the root user?
<christianpoveda> infinisil: ohhh ok, that sounds great
<mehran> ToxicFrog: what's GC roots?
<christianpoveda> infinisil: i guess i could use a generator to produce the contents of the file?
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
<infinisil> christianpoveda: Yeah, lib.generators.toINI
rcshm has quit []
bemeurer has quit [Ping timeout: 255 seconds]
<infinisil> mehran: For linux in general there's 2 roots: The root of the filesystem, also known as "/", that's the topmost directory. The root user, this is the user with god mode in Linux, it can do anything. Both of those also exist in NixOS
<mehran> I just wanna know the Concept of root user. Do we have any root user concept Different from other distributions at all?
<infinisil> mehran: No, the root user works pretty much the same on NixOS
<gchristensen> samueldr: still need help?
<christianpoveda> infinisil: that would apply the configuration systemwide?
<samueldr> gchristensen: am I misremembering that you have the required privileges to unhide posts?
<gchristensen> I quite possibly do
<infinisil> christianpoveda: Well it's configuration.nix, that *defines* the system
<infinisil> christianpoveda: If you're having trouble I can also get you a working example
<mehran> infinisil: alright, thank you!
<samueldr> gchristensen: did you just?
<gchristensen> samueldr: I think I did
<gchristensen> how does it look?
<samueldr> right
<gchristensen> great
<aanderse> does anyone else think that nixos tests need a web testing framework integrated right in?
<gchristensen> oh?
<aanderse> the web modules like nextcloud, redmine, gitea, etc... they do some basic tests like "does the port listen?"
<aanderse> but that ain't great
<aanderse> it would be nice if we had a web testing framework because then you could "drive around" a bit
<aanderse> make sure that more detailed things actually work
<{^_^}> [nixpkgs] @Infinisil merged pull request #57836 → nixos/security: make duo support secure failure correctly → https://git.io/fjv2H
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjUiF
<christianpoveda> infinisil: hahaha ok, I just meant, this is to configure something for a single user
<samueldr> gchristensen: do you have any other rights than "Leader"? because I do too, and had the Unhide options, but the Ajax request failed with a 403 :/
<christianpoveda> which in my case is irrelevant because i'm the only user of my laptop
<{^_^}> [nixpkgs] @Infinisil pushed commit from @reanimus to release-19.03 « nixos/security: make duo support secure failure correctly »: https://git.io/fjUib
<christianpoveda> but i was just thinking if this just loads that configuration for every single user
sam_d has quit [Ping timeout: 250 seconds]
<samueldr> aanderse: I bet you can't do it :) [as in, yes please do it, I'm pressuring you and try to prove me wrong!]
<{^_^}> [nixpkgs] @Infinisil pushed commit from @reanimus to release-18.09 « nixos/security: make duo support secure failure correctly »: https://git.io/fjUiN
<gchristensen> samueldr: looks like I'm full admin
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7e05cfabe19 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
sam_d has joined #nixos
<aanderse> samueldr: tempting, especially when https://github.com/NixOS/nixpkgs/pull/56387 is completed then merged
<{^_^}> #56387 (by acyuta108, 4 weeks ago, open): cypress: init at 3.1.5
<samueldr> gchristensen: that might help :) wondering if hosted discourse are having a bit of an issue
ym555 has joined #nixos
<infinisil> christianpoveda: Ah yeah, it does, well only the users that actually log in
<slack1256> On normal systems, the effects of nice-values on process aren't really noticiable, right?
<Irenes> it depends on what the machine is doing and how closely you're watching
<Irenes> but loosely, yeah
<Irenes> in twenty years of trying to use nice-values to speed up things I cared about, I've never been able to convince myself it made a difference
<samueldr> might help if your nix builds are niced a bit, when doing something like a huge compile
<aplainzetakind> Is /nix/var/nix/profiles/per-user/$(whoami)/ supposed to be populated after a fresh install, or are there some commands I need to run?
<christianpoveda> infinisil: is there any way to make it just work under a certain user, like some kind of configuration inside users.users?
<aplainzetakind> ~/.nix-profile is presently a dead link.
<infinisil> ,home-manager christianpoveda
<{^_^}> christianpoveda: home-manager allows you to manage your per-user configuration similarly to NixOS's configuration.nix <https://nixos.wiki/wiki/Home_Manager>. It can also be used in your NixOS configuration directly, see <https://rycee.gitlab.io/home-manager/index.html#sec-install-nixos-module>
<infinisil> christianpoveda: Lots of people are using this ^
<CMCDragonkai> When writing a nixos configuration if it is mean to be written generically, what is a good way of generating unique IDs for the hostname or ID config in the os-release?
<marler8997> It looks like my account is no longer on hold, but all my poasts have still been hidden...
<infinisil> CMCDragonkai: Generate it outside of Nix and insert it :)
<gchristensen> :/ looking, marler8997
<christianpoveda> infinisil: well i'm gonna have a busy night, i'll start reading hahaha thank you for all your help
<infinisil> CMCDragonkai: Oh, I guess that's not generic
<CMCDragonkai> infinisil: Are you saying to ask the end-users to update their config?
<marler8997> gchristensen: thanks
<CMCDragonkai> infinisil: Yea something generic...
jasongrossman has quit [Ping timeout: 255 seconds]
<infinisil> CMCDragonkai: Hmm..
<CMCDragonkai> infinisil: Maybe something that derives from a hardware unique ID
<marler8997> gchristensen: are you able to see who flagged the posts? It says it they were flagged by the community?
<CMCDragonkai> infinisil: like mac address
<infinisil> CMCDragonkai: Doesn't really work well with Nix, because the build result should only depend on the nix files
<{^_^}> [nix] @samueldr opened pull request #2745 → install-multi-user: Detect and fail lack of systemd separately → https://git.io/fjUPT
<gchristensen> marler8997: the three I see were flagged by the system, not people
<marler8997> gchristensen: hmm, very odd. especially since there were posted 4 days ago
<samueldr> "the community" sounds awfully like "the collective"
<CMCDragonkai> It seems to generate the hostId if the hostId is null.
<samueldr> discourse's spam protection might be a bit too eager :/ it'd be nice to somewhat lessen them and e.g. whitelist github
<gchristensen> marler8997: your posts are currently hidden?
<marler8997> Now that I think about it, it did flag them right as I was trying to reply on a post....so maybe it triggered a retroactive scan of everthing I've posted?
<marler8997> no it looks like they are there now
<samueldr> gchristensen: they're the one you apparently unhid
<infinisil> CMCDragonkai: Nope, that's only when it's *not* null
<marler8997> it was just the 3 it looks like
<CMCDragonkai> infinisil: So when it is null, what does hostId become?
romanofski has joined #nixos
<infinisil> CMCDragonkai: That just generates a different encoding of it
<infinisil> CMCDragonkai: Nothing, there is none
<infinisil> And the file /etc/hostid won't exist
<zgrep> Running nix-channel --list as root gives... nothing. Something makes me think that this is incorrect for a nixos system... am I mistaken?
<infinisil> CMCDragonkai: I guess you could do `hostId = throw "Generate your host id like this (command) and insert it here"`
<infinisil> If you really need it to exist
<infinisil> (I have no idea what host id is used for tbh)
<buckley310> zgrep, yeah, that should really return something o.o
<zgrep> Peeking into /nix/var/nix/profiles/per-user/root/channels, there is a nixos directory there. But I'm not well-acquainted enough with nix to know what this means.
<buckley310> you could always just re-add the correct channel and maybe everything goes back to working. are you on release-18.09?
<zgrep> Yeah. Brand new install, first boot.
<samueldr> zgrep: sudo -i nix-channel --list
<samueldr> (humor me, I'm still unclear if there was or wasn't an issue requiring -i)
<zgrep> Ah, that does return the correct thing.
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to release-19.03: https://git.io/fjUPq
<infinisil> nix-channel, giving us all problems since forever
<buckley310> weird. "sudo nix-channel --list" works for me
<samueldr> here I think it's part of how NIX_PATH is set
<samueldr> but definitely unsure
<infinisil> buckley310: Are you on Linux and are you on macOS zgrep?
<samueldr> nixos-rebuild might fail without -i, zgrep have you rebuilt since installing?
<infinisil> Ah no zgrep said "first boot", so that's probably NixOS
o1lo01ol1o has joined #nixos
<buckley310> I am on nixos, and i have never used "-i" for my nix operations lol
<buckley310> except at work where i put Nix on a RHEL box...
<zgrep> I'm going to assume that it's because nix-channel looks at $HOME for some reason, and therefore -i is needed. In fact, doing `HOME=/root sudo nix-channel --list` works.
<samueldr> comparing `sudo bash -c 'echo $NIX_PATH'` with `sudo -i bash -c 'echo $NIX_PATH'` might shed some light, if it's related to NIX_PATH
<buckley310> huh
<{^_^}> [nixos-homepage] @craigem opened pull request #269 → Added how to update Planet NixOS → https://git.io/fjUP3
ericsagnes has quit [Ping timeout: 255 seconds]
slack1256 has quit [Remote host closed the connection]
shibboleth has quit [Quit: shibboleth]
<samueldr> if I understand it right, https://github.com/NixOS/nixpkgs/commit/f3a114e088658786cfd5de5b2aa3e7cba9e96c64 is intended to fix that
<samueldr> (here I have a custom NIX_PATH, so I cannot verify :/)
jasongrossman has joined #nixos
freeman42x has quit [Ping timeout: 268 seconds]
mehran has quit [Quit: leaving]
<zgrep> The only difference seems to be /root/.nix-defexpr/channels exists with -i.
<samueldr> /root/.nix-defexpr/channels -> /nix/var/nix/profiles/per-user/root/channels
<zgrep> But the latter already exists at the end of my NIX_PATH? :/
slack1256 has joined #nixos
silver has quit [Read error: Connection reset by peer]
<slack1256> To use chrt as a normal user I need to enable security.rtkit ? the docs aren't clear
<{^_^}> [nixpkgs] @ajs124 opened pull request #58418 → performous: fix build by using boost 166 → https://git.io/fjUPu
<CMCDragonkai> infinisil: What is the difference between `hostName` and `hostId` anyway?
<CMCDragonkai> If `hostName` can be given by DHCP, why not `hostId`?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjUPz
<samueldr> CMCDragonkai: >> gethostid() and sethostid() respectively get or set a unique 32-bit identifier for the current machine. The 32-bit identifier is intended to be unique among all UNIX systems in existence. This normally resembles the Internet address for the local machine, as returned by gethostbyname(3), and thus usually never needs to be set.
<infinisil> I'm as clueless as you
<zgrep> samueldr: S-something changed. Now sudo without -i works...
<samueldr> zgrep: !
christianpoveda has quit [Ping timeout: 256 seconds]
<samueldr> see my previous: I'm not sure if there is or isn't an issue... I think that there is and isn't an issue :(
alex``` has quit [Ping timeout: 246 seconds]
<buckley310> maybe the first login with "-i" creates the symlink, and after that its fine
<gchristensen> hrm. looks like the `light` module is broken.
<samueldr> gchristensen: it changed
<samueldr> it has release notes even!
<samueldr> you now need to be in a group for 19.03
ericsagnes has joined #nixos
<gchristensen> oh
<gchristensen> oh!
<gchristensen> https://nixos.org/nixos/options.html#light I clicked the source link here and it took me to the 18.09 branch which is not my system :)
<samueldr> I made a big assumption here though :)
drakonis has joined #nixos
lopsided98 has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 245 seconds]
lopsided98 has joined #nixos
elux has joined #nixos
<elux> hi there
<elux> ive recently moved to nixos from arch, and im absolutely loving it. what a magical system
<elux> im trying however to do a few basic things as i configure my system. First, how do i install a basic gtk2/3 theme with icons? 2. where can i find other cursor themes for X?
<romanofski> elux: you could use: nix-env -qasP '.*theme.*' to query for all packages with 'theme' in the name
<romanofski> I couldn't find something specific to cursor themes
<{^_^}> [nixpkgs] @Ma27 merged pull request #58358 → itsx: init at 1.1.1 → https://git.io/fjUlr
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjUPK
<romanofski> and I think if there is a package you found and want to install it globally, you'd add it in /etc/nixos/configuration.nix (if I'm correct)
<zgrep> samueldr: I'm confused as to what I should do/say with regards to the possibly (non-)existent issue now. I can't reproduce it, and as best as I can tell NIX_PATH does not seem to have $HOME in it, but rather does the prepending thing (when -i is there, nothing is prepended when -i isn't there).
<samueldr> zgrep: sorry, no idea either :/
<zgrep> Yay, heisenbugs!
Glider_IRC__ has joined #nixos
<elux> thanks romanofski ill try that out -- ive also been using home-manager, does it source from the same pkgs?
Glider_IRC_ has quit [Ping timeout: 255 seconds]
slack1256 has quit [Remote host closed the connection]
elux has quit [Quit: leaving]
aleph- is now known as Case-
<{^_^}> [nixpkgs] @veprbl merged pull request #58418 → performous: fix build by using boost 166 → https://git.io/fjUPu
<{^_^}> [nixpkgs] @veprbl pushed commit from @ajs124 to master « performous: fix build by using boost 166 (#58418) »: https://git.io/fjUPS
<{^_^}> [nixpkgs] @veprbl pushed commit from @ajs124 to release-19.03 « performous: fix build by using boost 166 (#58418) »: https://git.io/fjUPH
<{^_^}> [nixpkgs] @ryantm merged pull request #58342 → drawpile: 2.1.3 -> 2.1.4 → https://git.io/fjUCf
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjUPQ
<{^_^}> [nixpkgs] @flokli opened pull request #58419 → nixos/ldap: set proper User= and Group= for nslcd service → https://git.io/fjUPF
<{^_^}> [nixpkgs] @ryantm merged pull request #57976 → opl3bankeditor: 2019-01-12 -> 1.5 → https://git.io/fjfzK
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjUPh
hakujin has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @veprbl pushed commit from @ajs124 to release-18.09 « performous: fix build by using boost 166 (#58418) »: https://git.io/fjUXU
<{^_^}> [nixpkgs] @Infinisil opened pull request #58420 → Remove a bunch of old option renames → https://git.io/fjUXk
slack1256 has joined #nixos
Erasmus has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #58393 → ncompress: 4.2.4.4 -> 4.2.4.5 → https://git.io/fjUVC
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjUXL
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/38e0576c31d (from 81 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
o1lo01ol1o has quit [Remote host closed the connection]
hakujin has joined #nixos
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjUXm
<{^_^}> [nixpkgs] @Infinisil merged pull request #58390 → musescore: 3.0.1 -> 3.0.5 → https://git.io/fjUVf
o1lo01ol1o has joined #nixos
<scott> tilpner: AlexRice[m]: found a weird solution to my proton problems... i had all my games on an NTFS drive, and moving Castle Crashers and The Witness to my root ext4 drive made them work
<scott> maybe wine or proton don't like NTFS for some reason. seems plausible
<CMCDragonkai> just installed nixos on a new machine, when rebooting into tty1 the entire screen is flashing
<CMCDragonkai> what could be the reason for this?
<samueldr> X failing to start right
<samueldr> and the display-manager looping to restart it
<CMCDragonkai> that could be it... i had set 2 defaults, one for windowManager and one for desktopmanager
<samueldr> CMCDragonkai: new hardware, new as in recent?
<CMCDragonkai> yep
<samueldr> possible it's X failing to start due to it being to new
<samueldr> lately it seems there's been a wave of them :)
<samueldr> `boot.kernelPackages = pkgs.linuxPackages_latest;`
<samueldr> 18.09 defaulted to the latest LTS available at the time, which was 4.14
<samueldr> apparently since 4.14 (now 5.00!) there was a bunch of work on GPU things
<buckley310> if i use the default kernel on 19.09, my laptop display is stuck at 48hz xD
<buckley310> 18.09*
<samueldr> buckley310: I was about to say "say hi to the future" :)
<{^_^}> [nixpkgs] @Infinisil merged pull request #58395 → ndisc6: 1.0.3 -> 1.0.4 → https://git.io/fjUVg
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjUXO
<buckley310> 19.09, AKA master branch :D
<samueldr> I hope when 19.03 lands we'll have at least a couple months before peeps buy new laptop with fancy yet unsupported harware :)
<samueldr> peeps, think of the environment, reuse your laptops :)
<buckley310> im sad that 19.03 has the nvidia driver one version before nvidia added freesync support
<buckley310> so i have this jank overlay thing to upgrade to the next driver lol
goibhniu2 has quit [Ping timeout: 255 seconds]
<CMCDragonkai> samueldr: I installed 4.19 kernel
<samueldr> already? then it's possibly something else
<samueldr> depending on the DM, the log file for X will be at a different location
<{^_^}> [nixpkgs] @Infinisil merged pull request #58385 → turses: fix crash when starting with existing config file → https://git.io/fjUaO
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to release-19.03: https://git.io/fjUXC
<{^_^}> [nixpkgs] @Infinisil merged pull request #58386 → turses: fix crash when starting with existing config file → https://git.io/fjUaW
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to release-18.09: https://git.io/fjUXW
jasongrossman has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @ryantm merged pull request #58340 → zola: 0.5.1 -> 0.6.0 → https://git.io/fjUcY
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjUXl
<CMCDragonkai> i cant even login to root
<CMCDragonkai> the flashing sign prevents the keyboard from performing
<CMCDragonkai> its lagging input entry
<samueldr> yeah
<samueldr> give me a sec
<CMCDragonkai> im using amd ryzen 7 and rtx 2070
<samueldr> try adding `systemd.mask=display-manager.service` to the kernel boot options
<buckley310> noveau or nvidia driver?
<CMCDragonkai> nvidia driver
<samueldr> this'll disable display-manager for a boot, thus no flashing
<samueldr> but uh.... can't say for RTX 2070 :/
<samueldr> might want to hear how buckley310 made their overlay
<CMCDragonkai> i think we need a newer driver
hakujin has quit [Ping timeout: 246 seconds]
<samueldr> highly likely
<buckley310> yeah i can share my overlay if you want
buffet- has joined #nixos
hakujin has joined #nixos
<buckley310> my overlay only works on 19.03, or else it breaks 32-bit GL applications
<buckley310> because i think nvidia dropped 32-bit support in 410 or so, and nixos 18.09 doesnt have a workaround for that
<CMCDragonkai> ok so 19.03 should have the supported nvidia version
<buckley310> yeah
<CMCDragonkai> is it stable though?
<buckley310> ive been using it for a couple weeks and its been fine
buffet has quit [Ping timeout: 246 seconds]
<buckley310> and its due for official release any day now...
<CMCDragonkai> ok
<samueldr> CMCDragonkai: a bunch of those have been pushed from releases to releases (those that are features) so "89 Open" isn't as scary as it sounds
<samueldr> otherwise, I already run my work (like $$ work) laptop from 19.03 since about two weeks and haven't had anything wrong
<samueldr> I think 19.03 should be painless with most users
christianpoveda has joined #nixos
jasongrossman has joined #nixos
<CMCDragonkai> i'm going to try 19.03 from nixpkgs-channels build
<christianpoveda> is there any tool for package suggestion on nixos?
<Case-> samueldr: So I've come to a realization.
<Case-> We must rewrite Nix to be more like B.
Case- is now known as Church-
<samueldr> Case-: good thing I saw your nick change earlier aleph-
<samueldr> or Church-
<Church-> Heheheh
<CMCDragonkai> samueldr: Should i be using 4.19 or 5.0 kernel for the 19.03 branch?
<Church-> samueldr: Think I was some random nutter otherwise?
<samueldr> Church-: please elaborate, not sure I know enough about B to know what you mean
<samueldr> or, Church-, I know I don't know enough about B
<Church-> It's just beautifully terse.
<samueldr> CMCDragonkai: as you please, 4.19 is the default starting 19.03, but _latest is probably not a bad choice either
<Church-> Writing a C compiler over the next few weeks and I keep going back to B.
<Church-> And I have to stop myself from attempting to write a B compiler or for writing my C compiler in B's style.
<Church-> It'd look like beautiful, beautiful line noise.
<samueldr> aw, checked something, I had hope stateVersion would still be unused in 19.03, but two packages will rely in it being pre or post 19.03 (syncthing and redmine)
<jasongrossman> samueldr: I hate stateVersion so much I'm thinking of switching to Windows. Or OS/360.
hmm156 has joined #nixos
<samueldr> jasongrossman: which is why I checked, didn't want to see you leave :)
<CMCDragonkai> just a question, nvidia on ryzen7 should still be using vaapiVdpau right?
<{^_^}> [nixpkgs] @veprbl merged pull request #58414 → imagemagick7Big: Revert meta.broken to false → https://git.io/fjUKd
<{^_^}> [nixpkgs] @veprbl pushed commit from @andersk to master « imagemagick7Big: Revert meta.broken to false (#58414) »: https://git.io/fjUXB
<jasongrossman> samueldr: Thank you.
<samueldr> jasongrossman: (I was kinda being silly here) is there anything specific with stateVersion, other than the name being unwholesome, that warranted the outburst?
abcrawf_ is now known as abcrawf
uranther has joined #nixos
hellrazo1 has joined #nixos
<uranther> Does anyone have an archive of Maak? The link here is broken https://nixos.org/~eelco/maak/
<{^_^}> [nixpkgs] @veprbl merged pull request #58411 → adoptopenjdk-bin: Remove libfreetype.so [backport to 18.09] → https://git.io/fjUKE
<{^_^}> [nixpkgs] @veprbl pushed commit from @tomfitzhenry to staging-18.09 « adoptopenjdk: Remove libfreetype.so from adoptopenjdk's derivation. (#58411) »: https://git.io/fjUXz
hellrazor has quit [Ping timeout: 245 seconds]
<CMCDragonkai> there's a problem with building/compiling the nvidia 415.27
<CMCDragonkai> this is on commit: 23fd1394dc6
<{^_^}> [nixpkgs] @veprbl merged pull request #58412 → adoptopenjdk-bin: Remove libfreetype.so [backport to 19.03] → https://git.io/fjUK1
<{^_^}> [nixpkgs] @veprbl pushed commit from @tomfitzhenry to staging-19.03 « adoptopenjdk: Remove libfreetype.so from adoptopenjdk's derivation. (#58412) »: https://git.io/fjUX2
InFlames has joined #nixos
<CMCDragonkai> for 19.03
<CMCDragonkai> changing back to 4.19 worked
christianpoveda has quit [Ping timeout: 256 seconds]
hmm156 has quit [Quit: Page closed]
<slack1256> What do I need to enable to use chrt as a normal user?
<buckley310> maybe use a security wrapper around chrt with SYS_CAP_NICE?
<romanofski> hm.. odd.. so I found a shellHook which does a pip install -e in nix packages.. but when I invoke nix-shell it doesn't seem to be executed
<slack1256> buckley310: That is what I was thinking on doing. Maybe that is avalaible as a config option for nixos?
<romanofski> I'm missing something simple I suppose without knowing
<slack1256> I don't seem to find it
<buckley310> slack1256, yeah, security.wrappers.{something}
<jasongrossman> samueldr: My problem with stateVersion is the amount of confusion it generates, in what's otherwise such an elegant and unconfusing system (once you grok it).
<samueldr> jasongrossman: good, I was wondering if there was something else, which sounds like "no there isn't" :)
<InFlames> I am trying to install steam and it seems to have installed well, but when I launch "steam", my touchpad in my dell xps 9560 becomes unresponsive, I actually don't see the cursor anymore either, but the keyboard works semi fine, it too has some odd behavior
<jasongrossman> samueldr: Right.
<slack1256> buckley310: Thank you, I needed that hint. You are really helpful
<slack1256> buckley310++
<{^_^}> buckley310's karma got increased to 1
<buckley310> :D!
<CMCDragonkai> 4.19 kernel with 23fd1394dc6 worked
<infinisil> jasongrossman: Weeeelll, there's lots of ugly corners of nixpkgs/NixOS
<CMCDragonkai> however i hit another strange problem... i logged into the root user, and then created another user, and then after rebooting, i could no longer relogin into root.. how weird!
<infinisil> jasongrossman: (in response to "in what's otherwise such an elegant and unconfusing system")
<{^_^}> [nixpkgs] @bhipple opened pull request #58421 → nixos.cron: fix docstring sentence → https://git.io/fjUX9
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
<jasongrossman> infinisil: I knew I was going to have to expand what I said! I meant for many users, not for power users / developers. And even so maybe I was wrong, but I was close enough to right to explain my annoyance with stateVersion.
slyfox_ has joined #nixos
slyfox has quit [Ping timeout: 250 seconds]
<infinisil> :)
<CMCDragonkai> is there some bios settings to set to enable kvm-amd and coretemp for the ryzen 7?
<slack1256> CMCDragonkai: modify boot.kernelModules on configuration.nix
<buckley310> most BIOSs have a "virtualization on/off"
<CMCDragonkai> i already did, and i checked journalctl --boot
<slack1256> oh bios settings
<CMCDragonkai> and it saw some errors about kvm-amd and coretemp not being able to be loaded
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
slack1256 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mogorman opened pull request #58422 → chafa: init at 1.0.1 → https://git.io/fjU1f
<{^_^}> [nixpkgs] @acyuta108 opened pull request #58423 → cypress: init at 3.2.0 → https://git.io/fjU1J
<{^_^}> [nixpkgs] @acyuta108 closed pull request #56387 → cypress: init at 3.1.5 → https://git.io/fhbbp
hakujin has quit [Ping timeout: 245 seconds]
<infinisil> mog: Noice!
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/38e0576c31d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
hakujin has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/efc8c2cd556 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<gchristensen> that is AWESOME!
<{^_^}> [nixpkgs] @domenkozar pushed to remove-yarn2nix « Remove yarn2nix, see #20637 »: https://git.io/fjU1O
<mog> its silly but already have uses for making console friendlier at work
<{^_^}> [nixpkgs] @domenkozar opened pull request #58424 → Remove yarn2nix, see #20637 → https://git.io/fjU13
<mog> infinisil, one more question for you. it didnt seem to install man pages when i did it. is there something i should be copying to $out ?
<jasongrossman> mog: I'd use it.
<infinisil> mog: Hmm..
<teto> is that possible to call a function with 2 parameters from nix-shell. I added another parameter to ghcWithPackages that I call via `nix-shell -p 'haskellPackages.ghcWithPackagesTest( (hs: [hs.fast-logger]) ["--set TOTO \"hello\""])' ~/nixpkgs ` but it triggers error: while evaluating the attribute 'buildInputs' of the derivation 'shell' at /home/teto/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
<teto> cannot coerce a function to a string, at /home/teto/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14
<infinisil> mog: Are there man pages?
<mog> on the authors web page has man page and gtk-doc of it
<mog> hmm configure script has a --enable-man but it should have been on
<teto> nevermind, I fixed it
<mog> ill make those changes and play with it
<infinisil> mog: Yeah can't figure it out either right now
<infinisil> Maybe leave a comment if you can't either
<mog> no worries i think i got it. ill have update out in a bit
<infinisil> Neat
<mog> thanks for help
edlin has joined #nixos
InFlames has quit [Ping timeout: 250 seconds]
[Leary] has quit [Remote host closed the connection]
Erasmus has quit [Read error: Connection reset by peer]
<gchristensen> infinisil: do you sleep? :P
pie__ has joined #nixos
InFlames has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
pie___ has quit [Ping timeout: 255 seconds]
<tdeo> i want to wrap a package with a special environment made by buildEnv in /nix/.../share. is it acceptable to make a small patch to the program to make it search a path specified in an environment variable?
<tdeo> like, if i'd want to upstream it to nixpkgs
drakonis has quit [Quit: WeeChat 2.3]
rauno has joined #nixos
<tdeo> the alternative is to rebuild the program if i want to change that environment :/
<Ralith> tdeo: you should try to make a patch that upstream will accept, then get it accepted upstream
reinhardt has joined #nixos
<tdeo> that's unfortunately unlikely, as the last release was in 2014. i think i'll use the patch and if it isn't accepted into nixpkgs i'll maintain it in my overlay
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/efc8c2cd556 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
domogled has joined #nixos
endformationage has quit [Ping timeout: 255 seconds]
bemeurer has joined #nixos
bemeurer has quit [Client Quit]
<teto> any good soul to review https://github.com/NixOS/nixpkgs/pull/56503 (just adds a couple vim plugins)
<{^_^}> #56503 (by teto, 3 weeks ago, open): vimPlugins: adding vim-sneak,unicode.vim, nvim-hs.vim
<CMCDragonkai> is there a good resource which explains all the available linux kernel modules and what they are for?
<CMCDragonkai> I only found this: https://cateee.net/lkddb/web-lkddb/ but I don't know if this is official
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jackdk> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation and whatever is used to extract the docs for settings you see in `make menuconfig`?
Glider_IRC_ has joined #nixos
<InFlames> does anyone understand why firefox's and chromium's geolocation api doesn't work on my build? I am thinking I left out something obvious to someone more familiar with nixos
<InFlames> I can post my config if needed
edlin has quit [Quit: WeeChat 2.2]
vk3wtf has quit [Ping timeout: 240 seconds]
<CMCDragonkai> jackdk: I'm more looking for something where I plug in the name of a kernel module like `usb_storage` and for it to then tell me about it.
Glider_IRC__ has quit [Ping timeout: 255 seconds]
<Ralith> InFlames: are you testing them over https?
<CMCDragonkai> And to allow me to browse the entire set available.
<Ralith> I know chrome refuses to send geo data unencrypted
edlin has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9f9465230ff (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<InFlames> Ralith: I wasn't, it was just a little react app I was writting, I wonder if my old OS was allowing it over http, hmm. I'm just talking about the browser implementation, window.navigator.geolocation.getCurrentPosition()
<InFlames> I guess the browser should be doing it over https. but I can't see the call
<Ralith> look at the address bar; does it say https? :P
<InFlames> well, no, but I'm not making the call directly, does that matter? it worked before...
<InFlames> it worked like 2 days ago on ubuntu for some reason
<Ralith> try it over https
<InFlames> I mean, I can enable https on the sever, but I'm not even making the call
<InFlames> I can type into the console and it'll fail
<InFlames> I'm not making an http request
<InFlames> but if you think that's the issue, I'm willing to entertain the idea that somehow ubunut was handling it
edlin has quit [Quit: WeeChat 2.2]
jonge[m] has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8471ab76242 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<InFlames> from the console: message: "Network location provider at 'https://www.googleapis.com/' : No response received." Ralith
<InFlames> error code 2
reinhardt has quit [Quit: Leaving]
<InFlames> still failed with my selfsigned ssl cert
<Ralith> weird
<InFlames> It's a bit weird to me too, lol
<InFlames> I don't really _mind_, I did find I can just mock it and it'll always show the location I want, which basically works for me forever, haha
knupfer has joined #nixos
ddellacosta has quit [Ping timeout: 255 seconds]
knupfer has quit [Ping timeout: 268 seconds]
palo1 has joined #nixos
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
adetokunbo has joined #nixos
<{^_^}> [nixos-homepage] @oxij opened pull request #270 → Build unstable manuals → https://git.io/fjUMF
vk3wtf has joined #nixos
<CMCDragonkai> Is there a list map function in Nix?
<MarcWeber> CMCDragonkai: There is builtins. I'd checkout nixpkgs and just grep for 'map' or such. https://github.com/NixOS/nixpkgs/blob/master/lib/lists.nix
<CMCDragonkai> i can only find imap
ardumont has joined #nixos
rauno has quit [Remote host closed the connection]
jasongrossman has quit [Ping timeout: 246 seconds]
jasongrossman has joined #nixos
jtojnar has quit [Quit: jtojnar]
PLPD-Bot has quit [Remote host closed the connection]
reinhardt has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
Zer000 has quit [Ping timeout: 250 seconds]
PLPD-Bot has joined #nixos
hyper_ch2 has joined #nixos
jasongrossman has quit [Ping timeout: 246 seconds]
jasongrossman has joined #nixos
dejanr has joined #nixos
<musicmatze> Can someone show me where stdenv.mkDerivation is defined?
<MarcWeber> musicmatze: Talk about the goal you want to be solved.
<MarcWeber> You find it by grep in nixpkgs -> clone that repository.
<MarcWeber> make-derivation.nix
reinhardt has quit [Quit: Leaving]
<musicmatze> I am grepping through it right now but cannot find the actual definition. I found pkgs/stdenv/adapters.nix, but ...
<musicmatze> ah okay.
<MarcWeber> BTW see sourceAndTags which implements tags for .nix files.
dejanr has quit [Ping timeout: 245 seconds]
<MarcWeber> pkgs.ctagsWrapped.ctagsWrapped
<MarcWeber> (-A )
<MarcWeber> Then its easy to find with vim's :tjump or so.
<musicmatze> MarcWeber: My goal is to check whether I can build deb/rpm packages out of nixpkgs expressions and get an output that I can use to install debian/centos machines without the need to call into upstream debian/centos repositories (so build all recursive/transitive dependencies from nixpkgs)
<musicmatze> ah, the problem was that I grepped for "mkDerivation = " rathern than "mkDerivation =" (trailing whitespace)
<MarcWeber> Has been done.
<MarcWeber> grep for dpkg or such forgot where.
<MarcWeber> Eg grep nixpkgs for centos yields vm/default.nix or so.
<musicmatze> I already found that I can build debs for example using pkgs.releaseTools.debBuild, but that does not build transitive dependencies
agander_ has joined #nixos
mabel has joined #nixos
mabel has quit [Changing host]
mabel has joined #nixos
orivej has joined #nixos
Myhlamaeus has quit [Ping timeout: 250 seconds]
<mabel> hey, is it possible to have multiple windowManagers enabled, but keep one as the default?
agander_ is now known as agander
wfranzini has joined #nixos
Makaveli7 has joined #nixos
rauno has joined #nixos
mabel has quit [Quit: WeeChat 2.2]
<jasongrossman> mabel: Yes.
<musicmatze> Hm, I do not understand how I could use the build support stuff to build debian packages ...
<jasongrossman> musicmatze: Would this do? https://github.com/matthewbauer/nix-bundle
<musicmatze> jasongrossman: no, as static linking is not an option
<musicmatze> at least not by default
Ariakenom has joined #nixos
<{^_^}> [nixos-org-configurations] @edolstra merged pull request #81 → planet-nixos: add Craige McWhirter → https://git.io/fjUii
<{^_^}> [nixos-org-configurations] @edolstra pushed 2 commits to master: https://git.io/fjUD4
fusion809 has quit [Remote host closed the connection]
adetokunbo has quit [Quit: This computer has gone to sleep]
periklis has joined #nixos
InFlames has quit [Quit: Konversation terminated!]
jbgi has joined #nixos
InFlames has joined #nixos
dwdr has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
<musicmatze> grml it just does not work -..-
m0rphism has joined #nixos
adetokunbo has joined #nixos
<sphalerite> 1 jackdk: when it's done :D
linarcx has joined #nixos
zupo has joined #nixos
Tucky has joined #nixos
<gentauro> I'm new to NixOS and I thought that the `stable` version was 19.03? https://nixos.org/nixos/download.html (am I missing something?)
<etu> gentauro: The 19.03 is not released yet
<etu> gentauro: It's been in freeze for a while and will be released whenever certain requirements are met
<{^_^}> [nixpkgs] @flokli merged pull request #58349 → [18.09] tzdata: 2018g -> 2019a → https://git.io/fjUWL
<{^_^}> [nixpkgs] @flokli merged pull request #58348 → [19.03] tzdata: 2018g -> 2019a → https://git.io/fjUWI
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging-18.09: https://git.io/fjUDj
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging-19.03: https://git.io/fjUye
adetokunbo has quit [Quit: This computer has gone to sleep]
<gentauro> etu: which are?
<musicmatze> 18.09 is the current stable
<gentauro> (like I said, I'm a newbie to the platform)
<musicmatze> The requirements are, from the top of my head, that all packages build for example... We cannot release a stable version with some packages not building, right? :-)
<ardumont> matin
<ardumont> oops, hello
<gentauro> musicmatze: that gives sense :-)
<etu> gentauro: One thing is usually ZHF (Zero Hydra Failures), and then there is this milestone: https://github.com/NixOS/nixpkgs/milestone/15
<eyJhb> https://github.com/NixOS/nixpkgs/pull/58061 can anybody merge this?
<{^_^}> #58061 (by eyJhb, 5 days ago, open): sweethome3d: 6.0 -> 6.1.2
<etu> gentauro: There's usually some things around that don't make it in the milestone to not stall the release
<gentauro> etu: understandable
<{^_^}> [nixpkgs] @Ma27 merged pull request #58353 → clementine: update to qt5 → https://git.io/fjUWQ
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjUym
<musicmatze> I'm still struggeling with building a debian package with nixpkgs...
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging-next: https://git.io/fjUyY
<{^_^}> [nixpkgs] @flokli merged pull request #58347 → tzdata: 2018g -> 2019a → https://git.io/fjUWk
<gentauro> I'm just thinking, put NixOS onto a new device and 1 week later I have to deal with an (major) upgrade. I would rather just install 19.03 and then "learn enough" to handle next (major) release :)
<jasongrossman> gentauro: It's very safe to install 19.03 then.
<{^_^}> [nixpkgs] @etu merged pull request #58061 → sweethome3d: 6.0 -> 6.1.2 → https://git.io/fjf7K
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjUyG
<jasongrossman> gentauro: Although actually NixOS upgrades are extremely painless. But rather than take my word for that, just install 19.03 now. It's almost identical to what will be released.
<musicmatze> gentauro: It really doesn't matter ... a major update from 1809 to 1903 is not more than executing two or three commands in your shell... and if something goes wrong you can always boot to an earlier generation.
<musicmatze> From time to time some interfaces to nixpkgs change so you have to rewrite some expressions, but that is not very common TBH
<jasongrossman> Either way will work fine.
<musicmatze> But I'd second jasongrossman here... just install 19.03 and go with it. Or even install unstable if it is just for the sake of playing around
buffet- is now known as buffet
<eyJhb> Thanks etu ! :)
<{^_^}> [nixpkgs] @flokli merged pull request #57929 → [backport] nixos/tests/predictable-interfaces: fix failure on aarch64 → https://git.io/fjfOz
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-19.03: https://git.io/fjUyC
<gentauro> I was back in the days a `gentoo guy` who build all packages locally (yeah, those were the times) :D. But I want to start with the minimal possible version and add to it (`nixos-minimal-18.09.2394.2d656a97297-x86_64-linux.iso`)
<gentauro> so even though I juse that iso file, I can still just install 19.03 right?
<jasongrossman> gentauro: Yes, but if you're using the iso file then install 18.09 first. Then do `sudo nix-channel add` to add the 19.03 channel. See the manual for details, under "channels".
<musicmatze> gentauro: And if you're coming from gentoo, you'll be blown away by nixos once you have that "Oh fuck yes, now I get it"-moment! I know a few gentooers who started nixos and won't go back because of what nixos offers them
civodul has joined #nixos
reinhardt has joined #nixos
<gentauro> musicmatze: I "hated" emerge with a passion, and was kind of happy with paludis. When I moved to a `mac` suddently the nix packet manager showed up for gentoo
<{^_^}> [nixpkgs] @Ma27 merged pull request #57252 → ibus-engines.typing-booster-unwrapped: 2.5.3 -> 2.6.0 → https://git.io/fhh7A
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjUy6
goibhniu1 has joined #nixos
<gentauro> but I'm a FP by heart so NixOS is something that I have should look into long time ago ;)
<gentauro> (at the moment using Qubes OS)
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #58421 → nixos.cron: fix docstring sentence → https://git.io/fjUX9
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjUyM
thc202 has joined #nixos
<srhb> gentauro: Thanks for yesterday, welcome :)
<srhb> gentauro: Regarding the 18.09 -> 19.03 upgrade, it's of course more trivial on a very small system, but just for reference I actually helped someone yesterday install 18.09, get a basic system up, upgrade to 19.03, downgrade again.
domogled has quit [Remote host closed the connection]
<gentauro> srhb: yeah, thank you :)
<gentauro> srhb: is it really that easy?
<gentauro> gosh, have we reach "nirvana"? :-)
<gentauro> s/reach/reached
<srhb> gentauro: Yes. Your only concern (usually) is whether it's safe for eg your mutable data. Like, consider if your database migrated or something like that :)
<{^_^}> [nixpkgs] @Ma27 closed pull request #22366 → [WIP] clementine-qt5: init at 1.3.1 - call for testers → https://git.io/vDOFu
<srhb> For all the immutable bits, NixOS makes it completely trivial. There is no "upgrade" as such, just a new system generation.
<gentauro> srhb: brilliant !!!
<gentauro> so the versioning is just for "sanity" but it has no impact on end-users. ME GUSTA
<srhb> gentauro: Well, it also represents branch-offs from master that stay relatively the same, mostly minor version upgrades and security fixes.
<srhb> gentauro: So each stable branch is a dead-end branch-off from master
<etu> gentauro: For example, I tried out a newer version of a package I use to help out with a PR. And the software worked fine. But when I went back to my older generation it was broken because of the database being upgraded when I ran the newer version :p
<srhb> etu: Yeah, I don't think anyone has a good story for that yet :/
<gentauro> srhb: basically a `tag` ;)
<srhb> That would be godlike though...
<etu> srhb: That's a really really hard problem to solve :|
<srhb> gentauro: Hmm, maybe? The important thing to realize is that master does not ever get merged back into the stable branches after release.
<teto> what's the -B flag in ghc wrapper ` exec "/nix/store/8vq01xmxlp9wxzilkw85rb621ag7nwmd-ghc-8.6.4/bin/ghc" "-B$NIX_GHC_LIBDIR"` ? can't find -B in ghc's manpage
<srhb> So you shouldn't see big, (statefully) incompatible changes within a release branch.
<gentauro> `master does not ever get merged back into the stable branches after release.` I think that's the definition of a `git tag` iirc
* srhb doesn't know :P
<etu> gentauro: Not really since a git tag is basically a named label for a specific commit
<etu> gentauro: And we have the master branch, and from that we create the release-18.09 and so on where we cherry-pick over commits from master
<srhb> teto: uuuh. I feel like I should know that...
<Taneb> The only -B I can find in GHC's user guide is "sound a bell at the start of each garbage collection"
<srhb> I think it's actually something that gets passed to stdenv somehow...
<srhb> Taneb: Yeah, that's an RTS flag though, right?
<srhb> (glorious feature, by the way...)
<Taneb> srhb: yes, maybe GHC has the RTS flags visible? But this is probably not what we're looking at
Jackneill has quit [Ping timeout: 272 seconds]
<Taneb> Aha, that "/bin/ghc" is a shell script
<Taneb> Oh no, that's where the -B is coming from
wfranzini1 has joined #nixos
<Taneb> I got all excited for finding the wrong end of the thread :(
<srhb> :P
wfranzini has quit [Ping timeout: 250 seconds]
wfranzini1 is now known as wfranzini
Anton-Latukha has joined #nixos
<srhb> So it's definitely related to making ghc find its settings dir.. So I imagine it's related to ghc-pkg
<srhb> er, settings file
<srhb> It's internal to GHC, not ours... :let (minusB_args, argv1) = partition ("-B" `isPrefixOf`) argv0
<Taneb> Yay undocumented flags
<teto> haskell folks like to overengineer it seems. There is a bazillion flags for everything with names so close you can't guess the difference between options, with intermediary files at every step aaaahhh. Funny when the motto is "we keep the core is minimalistic"
wfranzini has quit [Read error: Connection reset by peer]
<srhb> teto: It's this path
<srhb> "The first argument should point to the directory where GHC's library files reside. More precisely, this should be the output of ghc --print-libdir of the version of GHC the module using this API is compiled with"
wfranzini has joined #nixos
<srhb> So, the -B is short for blibdir, obviosuly.
<teto> I am trying to generate a user db to add to GHC_PACKAGE_PATH but can't seem to find out :/ also ghc-pkg doesn't print any error when it can't unregister a package (ofc the store is RO), you have to check the returned value
Jackneill has joined #nixos
<teto> obviously xD
ilmu has joined #nixos
reinhardt has quit [Ping timeout: 246 seconds]
jbgi has quit [Ping timeout: 250 seconds]
Makaveli7 has quit [Read error: Connection timed out]
Makaveli7 has joined #nixos
ilmu has quit [Ping timeout: 240 seconds]
joepie91___ has joined #nixos
joepie91___ has joined #nixos
joepie91___ has quit [Changing host]
orivej has joined #nixos
__monty__ has joined #nixos
<sphalerite> samueldr: clever: solved my features problem… The solution? ….overrideAttrs (o: {passthru = lib.recursiveUpdate o.passthru {features.netfilterRPFilter = true;};})
<sphalerite> :|
reinhardt has joined #nixos
joepie91___ is now known as joepie91
<teto> the feature thing seems like an error prone abstraction
Unode has quit [Ping timeout: 250 seconds]
zupo_ has joined #nixos
zupo has quit [Ping timeout: 245 seconds]
fendor has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #58428 → scons: 3.0.4 -> 3.0.5 → https://git.io/fjU9T
Unode has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56707 → gohufont: 2.0 -> 2.1 → https://git.io/fhADp
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjU9u
ThatDocsLady has joined #nixos
<sphalerite> teto: yeah, I'm not very happy with it…
<sphalerite> overall the kernel build seems to have a lot of history that's still very visible in the current code
<{^_^}> [nixpkgs] @javgh closed pull request #58403 → monero: 0.13.0.4 -> 0.14.0.2 → https://git.io/fjUrh
jtojnar has quit [Ping timeout: 268 seconds]
InFlames has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/322ff2f5263 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
Ridout has joined #nixos
adamt has joined #nixos
elgoosy has joined #nixos
elgoosy has quit [Remote host closed the connection]
grizwako has quit [Ping timeout: 255 seconds]
silver has joined #nixos
alex``` has joined #nixos
iyzsong has joined #nixos
grizwako has joined #nixos
<{^_^}> [nixpkgs] @xeji opened pull request #58429 → python2Packages.nevow: fix build → https://git.io/fjUHw
<{^_^}> [nixpkgs] @primeos opened pull request #58430 → [18.09] signal-desktop backport → https://git.io/fjUH6
ubert has joined #nixos
<aplainzetakind> error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': No such file or directory <-- while trying the install script with --no-daemon
<{^_^}> [nixpkgs] @alexbiehl opened pull request #58431 → Alex/nix layers → https://git.io/fjUHH
mojjo has joined #nixos
<mojjo> hi
<mojjo> I have some troubles with an installation on a dell laptop. I prepared a bootable stick, and when booting from it I get these messages:
<mojjo> 21402 jiffies s: 333 root: 0x4/.
<mojjo> [21...] blocking rcu_node structures:
<mojjo> and many of them, appearing very slowly.. but no success after minutes...
erictapen has joined #nixos
jackdk has quit [Quit: Ping timeout (120 seconds)]
init_6 has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #58430 → [18.09] signal-desktop backport → https://git.io/fjUH6
<{^_^}> [nixpkgs] @primeos pushed 5 commits to release-18.09: https://git.io/fjUHF
clefru has joined #nixos
reinhardt has quit [Ping timeout: 245 seconds]
<Myrl-saki> Can Nix load a symlink's *contents* to /nix/store?
<Myrl-saki> I'm kinda surprised how ${symlink} works.
<srhb> Myrl-saki: I've never heard of the "content" of a symlink, what do you mean by that?
<{^_^}> [nixpkgs] @primeos merged pull request #58215 → iputils: 20180629 -> 20190324 → https://git.io/fjJ9P
blackriversoftwa has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fjUQe
<blackriversoftwa> Is there an idiom in a module definition to set a string-typed option to the default plus some extra text?
pie_ has joined #nixos
<andi-> Options.foo.default + "something"?
<Myrl-saki> [myrl@myrl:~]$ nix eval '("${/etc/nixos/nix-duplicity-backup}")'
<Myrl-saki> "/nix/store/4ykgw4n68lb3h8za7669hpcqm2wri9q3-nix-duplicity-backup"
<Myrl-saki> [myrl@myrl:~]$ ls -l /nix/store/4ykgw4n68lb3h8za7669hpcqm2wri9q3-nix-duplicity-backup
<Myrl-saki> lrwxrwxrwx 1 root root 44 Jan 1 1970 /nix/store/4ykgw4n68lb3h8za7669hpcqm2wri9q3-nix-duplicity-backup -> /home/myrl/Development/nix-duplicity-backup/
<Myrl-saki> srhb:
jbgi has joined #nixos
<srhb> Myrl-saki: So you want the import to dereference the symlink?
<Myrl-saki> Yep.
<blackriversoftwa> andi-: thanks
<srhb> Myrl-saki: Yeah, okay, I've seen that requested a lot of times...
<clefru> Is there something like a nix-channels meta-repo or NUR or overlay that provides me with something that looks like this https://gist.github.com/clefru/4fe29e5b880534b77f1775a859e25808 ?
<Myrl-saki> srhb: How about a de facto standard for cross-disks(virtual mount?)"hard link"
<Myrl-saki> God, what the heck did I just say
<srhb> No idea, still parsing..
<srhb> :-)
<Myrl-saki> Is there a de facto standard for NixOS to "mount" a directory in another location for NixOS?
<adamt> bind mounts?
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<Myrl-saki> Oh cool, thanks.
i1nfusion has quit [Remote host closed the connection]
<adamt> It's not terrible NixOS specific, but if you just want the same directory mounted several places that's at least one way to do it
i1nfusion has joined #nixos
<__monty__> Simple symlinks could also work.
mmlb97745 has joined #nixos
<Myrl-saki> __monty__: Check my log 10 mins ago.
linarcx has quit [Quit: WeeChat 2.4]
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #58432 → nixos/mailcatcher: init module for existing package → https://git.io/fjUQ3
<mpickering> Has anyone used peek on nixos? It fails when trying to render the gif
<mpickering> realloc(): invalid old size
<mpickering> ok I had to install gnome3.dconf
<{^_^}> [nixpkgs] @primeos merged pull request #58136 → iproute2: 4.20.0 -> 5.0.0 → https://git.io/fjJ3M
<{^_^}> [nixpkgs] @primeos pushed 2 commits to staging: https://git.io/fjUQ0
<etu> mpickering: If that helped, the peek derivation need to be patched to solve that internally. Please report it as an issue or fix it yourself in a PR :-)
<{^_^}> #58433 (by mpickering, 6 minutes ago, open): peek fails when rendering GIF
<mpickering> Well that fixed some errors but still errors when rendering hmm
<mpickering> "free(): invalid pointer"
<{^_^}> [nixpkgs] @dotlambda pushed to master « home-assistant: 0.90.1 -> 0.90.2 »: https://git.io/fjUQE
Erasmus has joined #nixos
reinhardt has quit [Ping timeout: 255 seconds]
benedikt-h has joined #nixos
reinhardt has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0a88820fc95 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
periklis` has joined #nixos
abcrawf has quit [Remote host closed the connection]
periklis has quit [Ping timeout: 245 seconds]
abcrawf has joined #nixos
Ridout has quit [Quit: Lost terminal]
<sb0> is there a way to install gitlab in a way that it does not leak secrets through the nix store?
<sb0> we have hydra installed on the same machine, so AFAICT, it would happily serve the gitlab secrets to the world
ym555 has quit [Ping timeout: 250 seconds]
ilmu has joined #nixos
<tilpner> sb0: The thought of anyone being able to pull your entire system closure (meaning hashes become secrets and you have to audit pastes and logs) scares me
<tilpner> sb0: If you can, don't serve your local store publicly
<sb0> isn't that what hydra installs do?
<tilpner> You can have hydra maintain a separate binary cache next to the local store
<tilpner> Or guard access to authorized devices
<tilpner> In the first option it would only serve whatever hydra built. Doesn't help if you have that Hydra build itself (or other systems)
<sb0> well I'm basically using default hydra settings
<sb0> in that case, is hydra only serving those nix store entries that it has built itself?
<tilpner> I don't know what Hydra does by default. Assume it does the worst thing until you checked
<Taneb> Is there a function or something in nixpkgs which takes a number of Python derivations and outputs an appropriate value for PYTHON_PATH?
<tilpner> I remember setting up nix-serve myself, so it might not do anything by default (but don't rely on that!)
<sb0> if it doesn't serve the nix store, then how can it act as a binary cache?
<sb0> because the binary cache part is definitely working
<tilpner> sb0: By "local nix store" I mean /nix/store, which stores everything in usable form
<sb0> yes. isn't hydra putting its build products there?
<tilpner> sb0: Hydra can alternatively keep a binary cache in NAR form in a location like /var/lib/hydra/somethingelse
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
aminechikhaoui has joined #nixos
<adamt> Does anybody have a nifty and bullet-proof way to detect whether a device has a filesystem on it? The best I've come up with is something like "file -sL /dev/sdd" and parse the output (if it's just "data" there's probably no filesystem)
<tilpner> adamt: Not quite filesystems, but os-prober is related
<genesis> testdisk is a good tool
<genesis> cocorico :)
<sb0> yeah, my hydra (default) install is just serving the whole /nix/store, no matter what created the entries
npmccallum_ has quit [Ping timeout: 245 seconds]
<sb0> if this is so insecure - why is it the default?
<etu> mpickering++
<{^_^}> mpickering's karma got increased to 2
<genesis> https://github.com/ps2dev/ps2client/blob/master/Makefile#L6 do you think remove cflag is a good idea or we should let pedantic and std if project comes with it ?
<clever> sb0: the attacker needs to know the hash of the build directions to download something
orivej has quit [Quit: No Ping reply in 180 seconds.]
<sb0> clever: okay, and that hash is quite strong, and secrets in configuration.nix are semi-safe?
orivej has joined #nixos
cfricke has joined #nixos
<srid6> My nginx vhost config has a property like this: `locations."/" = ...`. If I have a variable that is assigned to "/" (or anything else), how do I use that variable in that property (in place of the static "/")? If the variable is named `loc` and I use `locations.loc = ...` it works but nginx is giving a 404 always.
<srid6> I guess this ^ is more of a nix syntax question.
srid6 is now known as srid
srid has quit [Changing host]
srid has joined #nixos
srid_ has joined #nixos
<Myrl-saki> Hm, nixos-install seems to be broken for absolute paths.
<Myrl-saki> Is there a reason why nixos-install's root is the / of the installer?
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #58434 → Add licenses → https://git.io/fjU7T
<mojjo> does anyone have an idea why `fdisk -l` does not show up my internal hard drive when invoked from a nixos-live-installer? the harddrive exists and works so far, as the preinstalled windows os boots.
<andi-> is it nvme? Is the module loaded?
<clever> mojjo: does lsblk show it?
<mojjo> clever: I'll check in a sec
<adamt> tilpner / genesis: Thanks. Both seem a bit overkill, and looking at the manpages online I'm not sure how either would easily solve my problem. Maybe I should just use file and maybe use lsblok to double check
jbgi has quit [Ping timeout: 246 seconds]
ar1a has quit [Ping timeout: 246 seconds]
<adamt> (I "just" want to ensure a block device has a file system on it before it's mounted with systemd)
<adamt> srid: you can do something like `locations."${foo}"`
ar1a has joined #nixos
<rycwo> any idea how I would approach defining a systemd service just for a user?
<rycwo> is this possible?
<mojjo> clever: it does not show it, it only shows the usb stick and a loop
<clever> mojjo: do you know what type of device it is?
<mojjo> clever: not right away..
<clever> mojjo: is it on the sata bus, or directly pcie?
<adamt> (rycwo: not really sure whether you'll have to add it to your ~/.config/nixpkgs/config.nix or the systemd configuration, though)
<Myrl-saki> "${/etc/nixos/nix-duplicity-backup}" == "${builtins.filterSource (x: false) /etc/nixos/nix-duplicity-backup}"
<Myrl-saki> true
<Myrl-saki> Eep
Neo-- has joined #nixos
<rycwo> adamt: thanks, yeah was about to ask
<{^_^}> [nixpkgs] @rixed opened pull request #58435 → ocaml-syslog: fix missing cmxa file → https://git.io/fjU7Z
<mojjo> clever: I don't know :( I was going through the bios settings and I think I remember there was sth. about pci. I could check again, if this is important.
<clever> mojjo: its more about the physical drive
<rycwo> adamt: would be good if it could be defined just for the user instead of system-wide
<clever> mojjo: crack the case open, look at it
<mojjo> clever: arrr :)
<mojjo> clever: so no way to figure out in the bios?
<adamt> mojjo: Maybe lspci can reveal the timeout?
<clever> mojjo: every bios shows it differently
sigmundv has joined #nixos
<mojjo> adamt: well `lspci` gives me a bunch of stuff.. what do you mean by timeout?
<clever> mojjo: can you pastebin the output of lspci?
waleee has joined #nixos
infinee has joined #nixos
<adamt> mojjo: Forget about the "timeout" part, i was listing to somebody explaining and issue with half an ear
<mojjo> adamt: ok :)
<mojjo> will provide the pastebin in a sec
<adamt> mojjo: Basically lspci (and lsusb &c) just reveal a bunch of hardware details, but yeah, if you paste if maybe we can say something about it
novakovic has quit [Ping timeout: 244 seconds]
jbgi has joined #nixos
elux has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7205c1ee3e6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<elux> how can i have xsession/xorg use just the default x11 cursor theme..?
<elux> i find the default that comes is super old looking, but x11 default isn't what im used to from Arch and other past operating systems
Makaveli7 has quit [Quit: Leaving]
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #58363 → ocamlPackages.stdint: 0.5.0 -> 0.5.1 → https://git.io/fjUBz
<{^_^}> [nixpkgs] @vbgl pushed commit from @rixed to master « ocamlPackages.stdint: 0.5.0 -> 0.5.1 »: https://git.io/fjU7S
<mojjo> clever: adamt: https://pastebin.com/4Hp1uRbm
npmccallum_ has joined #nixos
<clever> mojjo: line 9, a raid controller, you may need special drivers for it
Makaveli7 has quit [Read error: Connection reset by peer]
Makaveli7 has joined #nixos
Makaveli7 has quit [Read error: Connection reset by peer]
Makaveli7 has joined #nixos
Makaveli7 has quit [Read error: Connection reset by peer]
Makaveli7 has joined #nixos
Makaveli7 has quit [Remote host closed the connection]
Makaveli7 has joined #nixos
<mojjo> clever: ui..
Rusty1 has joined #nixos
<mojjo> clever: but on another machine (actually the same model, maybe a version later) lspci gives me the exact same line, and there I did not have any issues...
<clever> mojjo: the bios can be configured to either expose the drives directly, or route them thru the raid controller
<clever> mojjo: you may also not be able to access the data if you change those settings
Makaveli7 has quit [Client Quit]
<mojjo> would it be helpful to paste the `lspci` of the almost identical machine that works?
<clever> mojjo: not really
<mojjo> haha, ok
<mojjo> so I may have to tweak some stuff in the bios?
<clever> probably
<mojjo> there's no relevant data on the machine, so no risk.. ok, I'll see what I can do there
periklis` has quit [Ping timeout: 250 seconds]
<adamt> you can compare the output from lspci on that other machine, specifically whether "raid mode" is also present in the output from it, but it'll just verify clever's suspicion
<{^_^}> [nixpkgs] @dtzWill opened pull request #58436 → curl: 7.64.0 -> 7.64.1 → https://git.io/fjU5z
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
<mojjo> adamt: so the `lspci` on the sane machine does not tell anything about raid
<{^_^}> [nixpkgs] @dtzWill opened pull request #58437 → gnutls: 3.6.6 -> 3.6.7, security! → https://git.io/fjU5a
babbage has joined #nixos
<mojjo> ok, in the bios I can chose for SATA operation: disabled/ahci/raid on(selected).. go for the second instead?
<clever> yeah
blackriversoftwa has quit [Ping timeout: 256 seconds]
amosbird_ is now known as amosbird
<{^_^}> [nixpkgs] @dtzWill opened pull request #58438 → microcodeIntel: 20180807a -> 20190312 (from intel github) → https://git.io/fjU56
vmandela has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #58439 → apitrace: 363 -> 572 (2017-04-21 -> 2019-03-26) → https://git.io/fjU5P
<betawaffle> you know how [Ctrl]+Alt+Fn, when n is some number, switches to a virtual terminal (ttyN)? What is actually controlling those keyboard shortcuts?
ilmu has quit [Ping timeout: 268 seconds]
<babbage> Hello there! Thanks for providing this channel! I have issues installing nixos and I am hoping that you can provide me with a few pointers on getting started. Due to special hardware requirements, I need to install nixos with a custom kernel (patches and config), but unfortunately I get the error "Error in reading or end of file" when trying to use my own kernel config. How would I go about finding the root cause of this issue? How do
<{^_^}> [nixpkgs] @dtzWill opened pull request #58440 → oxipng: 2.2.0 -> 2.2.1 → https://git.io/fjU5S
<mojjo> clever: adamt: oki... hard drive back. thx a lot!
<tilpner> babbage: Your messages was cut off after "How do"
<babbage> Oh, sorry.
<tilpner> Not your fault. IRC has a max message length
<babbage> * How do I debug such an issue?
<tilpner> You get it during nixos-install/nixos-rebuild?
<tilpner> Most Nix tools accept multiple -v flags to get more debug output
<babbage> I got it during nixos-install, I'm really completely at the beginning.
<babbage> Sadly, nixos-install does not have a verbosity flag (or at least that I know of), otherwise I would have tried that.
<tilpner> Try it even if it's not listed in help or manpages
<tilpner> But in this case, I think the error is not caused by Nix
<tilpner> I suspect your kernel config is somehow invalid
<babbage> Tried `# nixos-install --root /mnt -v` but got an unknown flag issue (or along those lines). Yes, if I disable the inclusion of the dummy config kernel patch, the build works just fine.
<babbage> Yeah, me too. How would I go about figuring out what is wrong? I have to admit, I don't have any experience with building my own kernels.
<babbage> Should I maybe ask at another venue (instead of nixos)?
<tilpner> How did you generate that kernel config? Which kernel sources did you use?
<babbage> I copied the kernel config verbatim from another github repository (github.com/jakeday/linux-surface) and used the linux kernel sources provided by nixos (I override the pkgs.linux_4_19 packagage's kernelPatches field)
<tilpner> babbage: I would try building it against 5.0 instead of 4.19
<babbage> Will do that. Out of curiosity: why?
knupfer has joined #nixos
reinhardt has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #57778 → xorg: batch of updates, bump luit → https://git.io/fjvnE
<{^_^}> [nixpkgs] @dtzWill pushed 14 commits to staging: https://git.io/fjUdq
<{^_^}> [nixpkgs] @dtzWill merged pull request #57935 → electron{,-3}: 2019-03 updates → https://git.io/fjfsv
<{^_^}> [nixpkgs] @dtzWill pushed 5 commits to master: https://git.io/fjUdm
<gchristensen> (nice nickname, babbage)
<Taneb> What's the default Linux kernel these days (in 18.09 and unstable)
<{^_^}> [nixpkgs] @dtzWill merged pull request #58252 → manrope: init at 3 → https://git.io/fjJjF
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjUd3
<{^_^}> [nixpkgs] @dtzWill merged pull request #58371 → mkvtoolnix,libmatroska,libebml: updates → https://git.io/fjUEy
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to master: https://git.io/fjUdn
<etu> Taneb: 4.14 in 18.09 I'd guess and 4.19 in 19.03 I'd guess
<jasongrossman> betawaffle: I guess it must be X controlling those keyboard shortcuts, because when I change my keyboard layout using xkb it changes them.
<Taneb> etu: right, thanks :)
<etu> (That's the LTS kernels)
<babbage> gchristensen: thanks :)
<Taneb> The instructions for ArchWiki for getting X working on my laptop say "Linux 4.20 only" and I don't think I've tried that yet
<{^_^}> [nixpkgs] @dtzWill merged pull request #58234 → libedit: 20180525 -> 20190324 → https://git.io/fjJ59
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to staging: https://git.io/fjUdc
<etu> Taneb: We have 5.0.4 on 19.03 if you run the latest package :)
fendor has quit [Remote host closed the connection]
<etu> ah, babbage ^
<Taneb> I'll give this a go tonight :) I'm feeling lucky
fendor has joined #nixos
<babbage> A quick question regarding custom kernel configurations: the nixos documentation mentions that I need to strip the CONFIG_ prefix and replace = with a whitespace.
<babbage> Is that correct?
<{^_^}> [nixpkgs] @vbgl merged pull request #58435 → ocaml-syslog: fix missing cmxa file → https://git.io/fjU7Z
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/fjUdV
jtojnar has joined #nixos
mojjo has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #58441 → postgresqlPackages.pipelinedb: init at 1.0.0-13 → https://git.io/fjUdi
xkapastel has joined #nixos
<babbage> tilpner: thanks :) I was referring to that page, actually.
<tilpner> Oh
<babbage> (I should have mentioned it)
<tilpner> Which says the same thing
<babbage> Oh, I hadn't come across that page yet though. That's helpful!
cfricke has quit [Ping timeout: 245 seconds]
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #58372 → bdf2psf: 1.190 -> 1.191 → https://git.io/fjUEH
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjUdN
agander has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #58442 → fcitx: 4.2.9.5 -> 4.2.9.6 → https://git.io/fjUdp
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/51bab7011d4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
selfsymmetric-pa has quit [Remote host closed the connection]
init_6 has quit []
iyzsong has quit [Ping timeout: 244 seconds]
<gchristensen> can I determine what version of nixos you're on (18.09, 19.03, etc.) in a module?
<tilpner> > lib.versions.majorMinor lib.version
<{^_^}> "19.09"
<gchristensen> ! <3
<benedikt-h> Hi everybody
<benedikt-h> I am trying to create a derivation to build clang.
<benedikt-h> Building llvm worked perfectly out of the box with fetchGit and cmake.
<benedikt-h> Now my question:
<benedikt-h> How do I add the clang sources to the llvm source tree?
<benedikt-h> The goal is to git clone (maybe also with fetchGit) it into ${llvm-src}/tools/clang
<benedikt-h> before starting the build with cmake.
adetokunbo has joined #nixos
<benedikt-h> Thanks in advance,
<benedikt-h> any hints, advice or pointers are appreciated
<tilpner> Why are you building your own derivation instead of using the one from nixpkgs?
<benedikt-h> because I want to build it from source
<benedikt-h> and be able to patch clang
<benedikt-h> i want to use nix only to have reproducible builds
<tilpner> You can probably do both with the nixpkgs derivation
<tilpner> At the very least, you can peek at it and learn
<benedikt-h> for clang i have only found the cc wrapper, is there a derivation that does (more or less) what i am trying?
<tilpner> See development/compilers/llvm/7/clang
<tilpner> I'm not sure what the best way to override this is, but there usually is a way
Rusty1 has quit [Quit: Konversation terminated!]
<tilpner> > clang_7.cc.overrideAttrs (old: { patches = [ ]; })
<{^_^}> "<derivation /nix/store/cj8jd167n1x9cc8sk470y88459klb59r-clang-7.0.1.drv>"
<tilpner> (There is probably a neater way, this is just the first I found)
babbage has quit [Quit: Page closed]
knupfer has quit [Remote host closed the connection]
<benedikt-h> tilpner: thank you, I think development/compilers/llvm/7/clang will be a good example
detran has joined #nixos
sepi` has quit [Read error: Connection reset by peer]
<tilpner> benedikt-h: I still don't understand why you want to do it though. As a learning exercise it'd be okay
sepi` has joined #nixos
Church- is now known as church-not-c355e
church-not-c355e is now known as Church-
<benedikt-h> well, what i hope to achieve is to build a set of static libs, that i can zip and use outside of nix
<benedikt-h> maybe a better approach is to create a build env with nix
<benedikt-h> and than build clang there
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/fjUFz
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-18.09: https://git.io/fjUFg
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-19.03: https://git.io/fjUF2
<tilpner> benedikt-h: pkgsStatic is trying to do the same general thing
<tilpner> E.g. pkgsStatic.zlib contains libz.a instead of the libz.so the normal zlib package contains
<tilpner> (Far from working for everything though)
<aminechikhaoui> Is there any security tool other than vulnix that can scan packages on NixOS, I'm hoping for something that can scan the store paths of builds products without going through derivations as that's not always available
<benedikt-h> ah cool, that also looks like a possibility. I will look into that
<aminechikhaoui> I know most of the tools won't work as they rely on FHS compliant systems :/
<benedikt-h> But I think the way using a nix-shell with a well defined set of build tools is the easiest way for now.
<benedikt-h> Maybe that is already good enough
<benedikt-h> i.e. a nix-shell --pure
elux has quit [Quit: leaving]
<betawaffle> this is more of a linux question, but... i18n.consoleKeyMap gets written to /etc/vconsole.conf, right? what reads that file, and where does it look for the file that defines that keymap? If i wanted to create a custom keymap, where would i put it, and what would i set i18n.consoleKeyMap to?
Rusty1 has joined #nixos
jabranham has joined #nixos
erasmas has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #58402 → ocamlPackages.ocaml_extlib: 1.7.5 -> 1.7.6 → https://git.io/fjUr0
<{^_^}> [nixpkgs] @vbgl pushed commit from @r-ryantm to master « ocamlPackages.ocaml_extlib: 1.7.5 -> 1.7.6 »: https://git.io/fjUFS
drakonis has joined #nixos
fendor has quit [Remote host closed the connection]
<gchristensen> `self.nix.overrideAttrsIfOlderThan "2.0.0" (_: {...})`
<clever> [root@amd-nixos:~]$ grep -r vconsole.conf $(nix-store -qR /run/current-system)
<betawaffle> thanks
<clever> betawaffle: this will search the entire machine for any config or executable that can refer to that file
<clever> Binary file /nix/store/llvq7j77zkrm8xg93rwr113n3wqynfjm-systemd-239.20190219/lib/systemd/systemd-vconsole-setup matches
<betawaffle> perfect
fendor has joined #nixos
<clever> betawaffle: this seems like the most likely hit, so youll want to go to the systemd sources next
<clever> /nix/store/llvq7j77zkrm8xg93rwr113n3wqynfjm-systemd-239.20190219/share/doc/systemd/NEWS: * If /etc/vconsole.conf is non-existent or empty we will no
<clever> betawaffle: or the systemd docs
<clever> /nix/store/llvq7j77zkrm8xg93rwr113n3wqynfjm-systemd-239.20190219/example/systemd/system/systemd-localed.service:Documentation=man:systemd-localed.service(8) man:locale.conf(5) man:vconsole.conf(5)
<clever> betawaffle: oh, it even claims to have a man page!
<clever> `man vconsole.conf` does exist!
winem_ has joined #nixos
<betawaffle> yeah, i had already looked at that, but i think i need the systemd man page for the vconsole stuff
<betawaffle> "interally this ... calls loadkeys(1)"
<betawaffle> so afaict, it can be a full-on file path given to loadkeys, or something like us (also given to loadkeys)
srid_ has quit [Quit: Connection closed for inactivity]
<betawaffle> yep, makes sense
<betawaffle> thanks!
<betawaffle> and, do you know if the vconsole key mapping bubbles up to anything running on top? like for example sway?
<clever> betawaffle: no idea, the only keyboard change ive done is shiftlock
<clever> services.xserver.xkbOptions = "caps:shiftlock";
<clever> that changes capslock to shiftlock, so it affects things like numbers
o1lo01ol1o has joined #nixos
<betawaffle> yep, but that's only inside X and friends, not the plain text terminal
rauno has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #57370 → polar-bookshelf: 1.12.0 -> 1.13.10 → https://git.io/fhjmA
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « polar-bookshelf: 1.12.0 -> 1.13.10 (#57370) »: https://git.io/fjUbI
Jetien has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #57378 → pynac: 0.7.23 -> 0.7.24 → https://git.io/fhjOo
<{^_^}> [nixpkgs] @xeji merged pull request #57354 → paml: 4.9h -> 4.9i → https://git.io/fhjLU
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « paml: 4.9h -> 4.9i (#57354) »: https://git.io/fjUbm
<{^_^}> [nixpkgs] @xeji merged pull request #57353 → padthv1: 0.9.4 -> 0.9.5 → https://git.io/fhjIj
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « padthv1: 0.9.4 -> 0.9.5 (#57353) »: https://git.io/fjUbO
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/51bab7011d4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> [nixpkgs] @xeji merged pull request #57388 → python37Packages.cassandra-driver: 3.16.0 -> 3.17.0 → https://git.io/fhjsX
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « python37Packages.cassandra-driver: 3.16.0 -> 3.17.0 (#57388) »: https://git.io/fjUbn
<{^_^}> [nixpkgs] @xeji merged pull request #57480 → samplv1: 0.9.4 -> 0.9.5 → https://git.io/fhj2E
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « samplv1: 0.9.4 -> 0.9.5 (#57480) »: https://git.io/fjUbc
blackriversoftwa has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mcelog: 161 -> 162 (#57317) »: https://git.io/fjUbW
<{^_^}> [nixpkgs] @xeji merged pull request #57317 → mcelog: 161 -> 162 → https://git.io/fhjvI
<blackriversoftwa> I'm trying to build a nixos image using a module that calls `make-disk-image.nix` (under nixos/lib in nixpkgs). It gets all the way to running QEMU, but then I get `Could not access KVM kernel module: Permission denied\nqemu-system-x86_64: failed to initialize KVM: Permission denied`
<blackriversoftwa> I'm trying to build on Ubuntu in a sandboxed nix setup
<{^_^}> [nixpkgs] @xeji merged pull request #57310 → lynis: 2.7.1 -> 2.7.2 → https://git.io/fhhjp
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « lynis: 2.7.1 -> 2.7.2 (#57310) »: https://git.io/fjUbR
<clever> blackriversoftwa: your user needs permission to open /dev/kvm
<blackriversoftwa> I've added all of the nixbld users to the `libvirt` and `kvm` groups
<clever> blackriversoftwa: what user/group owns /dev/kvm ?
<blackriversoftwa> clever: root/kvm
<clever> blackriversoftwa: and the chmod bits?
<blackriversoftwa> clever: I added the nixbld users to the kvm group
<blackriversoftwa> clever: 660
<blackriversoftwa> clever: I added the nixbld users to the kvm group
<blackriversoftwa> do I need to add the user that's invoking nix-build?
<clever> blackriversoftwa: is nix-daemon running?
<{^_^}> [nixpkgs] @xeji closed pull request #57496 → unit: 1.7.1 -> 1.8.0 → https://git.io/fhjww
<blackriversoftwa> yes
<blackriversoftwa> clever: yes
<clever> then it shouldnt need your user to be in the group
m1sosoup has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #57487 → synthv1: 0.9.4 -> 0.9.5 → https://git.io/fhjVU
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « synthv1: 0.9.4 -> 0.9.5 (#57487) »: https://git.io/fjUbz
<blackriversoftwa> clever: that's what I thought. It should work with the nixbld users in the group
<blackriversoftwa> but it doesn't
<clever> can you pastebin the full error msg?
<blackriversoftwa> clever: that is the full error message
<tilpner> blackriversoftwa: You need a new login for group changes to take effect
<clever> and the other lines nearby, just pastebin the whole output
<blackriversoftwa> clever: ok one sec
<clever> tilpner: only when changing his own user, but the nixbld groups are different
<{^_^}> [nixpkgs] @xeji merged pull request #57499 → vbam: 2.1.0 -> 2.1.1 → https://git.io/fhjry
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « vbam: 2.1.0 -> 2.1.1 (#57499) »: https://git.io/fjUb2
<tilpner> clever: I don't know how the nixblkd users are handles. For all I know, the daemon might keep a process ready for each of them
<{^_^}> [nixpkgs] @xeji merged pull request #57517 → yoshimi: 1.5.10.1 -> 1.5.10.2 → https://git.io/fhjPR
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « yoshimi: 1.5.10.1 -> 1.5.10.2 (#57517) »: https://git.io/fjUbV
<clever> tilpner: the first thing the daemon does after picking a user, is to kill every process within the given uid
<tilpner> Okay
<blackriversoftwa> clever: https://pastebin.com/0ZqhYRBu
<blackriversoftwa> everything before that is just copying already-built derivations
adamt has quit [Quit: WeeChat 2.4]
<clever> blackriversoftwa: thats weird, its showing very clear signs of booting, and already having kvm, before it fails
reinhardt has quit [Quit: Leaving]
<blackriversoftwa> Yeah it seems to fail when it wants to reboot
<clever> blackriversoftwa: what about the output of `nix show-derivation /nix/store/bvapz42iyv546qfmrwrb7aqskqia7ja6-digital-ocean-image.drv` ?
<blackriversoftwa> Oh man I am breaking my browser trying to paste that from the clipboard
Jetien has quit [Remote host closed the connection]
Jetien has joined #nixos
<blackriversoftwa> clever: http://paste.ubuntu.com/p/kmnqx2KqWQ/
<blackriversoftwa> (different pastebin site because that's what the command line util defaults to)
linarcx has joined #nixos
<clever> blackriversoftwa: nothing looks out of place there
<blackriversoftwa> clever: a related question would be how to declaratively put the nixbld users in the kvm/libvirt groups in NixOS
<blackriversoftwa> and then I could try this on a NixOS machine instead of Ubuntu
hakujin has quit [Ping timeout: 246 seconds]
<blackriversoftwa> not sure that would matter
<clever> crw-rw-rw- 1 root root 10, 232 Mar 27 11:58 /dev/kvm
<clever> blackriversoftwa: on nixos, its 666, so you dont need a special group
<blackriversoftwa> clever: ah well that would help
hyper_ch2 has quit [Ping timeout: 256 seconds]
<clever> you could also test that on your ubuntu
<{^_^}> [nixpkgs] @dotlambda opened pull request #58443 → python3.pkgs.cherrypy: 18.1.0 -> 18.1.1 → https://git.io/fjUbD
zookatron has joined #nixos
<blackriversoftwa> yeah let me see if that fixes it
<aplainzetakind> error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': No such file or directory
<aplainzetakind> I get this when trying to run the nix installation script.
rcshm has joined #nixos
Ariakenom has quit [Ping timeout: 245 seconds]
<blackriversoftwa> aplainzetakind: can you run `ps aux | grep nix-daemon`?
<aplainzetakind> The only thing already copied to /nix is store, /nix/var doesn't exist at this point.
<blackriversoftwa> It sounds like nix-daemon isn't running
winem_ has quit [Ping timeout: 240 seconds]
<aplainzetakind> I'm just intalling nix, how can it run before it exists?
<blackriversoftwa> aplainzetakind: Ah ok, was missing that context
<blackriversoftwa> What have you done so far?
Jackneilll has joined #nixos
<aplainzetakind> Nothing, curling the installation script and piping it to sh as directed by the manual.
<linarcx> Gyus, i want to create a pr for nixpkgs. after push my changes into cloned repo. when i want to submit changes as pr, i see 3 commits. why?
<blackriversoftwa> aplainzetakind: Has nix been installed on this system before?
<aplainzetakind> I'm on OpenRC, multi user installation errored out when it couldn't find systemd, but samueldr said single user installation shouldn't cause problems.
<blackriversoftwa> clever: that seems to have fixed it!
<blackriversoftwa> I wonder why adding the nixbld users to kvm didn't
joshie_ has quit [Read error: Connection reset by peer]
<blackriversoftwa> very strange
<aplainzetakind> I installed through the package manager (Gentoo), but a bunch of symlinks came out broken and I didn't know how to go about fixing things manually (and if it would wourk, since the package was unstable), so I uninstalled it and went with the official installation guide route.
<clever> blackriversoftwa: it might be that nix-daemon doesnt obey extra groups, would need to run `id` inside a build
<clever> blackriversoftwa: nix-build -E 'with import <nixpkgs> {}; runCommand "foo" {} "id"'
<clever> blackriversoftwa: for me, it outputs: uid=1000(nixbld) gid=100(nixbld) groups=100(nixbld)
Jackneill has quit [Ping timeout: 244 seconds]
joshie has joined #nixos
Ariakenom has joined #nixos
<zookatron> Hi guys, I'm trying to install NixOS using the Live CD following the instructions in the NixOS manual, but I'm running into a permissions error when I try to run nixos-install: error: while setting up the build environment: unable to bind mount '/mnt/nix/store/85d8y2vybq07al01j7zv518yf3fa9mwq-append-initrd-secrets.drv.chroot': Permission denied
<zookatron> Anyone have any tips on how I could debug what's going wrong here? More details on my situation here: https://discourse.nixos.org/t/unable-to-nixos-install-from-live-cd/2533
<srhb> zookatron: On what are you installing?
vmandela has left #nixos ["Leaving"]
Xyliton has joined #nixos
<zookatron> Do you mean on what storage device, or on what linux distro?
<srhb> On what "machine" -- is it a container or anything like that?
<blackriversoftwa> clever: Ah yeah I get the same
<blackriversoftwa> clever: even though I have all the nixbld users added to kvm/libvirt
<tobiasBora> Hello,
<zookatron> srhb: No, it's a regular desktop PC, no virtualization or anything
<blackriversoftwa> aplainzetakind: It sounds like it is still tripping on the remnants of your old install
<clever> blackriversoftwa: nix-daemon is doing some container-style logic to change what uid the build thinks it has
<Xyliton> I got `libXxf86vm.so.1: cannot open shared object file: No such file or directory` while trying to run a java project. Adding `xorg.libXxf86vm` to my system packages didn't seem to help. Got any ideas?
<clever> blackriversoftwa: it may not obey /etc/group, and then just not put things into kvm
<blackriversoftwa> clever: Yeah I see that. It's not nixbldN , it's just nixbld
<{^_^}> [nixpkgs] @Ma27 merged pull request #58432 → nixos/mailcatcher: init module for existing package → https://git.io/fjUQ3
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/fjUbN
<srhb> zookatron: Hm!
<blackriversoftwa> Which makes sense from a build-consistency perspective I suppose
<infinisil> linarcx: Make sure your base branch is correct. Go to #git for git help
<blackriversoftwa> clever: Hey I have an image built! Thanks for your help :)
<tobiasBora> I'd like to know, what is the good way to install/compile haskell packages based on stack with an old GHC version (like 8.0)? Also, is it possible to package them if they don't compile on latest ghc? (why: https://github.com/erebe/wstunnel/issues/17)
<{^_^}> erebe/wstunnel#17 (by tobiasBora, 1 week ago, open): Compilation error
<aplainzetakind> blackriversoftwa: where could those remnants be? I removed /nix completely, users nixbld{1..10}, group nixbld, nix-daemon.sh and nix.sh from /etc/profile.d/, deleted the service from openrc.
<blackriversoftwa> aplainzetakind: Hrm I don't know then
<clever> aplainzetakind: did you also ensure to stop nix-daemon?
Erasmus has quit [Quit: reboot]
<srhb> zookatron: I'm not sure what's going on. Information that might be useful: Partitioning scheme, mount information
<srhb> zookatron: Like, is the partition that will contain /nix an uncommon type or something?
knupfer has joined #nixos
<aplainzetakind> clever: I did, I'm checking if there's any service files left behind still.
zookatron has quit [Ping timeout: 256 seconds]
zookatron has joined #nixos
<zookatron> srhb: More information about my system is described more in that link I posted if you want to reference that. But my partitions are a 16GB ext4 partition and a 512MB FAT32 boot partition.
<zookatron> Someone in the discourse thread just asked for the hardware-configuration.nix it's generating so I'm working on getting that
<srhb> zookatron: I read it, I was just wondering whether we could do a skim of the output of eg. mount to try and spot any mistakes. Nothing springs to mind from the information so far.
<{^_^}> [nixpkgs] @veprbl merged pull request #56440 → qt5.qtwebengine: fix on darwin (again) → https://git.io/fhNcH
<{^_^}> [nixpkgs] @veprbl pushed 4 commits to master: https://git.io/fjUNs
<zookatron> srhb: The output of cat /proc/mounts on the Live CD system I'm trying to install from is here: https://hastebin.com/pesodujohe.coffeescript
adetokunbo has quit [Quit: This computer has gone to sleep]
<zookatron> srhb: The hardware-configuration.nix is here: https://hastebin.com/ocajisonuh.cpp I've checked it and it appears to be resolving the right drive UUIDs and I don't see any obvious issues with any of the other options
<srhb> zookatron: I see nothing suspect there..
<{^_^}> [nix] @bjornfor opened pull request #2746 → install-multi-user: reduce max-jobs from 32 to 1 → https://git.io/fjUNB
<Xyliton> How do I make xorg.libXxf86vm "available" to my java code?
waleee has quit [Quit: WeeChat 2.4]
<clever> Xyliton: you must add its lib dir to LD_LIBRARY_PATH
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
<betaboon> anyone feeling capable of reviewing github.com/NixOS/nixpkgs/pull/58121 ?
<{^_^}> #58121 (by betaboon, 5 days ago, open): nixos/refind: init
<Xyliton> clever: where would I get the lib path? I'm writing and running java outside of a custom nix-shell :/
agander has joined #nixos
ng0 has joined #nixos
mounty has quit [Ping timeout: 245 seconds]
ng0 has quit [Client Quit]
Jetien has quit [Remote host closed the connection]
iqubic has joined #nixos
Jetien has joined #nixos
<iqubic> Does anyone know why flatpaks don't use my system fonts?
ilmu has joined #nixos
<srhb> zookatron: I'm afraid you're probably going to have to copy out the nixos-install script and throw -vvv at the "nix build" command
acowley has quit [Ping timeout: 250 seconds]
<srhb> zookatron: I've never seen something like this before, so I'm a bit puzzled, sorry.
<zookatron> srhb: Ah yes, oxij said to do something like that in the discourse thread to get the output of nixos-install which I did, but I will also try adding -vvv to the nix build, that sounds like it could shed some light on what it's doing
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5a03c6872c7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<zookatron> srhb: No need to apologize, I apreciate you taking the time to look at my problem! :)
<srhb> zookatron: Ah, good. I've tested the installer on the commit you have now, and I've honestly no idea how to reproduce it..
christianpoveda has joined #nixos
ilmu has quit [Ping timeout: 250 seconds]
<srhb> zookatron: Shot in the dark ideas are things like: oom condition causing surprising permission errors, but honestly I don't find it super likely... so yeah, more debug output I guess.
<christianpoveda> Hi, i have a question regarding the nix language. I was checking https://nixos.wiki/wiki/Python and I wanted to know what type does `python-with-my-packages` in order to put the python config in other `.nix` file and just import a function returning `python-with-my-packages`
xkapastel has quit [Quit: Connection closed for inactivity]
Erasmus has joined #nixos
<srhb> christianpoveda: Are you trying to impirt it from eg. your configuration.nix ?
<srhb> import*
christianpoveda_ has joined #nixos
<srhb> Or, a better question: How do you intend to use it? As a package that you can install by that name?
<srhb> christianpoveda: (The handy way to define it depends on how you intend to use it)
christianpoveda has quit [Ping timeout: 256 seconds]
mounty has joined #nixos
<christianpoveda_> well I'd like to end up just calling a function inside the packages list instead of having a let expression over my configuration.nix file
<srhb> christianpoveda_: packages list = environment.systemPackages ?
<christianpoveda_> I'm installing it under users.users.<my user>.packages but i guess it's the same idea
<srhb> christianpoveda_: (import ./python-packages.nix) and then in that file, have the function: `python-packages: with python-packages; ...` like in the snippet.
<srhb> Oops, no
<srhb> (python3.withPackages (import ./python-packages.nix)
<srhb> christianpoveda_: python3.withPackages feeds its argument with the python package set, so it needs to be a function that takes that set. You can factor it out into another file like that. :)
amir has quit [Ping timeout: 264 seconds]
<zookatron> srhb: The output with nix build -vvv is here: https://hastebin.com/abuverakat Though I can't seem to determine much from it. Even with -vvv it doesn't seem to give us the command it's running that's failing
Tucky has quit [Quit: WeeChat 2.2]
ilmu has joined #nixos
<{^_^}> [nixpkgs] @fuwa0529 opened pull request #58444 → altcoins.aeon: 0.12.8.0 -> 0.12.9.0 → https://git.io/fjUA0
imdoor has joined #nixos
<srhb> zookatron: You might be able to get past this issue by disabing the sandbox, but that doesn't explain much...
<pie_> is it possible to ensure bash only does one level of parameter expansion?
<christianpoveda_> ok i broke something D:
<pie_> so for example, i want $out to be expanded, but I dont want its contents to be
<zookatron> srhb: nix.useSandbox = false; in the configuration.nix?
<christianpoveda_> now the networking.hostname is not in scope hahaha
<christianpoveda_> nvm, camelCase problem
<srhb> zookatron: You would have to set it in the installer's configuration.nix (not the /mnt one) and nixos-rebuild switch, I believe. But I'm grasping at straws, sorry. might be better to wait for someone who has a better idea (though it should be safe, I'm just worried I'm wasting your time) :)
<christianpoveda_> srhb: ok it worked, thank you :)
<srhb> christianpoveda_: Welcome. :)
<zookatron> srhb: I'm happy to try it out, do you know where the installer's configuration.nix is located? Do I just need to add that line, run "nixos-rebuild switch", and then run "nixos-install" again?
amosbird has left #nixos ["WeeChat 2.2"]
<srhb> zookatron: /etc/nixos/configuration.nix -- it's read only so you'll have to chmod/force write to it. Yes to the rest. :)
<{^_^}> [nixpkgs] @offlinehacker merged pull request #58351 → rippled: 1.2.0 -> 1.2.1 → https://git.io/fjUW4
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/fjUA6
ym555 has joined #nixos
<srhb> zookatron: (I'm assuming here that the sandbox setting for the install process is carried over from the running nix-daemon in the installer, hence the roundabout way of doing it)
<{^_^}> [nixpkgs] @zimbatm merged pull request #58424 → Remove yarn2nix, see #20637 → https://git.io/fjU13
<{^_^}> [nixpkgs] @zimbatm pushed commit from @domenkozar to master « Remove yarn2nix, see #20637 (#58424) »: https://git.io/fjUA1
<{^_^}> [nixpkgs] @zimbatm pushed 0 commits to remove-yarn2nix: https://git.io/fjUAM
christianpoveda_ has quit [Ping timeout: 256 seconds]
<sphalerite> I'm getting lots of this whenever WiFi is on on one of my machines. Is it a cause for concern? If not, can I get it to shut up while still using WiFi? https://gist.github.com/lheckemann/f9e894c486287116fdc126471dbd4d6e
<gchristensen> I get it ...
amir has joined #nixos
sigmundv has quit [Ping timeout: 245 seconds]
benedikt-h has left #nixos [#nixos]
<sphalerite> gchristensen: yeah, on the XPS 15, when switching CPU frequencies, right?
domogled has joined #nixos
<srhb> sphalerite: I think I'd try disabling any kind of power management saving features and see if it persists..
<zookatron> srhb: Hmm, no dice. Though there were some cryptic errors when running the 'nixos-rebuild switch' and I'm not sure if they were important or not. https://hastebin.com/gunetememu
<sphalerite> gchristensen: on this machine it's occurring all the time, about 2-3 times per second
<gchristensen> wow
<srhb> zookatron: No dice as in same error when using nixos-install? Can you try killing the nix daemon and trying again?
<srhb> zookatron: i think the warnings are fine in the installer switch
<srhb> sphalerite: ok, that does sound bad :P
<zookatron> Yes, same exact error. What'sthe best way to kill and restart the nix daemon?
<sphalerite> srhb: it is severity=Corrected though…
<sphalerite> and only when WiFi is on
<srhb> zookatron: pkill nix-daemon
<srhb> zookatron: Should do the trick..
<srhb> zookatron: If pkill exists in the installer, I forget. :P
<sphalerite> for the more systemd-ly correct option, systemctl restart nix-daemon
<srhb> zookatron: Also, can you confirm that `nix show-config | grep "sandbox =" says false?
<betaboon> sphalerite: you could completly disable aspm with `pcie_aspm=off` in kernel-commandlie
<Taneb> Ugh, Python library I'm trying to package for work does network IO during its build script
<betaboon> sphalerite: what device does that error message refer to ?
<zookatron> srhb: Ok, pkill nix-daemon worked, looks like the daemon was restarted properly after that too. I checked 'nix show-config | grep "sandbox ="' and it gives me "sandbox = false". Then tried nixos-install and it's still giving me the same error unfortunately!
<srhb> zookatron: Welp. At this point I am all out of ideas. I can hand-wave "faulty usb drive" or something, but it's a super bizarre error to me...
<flokli> can I get some feedback on https://github.com/NixOS/nixpkgs/pull/58419 ? This fixes LDAP login (currently broken on master and 19.03), and should be backported to 19.03 before release…
<{^_^}> #58419 (by flokli, 14 hours ago, open): nixos/ldap: set proper User= and Group= for nslcd service
<zookatron> srhb: Haha yeah, I guess it can't hurt to try with a different USB just to be sure. Thanks for all your help though! Hopefully I'll be able to get it fixed soon, I'm looking forward to trying out NixOS for more everyday use :)
Profpatsch has joined #nixos
<srhb> zookatron: I certainly hope you succeed. fwiw these kinds of troubles are really rare. :)
Profpatsch has left #nixos ["WeeChat 0.4.3"]
<zookatron> That's what it seemed like looking at the docs and forum discussions, it's pretty suprising to me that I seem to be having an issue like this in such a standard PC setup.
<srhb> Yeah, I totally expected you to have something weird going on with your filesystems that would make the error plausible, but... :)
<sphalerite> betaboon: so what's at 0000:00:1d.1?
npmccallum_ has quit [Quit: npmccallum_]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58443 → python3.pkgs.cherrypy: 18.1.0 -> 18.1.1 → https://git.io/fjUbD
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjUpW
<sphalerite> betaboon: right, pcie_aspm=off makes the messages go away. Is that a setting that's desirable to use normally though?
<betaboon> sphalerite: the device in your logs is `8086:9d19` should be a PCI Bridge. check lspci
<sphalerite> betaboon: 00:1d.1 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #10 [8086:9d19] (rev f1)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/10 (by garbas, 6 years ago, closed): afew and alot updates
<sphalerite> yep
<betaboon> sphalerite: I'm not sure if disabling that feature is disabirable :(
<sphalerite> sounds like a power-saving option based on the wikipedia article
<sphalerite> given that this isn't a laptop, I guess it's ok
<sphalerite> hm, changing the policy to performance doesn't help though
<pie_> nevermind, I misunderstood how bash works
<palo> what is the best way to run `nix-shell --run my-command` in `systemd.services.foobar.script`?
<sphalerite> palo: probably ideally not to? Why do you need nix-shell for it?
<palo> I get the error ` error: file 'nixpkgs' was not found in the Nix search path`
<worldofpeace> Can anyone using cups see if `CUPS_DATADIR` is set?
<worldofpeace> Using `printenv CUPS_DATADIR`
<palo> sphalerite: because I have to build a container first
<palo> s/container/repository/
<symphorien> worldofpeace: in a normal shell ? I have no such env var
<worldofpeace> symphorien: Yeah it would be a normal shell
noonien has quit [Quit: Connection closed for inactivity]
<sphalerite> worldofpeace: unset, both for normal shell and cupsd
<symphorien> hum. I have upgraded to 19.03 after I printed for the last time, so maybe printing does not work for me anymore -- maybe diregard my report
<worldofpeace> It looks like applications leverage that env var to find the data dir (obviously). Else they fallback to /usr/share/cups
drewr has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @LinArcX opened pull request #58445 → Parastoo fonts → https://git.io/fjUpN
drewr has joined #nixos
vk3wtf has quit [Ping timeout: 250 seconds]
Kakky has joined #nixos
erasmas_ has joined #nixos
Xyliton has quit [Quit: Lost terminal]
erasmas has quit [Ping timeout: 272 seconds]
WhittlesJr has joined #nixos
<WhittlesJr> is there a good way to inspect a nixops deployment in a repl?
Kakky has quit [Quit: Goodbye]
mmlb977450 has joined #nixos
<{^_^}> [nixpkgs] @LinArcX opened pull request #58446 → shabnam-fonts: init at v4.0.0 → https://git.io/fjUh3
mmlb97745 has quit [Ping timeout: 255 seconds]
pie___ has joined #nixos
zookatron has quit [Ping timeout: 256 seconds]
pie_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @borisbabic opened pull request #58447 → terminator: fix missing gobject bindings → https://git.io/fjUhB
<genesis> http://pasteall.org/1571492 if someone know how to package java app, i wonder if i've to fill CLASSPATH for every jar in lib ?
reinhardt has joined #nixos
ilmu has quit [Ping timeout: 258 seconds]
wfranzini has quit [Remote host closed the connection]
<__monty__> Do I need vim-configurable if I just want +lua?
pie___ has quit [Remote host closed the connection]
pie_ has joined #nixos
domogled has quit [Ping timeout: 250 seconds]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<pie_> is there something in lib for getting the name of a file in a path?
<srhb> __monty__: Yes.
<__monty__> Y U do me like dis, srhb?
domogled has joined #nixos
<srhb> __monty__: But it's true! At least, as opposed to pkgs.vim :P
<__monty__> Now I need to figure out which flavor of vim I actually want.
<srhb> __monty__: vimHugeX and don't look back :P
<srhb> It's prebuilt, so woo.
<__monty__> But it sounds like vimBloated.
<srhb> That's the point!
<srhb> It's still only like 23M :P
<__monty__> Hmm, why does doJailbreak edit the cabal file rather than passing --allow-newer?
<tilpner> pie_: builtins.baseNameOf
<simukis_> How would one debug custom substitutors and e.g. figure out why they are used or why they are not used.
<pie_> tilpner, hm thanks
<{^_^}> [nixpkgs] @worldofpeace pushed to gnome-3.32 « squash! gnome3.gnome-control-center: 3.30.3 -> 3.32.0.1 »: https://git.io/fjUhP
ubert has quit [Quit: Leaving]
<srhb> __monty__: passing allow-newer to what? :)
<__monty__> cabal-install or Setup.hs?
<srhb> __monty__: I was going to answer "we don't use cabal-install" but if it's a Cabal thing, I don't know why we don't
<srhb> Possibly because we already have the edit-cabal-file machinery in place.
<__monty__> Maybe it's not a Cabal thing.
<__monty__> But doJailbreak's broken.
<srhb> __monty__: How so?
acowley has joined #nixos
<srhb> __monty__: Ah.
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to release-19.03: https://git.io/fjUh9
<__monty__> There's also the not touching bounds in conditionals. Even though there's good reasons it's still annoying sometimes.
<srhb> __monty__: Guess you'll have to manually mangle the cabal file until that's fixed then.
<srhb> __monty__: iirc it's a postPatch thing.
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<clever> __monty__: what if i want to allow older?
ilmu has joined #nixos
<iqubic> Does anyone know why flatpak isn't using my system fallback fonts?
agander has quit [Ping timeout: 255 seconds]
<__monty__> Living up to the name : >
<iqubic> Like when using this flatpak application I'm seeing the missing glyph rectangles in this flatpak application.
<__monty__> There is an --allow-older though.
<clever> iqubic: it likely ignores all system stuff
<iqubic> Is there a way to patch this.
<clever> iqubic: include the required fonts inside the flatpak
<iqubic> How do I do that?
<iqubic> I didn't make this flatpak.
<clever> then complain to the one that did
<iqubic> Why isn't there a way to simply override the flatpak?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58447 → terminator: fix missing gobject bindings → https://git.io/fjUhB
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjUhh
mojjo has joined #nixos
<mojjo> `nixos-install` > `error: selector 'x86_64-linux' matches no derivation` ?
<{^_^}> [nixpkgs] @timokau opened pull request #58448 → python.pkgs.pybullet: init at 1.0.39 → https://git.io/fjUjU
agander has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
schneid3306 has joined #nixos
<srhb> mojjo: Are you in a nix-shell?
Glider_IRC__ has joined #nixos
Jetien has quit [Remote host closed the connection]
<mojjo> srhb: 100 points! thx
jD91mZM2_ has joined #nixos
<srhb> mojjo: Welcome.
jD91mZM2_ has quit [Client Quit]
Jetien has joined #nixos
endformationage has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e62e880d6b3 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
mounty has quit [Ping timeout: 250 seconds]
mounty has joined #nixos
jbgi has quit [Ping timeout: 255 seconds]
<__monty__> iqubic: The point of flatpak is isolation not that strange there's no obvious loophole (yet).
Glider_IRC_ has quit [Ping timeout: 250 seconds]
<__monty__> Though fonts is a weird issue, I agree. That's like a program not working because you're not running i3.
<{^_^}> [nixpkgs] @rixed opened pull request #58449 → lacaml: Use propagatedBuildInputs for stublibs → https://git.io/fjUjY
<{^_^}> [nixpkgs] @nathantalewis opened pull request #58450 → spideroak: 7.1.0 -> 7.5.0 → https://git.io/fjUjO
<{^_^}> [nixpkgs] @timokau opened pull request #58451 → python.pkgs.roboschool: init at 1.0.39 → https://git.io/fjUj3
Zer000 has joined #nixos
<pie_> infinisil, do you have something for a package shipping an eclipse plugin? do you think should I make a different build output, or give it another attribute? what kind of thing does the eclipse with plugins thing take? this is just a zip file
<{^_^}> [nixpkgs] @timokau opened pull request #58452 → python.pkgs.baselines: init at 0.1.5 → https://git.io/fjUjs
<infinisil> I never looked into that
judson__ has joined #nixos
<{^_^}> [nixpkgs] @deliciouslytyped opened pull request #58453 → ghidra: improvements → https://git.io/fjUjc
<judson__> I've had a PR to nixpkgs lingering open since January.
<judson__> What do I need to do to get it merged?
<mog> link?
vk3wtf has joined #nixos
<pie_> infinisil, ok
<clever> ,pr judson__
<{^_^}> judson__: 0. Sorry. 1. If you complain about PR being in limbo, always provide a number («I have an unmerged PR (#23924)…»), bot will print PR title and it might bring you an impulse-merge. 2. Please look up who commits similar work and ping these people (or request-review), keeping up with all the PRs is not really possible.
linarcx has quit [Quit: WeeChat 2.4]
<Rusty1> its down to 1297, what do you mean ?
<judson__> "I have an unmerge PR (#53525). It's been approved by a code owner. What do I need to do to get it merged?"
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53525 (by nyarly, 11 weeks ago, open): (ruby-modules/gem): (refactor)
linarcx has joined #nixos
<pie_> infinisil, ah! it looks like there's a helper called buildEclipseUpdateSite
<judson__> If I sound peevish, my apologies. This is the 3rd time in a month that I've dropped into IRC to ask. When I link to the PR, there's no response.
i1nfusion has quit [Remote host closed the connection]
<srhb> judson__: Usually it's lack of confidence, not because people are willfully ignoring you. Yes, it's frustrating.
i1nfusion has joined #nixos
Myhlamaeus has joined #nixos
<srhb> judson__: I would suggest that (2) might help in this case!
<srhb> Like, finding some more people familiar with the ruby builder to look at it.
fendor has quit [Ping timeout: 246 seconds]
pie_ has quit [Ping timeout: 246 seconds]
pie_ has joined #nixos
<pie_> whats the difference between fetchzip and fetchurl with unzip?
schneid3306 has quit [Quit: ZZZzzz…]
wolfman154 has joined #nixos
trubi has joined #nixos
pie_ has quit [Ping timeout: 250 seconds]
regulus_ has quit [Read error: Connection reset by peer]
nadley has quit [Remote host closed the connection]
regulus_ has joined #nixos
nadley has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #58004 → atlassian-cli: 7.8.0 -> 8.0.0 → https://git.io/fjfiR
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjUjp
ThatDocsLady_ has joined #nixos
ThatDocsLady_ has quit [Remote host closed the connection]
ddellacosta has joined #nixos
ThatDocsLady_ has joined #nixos
evanm has joined #nixos
<{^_^}> [nixpkgs] @srhb opened pull request #58454 → brig: Various fixups → https://git.io/fjTee
ThatDocsLady has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #58455 → nixos/upower: remove package option → https://git.io/fjTev
<LnL> pie__: the fetchzip is hashed after unpacking while most other fetchers hash the archive itself
m1sosoup has quit [Quit: Leaving]
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
mojjo has quit [Ping timeout: 256 seconds]
xkapastel has joined #nixos
rcshm has quit [Remote host closed the connection]
Jetien has quit [Ping timeout: 246 seconds]
hyper_ch has quit [Quit: ZNC 1.7.2 - https://znc.in]
rcshm has joined #nixos
freeman42x has joined #nixos
evanm has quit [Ping timeout: 256 seconds]
peacememories has joined #nixos
peacememories has quit [Client Quit]
jbgi has joined #nixos
jabranham has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #57895 → websocat: Fix on macOS → https://git.io/fjvhE
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from Väinö Järvelä to master « websocat: Fix on macOS »: https://git.io/fjTe8
<{^_^}> [nixpkgs] @danieldk opened pull request #58456 → pythonPackges.grpcio: fix build on Darwin → https://git.io/fjTez
hyper_ch has joined #nixos
hyper_ch has quit [Client Quit]
pie_ has joined #nixos
ym555 has quit [Ping timeout: 245 seconds]
ng0 has joined #nixos
<Dandellion[m]> hey everyone I'm trying to install nixos
<Dandellion[m]> but my clock isnt configured
<Dandellion[m]> its in 2094 somehow
<Dandellion[m]> Im not sure how to get ntp in the installer
<{^_^}> [nixops] @AmineChikhaoui pushed to master « GCE: fix resources being leaked when destroy is run after stop »: https://git.io/fjTe1
<srhb> Dandellion[m]: You can just set it manually for now, using date, I think
hyper_ch has joined #nixos
<srhb> I doubt ntp will correct such a large discrepency by default anyway :)
rcshm has quit [Read error: Connection reset by peer]
<srhb> discrepancy*
rcshm has joined #nixos
<srhb> Maybe timedatectl is available too?
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
goibhniu1 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #58454 → brig: Fix build of metrics jobs, cleanup → https://git.io/fjTee
<{^_^}> [nixpkgs] @srhb pushed 3 commits to master: https://git.io/fjTeA
hyper_ch has quit [Quit: ZNC 1.7.2 - https://znc.in]
goibhniu1 has joined #nixos
Erasmus has quit [Quit: halt]
<lejonet> Hmm, I know there is stdenv.isDarwin and such for detecting userspace, but is there an equivalent stdenv.isArm or similar?
<infinisil> lejonet: You can do fancy stuff with `stdenv.hostPlatform` and `lib.systems.parsed`
<infinisil> These contain all kinds of things you could wish to check for
<clever> generic-builder.nix:, enableHsc2hsViaAsm ? stdenv.hostPlatform.isWindows && stdenv.lib.versionAtLeast ghc.version "8.4"
<lejonet> infinisil: ah, so I could do like optional stdenv.hostPlatform.isArm or similar?
<clever> ah, thats still os, not arch
<infinisil> > lib.systems.inspect.predicates.isArm
<{^_^}> <LAMBDA>
<infinisil> > lib.systems.inspect.predicates.isArm stdenv.hostPlatform
<{^_^}> false
<infinisil> Apparently that works :)
hyper_ch has joined #nixos
<lejonet> Getting ceph to compile on arm sadly wasn't as easy as I hoped but if it was easy, I wouldn't have something to fiddle with :P
<lejonet> Sweet :D thanks!
wolfman154 has joined #nixos
<lejonet> infinisil: uhm, it returns false on my arm system... xD
<infinisil> Hmm..
<lejonet> oh, stdenv.hostPlatform.isArm exists :P
<lejonet> <3 nix repl :)
<infinisil> > lib.systems.inspect.predicates.isx86 stdenv.hostPlatform
<{^_^}> false
orivej has joined #nixos
<wolfman154> How do I get my function keys to work on xmonad?
<infinisil> > lib.systems.inspect.predicates.isx86 stdenv.hostPlatform.parsed
<{^_^}> true
<infinisil> Aha!
<tilpner> lejonet: It differentiates between arm and aarch64
<infinisil> lejonet: So if you need more fancy stuff with lib.systems, apparently this works ^
<tilpner> So isArm tests for 32 bit arm
jD91mZM2 has quit [Quit: ZNC 1.7.1 - https://znc.in]
<wolfman154> Do you guys know of any instructions that I can use?
<lejonet> tilpner: which makes sense, and I sadly have "just" an arm7l system, which exynos 5422 was aarch64
<lejonet> wish exynos*
<lejonet> infinisil: awesome :)
<lejonet> tilpner: oh, there is even a isAarch32
jD91mZM2 has joined #nixos
<Taneb> How can I build my configuration with unstable packages?
rcshm has quit [Read error: Connection reset by peer]
<lejonet> oh well, I guess it should be optional (isAarch32 || isAarch64) to handle both cases
raduom has joined #nixos
rcshm has joined #nixos
<wolfman154> infinisil: xmonad recognizes my custom keyboard layout but not the function keys, why is this and is there an easy solution?
<infinisil> > lib.systems.parse.cpuTypes.arm.family == stdenv.hostPlatform.parsed.cpu.family
<{^_^}> false
<infinisil> > lib.systems.parse.cpuTypes.x86_64.family == stdenv.hostPlatform.parsed.cpu.family
<{^_^}> true
<wolfman154> What is the easiest way to get my function keys working on xmonad?
<elvishjerricco> Taneb: Do you want the entire system to use unstable, or just some packages?
<wolfman154> I’ve removed gnome and gdm so I just have xmonad running on nixos?
<Taneb> elvishjerricco: I can live with entire system, but I just need a Linux kernel that's not in 18.09
<elvishjerricco> wolfman154: This likely isn't a NixOS specific problem. If no one here knows how, you may have better luck poking through xmonad's docs and examples, or going to the xmonad irc.
<wolfman154> Ok
<elvishjerricco> Taneb: Ah, not sure what the consequences of using a kernelPackages from a different version of NixOS, but I'm guessing it'd work since it's replaceable at all
<elvishjerricco> Taneb: `boot.kernelPackages = (import (builtins.fetchGit { ... }) {}).linuxPackages;`
jbgi has quit [Ping timeout: 245 seconds]
reinhardt has quit [Quit: Leaving]
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #58431 → dockerTools: align generated layer archives with docker's output → https://git.io/fjUHH
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to master: https://git.io/fjTvg
InFlames has joined #nixos
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
jbgi has joined #nixos
polman has quit [Ping timeout: 250 seconds]
trubi has quit [Remote host closed the connection]
<digitalgrease> anyone using journalbeat that can help me figure out why mine isn't working?
InFlames has quit [Ping timeout: 246 seconds]
npmccallum has joined #nixos
<lejonet> digitalgrease: I'm using it across my entire env
domogled has quit [Ping timeout: 246 seconds]
<{^_^}> [nix] @edolstra pushed to master « Update eval-okay-types.exp to match #1828 »: https://git.io/fjTv1
polman has joined #nixos
<digitalgrease> so, in my configuration.nix i enabled it, and added output.logstash with the correct logstash host to extraConfig
<digitalgrease> at first i was getting a connection refused error in the logs, so following the advice of some others online i increased the timeout count on logstash
<digitalgrease> i no longer receive the error, but i'm not seeing any logs from it in kibana
<{^_^}> [nix] @edolstra pushed to master « Fix Bison 3.3 warning »: https://git.io/fjTvD
<digitalgrease> lejonet: sorry, forgot to ping you in my response. ^
<lejonet> digitalgrease: no probs, I'm looking at my conf and I really don't do anything fancy, I just point output.logstash to the right host:port (and config tls) but nothing more than that really
<lejonet> digitalgrease: you sure you just don't have logs from that particular machine during the time period you chose in kibana?
<digitalgrease> lejonet: well just to make sure, i just changed the timeframe to a month, and i'm still not seeing anything haha
<lejonet> digitalgrease: very odd, think you could paste your journalbeat/logstash conf somewhere?
InFlames has joined #nixos
<digitalgrease> lejonet: https://pastebin.com/1eUq0AsH
<{^_^}> [nixpkgs] @worldofpeace opened pull request #58458 → nixos/colord: don't run as root → https://git.io/fjTfe
iqubic has quit [Quit: Page closed]
<digitalgrease> lejonet: there's what's in my configuration.nix for journalbeat
<lejonet> digitalgrease: and its not something redonkeylous like the port not being open in the firewall or so? Because that conf looks just like mine, except that I add a bunch of options for TLS too, but they don't affect where I try to connect
<bgamari_> gchristensen, I believe nixos from nixpkgs master is broken on packet hardware
<gchristensen> oh?
<bgamari_> gchristensen, the bond interface never comes up
<digitalgrease> lejonet: nah, cause i have other beats being ingested successfully on the same port
mvnetbiz has quit [Remote host closed the connection]
<bgamari_> and consequently the machine never boots
goibhniu1 has quit [Ping timeout: 244 seconds]
<gchristensen> ouch
<gchristensen> c2?
<bgamari_> yep
orivej has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
<gchristensen> I've seen that before, but usually localized to specific pieces of hw for some reason
<lejonet> digitalgrease: that is really odd, apart from like tcpdumping the host, I don't really know what could be wrong
<bgamari_> thankfully I caught this on the staging instance before deploying
goibhniu1 has joined #nixos
<bgamari_> gchristensen, strangely trying to start the ethernet interfaces' network-link-....service jobs manually seems to cause the machine to stop responding
mvnetbiz has joined #nixos
<gchristensen> I think it is just a general problem with nixos's scripted network interfaces :/
<bgamari_> even on the out-of-band console
<digitalgrease> lejonet: *sigh* guess that's my next step then. thanks for the help haha.
<bgamari_> gchristensen, any idea of what the prolem might be?
<lejonet> digitalgrease: good luck lol :P I never had any issues getting journalbeat to reach the logstash
<gchristensen> none, I've seen it here on my own home router actually
<gchristensen> I'm not enough of a networking wizard to really have the experience to debug it
<lejonet> I battled a bit with the TLS, but that is a completely different thing :P
<gchristensen> some sort of race condition
<{^_^}> [nixpkgs] @Infinisil merged pull request #57921 → monero-gui: fix missing qml imports → https://git.io/fjfYR
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjTfO
work_ has joined #nixos
Ariakenom has quit [Ping timeout: 255 seconds]
ddellacosta has quit [Ping timeout: 268 seconds]
goibhniu1 has quit [Ping timeout: 268 seconds]
goibhniu1 has joined #nixos
agander has quit [Ping timeout: 255 seconds]
ym555 has joined #nixos
wfranzini has joined #nixos
kreisys has joined #nixos
npmccallum_ has joined #nixos
adetokunbo has joined #nixos
npmccallum has quit [Ping timeout: 255 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ecca42f0a2f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
Erasmus has joined #nixos
erasmas_ is now known as erasmas
<digitalgrease> lejonet: just in case you wanted closure, i think i figured it out. pretty sure it's being rejected because of my parser mapping.
xkapastel has quit [Quit: Connection closed for inactivity]
<lejonet> digitalgrease: ah okay, so it actually does arrive to logstash, and then it gets thrown away by logstash parsing?
<digitalgrease> lejonet: yup.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/315643e12b5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<lejonet> digitalgrease: Nice to know that at least the beat is sending the stuff the correct way
ThatDocsLady_ has quit [Ping timeout: 246 seconds]
rcshm has quit [Read error: Connection reset by peer]
emily has quit [Quit: Updating details, brb]
emily has joined #nixos
rcshm has joined #nixos
leotaku has quit [Ping timeout: 246 seconds]
vk3wtf has quit [Ping timeout: 250 seconds]
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
paul___ has joined #nixos
goibhniu1 has quit [Ping timeout: 246 seconds]
hakujin has joined #nixos
goibhniu1 has joined #nixos
leotaku has joined #nixos
slyfox_ is now known as slyfox
paul___ has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @timokau merged pull request #58451 → python.pkgs.roboschool: init at 1.0.39 → https://git.io/fjUj3
<{^_^}> [nixpkgs] @timokau pushed to master « python.pkgs.roboschool: init at 1.0.39 (#58451) »: https://git.io/fjTJa
<{^_^}> [nixpkgs] @timokau merged pull request #58452 → python.pkgs.baselines: init at 0.1.5 → https://git.io/fjUjs
<{^_^}> [nixpkgs] @timokau pushed to master « python.pkgs.baselines: init at 0.1.5 (#58452) »: https://git.io/fjTJw
imdoor has quit [Quit: imdoor]
jbgi has quit [Ping timeout: 246 seconds]
Neo-- has quit [Ping timeout: 250 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has joined #nixos
iqubic has joined #nixos
hakujin has quit [Ping timeout: 246 seconds]
jbgi has joined #nixos
<iqubic> What the heck do flatpaks do that regular nixos doesn't?
<iqubic> Why do some steam games only work in the steam flatpak, and not in the version of steam in nixpkgs
Ariakenom has joined #nixos
zupo has joined #nixos
<Yaniel> ship more system libraries that aren't actually officially part of the steam runtime?
Erasmus has quit [Quit: reboot]
rcshm has quit [Read error: Connection reset by peer]
goibhniu1 has quit [Ping timeout: 250 seconds]
rcshm_ has joined #nixos
Ariakenom has quit [Ping timeout: 255 seconds]
goibhniu1 has joined #nixos
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
rcshm_ has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
InFlames has quit [Ping timeout: 272 seconds]
InFlames has joined #nixos
kvda has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
detran has quit [Ping timeout: 250 seconds]
fusion809 has joined #nixos
Erasmus has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @xeji opened pull request #58459 → qtikz: fix build → https://git.io/fjTUO
wfranzini has quit [Quit: wfranzini]
vk3wtf has joined #nixos
WhittlesJr has quit [Ping timeout: 256 seconds]
InFlames has quit [Ping timeout: 250 seconds]
<__monty__> Flatpak has a similar result to nix re r13y but the way it achieves it is very different. It's basically containers, no?
<{^_^}> [nixpkgs] @xeji merged pull request #58335 → mdk: 1.2.9 -> 1.2.10 → https://git.io/fjUZq
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mdk: 1.2.9 -> 1.2.10 (#58335) »: https://git.io/fjTUC
o1lo01ol1o has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #57307 → logcheck: 1.3.19 -> 1.3.20 → https://git.io/fhhjM
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « logcheck: 1.3.19 -> 1.3.20 (#57307) »: https://git.io/fjTU8
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @xeji merged pull request #57292 → libratbag: 0.9.904 -> 0.9.905 → https://git.io/fhhpS
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libratbag: 0.9.904 -> 0.9.905 (#57292) »: https://git.io/fjTUa
<{^_^}> [nixpkgs] @xeji merged pull request #57274 → libdsk: 1.5.9 -> 1.5.10 → https://git.io/fhhAT
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libdsk: 1.5.9 -> 1.5.10 (#57274) »: https://git.io/fjTUo
kleisli has joined #nixos
vk3wtf has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @DzmitrySudnik opened pull request #58460 → terraform-providers: bump versions → https://git.io/fjTUM
kvda has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #56687 → google-drive-ocamlfuse: 0.7.1 -> 0.7.2 → https://git.io/fhAPM
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « google-drive-ocamlfuse: 0.7.1 -> 0.7.2 (#56687) »: https://git.io/fjTU5
<{^_^}> [nixpkgs] @xeji merged pull request #57298 → libsoundio: 1.1.0 -> 2.0.0 → https://git.io/fhhhW
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libsoundio: 1.1.0 -> 2.0.0 (#57298) »: https://git.io/fjTTI
<pie_> oh dear, looks like theres no support for gradle based builds yet?
<{^_^}> [nixpkgs] @timokau merged pull request #58448 → python.pkgs.pybullet: init at 2.4.8 → https://git.io/fjUjU
<{^_^}> [nixpkgs] @timokau pushed to master « python.pkgs.pybullet: init at 2.4.8 (#58448) »: https://git.io/fjTT8
<{^_^}> [nixpkgs] @xeji merged pull request #57273 → libdap: 3.20.2 -> 3.20.3 → https://git.io/fhhNA
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libdap: 3.20.2 -> 3.20.3 (#57273) »: https://git.io/fjTTB
<kleisli> hi everyone, where should one start if one wants to modify a derivation in nixpkgs and install the result?
<kleisli> specifically to update the package to a newer version
<{^_^}> [nixpkgs] @xeji merged pull request #57305 → live555: 2019.02.03 -> 2019.03.06 → https://git.io/fhhja
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « live555: 2019.02.03 -> 2019.03.06 (#57305) »: https://git.io/fjTT0
<kleisli> Ocoq
<symphorien> 1/ clone nixpkgs 2/ do the change you want 3/ nix-build . -A foo if you change foo 4/ the binary is in ./result/bin
<Yaniel> clone nixpkgs, modify the relevant expression, pull request
jackdk has joined #nixos
<symphorien> nix-build /path/to/clone -A foo, rather
<Yaniel> or you can install the modified version with `nix-env -f /path/to/your/nixpkgs/clone -i name`
<{^_^}> [nixpkgs] @shlevy pushed commit from @grahamc to release-18.09 « Merge pull request #58431 from alexbiehl/alex/nix-layers »: https://git.io/fjTTE
<{^_^}> [nixpkgs] @shlevy pushed commit from @grahamc to release-19.03 « Merge pull request #58431 from alexbiehl/alex/nix-layers »: https://git.io/fjTTu
rcshm has quit []
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « librealsense: 2.18.0 -> 2.19.0 (#57293) »: https://git.io/fjTTg
<{^_^}> [nixpkgs] @xeji merged pull request #57293 → librealsense: 2.18.0 -> 2.19.0 → https://git.io/fhhpN
<jackdk> does anyone have good workarounds for https://github.com/NixOS/nixpkgs/issues/34376 ? I've tried appending "-f-embed_data_files" to the pandoc build, and patching in an explicit Paths_pandoc_types module but I'm still getting giant closures
<{^_^}> #34376 (by sopvop, 1 year ago, open): pandoc - statically linked closure-size
<kleisli> thank you @symphorien @Yaniel
jackdk has quit [Client Quit]
jbgi has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #57319 → minimap2: 2.15 -> 2.16 → https://git.io/fhjvi
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « minimap2: 2.15 -> 2.16 (#57319) »: https://git.io/fjTTr
bemeurer has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #57369 → pmd: 6.11.0 -> 6.12.0 → https://git.io/fhjmr
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pmd: 6.11.0 -> 6.12.0 (#57369) »: https://git.io/fjTT6
linarcx has quit [Quit: WeeChat 2.4]
npmccallum_ has quit [Ping timeout: 268 seconds]
kleisli has quit [Ping timeout: 250 seconds]
emily has quit [Quit: Updating details, brb]
emily has joined #nixos
vk3wtf has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
drakonis has joined #nixos
o1lo01ol1o has joined #nixos
jackdk has joined #nixos
jackdk has quit [Remote host closed the connection]
jackdk has joined #nixos
o1lo01ol1o has quit [Ping timeout: 255 seconds]
<matthewbauer> jackdk: unfortunately not. pkgsStatic should be able to help at some point, but just tried it with pandoc and its not working
<jackdk> frowny face.
<jackdk> thanks for the info
alex`` has joined #nixos
alex``` has quit [Quit: The Lounge - https://thelounge.chat]
dwdr has quit [Ping timeout: 245 seconds]
erasmas has quit [Quit: leaving]
__monty__ has quit [Quit: leaving]
troydm has quit [Ping timeout: 250 seconds]
iclanzan has joined #nixos
<iclanzan> Is there any way to make `nixos-rebuild` work without an internet connection when no new data needs to be downloaded?
<{^_^}> [nixpkgs] @DzmitrySudnik closed pull request #58460 → terraform-providers: bump versions → https://git.io/fjTUM
<iqubic> So I still have no idea why this flatpak isn't using my system fonts.
<iqubic> It's just not doing what I want it to do.
<makefu> iclanzan: you can try 'nixos-rebuild switch --option use-binary-caches false'
<makefu> or --option build-use-substitutes false
<iqubic> Like even though my system is set-up in a way that I can see Japanese Text without any issues, this flatpak is not rendering those characters properly.
troydm has joined #nixos
goibhniu1 has quit [Read error: Connection reset by peer]
selfsymmetric-mu has joined #nixos
selfsymmetric-mu has quit [Disconnected by services]
goibhniu1 has joined #nixos
elfsymmetric-mus has joined #nixos
elfsymmetric-mus is now known as selfsymmetric-mu
selfsymmetric-mu has quit [Disconnected by services]
elfsymmetric-mus has joined #nixos
<elfsymmetric-mus> Hi! Anybody good at npm? Some people are helping me here (https://github.com/NixOS/nixpkgs/pull/54443) to try and load some plugins for an npm package. The trouble is that I don't know how to get plugins into scope for the binary to use.
<{^_^}> #54443 (by matthew-piziak, 9 weeks ago, open): add textlint rules and plugins
elfsymmetric-mus is now known as selfsymmetric-mu
selfsymmetric-mu has quit [Remote host closed the connection]
emily has quit [Remote host closed the connection]
emily has joined #nixos
selfsymmetric-mu has joined #nixos
jasongrossman has quit [Ping timeout: 250 seconds]
wolfman154 has joined #nixos
<iclanzan> makefu: brb, trying now.
<selfsymmetric-mu> Hi! Anyone know npm? Some friends are helping me here (https://github.com/NixOS/nixpkgs/pull/54443) to get some plugins loaded for an npm binary (textlint). But I don't know how npm plugins resolve, or how to make sure that nixpkgs make them available.
<{^_^}> #54443 (by matthew-piziak, 9 weeks ago, open): add textlint rules and plugins
fusion809 has quit [Remote host closed the connection]
ingenieroariel has joined #nixos
leotaku_ has joined #nixos
<ingenieroariel> Hello! I am having trouble building the latest postgis derivation in osx
jasongrossman has joined #nixos
jasongro` has joined #nixos
leotaku has quit [Ping timeout: 246 seconds]
schneid3306 has joined #nixos
<ingenieroariel> I saw a solution that may work: https://gist.github.com/cleverca22/a673a02d5e7b10df068016c1b6f2a896 but I have trouble using it after the postgres refactor
<ingenieroariel> mainly,I do not know how to reconcile that with: pg = pkgs.postgresql_11.withPackages(ps: [ ps.postgis ]);
<ingenieroariel> the error is `configure: error: Could not find iconv.h header. Please install libiconv and libiconv-devel.`
<ingenieroariel> (I am on osx)
iclanzan has quit [Ping timeout: 255 seconds]
<ingenieroariel> the same derivation works perfectly on ubuntu and nixos unstable
iclanzan has joined #nixos
rcshm has joined #nixos
ym555_ has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<iclanzan> makefu: `use-binary-caches` option does not exist, and `builders-use-substitutes` doesn’t work without internet
ym555 has quit [Ping timeout: 272 seconds]
<makefu> iclanzan: what exactly is your device trying to fetch? some sources from the internet or something from the binary cache?
<{^_^}> [nix] @edolstra opened pull request #2748 → [WIP] Make nix/unpack-channel.nix a builtin builder → https://git.io/fjTIU
* ingenieroariel is looking at the python docs that combine overrides and withPackages
<elvishjerricco> What's the right way to build a gradle project in nix?
<iqubic> Flatpak font issues really stink. Even though my system is set-up in a way that I can see japanese characters without any issues, this flatpak is not rendering those characters properly.
sigmundv has joined #nixos
alex`` has quit [Quit: WeeChat 2.4]
<wolfman154> What is the command to set terminator as the default terminal, the ubuntu command to do this does not work?
sindrip has joined #nixos
<wolfman154> Sudo update-alternatives —config x-terminal-emulator command does not work?
shu9 has joined #nixos
ingenieroariel has quit [Ping timeout: 256 seconds]
<wolfman154> How do I set terminator as the default terminal in nixos?
<iclanzan> makefu: it is trying to fetch cache.nixos.org/<some-hash-here>.narinfo
<{^_^}> [nixpkgs] @DzmitrySudnik opened pull request #58461 → terraform-providers: bump versions → https://git.io/fjTI8
vk3wtf has quit [Ping timeout: 250 seconds]
<makefu> iclanzan: according to `man nix.conf` --option substitute false, you could also try --option fallback true which should fall back to source if a substituter fails
<wolfman154> Help please
<wolfman154> ?
<wolfman154> I am trying to set terminator as the default in xmonad?
<emily> wolfman154: probably you want to set environment.variables.TERMINAL = "terminator"
<wolfman154> emily: thanks I am still new to nixos
<wolfman154> emily++
<{^_^}> emily's karma got increased to 1
shu9 has quit [Quit: leaving]
iclanzan_ has joined #nixos
<iclanzan_> makefu: `substitue false` works! Thank you!
<iclanzan_> *`substitute false`
<pie__> LnL, ah ok
<makefu> yay!
rcshm has quit []
shpx has joined #nixos
iclanzan has quit [Ping timeout: 272 seconds]
sindrip has quit [Quit: WeeChat 2.2]
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
Izorkin has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/dc15b7f8547 (from 86 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
Andrey_ has joined #nixos
Andrey_ has quit [Client Quit]
Andrey_ has joined #nixos
wolfman154 has joined #nixos
vk3wtf has joined #nixos
Izorkin has joined #nixos
<judson__> zimbatm, alyssais what would you think of merging PR #53525?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53525 (by nyarly, 11 weeks ago, open): (ruby-modules/gem): (refactor)
Anton-Latukha has quit [Ping timeout: 250 seconds]
<wolfman154> environment.variables.TERMINAL = “terminator”; This command is not setting terminator as the default terminal?
<wolfman154> emily: it’s not working?
<simpson> wolfman154: I don't think that NixOS has a concept of "default terminal" and there's no alternatives subsystem like on Debian-based distros. Instead you need to configure the tool at hand. Have you looked at XMonad's documentation yet?
schneid3306 has quit [Quit: ZZZzzz…]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wolfman154> simpson: well since it is not working in nixos I’ll try xmonad, thanks for the tip
<wolfman154> simpson++
<{^_^}> simpson's karma got increased to 6