gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<clever> .serviceConfig.Type = "oneshot";
<clever> that tells systemd that it exits when its done "starting", and is then "running" without any process open
<iqubic`> Will that prevent the script from being restarted.
<clever> maybe
<codygman> I'm not sure if the selenium derivation is overridable and I think my override is correct: https://github.com/codygman/webdriver-nixos-haskell-example/blob/35f4039990fcefdc4fd0467726bdba752617d286/shell.nix#L6
<clever> which is why i mentioned needing 2 service entries
<codygman> got error "called with unexpected argument 'src'
<clever> codygman: you need to use .overrideAttrs
<iqubic`> clever: I've given up trying to make this service run periodically.
concatime has joined #nixos
<concatime> Hi. How do we aloud a build to access to internet?
<iqubic`> I just need to have it run once per boot, before display-manager.
<clever> codygman: make it fixed-output, by telling nix what the hash of the result is
iqubic` is now known as iqubic
codygman has quit [Ping timeout: 260 seconds]
<sir_guy_carleton> if i rollback a system profile and use nixos-rebuild to build a new system profile, would it override the rollbacked system profile?
<clever> sir_guy_carleton: it would build a new one based on the current configuration.nix
<clever> which will upgrade things again
<clever> and also the current nixpkgs
<sir_guy_carleton> so i've rollback from 45 to 44 and if i nixos-rebuild it would make 46, right?
<clever> yeah
<clever> so the rebuild would switch you from 44 to 46
<clever> and confusingly, a rollback would put you back on 45
<jtojnar> I am getting "syntax error, unexpected $undefined, at /nix/store/xh6ghidxl984qffakv5rkny59m5m788j-nixos-unstable.tar.gz:1:1"
<jtojnar> does import not support compressed files anymore?
<clever> jtojnar: you want fetchTarball
<clever> fetchurl doesnt unpack it
<clever> so import is trying to parse the .gz
griff_ has joined #nixos
<jtojnar> right, thanks
<zybell> iqubic:instead of "onetime" make your script `sleep 3600` at the end.systemd will then restart (once an hour)as you like it.
<clever> oh, the default actions may have changed between nix1 and nix2
<clever> nix1 didnt have a seperate fetchTarball originally
<concatime> If I make a custom default.nix, but the build process requires access to internet, how do I aloud it?
<clever> zybell: at that point, you might as well just make a bash while true; loop, and sleep 3600 inside it
<clever> concatime: why does it need access to the internet?
<zybell> makes shutdown complicated
<concatime> I'm trying to build (just testing) VSCode, and yarn needs to install some packages.
<clever> concatime: you want to use yarn2nix
<clever> concatime: you give ia a yarn.lock and a package.json, and it does everything for you
<concatime> Wow, that's quite nice! I will take a look.
sanscoeu_ has quit [Remote host closed the connection]
stumble has joined #nixos
<sir_guy_carleton> so is there a way to delete a system profile without nixos-collect-garbage?
<clever> sir_guy_carleton: run nix-store -qR on the system profile, and then run nix-store --delete on each path in it
<clever> some paths may still be in use by other generations, ignore the warning when it complains about those
<clever> and you need to delete the generation first with a nix-env command
<iqubic> I'm going to give this a better name and a better script, but I just want someone to make sure this will work: http://termbin.com/alur
<iqubic> I want this to run once per boot, before display-manager.
blahdodo has quit [Quit: Bye bye]
jgertm has quit [Ping timeout: 268 seconds]
<clever> iqubic: that looks good at a glance
<iqubic> Cool.
<iqubic> How do I call that from my configuration.nix?
<clever> put that file into imports
<iqubic> Does it need to be in the same directory?
<clever> imports = [ ./foo.nix ]; expects it in the current dir
<clever> ../foo.nix expects it one dir up
<iqubic> Cool.
<clever> /home/clever/foo.nix expects it in my home
<iqubic> That's really all I need.
<iqubic> When writing a script do I need to add semicolons between each line?
<iqubic> Or can I just use newlines in my timer.nix file?
<clever> nix will preserve the newlines
<iqubic> Cool. Thank you.
<iqubic> So I don't need to mess around with services.timer? What I have should work?
<clever> yeah
<iqubic> This is a bit off topic, but what does "cd" when put into a shell script?
<clever> iqubic: cd will normally go into $HOME if you dont give it a path
blahdodo has joined #nixos
<iqubic> But how does that work in a shell script?
<clever> the same way
cryp2nomicon has quit [Quit: leaving]
<iqubic> Cool. Thank you.
<achambe> will this nix expression use the pinned nixpkgs to build the nixos system? https://pastebin.com/raw/RH5TzaVi
<achambe> or is there a better way to do that?
<clever> achambe: that should use the pinned copy
<clever> achambe: oh wait, slight correction
<clever> achambe: it uses the pinned nixpkgs for everything, except google-compute-image.nix
<clever> you want nixPkgs + "/nixos/modules/virtualisation/google-compute-image.nix"
<achambe> oh, gotcha
<achambe> do modules ever include other modules
<achambe> ?
<achambe> hmm
<achambe> I guess relative is fine
<achambe> dang
<achambe> it won't work
<achambe> other modules use <> imports
<clever> and wrap it with ( and ) because it was in a list
<achambe> it imports non relative, but i can't find any other modules that do that.
<clever> yeah, i would also call that a bug
<clever> that makes it fairly difficult to pin the nixpkgs version
<clever> thats also why i always test things like this after `unset NIX_PATH`
<clever> so it fails, rather then silently using the wrong nixpkgs
<achambe> cool, will do.
<achambe> I'm trying to be very strict so that my build machine does not affect my servers
<achambe> stricter than nixops is
concatime has quit [Quit: Page closed]
<mightybyte> Anyone familiar with this error?
<mightybyte> cabal2nix: nix-prefetch-zip: createProcess: runInteractiveProcess: exec: does not exist
<clever> mightybyte: you need to provide nix-prefetch-zip in $PATH before you run cabal2nix
<mightybyte> It doesn't come installed by default?
<mightybyte> I have nix-prefetch-url
<clever> it might be in nix-prefetch-scripts
<clever> or cabal2nix is refering to something that never existed
<mightybyte> Is that a bug...given that nix is purely functional?
<clever> id say its a typo in cabal2nix
griff_ has quit [Quit: griff_]
<mightybyte> I've been installing plenty of other packages via fetchFromGitHub
<simpson> A typo, a thinko, a designo, a concepto~
<tnks> did someone notice how now we need a "-i" for "sudo -i nixos-rebuild switch"
<iqubic> Where do imports go?
<iqubic> Is it in the curly braces in the first line of my confiugration.nix?
<{^_^}> [nixpkgs] @fpletz pushed to master « wget: 1.19.4 -> 1.19.5 for CVE-2018-0494 »: https://git.io/vprNA
blahdodo has quit [Quit: Bye bye]
<iqubic> *configuration.nix
<clever> tnks: what happens if you dont use -i?
andreabedini has joined #nixos
<stumble> I never use -i.
<{^_^}> [nixpkgs] @fpletz pushed to release-18.03 « wget: 1.19.4 -> 1.19.5 for CVE-2018-0494 »: https://git.io/vprAW
<stumble> iqubic: it's usually inside the next lot of curly braces.
<stumble> The beginning of the default configuration.nix looks like this:
<stumble> { config, pkgs, ... }:
<stumble> {
<stumble> imports =
<stumble> ./hardware-configuration.nix
<stumble> [
<stumble> ];
<stumble>
<stumble> boot = {
blahdodo has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-17.09: https://git.io/vprA0
<{^_^}> → d9176e0d by @dezgeg: wget: 1.19.2 -> 1.19.4
<{^_^}> → b77c5b6e by @fpletz: wget: 1.19.4 -> 1.19.5 for CVE-2018-0494
jb55 has quit [Ping timeout: 260 seconds]
codygman has joined #nixos
<codygman> thanks all inc. clever for your help earlier... I finally got this working: https://github.com/codygman/webdriver-nixos-haskell-example
<stumble> \o/
jperras has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
markus1199 has joined #nixos
Supersonic112 is now known as Supersonic
stumble has quit [Quit: Leaving]
markus1189 has quit [Ping timeout: 260 seconds]
<iqubic> Apparently I can't use git commands in a systemd service. I'm getting an error saying that git is an invalid command.
<infinisil> ${pkgs.git}/bin/git
<iqubic> Thanks.
mbrgm has quit [Ping timeout: 255 seconds]
griff_ has joined #nixos
silver has quit [Read error: Connection reset by peer]
<clever> iqubic: there is a .path option on the service itself
<clever> iqubic: systemd.services.foo.path = [ pkgs.git ];
<clever> then it will be in PATH for you
<iqubic> I'll do that.
mbrgm has joined #nixos
<iqubic> How do I check if a certain systemd service is running. I just want to make sure that my custom service started alright.
<iqubic> s/running./running?/
<Myrl-saki> iqubic: systemctl status?
<iqubic> Yeah, that's showing me that it is inactive.
<iqubic> Or, wait, no I read that wrong. We're cool.
xcmw has joined #nixos
<{^_^}> [nixpkgs] @aszlig opened pull request #40053 → nixos/bind: Allow to set extra options → https://git.io/vprxt
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andreabedini has joined #nixos
<sauyon> what's a quick solution to the locale issues that were introduced
codygman has quit [Ping timeout: 260 seconds]
sir_guy_carleton has quit [Remote host closed the connection]
wchresta_ has joined #nixos
nuncanada has quit [Quit: Leaving]
leary` has quit [Remote host closed the connection]
wchresta_ has quit [Ping timeout: 240 seconds]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @aszlig opened pull request #40054 → nixos/nsd: Allow to configure root zone → https://git.io/vprxx
leary` has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 268 seconds]
astrofog has joined #nixos
jethroksy has joined #nixos
<iqubic> So my Fn lock key works fine, but not the num lock key.
<iqubic> the num lock key is Fn+F5, and it's supposed to allow me to use the 789uiojkl cluster of keys without having to use Fn + i or Fn + o. But it's not working for me.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2352d46904d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
johnw has joined #nixos
<johnw> anyone know how Travis works with caching and Nix?
<clever> johnw: you have to manually configure nix.conf to use a hydra server you have building it elsewhere
<clever> johnw: and hydra does the same job as travis, so why even use travis at that point?
<johnw> i'm not using hydra
<johnw> hydra doesn't quite integrate with github as nicely either
<clever> johnw: hydra does support building PR's and posting status to github
<johnw> yeah, but setting it up is still a nightmare
<johnw> Travis was... one button? Hydra I've still not found the time for
MP2E has joined #nixos
astrofog has quit [Quit: Quite]
rosa has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40055 → znc: 1.6.6 -> 1.7.0 → https://git.io/vprpQ
b has quit [Quit: Lost terminal]
griff_ has quit [Quit: griff_]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40056 → xmrig: 2.5.3 -> 2.6.1 → https://git.io/vprpb
jgertm has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40057 → tsearch_extras: 0.2 -> 0.3 → https://git.io/vprpN
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40058 → xterm: 332 -> 333 → https://git.io/vprpp
Arcaelyx has quit [Read error: Connection reset by peer]
u0_a152 has joined #nixos
u0_a152 has left #nixos [#nixos]
<fearlessKim[m]> I would like to conditionnaly import a file depending on a module existence (to be able to rebuild even if my module doesn't exist on nixos-unstable): `lib.optional (config.programs ? myCustomProgram)` generates an infinite loop
rosa has quit [Quit: rosa]
krey has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40059 → urh: 2.0.2 -> 2.0.4 → https://git.io/vprhW
NitroZ has joined #nixos
Arcaelyx has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
Arcaelyx has quit [Read error: Connection reset by peer]
Arcaelyx has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40060 → unbound: 1.7.0 -> 1.7.1 → https://git.io/vprh0
semilattice has quit [Ping timeout: 240 seconds]
semilattice has joined #nixos
acarrico has quit [Ping timeout: 264 seconds]
tnks has quit [Quit: leaving]
Arcaelyx has quit [Read error: Connection reset by peer]
Arcaelyx_ has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2352d46904d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
rosa has joined #nixos
zearen has quit [Ping timeout: 240 seconds]
jgertm has quit [Ping timeout: 260 seconds]
tertle||eltret has quit [Quit: Connection closed for inactivity]
jgertm has joined #nixos
schoppenhauer has quit [Ping timeout: 240 seconds]
rosa has quit [Quit: rosa]
schoppenhauer has joined #nixos
<infinisil> fearlessKim[m]: Your imports can't depend on config
<infinisil> fearlessKim[m]: Instead you need to do something like `config = mkIf (lib.optional config...) { ... }
rosa has joined #nixos
jperras has joined #nixos
stumble has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40061 → snd: 18.2 -> 18.3 → https://git.io/vprj7
rosa has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40062 → syslogng: 3.14.1 -> 3.15.1 → https://git.io/vprjd
jperras has quit [Ping timeout: 264 seconds]
<fearlessKim[m]> infinisil: thanks but I don't know which condition to use. basically I have this module that exists in one branch and doesn't in nixos-unstable. I want it to be imported when available . Maybe my only option is to use builtins.fileExists then
<infinisil> Yeah, I don't know of anything else that could work
<infinisil> Although, maybe you could use the options argument
<infinisil> fearlessKim[m]: `options.foo ? bar` to check whether option foo.bar exists
<clever> i suspect that imports cant depend on options either
<clever> though config can depend on options
<clever> and an mkIf would isolate it some
<infinisil> Ah yeah, options also depends on imports
nallar has joined #nixos
Ross has quit [Ping timeout: 240 seconds]
nallar is now known as Ross
<infinisil> The evaluation chain is actually like (imports closure -> all options -> config)
cryp2nomicon has joined #nixos
<clever> and the pkgs and lib args for all modules depends on config._modules.args
NitroZ has quit [Ping timeout: 264 seconds]
<clever> so it needs to know the attribute names for every config value, before it can compute pkgs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40063 → salt: 2017.7.4 -> 2018.3.0 → https://git.io/vpoe8
jperras has joined #nixos
<infinisil> > pkgs = import <nixpkgs>
<{^_^}> pkgs defined
jD91mZM2 has joined #nixos
<clever> > pkgs.pkgs.pkgs.pkgs.pkgs
<{^_^}> value is a function while a set was expected, at [1m(string)[0m:9:9
<infinisil> > pkgs = import <nixpkgs> {}
<{^_^}> pkgs defined
<clever> > pkgs.pkgs.pkgs.pkgs.pkgs
<{^_^}> { AAAAAASomeThingsFailToEvaluate = <CODE>; AMB-plugins = <CODE>; AgdaSheaves = <CODE>; AgdaStdlib = <CODE>; CoinMP = <CODE>; DisnixWebService = <CODE>; EBTKS = <CODE>; EmptyEpsilon = <CODE>; Fabric =
<jD91mZM2> I'm having issues with xmonad again :(. When using a single monitor, it's fine. But when I add my second monitor the rendering goes horrible
<jD91mZM2> xmonad places the windows in the right location, but off-screen. It's like xmonad doesn't agree with my monitor settings
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40064 → sakura: 3.5.0 -> 3.6.0 → https://git.io/vpoe2
<infinisil> >rev = builtins.readFile <nixpkgs/.git/refs/heads/master>
<{^_^}> rev defined
<jD91mZM2> xrandr output is correct and I haven't changed anything there
jperras has quit [Ping timeout: 256 seconds]
<infinisil> jD91mZM2: check arandr, also restarr xmonad after display changes
endformationage has quit [Quit: WeeChat 1.9.1]
<infinisil> > rev
<{^_^}> "2b499afa63f01473a19c7166c1f3750fa45a1bab\n"
griff_ has joined #nixos
<jD91mZM2> infinisil: I'm using a config that arandr generated a long time ago
orivej has quit [Ping timeout: 260 seconds]
krey has joined #nixos
<jD91mZM2> infinisil: Restarting did nothing :(
<jD91mZM2> I can apparently take screenshots still
<stumble> We can evaluate things here, can we?!
<clever> jD91mZM2: i'm guessing that xmonad isnt aware of the screen changing size?
<stumble> > 1 + 1
<{^_^}> 2
<stumble> Awesome.
<jD91mZM2> anyway, the mouse is weird as well. It selects things like 5cm above it
<jD91mZM2> clever: Sounds right to me.
aarvar has joined #nixos
<jD91mZM2> Their wiki wants me to check if xmonad is correctly compiled with xinerama, but because of nix's structure the ghc xinerama library isn't even installed
<leary`> jD91mZM2: you may be suffering from the state bug if you're on non
<leary`> non-git 0.13*
<infinisil> stumble: Yup, I just added that a few days ago :)
<jD91mZM2> leary`: state doesn't exist
<jD91mZM2> ok now it does. but I've tried deleting it
<infinisil> stumble: If you wanna spam the bot you can do so in #bottest
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39680 → nixos/acme: Fix broken post-stop script → https://git.io/vpBn2
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpoe7
<{^_^}> → 7d68eadf by @bgamari: nixos/acme: Fix broken post-stop script
<{^_^}> → 11df600b by @matthewbauer: Merge pull request #39680 from bgamari/fix-acme-post-stop
<leary`> I think you need to kill xmonad, delete the statefile then restart it.
<infinisil> >rev
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b77c5b6e4b5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<{^_^}> "2b499afa63f01473a19c7166c1f3750fa45a1bab\n"
<infinisil> >:u
<jD91mZM2> btw I ran `ghc -e "Graphics.X11.openDisplay [] >>= Graphics.X11.Xinerama.getScreenInfo"` and it gave me the right output
<{^_^}> Updated nixpkgs
<infinisil> >rev
<{^_^}> "11df600bf8975a9e1e471f4541321dc6f352a912\n"
<jD91mZM2> leary`: Ah, we have an issue. My TTY is fucking up again.
<jD91mZM2> Sometimes that happens because of my nouveau drivers
<infinisil> You can update the bots nixpkgs to latest master with >:u :)
<jD91mZM2> The fun thing is, everything gets fixed if I just disable my second monitor
<jD91mZM2> xrandr --output DP1 --off
<jD91mZM2> bam everything works
<jD91mZM2> the moment I enable it though
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39894 → go: 1.10.1 -> 1.10.2 → https://git.io/vpgOf
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpoep
<{^_^}> → 59c22bf3 by R. RyanTM: go: 1.10.1 -> 1.10.2
<{^_^}> → c0a15d85 by @matthewbauer: Merge pull request #39894 from r-ryantm/auto-update/go
<clever> jD91mZM2: what happens if you restart xmonad after turning on the monitor?
<jD91mZM2> Nothing. It stays broken.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39696 → Updating dependencies of neovim → https://git.io/vpBaP
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpovU
<{^_^}> → cb9f4f1a by @concatime: pythonPackages.neovim: 0.2.4 -> 0.2.6, gem-neovim & gem-msgpack
<{^_^}> → 1daec9d2 by @matthewbauer: Merge pull request #39696 from concatime/master
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39968 → xidlehook: init at 0.4.6 → https://git.io/vpaj6
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpovT
<{^_^}> → cf09900b by @jD91mZM2: xidlehook: init at 0.4.6
<{^_^}> → e71c4416 by @matthewbauer: Merge pull request #39968 from jD91mZM2/xidlehook
<jD91mZM2> Should I try rebooting into an older config and see if xmonad is fixed there or something?
<clever> you can also manually run the older xmonad without rebooting
<clever> hmmm, actually, where is the xmonad binary?, it doesnt exactly obey nix generations
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39989 → virtualbox: fix pci_get_bus_and_slot removed in kernel 4.17 → https://git.io/vpwsx
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpovO
<{^_^}> → d25607c7 by @megheaiulian: Fix pci_get_bus_and_slot removed in kernel 4.17
<{^_^}> → 52dac088 by @matthewbauer: Merge pull request #39989 from plumelo/feature/virtualbox-kernel-4.17-patch
<leary`> I unless the version is way older I doubt it will make a difference. You could upgrade xmonad and contrib to git.
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpovs
<{^_^}> → b79d1e80 by @mogorman: platformio: add git to chroot so it is usable by platformio command
<leary`> But having a working TTY or another WM to delete the statefile from is probably all you need.
<{^_^}> → 96ef188a by @matthewbauer: Merge pull request #39998 from mogorman/platformio
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39998 → platformio: add git to chroot so it is usable by platformio command → https://git.io/vpw2A
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39999 → particl-core: init at 0.16.0.4 → https://git.io/vpwVZ
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vpovG
<{^_^}> → fe24a0fa by @demyanrogozhin: particl-core: init at 0.16.0.4
<{^_^}> → 71a8d0ca by @Mic92: particl-core: replace utillinux with unixtools.hexdump
<{^_^}> → e4997af7 by @matthewbauer: Merge pull request #39999 from demyanrogozhin/particl
<jD91mZM2> leary`: I've tried closing xmonad, going into xterm, but the statefile wasn't there
<jD91mZM2> One thing to note is that I just started using home-manager yesterday. Could that cause an issue somehow?
<simpson> Yes, home-manager can cause various issues, or so I've heard.
<iqubic> What is the issue here?
<jD91mZM2> iqubic: xmonad is rendering windows and stuff partly off-screen
cryp2nomicon has quit [Read error: Connection reset by peer]
<jD91mZM2> note: I didn't actually enable xmonad in home-manager
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b77c5b6e4b5 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<iqubic> I have no idea what would cause that.
hiroshi has quit [Ping timeout: 268 seconds]
MP2E has quit [Remote host closed the connection]
<leary`> jD91mZM2: well I don't know what's causing the issue if the statefile isn't present, it just sounds so much like that bug, and it's easily one of the most common causes of trouble with 0.13 ... but ask on #xmonad, maybe someone will be able to help.
<leary`> The channel is slow but people do check it.
<jD91mZM2> I'll check again, maybe the statefile is there now... or something idk
jD91mZM2 has quit [Quit: WeeChat 2.0]
jperras has joined #nixos
<achambe> clever: any thoughts on this? https://github.com/NixOS/nixpkgs/issues/40066
xy2_ has joined #nixos
<clever> achambe: of note, nixos already forces nixpkgs to use nixpkgs.config and nixpkgs.overlays for the config and overlays, so the users config.nix and overlays wont apply
jethroksy has quit [Ping timeout: 264 seconds]
<achambe> ah ok
<clever> those values must instead be defined in the configuration.nix
<clever> so only configuration.nix and nixpkgs themselves are loaded from NIX_PATH
<clever> as a way of doing things in a more pure manner
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40067 → qutebrowser: 1.2.1 -> 1.3.0 → https://git.io/vpovX
<clever> NIX_PATH= nixos-rebuild build -I nixos-config=./configuration.nix -I nixpkgs=/home/clever/apps/nixpkgs
<achambe> though the nixpkgs dir is still state
<clever> yeah
wchresta_ has joined #nixos
<clever> but you coudl give it a url including a git rev
<clever> -I nixpkgs=https://github.com/nixos/nixpkgs/archive/${gitrev}.tar.gz
jD91mZM2 has joined #nixos
<jD91mZM2> crap, that just made it worse
<jD91mZM2> now not even single-monitor is perfect for some reason
jperras has quit [Ping timeout: 240 seconds]
<jD91mZM2> this is confusing
<jD91mZM2> I'll try disabling my monitor setup and see if using the default xrandr settings makes it approachable
<achambe> clever: is there a way to pass the hash in from -I ?
rosa has joined #nixos
<achambe> i mean, not the git-revision but the output hash
<clever> achambe: when using a URL like that, it is technically impure, nix will check for updates if it has been over an hour since you last used it
<achambe> that is pretty close to what I want though tbh.
<achambe> oh I see
<clever> achambe: but as long as github isnt cheating, it will return the exact same thing every time
<achambe> thanks, that is something I never understood
jD91mZM2 has quit [Client Quit]
<clever> [clever@amd-nixos:~]$ ls -ltrh ~/.cache/nix/tarballs/
<clever> achambe: nix uses this directory to cache the results of fetching such things
<clever> 0lmg3b0f50wmfbh3fgbfz80g2lhzjy04cps1mm2ziyxmafkiqlmp.info and 0lmg3b0f50wmfbh3fgbfz80g2lhzjy04cps1mm2ziyxmafkiqlmp-file are based on a hash of the URL, and contain metadata on it
<clever> and based on the metadata in the .info, it will know how old the -file is, and if it should check again, and what cache-control magic is at play
<clever> and if things are unpacked, there is also a hvm7h0ydc68hqa9x5657f5h8lh8437cr-4975378b2139f24b1368f44e9e3d44e34c3e48ad.tar.gz-unpacked symlink
<clever> which is based on a hash of the .tar.gz the url gave
<achambe> right, it would be nice if i could put the output hash so it never needs to recheck, but i do trust github mostly.
<achambe> to return the same stuff
<clever> so if 2 URL's give binary-identical .tar.gz files, it can reuse the -unpacked variant
jD91mZM2 has joined #nixos
coot_ has joined #nixos
<clever> you could also set the sha256 directly, if you add another larger nix file into the mix, but then <nixpkgs> entries in nixpkgs (which is a bug) would fail
coot_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40068 → riot-web: 0.14.1 -> 0.14.2 → https://git.io/vpovA
robstr has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
rosa has quit [Quit: rosa]
andreabedini has joined #nixos
MercurialAlchemi has joined #nixos
wchresta_ has quit [Ping timeout: 260 seconds]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40069 → qbittorrent: 4.0.4 -> 4.1.0 → https://git.io/vpofm
<leary`> BTW jD91mZM2 I could be wrong about this, but I have a theory. If your monitor setup is being configured by a script after xmonad loads, then restarting xmonad statefully might not suffice to make it see than config, and deleting state from outside an xmonad session wouldn't help because the conditions are recreated every time you log in.
<leary`> jD91mZM2: If that's what's happening, you might be able to fix it by configuring your screens with xorg config before xmonad sees them.
<leary`> Though it would be better to just update xmonad instead.
Arcaelyx_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<jD91mZM2> leary`: I've tried to configure them with xorg before to make lightdm work, but it's just working really badly
griff_ has quit [Quit: griff_]
<jD91mZM2> Especially since I have to restart lightdm for every attempt at changing the config
<ghostyy> why does nixos use the british spelling of "virtualization" in its configuration options and why does it do so inconsistantly https://nixos.org/nixos/options.html#virtualization
<jD91mZM2> ghostyy: Ah, I see I'm not the only one bothered by that xD
<ghostyy> :P
jrolfs has quit [Quit: WeeChat 2.0]
coot has joined #nixos
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @vbgl merged pull request #39706 → ocaml: default to 4.06 on aarch64 (since 4.05 is broken there) → https://git.io/vpBX5
<{^_^}> [nixpkgs] @vbgl pushed to master « ocaml: default to 4.06 on aarch64 (since 4.05 is broken there) »: https://git.io/vpof2
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #39726 → jbuilder: 1.0+beta17 -> 1.0+beta20 → https://git.io/vpR6C
<{^_^}> [nixpkgs] @vbgl pushed to master « jbuilder: 1.0+beta17 -> 1.0+beta20 »: https://git.io/vpofr
<{^_^}> [nixpkgs] @matthewbauer closed pull request #37248 → xlsfonts: 1.0.5 -> 1.0.6 → https://git.io/vxYjy
<jD91mZM2> Wait, where is xmonad defined in nixpkgs? I can't find it
<leary`> It's in haskellPackages
<stumble> ghostyy: You think it's using the British spelling? I just assumed it was using the Australian spelling.
<ghostyy> i just sort of assumed
<ghostyy> (i am not british)
<{^_^}> [nixpkgs] @matthewbauer pushed to master « souffle: fix on darwin »: https://git.io/vpofM
jedai has joined #nixos
jedai42 has quit [Ping timeout: 240 seconds]
monotux has quit [Quit: The Lounge - https://thelounge.github.io]
monotux has joined #nixos
<{^_^}> [nixpkgs] @jD91mZM2 closed pull request #40033 → powerline-rs: fix stuff → https://git.io/vprwv
<jD91mZM2> Oh noes I didn't mean to do that
<{^_^}> [nixpkgs] @jD91mZM2 reopened pull request #40033 → powerline-rs: fix stuff → https://git.io/vprwv
Aleksejs_Home is now known as Aleksejs
rosa has joined #nixos
<jD91mZM2> TIL GitHub detects if you restore a branch
<jD91mZM2> That's pretty cool, I expected to be forced to create a new PR all together
<jD91mZM2> (Which would have sucked since the PR only fixes the mess I made in the first place. Messing up the mess fixer would be really messy)
mkoenig has quit [Remote host closed the connection]
Maxdamantus has quit [Remote host closed the connection]
Maxdamantus has joined #nixos
<stumble> ghostyy: Sorry: I was being silly. Countries that use he same spelling as Britain do call it the British spelling.
mkoenig has joined #nixos
reinzelmann has joined #nixos
<ghostyy> :P
mkoenig has quit [Remote host closed the connection]
Ariakenom has quit [Read error: Connection reset by peer]
mkoenig has joined #nixos
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/816101fed3e (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
kreetx has joined #nixos
hamishmack has joined #nixos
rosa has quit [Quit: rosa]
leat has quit [Ping timeout: 260 seconds]
jackdk has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40070 → pspg: 1.1.0 -> 1.1.1 → https://git.io/vpoJD
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40071 → pmd: 6.2.0 -> 6.3.0 → https://git.io/vpoJ9
jacob_ has joined #nixos
kreetx has quit [Quit: Lost terminal]
olto has joined #nixos
jperras has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
iqubic` has joined #nixos
griff_ has joined #nixos
jgertm has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40072 → osinfo-db: 20180416 -> 20180502 → https://git.io/vpoUG
iqubic has quit [Ping timeout: 260 seconds]
hyper_ch2 has joined #nixos
xy2_ has quit [Ping timeout: 240 seconds]
jedai42 has joined #nixos
jedai|2 has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
mog has quit [Ping timeout: 265 seconds]
jedai has quit [Ping timeout: 268 seconds]
mog has joined #nixos
jedai42 has quit [Ping timeout: 264 seconds]
coot has quit [Remote host closed the connection]
hph^ has quit [Ping timeout: 240 seconds]
winem_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40074 → pdfpc: 4.1 -> 4.1.1 → https://git.io/vpoTv
periklis has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #40041 → liblapack: 3.4.1 -> 3.8.0 → https://git.io/vprXH
<{^_^}> → ca9ea31a by Timo Kaufmann: liblapack: 3.4.1 -> 3.8.0
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vpoTG
<{^_^}> → 903ae1ea by @7c6f434c: Merge pull request #40041 from timokau/liblapack-3.8.0
rosa has joined #nixos
<Izorkin> How to fix - sudo nixos-rebuild switch - error - warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring
<clever> Izorkin: thats a warning, and it happens if you have never ran nix-channel
jperras has joined #nixos
<clever> nix should also normally setup that dir on the first login
griff_ has quit [Quit: griff_]
<jD91mZM2> How do I check driver versions? Somebody in the #xmonad channel thinks that might be it
<Izorkin> clever: error update channel with sudo.
jperras has quit [Ping timeout: 248 seconds]
<Izorkin> path /root/.nix-defexpr/channels found
<clever> Izorkin: what was the error?
<clever> Izorkin: what does nix-channel --list say when ran as root?
<clever> also, that was not an error either, that was another warning
MichaelRaskin has left #nixos [#nixos]
<Izorkin> this error - with latest update nixos
<clever> Izorkin: sudo ls -lah /root/.nix-defexpr/channels/
cryp2nomicon has joined #nixos
jD91mZM2 has quit [Quit: WeeChat 2.0]
<clever> Izorkin: looks entirely normal, what if you do `sudo -i` then `nixos-rebuild switch` ?
<Izorkin> that is normal
<clever> its probably just using the NIX_PATH from your normal user when ran directly with sudo
<clever> and your user hasnt used nix-channel
<Izorkin> `sudo -i` and `sudo nixos-rebuild switch` - error
<clever> you dont need sudo on that 2nd one
<clever> your already root
<clever> is it actually having an error?
<clever> or is it another warning?
<Izorkin> warning
<clever> warnings can usually be ignored
drakonis has quit [Remote host closed the connection]
wchresta_ has joined #nixos
<Izorkin> before such a message was not
cryp2nomicon has quit [Quit: leaving]
Ariakenom has joined #nixos
rosa has quit [Quit: rosa]
rosa has joined #nixos
jD91mZM2 has joined #nixos
<jD91mZM2> How do I check version of a system package?
<vaibhavsagar> jD91mZM2: find out which version of nixpkgs you're using and look up the expression on github
<vaibhavsagar> or `<pkg> --version`
<jD91mZM2> Aha, there's no utility for it?
<clever> jD91mZM2: nix-store -qR /run/current-system | grep packagename
<jD91mZM2> Aha
<jD91mZM2> Seems like I'm using the vesa drivers. Shouldn't nouveau be the default for nvidia systems?
rosa has quit [Quit: rosa]
coot has joined #nixos
<clever> jD91mZM2: the vesa drivers will be available even if your not using them
<etu> jD91mZM2: On live-usb it's not nouveau and I'm very happy for that :D
<clever> jD91mZM2: you need to check the logs for Xorg to see which drivers it used: sudo journalctl -u display-manager -b 0
<etu> Cuz my nvidia-card doesn't work with nouveau at *all*. I don't even get a tty. It's just blackscreen. So NixOS live-usb is more or less the only one that works out of the box without adding kernel params to disable nouveau :)
<jD91mZM2> clever: That's just showing me xorg crashes lol
Ariakenom_ has joined #nixos
<clever> jD91mZM2: is xorg actually working?
<jD91mZM2> /var/log/X.0.log says "DRI driver: nouveau"
<clever> timestamp on that file?
<jD91mZM2> yeah, i'm in xorg currently
<jD91mZM2> from today
<jD91mZM2> from 10 minutes ago
__Sander__ has joined #nixos
<clever> the journal should also have events from that timestamp
rosa has joined #nixos
Ariakenom has quit [Ping timeout: 276 seconds]
hyper_ch2 has quit [Ping timeout: 260 seconds]
jperras has joined #nixos
semilattice has quit [Ping timeout: 240 seconds]
<sphalerite> yeah lightdm is stupid and won't let us put the Xorg logs in the journal
hyper_ch2 has joined #nixos
rosa has quit [Quit: rosa]
rosa has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40075 → metabase: 0.28.6 -> 0.29.0 → https://git.io/vpok1
jperras has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40076 → mbedtls: 2.8.0 -> 2.9.0 → https://git.io/vpok9
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40077 → mypy: 0.590 -> 0.600 → https://git.io/vpokF
Tucky has joined #nixos
ijsicle has quit [Quit: WeeChat 2.0]
rosa has quit [Quit: rosa]
<jD91mZM2> I can only see events from a few minutes before
<jD91mZM2> then again it's possible that xorg wrote something new during those minutes
<jD91mZM2> Anyway, does that DRI driver thing mean I'm using nouveau?
<jD91mZM2> (sphalerite, clever)
<clever> yeah
<clever> there should probably be some matching lines in dmesg and/or `journalctl -t kernel -b 0`
<jD91mZM2> Why isn't nouveau in services.xsession.videoDrivers?
<clever> did you set it to anything? is it using the default?
<sphalerite> yeah I think it's in the default value
<sphalerite> `nixos-option services.xserver.videoDrivers`
<jD91mZM2> It's not in the default though, is it?
<sphalerite> oh yeah, it isn't
<jD91mZM2> [ "ati" "cirrus" "intel" "vesa" "vmware" "modesetting" ]
<clever> the above cmd will also show its current value
<jD91mZM2> yeah I'm using the default
<sphalerite> well actually that's the *video* driver
<jD91mZM2> Tried setting it to nouveau and it crashed
<jD91mZM2> Isn't nouveau a video driver? Am I stupid?
<sphalerite> I think nowadays the sane GPU drivers just use modesetting
vcunat has joined #nixos
<sphalerite> and the DRI driver, for accelerated rendering, is separate
vcunat has quit [Client Quit]
jedai has joined #nixos
<jD91mZM2> Oh okay
<jD91mZM2> How do I know if there has been an update to any drivers recently? Is there some channel log somewhere?
Ariakenom_ is now known as Ariakenom
<sphalerite> `git log` :)
<sphalerite> gchristensen also keeps a history of channel updates (i.e. when which channels updated to which git revs) https://channels.nix.gsc.io/
<jD91mZM2> `git log` where?
<sphalerite> in nixpkgs
jedai|2 has quit [Ping timeout: 260 seconds]
jedai42 has joined #nixos
<jD91mZM2> Yeah but does it have branches for each version or something?
thc202 has joined #nixos
<sphalerite> https://github.com/nixos/nixpkgs-channels has branches corresponding exactly to the hcannels
<jD91mZM2> I see nixpkgs has a "release-18.03" branch as well
<jD91mZM2> What's the difference?
<jD91mZM2> Seems like the nixpkgs one is outdated?
<clever> the one on nixpkgs is ahead of nixpkgs-channels and untested
<sphalerite> release-18.03 is built by hydra, our CI, and when all the tests pass it updates the nixos-18.03 branch to match it
<clever> once the variant on nixpkgs passes tests, the version that passed is pushed to nixpkgs-channels
<jD91mZM2> nvm it's not outdated, I just didn't git pull
<jD91mZM2> I see, thanks
asuryawanshi has joined #nixos
jedai has quit [Ping timeout: 256 seconds]
<jD91mZM2> No drivers update recently, then? That's odd
<sphalerite> what's the issue you're having?
jedai42 has quit [Ping timeout: 264 seconds]
<jD91mZM2> When enabling my second monitor, xmonad renders stuff off-screen
<sphalerite> There have been some changes to how OpenGL driver stuff works, basically libGL has been removed from
<sphalerite> oh
<sphalerite> ok that doesn't sound related, heh
<jD91mZM2> And the mouse highlights stuff half a screen above it
<jD91mZM2> It's like it's rendering the screen at a different position than xmonad
<jD91mZM2> And the second monitor pretty much just becomes a screenshot of the first
<jD91mZM2> I can still press stuff but it doesn't actually redraw
<jD91mZM2> It's really odd
<sphalerite> have you tried adjusting stuff with xrandr?
* clever heads to bed
<sphalerite> gnight!
iqubic`` has joined #nixos
LysergicDreams has quit [Ping timeout: 248 seconds]
<jD91mZM2> sphalerite: Yeah, and it just keeps being weird
<sphalerite> :/
<jD91mZM2> I'm using exactly the same xrandr script (generated by arandr) as I have been for ages as well
<jD91mZM2> So it's really strange
iqubic` has quit [Ping timeout: 276 seconds]
<jD91mZM2> Wait, I wonder what happens if I take a screenshot of the whole screen
LysergicDreams has joined #nixos
<sphalerite> my guess is it'll look the way it's supposed to look
<{^_^}> [nixpkgs] @jbgi opened pull request #40079 → blobfuse: 1.0.1-RC-Preview -> 1.0.2 → https://git.io/vpoLL
<jD91mZM2> Actually, no D:
<jD91mZM2> The top-left terminal is the only one I can actually use
<sphalerite> whoa
<jD91mZM2> The rest is just weird stills of that
<jD91mZM2> Told you it's weird :^)
asuryawanshi has quit [Remote host closed the connection]
selaux has joined #nixos
rosa has joined #nixos
asuryawanshi has joined #nixos
periklis has quit [Remote host closed the connection]
vaninwagen has joined #nixos
periklis has joined #nixos
johnw has quit [Ping timeout: 268 seconds]
<ij> Does system.autoUpgrade.dates accept only times of the day or can I make it run once a week too?
johnw has joined #nixos
GiGa|Laptop has joined #nixos
<tilpner> dates = "weekly"; works too
<tilpner> man 7 systemd.time
<jD91mZM2> ij: TIL about that option. To be honest it sounds really dangerous
<ij> jD91mZM2, Running very smoothly.
<ij> It's not like I'm running unstable.
<ij> Even ubuntu has auto-updates.
<ij> unattended, they call 'em
<etu> jD91mZM2: Very nice for stable channels :)
ertes-w has joined #nixos
<etu> jD91mZM2: you can always rollback and change the option if it's a problem
<jD91mZM2> Good point
<nyanloutre[m]> Yes rollback is what make autoupdate viable
hotfuzz_ has joined #nixos
<nyanloutre[m]> you just need to combine it with an out of band management card and you're good to go !
asuryawanshi has quit [Ping timeout: 255 seconds]
<GiGa|Laptop> happy Monday all
hotfuzz has quit [Ping timeout: 265 seconds]
<GiGa|Laptop> has anyone here used a Yubico Security key with their NixOS installation?
rosa has quit [Quit: rosa]
rosa has joined #nixos
<GiGa|Laptop> I'm assuming I need to add the UDEV stuff from the Yubico site under services.udev.extrarules (from memory) ?
<GiGa|Laptop> That didn't seem to work though
periklis has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @brainrape opened pull request #40080 → keybase-gui: fix kbfs mount path check → https://git.io/vpotF
wchresta_ has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40081 → mkvtoolnix: 22.0.0 -> 23.0.0 → https://git.io/vpotj
jD91mZM2 has quit [Quit: WeeChat 2.0]
wchresta_ has joined #nixos
rosa has quit [Quit: rosa]
rosa has joined #nixos
ehamberg has joined #nixos
<fearlessKim[m]> I am writing a module for telnet with its own user telnetd. On start I have `bind: Permission denied`, how can I grant the telnetd user the bind persmissions ? add him to "network" group ?
smichel has joined #nixos
<{^_^}> [nixpkgs] @jarjee opened pull request #40082 → mongodb: 3.4.10 -> 3.6.4 → https://git.io/vpoq5
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40083 → nnn: 1.7 -> 1.8 → https://git.io/vpoqd
jD91mZM2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40084 → mosquitto: 1.4.15 -> 1.5 → https://git.io/vpomf
<jD91mZM2> Oh noes, I tried to set hardware.nvidiaOptimus.disable, but it failed
<jD91mZM2> -bbswitch-0.8-4.14.39/bin/discrete_vga_poweroff: line 3: /proc/acpi/bbswitch: No such file or directory
<tilpner> fearlessKim[m] - Can try serviceConfig.CapabilityBoundingSet = "CAP_NET_BIND_SERVICE";
<jD91mZM2> I'm also getting stuff like "setup: line 313: pkgBuildAccumVars: readonly variable"
lonokhov has joined #nixos
<GiGa|Laptop> fearlessKim[m], what's the use case for an insecure protocol such as telnet?
<GiGa|Laptop> jD91mZM2, would adjusting a setting on bumblebee help?
<fearlessKim[m]> GiGa|Laptop: I am not sure but it seems mininet (a network simulator) uses it to run commands on netns nodes
<jD91mZM2> GiGa|Laptop: I'm not sure, haven't really done anything else than set that setting
rosa has quit [Quit: rosa]
<jD91mZM2> running `sudo systemctl start bbswitch` manually works
<jD91mZM2> I'll try rebooting
jD91mZM2 has quit [Quit: WeeChat 2.0]
rosa has joined #nixos
<sphalerite> fearlessKim[m]: the process needs to have CAP_NET_BIND_SERVICE to bind port 23. I think a nicer solution though is using systemd socket activation, if possible
<sphalerite> oh, tilpner already said the cap thing
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40085 → mydumper: 0.9.3 -> 0.9.5 → https://git.io/vpomo
ertes-w has quit [Ping timeout: 240 seconds]
ertes-w has joined #nixos
<GiGa|Laptop> fearlessKim[m], OK, not so bad on a simulator but a really bad idea in a production environment
rosa has quit [Quit: rosa]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40086 → miniupnpd: 2.0.20180422 -> 2.0.20180503 → https://git.io/vpomj
jD91mZM2 has joined #nixos
<jD91mZM2> When rebooting: "Failed to open file: efi\nixos\<hash here>-initrd"
ertes-w has quit [Ping timeout: 276 seconds]
<jD91mZM2> then "Trying to load files to higher address"
<jD91mZM2> and then the first initrd message again
asuryawanshi has joined #nixos
<GiGa|Laptop> jD91mZM2, I have a laptop with Optimus in it, can be a right pain
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40087 → libofx: 0.9.12 -> 0.9.13 → https://git.io/vpoYM
<GiGa|Laptop> jD91mZM2, does this piece of my config help you?: https://pastebin.com/CDZ1c0gt
joehh has joined #nixos
<jD91mZM2> GiGa|Laptop: Ah, I tried to disable optimus all together using nvidiaOptimus.disable
<jD91mZM2> I'll try enabling and embracing bumblebee
<jD91mZM2> Do I need to set videoDrivers to include nouveau? Why doesn't the default include it?
civodul has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40088 → libcouchbase: 2.8.6 -> 2.8.7 → https://git.io/vpoO3
ertes-w has joined #nixos
<jD91mZM2> brb rebooting
jD91mZM2 has quit [Quit: WeeChat 2.0]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Mic92 merged pull request #40035 → iwd: 0.1 -> 0.2 → https://git.io/vprK2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoOD
<{^_^}> → bd7c16e9 by @dywedir: iwd: 0.1 -> 0.2
<{^_^}> → 4e02aabf by @Mic92: Merge pull request #40035 from dywedir/iwd
rosa has joined #nixos
rosa has quit [Client Quit]
jperras has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40090 → libfm-extra: 1.3.0 -> 1.3.0.2 → https://git.io/vpo3f
jD91mZM2 has joined #nixos
<jD91mZM2> GiGa|Laptop: Rebooted, stuff seems to be exactly the same. How can I tell if anything worked?
joehh has quit [Ping timeout: 240 seconds]
jperras has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40092 → lynis: 2.6.3 -> 2.6.4 → https://git.io/vpo3E
smichel has quit [Quit: smichel]
<Moredread> is there a way to exclude derivations I invoked with nix-shell from garbage collection?
paraseba has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #40029 → pythonPackages.pyopengl: fix build → https://git.io/vprBg
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpo3H
<{^_^}> → f92cf4b9 by @knedlsepp: pythonPackages.pyopengl: fix build
<{^_^}> → f469f2ea by @Mic92: Merge pull request #40029 from knedlsepp/fix-pyopengl
smichel has joined #nixos
cryp2nomicon has joined #nixos
jD91mZM2 has quit [Quit: WeeChat 2.0]
smichel has quit [Ping timeout: 260 seconds]
<Moredread> Mic92_: thx!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40093 → lean: 3.3.0 -> 3.4.1 → https://git.io/vposR
<sphalerite> the tests for hypothesis… take a while
<GiGa|Laptop> Need to be AFK for a bit
<GiGa|Laptop> if jD91mZM2 comes back online is anyone able to assist him? I'm not an expert on Optimus by any stretch
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40094 → libraw: 0.18.9 -> 0.18.10 → https://git.io/vpos7
paraseba has joined #nixos
<sphalerite> I'll see what I can do
<GiGa|Laptop> Thanks sphalerite. Real world is calling (housework and 6 year old)
<GiGa|Laptop> be back later, possibly much later!
<sphalerite> haha good luckk
<{^_^}> [nixpkgs] @gebner merged pull request #40093 → lean: 3.3.0 -> 3.4.1 → https://git.io/vposR
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vposh
<{^_^}> → 639376af by R. RyanTM: lean: 3.3.0 -> 3.4.1
<{^_^}> → 5347d894 by @gebner: Merge pull request #40093 from r-ryantm/auto-update/lean
reinzelmann has quit [Quit: Leaving]
GiGa|Laptop has quit [Quit: Leaving]
jD91mZM2 has joined #nixos
<jD91mZM2> Ugh I just enabled bumblebee and now it's *only* using the intel driver
<jD91mZM2> To be fair I'm not even sure what exactly I'm trying to achieve
<jD91mZM2> To be honest*
knupfer has joined #nixos
<{^_^}> [nixpkgs] @rkoe opened pull request #40095 → i3lock-color: fix manpage-name and manpage → https://git.io/vpoGR
jD91mZM2 has quit [Client Quit]
jD91mZM2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40096 → ldb: 1.1.31 -> 1.3.3 → https://git.io/vpoGo
jD91mZM2 has quit [Client Quit]
jD91mZM2 has joined #nixos
<sphalerite> jD91mZM2: stop disappearing! :p
<jD91mZM2> I just tried disabling the intel driver all together (don't ask me why) by setting videoDrivers to ["vesa" "nouveau"]
<sphalerite> jD91mZM2: that's expected behaviour with bumblebee — to use the discrete graphics you use primusrun
wchresta_ has quit [Ping timeout: 240 seconds]
<jD91mZM2> Now Xorg fails with "no screens found"
cryp2nomicon has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Mic92 merged pull request #39804 → nodePackages{v6,v8}: update → https://git.io/vp09y
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/vpoGQ
<{^_^}> → 69bf313e by @Mic92: nodePackages{v6,v8}: update
<{^_^}> → 0e5d6a66 by @Mic92: nodePackages.imapnotify: init at 0.4.1
<{^_^}> → f343efcf by @Mic92: nodePackages.elm-oracle: init at 1.1.1
<sphalerite> You shouldn't need to change videoDrivers at all really
<jD91mZM2> Okay so what exactly do I want to achieve here? I want my display to stop being weird when starting. They kept being weird even when using only the intel driver. So apparently that's not the solution.
<sphalerite> you're on unstable, right?
<jD91mZM2> Nope
<jD91mZM2> I wanted to, but since X crashed I just realized that unstable maybe wasn't the best right now
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40097 → libx86emu: 1.12 -> 1.14 → https://git.io/vpoZU
<sphalerite> ah :/
<sphalerite> What if you use a different window manager?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40098 → libcue: 2.2.0 -> 2.2.1 → https://git.io/vpoZO
<{^_^}> [nixpkgs] @Mic92 closed pull request #38353 → elm-oracle: init at 1.1.1 → https://git.io/vxiox
<{^_^}> [nixpkgs] @Mic92 closed pull request #38025 → imapnotify: init at 0.4.1 → https://git.io/vxVkI
<jD91mZM2> sphalerite: That's a good question, and I have no idea why I haven't tried that yet
<{^_^}> [nixpkgs] @Mic92 closed pull request #31036 → elm-oracle: init at 1.1.1 → https://git.io/vFm1W
pie___ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 closed pull request #37179 → nodePackages.imapnotify: init at 0.4.1 → https://git.io/vxmVm
<{^_^}> [nixpkgs] @Mic92 merged pull request #40079 → blobfuse: 1.0.1-RC-Preview -> 1.0.2 → https://git.io/vpoLL
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoZ2
<{^_^}> → 99430789 by @jbgi: blobfuse: 1.0.1-RC-Preview -> 1.0.2
<{^_^}> → 7799f9f9 by @Mic92: Merge pull request #40079 from jbgi/blobfuse-1.0.2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/vpoZK
<{^_^}> → 758144ea by @jbgi: blobfuse: 1.0.1-RC-Preview -> 1.0.2
<{^_^}> → 1fbf1326 by @jbgi: blobfuse: init at 1.0.1-RC-Preview (#39073)
wchresta_ has joined #nixos
rosa has joined #nixos
<jD91mZM2> sphalerite: I bet this whole thing with boil down to `export DONT_BE_WEIRD_WHEN_USING_MULTIPLE_MONITORS=1`
<sphalerite> :D
<jD91mZM2> Like for example that GCC error I had yesterday :^)
<etu> jD91mZM2: you forgot to have PLEASE_ at the beginning ;)
<jD91mZM2> sphalerite: Same issue with xfce. TI don't know whether I'm relieved or sad
<sphalerite> gcc error? *curious*
<jD91mZM2> Yesterday I couldn't compile something because NixOS sets -Werror by default
<sphalerite> it does? o.O
<jD91mZM2> So I had to `export hardeningDisable=all`
<jD91mZM2> Apparently, yeah
<jD91mZM2> Their wrapper does
<sphalerite> no it definitely doesn't
<sphalerite> There's -Werror=format-security, but definitely not -Werror
<sphalerite> I'd recommend disabling only the ones that break your build, not all. So hardeningDisable = ["format"]
<jD91mZM2> Well yeah -Werror=format-security is what I meant
<sphalerite> oh right. Big difference :p
<jD91mZM2> Really?
simukis has joined #nixos
<sphalerite> Yes, -Werror causes gcc to treat *all* warnings as errors
<jD91mZM2> Well okay right I should have been more specific
<sphalerite> :D anyway. I'll go with sad rather than relieved that it's weird in xfce too
<jD91mZM2> I meant "it sets -Werror to something other than the default"
<sphalerite> oh no, gcc flags don't work logically like that :p
<{^_^}> [nixpkgs] @Mic92 merged pull request #40090 → libfm-extra: 1.3.0 -> 1.3.0.2 → https://git.io/vpo3f
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vponB
<{^_^}> → 1c67dc2f by R. RyanTM: libfm-extra: 1.3.0 -> 1.3.0.2
<{^_^}> → 4a0832d6 by @Mic92: Merge pull request #40090 from r-ryantm/auto-update/libfm-extra
<sphalerite> an issue with xmonad is a lot easier to work out than an issue that may be in X, X's video driver, the kernel graphics drivers, mesa, …
rosa has quit [Quit: rosa]
<clever> ive had fun trying to debug why page flipping didnt work in the android drivers for framebuffers on the rpi before
<sphalerite> so when did this issue start appearing? AFAIU you weren't having it yesterday?
pie___ has joined #nixos
<sphalerite> clever: what happened to sleeping? :p
<clever> android implements page flipping by configuring the framebuffer to have a virtual height that is twice the screen height
<clever> and then it scrolls up/down 1 whole screen, to flip
rosa has joined #nixos
<clever> years after giving up on fixing that i found the problem, when you use the GPU function to reconfigure the framebuffer (to adjust scroll), it re-allocates the framebuffer ram
<clever> clearing the whole screen
<jD91mZM2> sphalerite: Worst part was that overriding with -Wno-error didn't work either because the wrapper adds their flags last
<clever> so the act of making a given frame you just render visible, also clears the frame, right as you make it visible, lol
<clever> sphalerite: couldnt get to sleep
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40099 → hwdata: 0.311 -> 0.312 → https://git.io/vpon6
rosa has quit [Client Quit]
* jD91mZM2 gives up and goes to take a shower
<sphalerite> jD91mZM2: when you're back — what hardware is this on?
<{^_^}> [nixpkgs] @fpletz pushed commit from @Ma27 to release-18.03 « shutter: wrap `XDG_DATA_DIRS` with `hicolor-icon-theme` »: https://git.io/vpocv
<{^_^}> [nixpkgs] @fpletz pushed commit from @bjornfor to release-18.03 « shutter: add missing dependencies for Screenshot->Export (Ctrl+U) support »: https://git.io/vpocU
rosa has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #40099 → hwdata: 0.311 -> 0.312 → https://git.io/vpon6
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/vpocs
<{^_^}> → fe89c1be by R. RyanTM: hwdata: 0.311 -> 0.312
<{^_^}> → 066a731a by @fpletz: Merge pull request #40099 from r-ryantm/auto-update/hwdata
pie___ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40100 → ibus-engines.table: 1.9.18 -> 1.9.20 → https://git.io/vpocR
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40101 → hiawatha: 10.7 -> 10.8.1 → https://git.io/vpoc6
dvim has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40102 → insomnia: 5.16.1 -> 5.16.2 → https://git.io/vpoc7
<jD91mZM2> sphalerite: neofetch says https://imgur.com/kRD7Efm
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40104 → keepass: 2.38 -> 2.39 → https://git.io/vpoCI
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/758144ea44c (from 37 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<sphalerite> jD91mZM2: laptop model?
<jD91mZM2> I think that's what the X550LD is. An ASUS.
<sphalerite> ah ok
wchresta_ has quit [Ping timeout: 268 seconds]
<sphalerite> oh right, you were using a different linux distro on it previously, right? And I'm guessing you didn't have this issue
<jD91mZM2> Yeah. In fact, I didn't have this issue yesterday o_o
<sphalerite> :/
<jD91mZM2> And I was using NixOS then. Same channel. Same everything.
<sphalerite> have you tried booting an older generation?
<jD91mZM2> Not really :P
<sphalerite> That might be worth doing :p
<sphalerite> (I hope you haven't gc'd them)
<jD91mZM2> What would I do even if it worked?
<sphalerite> celebrate that some progress in finding the cause has been made xD
Piece_Maker has joined #nixos
Acou_Bass has quit [Ping timeout: 255 seconds]
Piece_Maker is now known as Acou_Bass
Synthetica has joined #nixos
<jD91mZM2> sphalerite: How do I know which generation to boot into? I don't remember all the numbers!11
<sphalerite> at that point you could look at the git log for nixpkgs between the two versions (because there won't havve been that many changes presumably) to see if there's anything obvious there, and diff the system generations themselves
<sphalerite> jD91mZM2: the last one from yesterday maybe?
<jD91mZM2> Well I mean this started happening from that one
<jD91mZM2> first boot this morning
<sphalerite> so the one before that!
Neo-- has joined #nixos
Ariakenom has quit [Ping timeout: 240 seconds]
<jD91mZM2> And then bisect backwards one by one?
rosa has quit [Quit: rosa]
<sphalerite> Well yeah actually bisecting would probably be more efficient :p
<jD91mZM2> I'll just look at the git history for any big changes. But I doubt that any of that matters.
<sphalerite> Actually maybe boot the oldest generation you have and see if the problem exists there
<sphalerite> if it does, we know it's not a system-level change that broke it
andrewmiller1 has joined #nixos
<andrewmiller1> halp
<andrewmiller1> baloo is taking all resources
<andrewmiller1> my fans are melting
<jD91mZM2> andrewmiller1: Kill it, disable it, burn it alive
<andrewmiller1> i've tried
<jD91mZM2> pkill baloo?
<jD91mZM2> sphalerite: Is that really necessary though? pls say no
<andrewmiller1> you're my savior
<sphalerite> ah, good ol' desktop search indexing tools. Baloo, Tracker, they're all horrendous
<andrewmiller1> i love you
<sphalerite> jD91mZM2: well if you want to find out the cause of the problem and get a chance at fixing it it'll be helpful :p
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40105 → gnuplot: 5.2.2 -> 5.2.3 → https://git.io/vpoWf
<jD91mZM2> sphalerite: My first generation didn't even have a working VPN connection... I know it's weird, but I hate rebooting, and I think I'd rather stay with one monitor
<sphalerite> wow
<andrewmiller1> sphalerite: i'm willing to try anything you guys tell me. i have no idea what was different. my .nix-* files in my home folders, even in root, were deleted and i want to suspect baloo
<sphalerite> o.O
<andrewmiller1> but my computer is finally resting. it's been at max cores for over 24 hours
<andrewmiller1> i thought i'd give baloo some time and space and went to bed with it running
<andrewmiller1> my trust has been stepped on and hurt
<andrewmiller1> baloo will never live on my computer again
<{^_^}> [nixpkgs] @Mic92 merged pull request #40098 → libcue: 2.2.0 -> 2.2.1 → https://git.io/vpoZO
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoWs
<{^_^}> → f08e06ba by R. RyanTM: libcue: 2.2.0 -> 2.2.1
<{^_^}> → 791aad4e by @Mic92: Merge pull request #40098 from r-ryantm/auto-update/libcue
<{^_^}> [nixpkgs] @Mic92 pushed commit from R. RyanTM to release-18.03 « libcue: 2.2.0 -> 2.2.1 »: https://git.io/vpoWn
<cmcdragonkai> What's nix-hash used for? Just for debugging or for other things?
<andrewmiller1> is there a way to get nix to automatically regenerate .nix-* home folder directories and files? they've been wiped
<andrewmiller1> it's nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40106 → fswatch: 1.11.2 -> 1.11.3 → https://git.io/vpoWu
<jD91mZM2> andrewmiller1: I assume you've tried nixos-rebuild?
<{^_^}> [nixpkgs] @Mic92 merged pull request #40101 → hiawatha: 10.7 -> 10.8.1 → https://git.io/vpoc6
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoW2
<{^_^}> → e3261386 by R. RyanTM: hiawatha: 10.7 -> 10.8.1
<andrewmiller1> jD91mZM2: yep
<etu> andrewmiller1: I share that experience with baloo. It's one if the issues I have with using plasma. So yeah. Ended up on gnome.
<jD91mZM2> etu: I sure hope you didn't switch only because baloo, because it can be disabled
<etu> jD91mZM2: Had issues with other things as well. Like krunner hanging forever.
<{^_^}> [nixpkgs] @Fuuzetsu merged pull request #40061 → snd: 18.2 -> 18.3 → https://git.io/vprj7
<{^_^}> → e52273d3 by @Mic92: Merge pull request #40101 from r-ryantm/auto-update/hiawatha
<{^_^}> [nixpkgs] @Fuuzetsu pushed 2 commits to master: https://git.io/vpoWV
<{^_^}> → 834b6049 by R. RyanTM: snd: 18.2 -> 18.3
<{^_^}> → 78b1ce84 by @Fuuzetsu: Merge pull request #40061 from r-ryantm/auto-update/snd
<jD91mZM2> Is there anything wrong with using crontab on nix? Will any configs be uninstalled correctly if I ever uninstall it so my system doesn't get filled with crap?
<andrewmiller1> services.cron.cronFiles is in man 5 config so
<andrewmiller1> jD91mZM2: is that different from what you're wanting?
<jD91mZM2> andrewmiller1: I was thinking if there's something wrong with simply using `crontab -e`
<jD91mZM2> I don't want to commit my changes to my dotfiles repo, nor have them nixified
<kuri0> what hashing function is used for the hashes in /nix/store ?
griff_ has joined #nixos
<andrewmiller1> jD91mZM2: ah interesting. i don't know cron jobs. maybe someone who does can chime in
<sphalerite> kuri0: sha256 I think
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40107 → gsm: 1.0.17 -> 1.0.18 → https://git.io/vpoW7
<Mic92_> > 1 + 1
<zybell> andrewmiller1:what do you need?
<andrewmiller1> fwiw for closure, i forgot `ll` doesn't do my usual `ls -la`. i didn't realize i wasn't seeing my hidden files
<zybell> crontab I mean
<andrewmiller1> zybell: my needs are met and i'm all good. jD91mZM2 has some crontab questions above though
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40108 → freeipmi: 1.6.1 -> 1.6.2 → https://git.io/vpolf
<andrewmiller1> jD91mZM2: perhaps you can restate your question for zybell?
<sphalerite> kuri0: yep sha256
andrewmiller1 has quit [Ping timeout: 260 seconds]
jperras has joined #nixos
Ariakenom has joined #nixos
andrewmiller1 has joined #nixos
<andrewmiller1> running `nixos-rebuild switch --upgrade` multiple times fixed the "$HOME/.nix-depexpr/channels" missing issue
<{^_^}> [nixpkgs] @Mic92 merged pull request #40106 → fswatch: 1.11.2 -> 1.11.3 → https://git.io/vpoWu
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpolK
<{^_^}> → fcf66ef1 by R. RyanTM: fswatch: 1.11.2 -> 1.11.3
<{^_^}> → 803d2d7c by @Mic92: Merge pull request #40106 from r-ryantm/auto-update/fswatch
joehh has joined #nixos
spear2 has quit [Quit: Leaving]
jperras has quit [Ping timeout: 240 seconds]
jD91mZM2 has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @Mic92 merged pull request #40092 → lynis: 2.6.3 -> 2.6.4 → https://git.io/vpo3E
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpolF
<{^_^}> → b8e09cdb by R. RyanTM: lynis: 2.6.3 -> 2.6.4
<{^_^}> → 438f9339 by @Mic92: Merge pull request #40092 from r-ryantm/auto-update/lynis
<{^_^}> [nixpkgs] @7c6f434c merged pull request #40107 → gsm: 1.0.17 -> 1.0.18 → https://git.io/vpoW7
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vpolh
<{^_^}> → fb5fbbe2 by R. RyanTM: gsm: 1.0.17 -> 1.0.18
<{^_^}> → 03bf43bb by @7c6f434c: Merge pull request #40107 from r-ryantm/auto-update/gsm
<{^_^}> [nixpkgs] @7c6f434c merged pull request #40108 → freeipmi: 1.6.1 -> 1.6.2 → https://git.io/vpolf
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vpo8e
<{^_^}> → fc509faa by R. RyanTM: freeipmi: 1.6.1 -> 1.6.2
<{^_^}> → ca3e9c50 by @7c6f434c: Merge pull request #40108 from r-ryantm/auto-update/freeipmi
<{^_^}> [nixpkgs] @7c6f434c merged pull request #40105 → gnuplot: 5.2.2 -> 5.2.3 → https://git.io/vpoWf
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vpo8I
<{^_^}> → 941b2a17 by R. RyanTM: gnuplot: 5.2.2 -> 5.2.3
<{^_^}> → ce0be6a7 by @7c6f434c: Merge pull request #40105 from r-ryantm/auto-update/gnuplot
andrewmiller1 has quit [Ping timeout: 260 seconds]
<infinisil> >:u
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40109 → fossil: 2.5 -> 2.6 → https://git.io/vpo8c
<zybell> mic92 tried 1 + 1 earlier,no answer
andrewmiller1 has joined #nixos
<Mic92_> only works in nixos-ofborg for now as it seems
<Mic92_> #nixos-borg
<infinisil> It does occasionally exit for some reason, need to fix that
<andrewmiller1> embarrassing, but i don't want to mislead any noobies searching one day. "warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring" only happens if you do use `sudo nixos-rebuild switch`. being root first, then running `nixos-rebuild switch` doesn't run into this message
<zybell> not even in #bottest?
xcmw has joined #nixos
andrewmiller1 has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40110 → fwup: 1.0.0 -> 1.1.0 → https://git.io/vpo8i
<infinisil> It should either be running in all channels (#nixos, #bottest, #nixos-borg) or none of them
<stumble> I use `sudo nixos-rebuild switch`, and I'm more or less a newbie, and I've found that message a bit worrying.
<zybell> sudo -i nixos-rebuild switch should work too.
<infinisil> >:u
<zybell> andrewmiller1 ^
<{^_^}> Updated nixpkgs
<infinisil> >pkgs.gnuplot.name
<{^_^}> "gnuplot-5.2.3"
<stumble> zybell, andrewmiller1: Right. sudo -i avoids the error message for me.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40111 → dash: 0.5.9.1 -> 0.5.10 → https://git.io/vpo4q
reinzelmann has joined #nixos
<zybell> I think -i should be mandated on nixos-rebuild. I see no reason to leave it of for *that* command.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40112 → eventstore: 4.1.0 -> 4.1.1 → https://git.io/vpo4c
<{^_^}> [nixpkgs] @wchresta opened pull request #40113 → tamarin-prover: Fix compile issues → https://git.io/vpo4l
<sphalerite> >pkgs
<{^_^}> { AAAAAASomeThingsFailToEvaluate = <CODE>; AMB-plugins = <CODE>; AgdaSheaves = <CODE>; AgdaStdlib = <CODE>; CoinMP = <CODE>; DisnixWebService = <CODE>; EBTKS = <CODE>; EmptyEpsilon = <CODE>; Fabric =
<sphalerite> infinisil: >:u looks like an angry face
wchresta_ has joined #nixos
<infinisil> Heh yeah
<stumble> Or a hungry face.
<{^_^}> [nixpkgs] @7c6f434c merged pull request #40109 → fossil: 2.5 -> 2.6 → https://git.io/vpo8c
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vpoBs
<{^_^}> → 5ec51c5d by R. RyanTM: fossil: 2.5 -> 2.6
<{^_^}> → 2f2d6732 by @7c6f434c: Merge pull request #40109 from r-ryantm/auto-update/fossil
xAFFE has joined #nixos
acarrico has joined #nixos
chessai has joined #nixos
<{^_^}> [nixpkgs] @hrdinka merged pull request #40054 → nixos/nsd: Allow to configure root zone → https://git.io/vprxx
<{^_^}> [nixpkgs] @hrdinka pushed 2 commits to master: https://git.io/vpoBy
<{^_^}> → 1eeeceb9 by @aszlig: nixos/nsd: Allow to configure root zone
<{^_^}> → 7e542f7f by @hrdinka: Merge pull request #40054 from aszlig/nsd-root-server
nick_l has joined #nixos
wchresta_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40114 → fanficfare: 2.23.0 -> 2.25.0 → https://git.io/vpoRT
s33se has joined #nixos
<sphalerite> can I access a chroot store via SSH?
<sphalerite> I'm guessing it would be something like ssh-ng://user@host?root=/home/user/foo but I'm not sure what "root" should be
<clever> sphalerite: i think Myrl-saki recently set that up
<srhb> sphalerite: What do you mean? That looks right.
<srhb> sphalerite: What do you mean "root" specifically
<sphalerite> srhb: it says "unknown setting 'root'"
<srhb> Oh. :|
<srhb> Well, that's inconsistent...
<sphalerite> I tried ?store=/home/user/foo as well since that's what you'd do locally, but that complains that the path isn't in the nix store
<sphalerite> so I'm guessing that changes the store path rather than doing a chroot store
<zybell> normally ssh doesnt support chroot over that what is configurable in /etc/passwd. With ng that may be diff.
raynold has quit [Quit: Connection closed for inactivity]
<sphalerite> zybell: this is nix-specific functionality, nothing to do with ssh per se
<clever> sphalerite: i worked with Myrl-saki a few days ago to create a fake nix-store bash script that would use nix-user-chroot to enter a chroot, and run the real nix-store
hiroshi has joined #nixos
<sphalerite> clever: I don't need nix-user-chroot, just nix's built-in chroot stores
s33se has quit [Quit: s33se]
orivej has joined #nixos
<zybell> then set them up in /etc/passwd or sshd doesnt see them
<sphalerite> zybell: again it's got nothing to do with ssh, it's a nix featureb
<sphalerite> nix is supposed to do the chrooting
shachaf has quit [Ping timeout: 255 seconds]
s33se has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zybell> sphalerite:if you access sth over ssh you get sshd on the remote side. Whatever you want,sshd must allow it. If you login as user at the sshd,game over. If you login as root however,you can go fancy.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40115 → certbot: 0.23.0 -> 0.24.0 → https://git.io/vpo0v
<sphalerite> zybell: please stop trying to provide input because you clearly have no idea what I'm talking about
<zybell> and you not what I want to say;-)
<sphalerite> I can ssh into the machine and run interactive nix commands using chroot stores just fine
<sphalerite> my question is how to specify, for nix, a chroot store via SSH.
patrl has joined #nixos
<sphalerite> which has nothing to do with ssh, it's purely a nix question.
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #40116 → spotify: Cleanup → https://git.io/vpo0Y
freusque has joined #nixos
andreabedini has joined #nixos
<freusque> Hi. Does someone have a convenient way to "flag" some derivations to be kept by nixos-garbage-collect?
<sphalerite> I know that non-root users can't use the chroot system call out of the box, but nix uses user namespaces to allow it
<zybell> go only *one* level back. Can you run a ssh command, that logs in and uses chroot store?
<sphalerite> freusque: create a GC root for it
<freusque> okay, what's that? :)
<sphalerite> freusque: nix-store -r $path --add-root /home/freusque/my-root --indirect
<freusque> ah okay, thanks
<sphalerite> freusque: then, as long as /home/freusque/my-root exists, nix won't GC the path it points to or any of its dependencies
aarvar has quit [Ping timeout: 260 seconds]
<freusque> so that means $path is the path of the derivation that was built.
<sphalerite> yes
<freusque> the use case is for project that have their own .nix file
<freusque> I don't want to delete their dev. environment everytime I garbage-collect
<sphalerite> oh, in that case you may want a GC root on the drv file rather than the output path
<sphalerite> and the keep-outputs option set
<freusque> I see
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40117 → asdf: 3.3.1 -> 3.3.2 → https://git.io/vpo01
<freusque> would installing the derivation into the profile work?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40118 → alfred: 2018.0 -> 2018.1 → https://git.io/vpo0D
<sphalerite> no, because you can't install derivations, only their output paths
<sphalerite> but I think what you want is nix-instantiate foo.nix --add-root foo-root --indirect
<sphalerite> that'll create a link to the .drv rather than its output paths, and add a GC root for it
<sphalerite> so all the build dependencies are kept, not just the runtime dependencies
<sphalerite> zybell: yes, ssh host nix-store --init --store /home/linus/foo works
Rusty1_ has joined #nixos
<freusque> ah okay I'll try this one
<freusque> thanks sphalerite
<sphalerite> freusque: also make sure you have the keep-outputs nix option set, otherwise it'll remove them anyway
kier has quit [Ping timeout: 268 seconds]
<freusque> I had the problem especially with texlive environments, which take 20 min to gather all deps
<freusque> ah ok
coot has quit [Quit: coot]
kier has joined #nixos
Zgrokl has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/vpoE0
<{^_^}> → 394d0f2e by @peti: haskell-gi-gdkx11: drop obsolete override
<{^_^}> → 253ea95d by @peti: hackage-packages.nix: automatic Haskell package set update
<{^_^}> → 8b11e30b by @peti: github-backup: jailbreak to fix the build
lord| has quit [Quit: WeeChat 2.1]
winem_ has quit [Ping timeout: 260 seconds]
Fare has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #40087 → libofx: 0.9.12 -> 0.9.13 → https://git.io/vpoYM
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoED
<{^_^}> → a45e8d96 by R. RyanTM: libofx: 0.9.12 -> 0.9.13
<{^_^}> → 64f92f9d by @Mic92: Merge pull request #40087 from r-ryantm/auto-update/libofx
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40119 → calibre: 3.22.1 -> 3.23.0 → https://git.io/vpoEQ
<{^_^}> [nixpkgs] @7c6f434c merged pull request #40117 → asdf: 3.3.1 -> 3.3.2 → https://git.io/vpo01
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vpoEb
<{^_^}> → 1d584355 by R. RyanTM: asdf: 3.3.1 -> 3.3.2
<{^_^}> → c3010a31 by @7c6f434c: Merge pull request #40117 from r-ryantm/auto-update/asdf
Fare has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #40110 → fwup: 1.0.0 -> 1.1.0 → https://git.io/vpo8i
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpouW
<{^_^}> → 5ef7241e by R. RyanTM: fwup: 1.0.0 -> 1.1.0
<{^_^}> → 5cfc9e30 by @Mic92: Merge pull request #40110 from r-ryantm/auto-update/fwup
<sphalerite> clever: Myrl-saki: https://github.com/NixOS/nix/issues/2138
<{^_^}> [nixpkgs] @Mic92 merged pull request #40118 → alfred: 2018.0 -> 2018.1 → https://git.io/vpo0D
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpou4
<{^_^}> → 1e01a6ef by R. RyanTM: alfred: 2018.0 -> 2018.1
<{^_^}> → f1b45ac4 by @Mic92: Merge pull request #40118 from r-ryantm/auto-update/alfred
<freusque> okay so I did nix-build foo.nix;nix-instantiate foo.nix --add-root /home/freusque/foo-root --indirect
<robstr> Hey, Is there a way to _print_ the current object ? Sometimes I'm unsure what type of object this is (whats inside an expression / name)
<freusque> that did not prevent garbage-collecting the dependencies for the foo derivation
<sphalerite> robstr: builtins.tracce
<sphalerite> freusque: did you set keep-outputs?
patrl has quit [Ping timeout: 276 seconds]
<robstr> sphalerite: ty
<freusque> no, I did not. I didn't need to keep the outputs, just the deps
<freusque> my main concern is keeping the build environment on my machine
<sphalerite> robstr: you'll probably want to use traceVal
<sphalerite> freusque: you need to set keep-outputs, otherwise the deps won't be kept
acarrico has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #40102 → insomnia: 5.16.1 -> 5.16.2 → https://git.io/vpoc7
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpou1
<{^_^}> → 9ee600a0 by R. RyanTM: insomnia: 5.16.1 -> 5.16.2
<{^_^}> → 3273f0d2 by @Mic92: Merge pull request #40102 from r-ryantm/auto-update/insomnia
<sphalerite> freusque: the idea is that the .drv depends on the .drvs for all the dependencies, but the outputs of *those* won't be kept unless you have keep-outputs set.
<robstr> sphalerite: I will check both
<freusque> aha
<{^_^}> [nixpkgs] @Mic92 merged pull request #39504 → soapysdr+plugins: init at 0.6.1 → https://git.io/vpchm
<{^_^}> [nixpkgs] @Mic92 pushed 7 commits to master: https://git.io/vpou9
<{^_^}> → 184cb1e8 by @markuskowa: soapysdr+plugins: init at 0.6.1
<{^_^}> → e0d33717 by @markuskowa: limesuite: init at 18.04.1
<{^_^}> → 7ba27541 by @markuskowa: welle-io: add soapysdr support
<freusque> I'll try this now, thanks.
<sphalerite> robstr: builtins.trace is the underlying thing, which prints its first arugment and returns its second one. traceVal from nixpkgs's lib just calls builtins.trace with the same argument twice, so it prints the same value it returns
<sphalerite> freusque: also, you can limit the amount of "damage" the GC does while you're testing by passing --max-freed 1M or something so it won't delete all the stuff
<freusque> ah superb thanks.
<viric> Dezgeg: what is this thing in release-lib.nix? :) crossMaintainers = [ maintainers.viric ];
<{^_^}> [nixpkgs] @Mic92 merged pull request #40116 → spotify: Cleanup → https://git.io/vpo0Y
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vpozT
<{^_^}> → fcb6a0a5 by @Synthetica9: spotify: remove/update gnome2 references
NitroZ has joined #nixos
<{^_^}> → 2dbb29c3 by @Synthetica9: spotify: remove platform assertion
<{^_^}> → ddf90250 by @Mic92: Merge pull request #40116 from Synthetica9/spotify-nognome2
<robstr> sphalerite: yea I need to fiend a better workflow / understanding of this. Watched Gabriels talk about haskell and nix. It's not magic often I struggle with basic stuff like `.env` I dont know sometimes what's inside all things :)
NitroZ has quit [Client Quit]
<Dezgeg> I don't know if it affects anything
<sphalerite> freusque: oh yeah, or you can use nix-store --gc --print-dead to have it not delete anything at all, just tell you what it would delete
<{^_^}> [nixpkgs] @obadz merged pull request #40104 → keepass: 2.38 -> 2.39 → https://git.io/vpoCI
<{^_^}> [nixpkgs] @obadz pushed commit from R. RyanTM to master « keepass: 2.38 -> 2.39 »: https://git.io/vpoz3
<freusque> aha. perfect
<sphalerite> robstr: nix repl can be very helpful for exploring expressions
<{^_^}> [nixpkgs] @Mic92 merged pull request #40113 → tamarin-prover: Fix compile issues → https://git.io/vpo4l
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoz4
<{^_^}> → ee95ed11 by Wanja Chresta: tamarin-prover: Fix compile issues
<{^_^}> → d1ad5bf9 by @Mic92: Merge pull request #40113 from wchresta/tamarin/fix
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/2352d46904d (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
joehh has quit [Ping timeout: 260 seconds]
periklis has joined #nixos
<ryantm> gchristensen: the "riot-web" attrpath is not being automatically built by ofborg: https://github.com/NixOS/nixpkgs/pull/40068 https://github.com/NixOS/nixpkgs/pull/39732 https://github.com/NixOS/nixpkgs/pull/38827
<{^_^}> [nixpkgs] @zimbatm closed pull request #9722 → stage-1-init: add support for the ability of specify a name of squashfs image → https://git.io/vZmJ9
<{^_^}> [nixpkgs] @Mic92 merged pull request #40111 → dash: 0.5.9.1 -> 0.5.10 → https://git.io/vpo4q
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpogm
<{^_^}> → 95e317bf by R. RyanTM: dash: 0.5.9.1 -> 0.5.10
<{^_^}> → c50ffcef by @Mic92: Merge pull request #40111 from r-ryantm/auto-update/dash
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40120 → avrgcc: 7.3.0 -> 8.1.0 → https://git.io/vpogs
<{^_^}> [nix] @edolstra pushed to master « nix-shell: Only download requested outputs »: https://git.io/vpogW
phreedom has quit [Ping timeout: 255 seconds]
UNIcodeX__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40121 → abcm2ps: 8.13.20 -> 8.13.21 → https://git.io/vpog2
Izorkin_ has joined #nixos
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
tylerjl has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40122 → abcmidi: 2018.04.24 -> 2018.05.02 → https://git.io/vpogH
acarrico has joined #nixos
andersk has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #40077 → mypy: 0.590 -> 0.600 → https://git.io/vpokF
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpogN
<{^_^}> → 8d2588fd by R. RyanTM: mypy: 0.590 -> 0.600
<{^_^}> → 771f99e1 by @Mic92: Merge pull request #40077 from r-ryantm/auto-update/mypy
pSub_ has joined #nixos
kriztw_ has joined #nixos
krkini has joined #nixos
Willi_Butz_ has joined #nixos
nick1 has joined #nixos
nadley_ has joined #nixos
CodeWarr1or has joined #nixos
jmaki_ has joined #nixos
niksnut_ has joined #nixos
nick1 is now known as Guest65693
<{^_^}> [nixpkgs] @Mic92 merged pull request #40072 → osinfo-db: 20180416 -> 20180502 → https://git.io/vpoUG
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpo2t
<{^_^}> → 9389f3f8 by R. RyanTM: osinfo-db: 20180416 -> 20180502
<{^_^}> → c3f08e6a by @Mic92: Merge pull request #40072 from r-ryantm/auto-update/osinfo-db
Guest92000 has quit [Quit: ZNC - http://znc.in]
sie has joined #nixos
ThoughtMatrix has joined #nixos
mood_ has joined #nixos
Xal_ has joined #nixos
sie is now known as Guest62259
that_guy_ has joined #nixos
joncfoo_ has joined #nixos
cheshircat_ has joined #nixos
LogicAside has joined #nixos
fiddlerwoaroof_ has joined #nixos
wchresta_ has joined #nixos
infinisil_ has joined #nixos
jperras has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #40074 → pdfpc: 4.1 -> 4.1.1 → https://git.io/vpoTv
<{^_^}> → 716f4ab3 by R. RyanTM: pdfpc: 4.1 -> 4.1.1
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpo2g
<{^_^}> → 3151896f by @Mic92: Merge pull request #40074 from r-ryantm/auto-update/pdfpc
Willi_Butz has quit [*.net *.split]
kriztw has quit [*.net *.split]
leothrix has quit [*.net *.split]
Xal has quit [*.net *.split]
Izorkin has quit [*.net *.split]
obadz has quit [*.net *.split]
jwynn6 has quit [*.net *.split]
amfl has quit [*.net *.split]
UNIcodeX_ has quit [*.net *.split]
nadley has quit [*.net *.split]
cheshircat has quit [*.net *.split]
[0__0] has quit [*.net *.split]
phI||Ip has quit [*.net *.split]
nliadm has quit [*.net *.split]
ThatOtherGuy has quit [*.net *.split]
infinisil has quit [*.net *.split]
NickHu_ has quit [*.net *.split]
primeos has quit [*.net *.split]
fiddlerwoaroof has quit [*.net *.split]
mtjmullen has quit [*.net *.split]
pSub has quit [*.net *.split]
andersk_ has quit [*.net *.split]
mood has quit [*.net *.split]
joncfoo has quit [*.net *.split]
statusbot has quit [*.net *.split]
jmaki has quit [*.net *.split]
kini has quit [*.net *.split]
fyuuri has quit [*.net *.split]
niksnut has quit [*.net *.split]
CodeWarrior has quit [*.net *.split]
ThoughtMatrix is now known as phI||Ip
that_guy_ is now known as nliadm
LogicAside is now known as ThatOtherGuy
<{^_^}> [nixpkgs] @romildo opened pull request #40123 → iconpack-obsidian: restrict platforms to linux → https://git.io/vpo2X
jwynn6 has joined #nixos
MercurialAlchemi has quit [Ping timeout: 265 seconds]
xcmw has joined #nixos
[0__0] has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #40123 → iconpack-obsidian: restrict platforms to linux → https://git.io/vpo2X
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpo2p
<{^_^}> → 084efc26 by @romildo: iconpack-obsidian: restrict platforms to linux
<{^_^}> → a568f59e by @Mic92: Merge pull request #40123 from romildo/fix.iconpack-obsidian
jperras has quit [Ping timeout: 240 seconds]
bitchecker has quit [Ping timeout: 268 seconds]
disasm has joined #nixos
amfl has joined #nixos
leary` has quit [Remote host closed the connection]
niksnut_ is now known as niksnut
coot has joined #nixos
deepfire has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #40121 → abcm2ps: 8.13.20 -> 8.13.21 → https://git.io/vpog2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoal
<{^_^}> → 36368d99 by R. RyanTM: abcm2ps: 8.13.20 -> 8.13.21
<{^_^}> → e2b63fca by @Mic92: Merge pull request #40121 from r-ryantm/auto-update/abcm2ps
primeos has joined #nixos
obadz has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #40122 → abcmidi: 2018.04.24 -> 2018.05.02 → https://git.io/vpogH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoa0
<{^_^}> → cabd64a8 by R. RyanTM: abcmidi: 2018.04.24 -> 2018.05.02
<{^_^}> → 5fbe5a64 by @Mic92: Merge pull request #40122 from r-ryantm/auto-update/abcMIDI
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40124 → alembic: 1.7.7 -> 1.7.8 → https://git.io/vpoaz
<{^_^}> [nixpkgs] @Mic92 merged pull request #40114 → fanficfare: 2.23.0 -> 2.25.0 → https://git.io/vpoRT
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoaV
<{^_^}> → 7d915bd2 by R. RyanTM: fanficfare: 2.23.0 -> 2.25.0
<{^_^}> → ded6bf5e by @Mic92: Merge pull request #40114 from r-ryantm/auto-update/fanficfare
wchresta_ has quit [Ping timeout: 260 seconds]
xcmw has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #40068 → riot-web: 0.14.1 -> 0.14.2 → https://git.io/vpovA
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoaQ
<{^_^}> → 5b3b3a1e by R. RyanTM: riot-web: 0.14.1 -> 0.14.2
<{^_^}> → f7e4c5eb by @Mic92: Merge pull request #40068 from r-ryantm/auto-update/riot-web
chessai has quit [Remote host closed the connection]
asuryawanshi has quit [Ping timeout: 276 seconds]
deepfire has joined #nixos
bitchecker has joined #nixos
xcmw has joined #nixos
johann__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40125 → cfr: 0_125 -> 0.128 → https://git.io/vpoVG
<{^_^}> [nixpkgs] @Mic92 merged pull request #40075 → metabase: 0.28.6 -> 0.29.0 → https://git.io/vpok1
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoVc
<{^_^}> → ce74ef08 by R. RyanTM: metabase: 0.28.6 -> 0.29.0
<{^_^}> → 09ba0498 by @Mic92: Merge pull request #40075 from r-ryantm/auto-update/metabase
blankhart has joined #nixos
reinzelmann has quit [Quit: Leaving]
<{^_^}> [nix] @AmineChikhaoui opened pull request #2139 → support S3 multipart uploads for large NARs → https://git.io/vpoVH
Neo-- has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40126 → bzflag: 2.4.12 -> 2.4.14 → https://git.io/vpowB
genesis has quit [Ping timeout: 276 seconds]
kriztw_ is now known as kriztw
xcmw has quit [Ping timeout: 268 seconds]
jperras has joined #nixos
<freusque> sphalerite just to be sure, did you mean that keep-outputs has to be used with the nix-build or nix-instantiate?
orbekk has quit [Quit: WeeChat 2.0]
<freusque> I tried various configuration, but the gc still wants to remove the dependencies.
<{^_^}> [nixpkgs] @Mic92 merged pull request #40085 → mydumper: 0.9.3 -> 0.9.5 → https://git.io/vpomo
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vporS
<{^_^}> → 201dd875 by R. RyanTM: mydumper: 0.9.3 -> 0.9.5
<{^_^}> → 70e1c0d8 by @Mic92: Merge pull request #40085 from r-ryantm/auto-update/mydumper
<{^_^}> → 9167bd48 by @Mic92: mydumper: restrict to linux
jD91mZM2 has joined #nixos
orbekk has joined #nixos
orbekk has quit [Client Quit]
<{^_^}> [nixpkgs] @Mic92 merged pull request #40088 → libcouchbase: 2.8.6 -> 2.8.7 → https://git.io/vpoO3
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpooJ
tmaekawa has joined #nixos
<{^_^}> → a6670c01 by R. RyanTM: libcouchbase: 2.8.6 -> 2.8.7
<{^_^}> → d17617bf by @Mic92: Merge pull request #40088 from r-ryantm/auto-update/libcouchbase
orbekk has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #40070 → pspg: 1.1.0 -> 1.1.1 → https://git.io/vpoJD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoo3
<{^_^}> → 3b4ee14a by R. RyanTM: pspg: 1.1.0 -> 1.1.1
<{^_^}> → d43f1dda by @Mic92: Merge pull request #40070 from r-ryantm/auto-update/pspg
tmaekawa has quit [Client Quit]
<clever> freusque: it has to be in nix.conf when you run the GC
<freusque> aha
<freusque> thanks clever, I will try that
endformationage has joined #nixos
jperras has quit [Quit: WeeChat 2.1]
jperras has joined #nixos
<freusque> so that would be gc-keep-outputs we are talking about
genesis has joined #nixos
Neo-- has joined #nixos
<freusque> aaand that works.
<freusque> thanks a lot.
andrewmiller1 has joined #nixos
<jD91mZM2> zybell: Sorry, I had to go. Isn't school great? /s Anyway, the question was: Does NixOS generally dislike contabs the same way it'd dislike editing /etc/lightdm/lightdm.conf manually?
<{^_^}> [nixpkgs] @WilliButz opened pull request #40127 → grafana: 5.1.0 -> 5.1.1 → https://git.io/vpoKz
<etu> jD91mZM2: Well, yeah, nix doesn't like that. But you can specify files that should be included in your crontab and then edit that file.
<spacefrogg> jD91mZM2: If you don't need e-mail notifications you should consider looking at systemd.timer units anyways.
<jD91mZM2> What happens if I have already done it, lol?
rain1 has quit [Quit: Leaving]
<jD91mZM2> I've uninstalled cron again
<{^_^}> [nixpkgs] @Mic92 merged pull request #40069 → qbittorrent: 4.0.4 -> 4.1.0 → https://git.io/vpofm
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoKM
<{^_^}> → cfdcc03f by R. RyanTM: qbittorrent: 4.0.4 -> 4.1.0
<jD91mZM2> but /var/cron is still there, but empty
<{^_^}> → 87daa2c7 by @Mic92: Merge pull request #40069 from r-ryantm/auto-update/qbittorrent
<{^_^}> [nixpkgs] @Mic92 merged pull request #40097 → libx86emu: 1.12 -> 1.14 → https://git.io/vpoZU
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoKN
<{^_^}> → d813ba2d by R. RyanTM: libx86emu: 1.12 -> 1.14
<{^_^}> → ff13b781 by @Mic92: Merge pull request #40097 from r-ryantm/auto-update/libx86emu
selaux has quit [Remote host closed the connection]
infinisil_ has quit [Quit: Configuring ZNC, sorry for the join/quits!]
<jD91mZM2> spacefrogg: I just wanted something quick and dirty for a stupid script I'm forced to run but I really don't care about
winem_ has joined #nixos
rain1 has joined #nixos
infinisil has joined #nixos
<jD91mZM2> spacefrogg: That's why I liked cron. I set it up using one line of code and then I forget that stupid thing ever existed
<etu> yeah, that's what's bad about cron :D
<etu> You don't know if things runs as you want unless you have something around it reporting it to you
<etu> systemd timers are nice
<spacefrogg> jD91mZM2: systemd infrastructure is supported in nixos which is why it is a two-liner in /etc/nixos/configuration.nix, as well.
xcmw has joined #nixos
<jD91mZM2> spacefrogg: Yeah but then I need to be reminded that that stupid thing exists every time I open my configuration.nix
<andrewmiller1> am i crazy or is node.js 9.x taboo or something? i can't find any mention about it in the docs and it's almost like it was avoided on purpose without saying why
<jD91mZM2> spacefrogg: also it'd be commited to git since I keep my dotfiles there, and it's a private thing
<andrewmiller1> trying to add a package from npm
<spacefrogg> jD91mZM2: The concept of Nix/NixOS is to not have implicit state. If you want that, NixOS is probably not what you seek.
<{^_^}> [nixpkgs] @Mic92 merged pull request #40076 → mbedtls: 2.8.0 -> 2.9.0 → https://git.io/vpok9
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoiG
<{^_^}> → 7c8d5008 by R. RyanTM: mbedtls: 2.8.0 -> 2.9.0
<infinisil> andrewmiller1: I'm not sure if there's a great demand for npm packages on nixos..
<{^_^}> → 015ee2ac by @Mic92: Merge pull request #40076 from r-ryantm/auto-update/mbedtls
<infinisil> And it takes effort to update it I'd think
<andrewmiller1> infinisil: i'm surprised nobody uses graphql-cli
griff_ has quit [Quit: griff_]
leary` has joined #nixos
erasmas has joined #nixos
<jD91mZM2> spacefrogg: I mean I want the declarative state for everything else. I just don't want it for this thing because I hate it and don't want to be reminded that it exists.
<{^_^}> [nixpkgs] @Mic92 pushed to release-18.03 « mbedtls: 2.7.1 -> 2.7.3 »: https://git.io/vpoiK
<jD91mZM2> But I got permission to not run the script every day for now, so that means I could uninstall cron and get rid of the crap. So all is well. yay
<spacefrogg> jD91mZM2: Social comment. :)
johann__ has quit [Quit: Leaving.]
<Myrl-saki> clever: sphalerite: Pong. From what I understand, what clever is saying is to use my wrapper script to SSH a chroot session. It requires hacking both the SSH config and a custom "profile" file.
<jD91mZM2> spacefrogg: What do you mean? Sorry if I'm sounding agressive, I'm just a little annoyed by my school. Basically, they (used to) force me to send an email every single day. So I automated this task. But I still hate it with passion :P
<infinisil> Huh, what's that for jD91mZM2 ?
ryantrinkle has quit [Ping timeout: 248 seconds]
<spacefrogg> jD91mZM2: Nothing, I figured something like that. :)
<aminechikhaoui> domenkozar: this was a typo right ? https://github.com/NixOS/nixops/commit/23a039a0
<aminechikhaoui> :D
<jD91mZM2> infinisil: I have no idea. I only have to go to school a few times a week, but the rest of the week they want me to be reminded that it still exists or something. It's completely stupid :P
<aminechikhaoui> openssh -> openssl
<infinisil> That sounds odd
iqubic`` has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<jD91mZM2> infinisil: That's because it is. Welcome to the world of stupid concepts and idiot practices where I live :^)
<infinisil> Weee \o/
iqubic has joined #nixos
<iqubic> is it possible to have a systemd service that runs after internet connections have started, but before display-manger.service?
<infinisil> iqubic: I think just `before = [ "display-manager.service" ]` and `after = [ "network.target" ]` should work
wchresta_ has joined #nixos
<iqubic> But is that a time that exists?
xAFFE has left #nixos ["Error from remote client"]
<{^_^}> [nixpkgs] @joachifm merged pull request #40033 → powerline-rs: fix stuff → https://git.io/vprwv
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vpoXk
<{^_^}> → 5fada46e by @jD91mZM2: powerline-rs: add bash & fish completion
<{^_^}> → 4893356b by @joachifm: Merge pull request #40033 from jD91mZM2/powerline-rs
xAFFE has joined #nixos
<iqubic> Does "network.target" run after "display-manager.service"?
phreedom has joined #nixos
<jD91mZM2> Is there a good way to list files in root that nix doesn't own? Something like "oh no you created /var/cron, you shouldn't have done that"?
silver has joined #nixos
<jD91mZM2> iqubic: I don't think so, since my VPN starts up long before X. And I guess internet has to be set up waay before that as well :P
xAFFE has left #nixos [#nixos]
xAFFE has joined #nixos
<iqubic> jD91mZM2: Cool. Thanks for the info.
coot has quit [Read error: No route to host]
coot_ has joined #nixos
<infinisil> iqubic: What do you mean by "a time that exists"?
logzet has joined #nixos
<{^_^}> [nixops] @AmineChikhaoui pushed to master « seems there was a typo in 23a039a0, we should make openssh available »: https://git.io/vpoXM
<bebarker> Maybe this isn't possible due to it being impure, but is there a way to reference an environment variable from a nix expression like: with import "${HOME}/workspace/nixpkgs" { }; ? I get error: undefined variable 'HOME' at /nixenv/brandon/scala-default.nix:2:16
<bebarker> I should probably just pass it in as an argument
<infinisil> builtins.getEnv "HOME"
<iqubic> infinisil: Well, if display-manager.service runs first, then it would be impossible to have a service that runs after network.target and before display-manager.service
<infinisil> iqubic: Yeah, the after and before only applies if they happen to start at the same point
<iqubic> Oh. So what I want to do is say that my service requires network.target
<spacefrogg> jD91mZM2: There's a file /etc/.clean that holds files copied to/created in /etc. And there are soft-links pointing to /etc/static. The difference between those and all files in /etc should be the list of files not under control of nix. No tooling available to my knowledge.
<iqubic> Is that possible to do?
<infinisil> With services I think you'd use `requires = [ "foo.service" ]`, but network.target is a bit special probably
<spacefrogg> iqubic: better use wants
<spacefrogg> iqubic: and after
<jD91mZM2> spacefrogg: Interesting, thanks
<iqubic> what is the difference between requires and wants?
<infinisil> iqubic: man systemd.unit
<spacefrogg> iqubic: No. requires makes your service fail if your requirements are not met. wants is weaker. Neither of them order the services. Use before/after to establish an order
<iqubic> Alright then. How do I set "wants" for my service?
wchresta_ has quit [Ping timeout: 264 seconds]
<domenkozar> aminechikhaoui: uhh how the hell that happened :)
<jD91mZM2> spacefrogg: `man configuration.nix` says "Start the specified units when this unit is started.". Seems like `wants` does actually order services, no?
<domenkozar> aminechikhaoui: well I know how :(
<jD91mZM2> spacefrogg: Wait nvm I misread your message
<aminechikhaoui> domenkozar: hehe, I pushed a fix
<domenkozar> thanks!
<spacefrogg> iqubic: systemd.services."my-service".wants = [ network.target ];
<infinisil> iqubic: I already told you 10 minutes ago?
<iqubic> spacefrogg: wants is only available for systemd.timer
<iqubic> *timers
<iqubic> Which I find really really weird.
<infinisil> iqubic: And i showed you an example of a service that had wants it in yesterday too
<jD91mZM2> iqubic: That's not true. `man configuration.nix`
<infinisil> And you can still search the option page for "wants"
<spacefrogg> iqubic: I don't think so. Please read systemd.unit man page.
<infinisil> The error is that it' `systemd.services.my-service.serviceConfig.wants = [ "network.target" ]`
<iqubic> spacefrogg: You're right.
<jD91mZM2> Remove serviceConfig
<iqubic> I didn't look at the third page of results on the online options searcher. The page with a single result.
<{^_^}> [nixpkgs] @globin merged pull request #40127 → grafana: 5.1.0 -> 5.1.1 → https://git.io/vpoKz
<{^_^}> [nixpkgs] @globin pushed commit from @WilliButz to master « grafana: 5.1.0 -> 5.1.1 »: https://git.io/vpo1X
<iqubic> Hopefully this works.
iqubic has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
jgertm has joined #nixos
andrewmiller1 has quit [Quit: Page closed]
arianvp2 has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpo1b
<{^_^}> → 9fde82e3 by R. RyanTM: cfr: 0_125 -> 0.128
<{^_^}> → 933b4524 by @xeji: Merge pull request #40125 from r-ryantm/auto-update/cfr
<arianvp2> is there a 'nix-build --check' alternative in nix 2.0
<{^_^}> [nixpkgs] @xeji merged pull request #40125 → cfr: 0_125 -> 0.128 → https://git.io/vpoVG
<arianvp2> ??
Fare has joined #nixos
blankhart has quit [Ping timeout: 240 seconds]
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40120 → avrgcc: 7.3.0 -> 8.1.0 → https://git.io/vpogs
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpoMZ
<{^_^}> → d513634e by R. RyanTM: avrgcc: 7.3.0 -> 8.1.0
<{^_^}> → 09f7c18a by @xeji: Merge pull request #40120 from r-ryantm/auto-update/avr-gcc
blankhart has joined #nixos
xAFFE has left #nixos ["Error from remote client"]
FareTower has joined #nixos
drakonis has joined #nixos
Fare has quit [Ping timeout: 276 seconds]
hyper_ch2 has quit [Quit: Page closed]
xy2_ has quit [Read error: No route to host]
xy2_ has joined #nixos
xcmw has quit [Ping timeout: 268 seconds]
arianvp2 has quit [Ping timeout: 260 seconds]
hlolli has joined #nixos
<hlolli> I just got raspi with armv8 chip. Which nixos system would I want to install on it armv7l-linux or aarch64-linux ?
<drakonis> technically aarch64 is 64bit
<drakonis> go do that
<etu> hlolli: Is that the new revision of raspbi3?
<bebarker> infinisil, thanks!
<hlolli> etu: yes I think so, I'm completly out of the raspi developments lately.
<hlolli> I bought raspberry Pi 3 Model B
Ariakenom has quit [Ping timeout: 260 seconds]
<jD91mZM2> hlolli: Please update me on how it works! I'm interested in trying NixOS on my RPI as well, currently I'm using Arch there :)
<hlolli> model B+ sorry
<hlolli> ok nice, I'll try the AArch64 image and report :)
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpoSG
<{^_^}> → d3a8e055 by R. RyanTM: libraw: 0.18.9 -> 0.18.10
<{^_^}> → 8d4f50a7 by @xeji: Merge pull request #40094 from r-ryantm/auto-update/libraw
<{^_^}> [nixpkgs] @xeji merged pull request #40094 → libraw: 0.18.9 -> 0.18.10 → https://git.io/vpos7
dbmikus has joined #nixos
dbmikus has quit [Client Quit]
<{^_^}> [nixpkgs] @xeji merged pull request #40086 → miniupnpd: 2.0.20180422 -> 2.0.20180503 → https://git.io/vpomj
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpoSa
<{^_^}> → 7169c8a3 by R. RyanTM: miniupnpd: 2.0.20180422 -> 2.0.20180503
<{^_^}> → 66b2c898 by @xeji: Merge pull request #40086 from r-ryantm/auto-update/miniupnpd
<nick_l> I made nixops not generate any output o.O and it just hangs.
<nick_l> Or I just need more patience...
<nick_l> Really weird how it took minutes to do something, having said that my machine also felt sluggish, so perhaps I need a ..gasp... reboot.
<{^_^}> [nixpkgs] @MasseGuillaume opened pull request #40129 → sublime3: 3162(dev), 3143(stable) -> 3170(stable, dev) → https://git.io/vpoSj
jb55 has joined #nixos
jperras has quit [Quit: WeeChat 2.1]
<nick_l> It seems to be slow every time now, but I haven't rebooted yet.
<WilliamHamilton> how do invoke nix-shell with a shell.nix file giving some arguments? I'm trying `nix-shell "( ./shell.nix { compiler = ghc802; } )"`
fare__ has joined #nixos
<WilliamHamilton> or `nix-shell --arg compiler "ghc802"`
<steveeJ> WilliamHamilton: you can use --argstr or --arg
<jD91mZM2> WilliamHamilton: Seems like there is --arg
<jD91mZM2> whoops I got ninja'd
<nick_l> I think it was just AWS being broken.
<steveeJ> WilliamHamilton: when you use --arg, you need to provide an expression as an argument
<WilliamHamilton> steveeJ: jD91mZM2 thanks, one moment, how can I pass an argument to the function then?
FareTower has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #39404 → wine: add vulkanSupport option → https://git.io/vpGdr
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoHJ
<{^_^}> → 0fad5f7a by @dwe11er: wine: add Vulkan support
<{^_^}> → 2326fd2d by @Mic92: Merge pull request #39404 from dwe11er/wine-vulkan
<jD91mZM2> WilliamHamilton: nix-shell --argstr compiler ghc802
<steveeJ> WilliamHamilton: the file shell.nix must accepts arguments. seems like you want --argstr in in your case
<WilliamHamilton> steveeJ: jD91mZM2 ok, solved thanks; then what's --arg for?
<WilliamHamilton> I mean, which use case?
<steveeJ> WilliamHamilton: man nix-shell, and also I told you a couple lines ago
<{^_^}> [nixpkgs] @xeji merged pull request #40045 → todiff: 0.4.0 -> 0.5.0 → https://git.io/vprMK
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpoHn
<{^_^}> → faa0d2fa by @Ekleog: todiff: 0.4.0 -> 0.5.0
<jD91mZM2> --arg is for non-string arguments, like integer
<{^_^}> → e7559860 by @xeji: Merge pull request #40045 from Ekleog/todiff-0.5.0
<steveeJ> WilliamHamilton, jD91mZM2: it's for providing nix expressions, they can still evaluate to a string
nick_l has quit [Ping timeout: 260 seconds]
<steveeJ> the point is, they are evaluated
fare__ has quit [Ping timeout: 276 seconds]
<WilliamHamilton> steveeJ: but what if I said `nix-shell --arg compiler "ghc802"`. Isn't "ghc802" a nix expression, which is evaluated to itself?
<steveeJ> WilliamHamilton: no, in that case the enclosing " would not make it to the evaluator, and it would try to find a variable with the name ghc802
dbe has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
<WilliamHamilton> steveeJ: I see, it's clear now, thanks!
<WilliamHamilton> nix-shell --arg compiler ""ghc802"" works, indeed, probably because I get the quotation to the interpreter
griff_ has joined #nixos
<infinisil> An example: nix-instantiate --eval -E '{ foo }: foo.a' --arg foo '{ a = 10; }'
<WilliamHamilton> i meant " \ " ... \ " ", probably the escaping got lost
<infinisil> Will evaluate `({ foo }: foo.a) { foo = { a = 10; } }` -> 10
<WilliamHamilton> infinisil: thanks for the example
<infinisil> Using --argstr would try to evaluate `({ foo }: foo.a) { foo = "{ a = 10; }" }` -> `"{ a = 10; }".a`, which will fail
<steveeJ> WilliamHamilton: for the quoting you might want to use '' for convenience ;)
<{^_^}> [nixpkgs] @Mic92 merged pull request #40126 → bzflag: 2.4.12 -> 2.4.14 → https://git.io/vpowB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpoQY
<{^_^}> → b083a86d by R. RyanTM: bzflag: 2.4.12 -> 2.4.14
<{^_^}> → 5eb8ba57 by @Mic92: Merge pull request #40126 from r-ryantm/auto-update/bzflag
<WilliamHamilton> steveeJ: I cannot get that to work, in zsh nor in bash though. Maybe the escaping got lost
<jD91mZM2> Are you using "'test'" or '"test"'?
<WilliamHamilton> jD91mZM2: now I got it correctly, I was using ''
<WilliamHamilton> thansk
jrolfs has joined #nixos
fare__ has joined #nixos
Ariakenom has joined #nixos
<WilliamHamilton> I'd also like some help with an error I don't understand: if I put the following in my ~/.config/nixpkgs/overlays https://gist.github.com/b1ecc5b90f1c19bfd31c9f478416c088
wchresta_ has joined #nixos
<WilliamHamilton> and then try to use those packages from a nix-shell, I get an error along the lines of `error: attribute 'packageOverrides' missing`
<WilliamHamilton> I don't quite understand where packageOverrides comes from
<jD91mZM2> nix-shell doesn't really run packages very well. you might wanna create a shell.nix file that runs `(import <nixpkgs> {}).callPackage ./path/to/package.nix`
<srk> is there a way to install riscv gcc (riscv32-unknown-elf-gcc)?
primeos has quit [Ping timeout: 260 seconds]
hotfuzz_ is now known as hotfuzz
<jtojnar> oh, cool, the first character in the base32-encoded sha256 hashes encodes exactly one bit
<jtojnar> that’s three unused bits per hash
fare__ has quit [Ping timeout: 260 seconds]
<WilliamHamilton> jD91mZM2: here's the shell.nix I have, which has been generated automatically https://gist.github.com/df89fa8c36ec23c6ebd3062be4883be5
primeos has joined #nixos
<WilliamHamilton> jD91mZM2: should I modify that?
<WilliamHamilton> the reason I ask is because all worked if I used haskellPackages where now I use haskell.packages.ghc802 in the overlay file
<mightybyte> When I run "nix-collect-garbage --print-roots" I get an error "unrecognised flag '--print-roots'"
coot_ has quit [Read error: Connection reset by peer]
<mightybyte> Should I open an issue?
periklis has quit [Remote host closed the connection]
coot has joined #nixos
periklis has joined #nixos
phreedom_ has joined #nixos
<jtojnar> WilliamHamilton: I think the issue is overlays do not merge attrsets
hlolli has quit [Remote host closed the connection]
<jtojnar> WilliamHamilton: and you are basically doing this https://paste.gnome.org/prdns932v
<WilliamHamilton> jtojnar: would that explain why I can do that with haskellPackages instead of haskell.packages.ghc802?
wchresta_ has quit [Ping timeout: 264 seconds]
<ryantm> jtojnar: This past weekened I made progress on moving the error control flow of nixpkgs-update away from shelly's exception throwing into Either
<jtojnar> yes, haskellPackages is a single attribute
<WilliamHamilton> jtojnar: I *think* I see the issue; what would be a workaraound for this?
<WilliamHamilton> jtojnar: no, thinking again, I don't see the issue and I'd appreciate if you could explain it to me
phreedom has quit [Ping timeout: 255 seconds]
<jtojnar> WilliamHamilton: haskell.packages is an attribute set, it contains packageOverrides attribute among others
jD91mZM2 has quit [Ping timeout: 240 seconds]
<jtojnar> you are replacing the attribute set with an attribute set that only contains ghc802 attribute
jperras has joined #nixos
<jtojnar> not sure what a proper solution is, maybe something like the following could work https://paste.gnome.org/p7hmths5y
freeman42x]NixOS has joined #nixos
jD91mZM2 has joined #nixos
<WilliamHamilton> jtojnar: I see, instead when I'm doing https://gist.github.com/9357f1f01645154b236d41b971b4258a as there is no chain it means that I want to overwrite that attribute, right?
<jtojnar> yep
<WilliamHamilton> trying the solution
Guanin has joined #nixos
<jtojnar> looks like they are doing the same here so perhaps there is no better solution https://github.com/typeable/nixpkgs-stackage/blob/da0354d121a37983c794db6e3c3dfb478238d063/default.nix#L13-L19
<WilliamHamilton> jtojnar: indeed it works, thank you very much!
<WilliamHamilton> how did you find that code?
humanoyd has joined #nixos
<jD91mZM2> Wow, that's pretty odd behavior of nix
<jtojnar> just searched for nixpkgs haskell overlay
<{^_^}> [nixpkgs] @xeji merged pull request #40032 → sit: 0.3.0 -> 0.3.2 → https://git.io/vprVc
<{^_^}> → 9f1017c6 by @yrashk: sit: 0.3.0 -> 0.3.2
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpodB
<{^_^}> → ce9c8bee by @xeji: Merge pull request #40032 from yrashk/sit-0.3.2
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<jtojnar> jD91mZM2: it is pretty reasonable, realizing that `{ foo.bar.baz = ...; }` is a syntax sugar for `{ foo = { bar = { baz = ...; }; }; }`
hakujin has joined #nixos
<jtojnar> but it can be counterintuitive, which is why for example Elm language does not have this, even when it is frequently requested
vaninwagen has quit [Ping timeout: 268 seconds]
<jtojnar> ryantm: cool
<jtojnar> ryantm: I probably will not get to the changelogs until summer :-/
<ryantm> jtojnar: The reason I'm working on this flow control stuff is because without it, it's hard to extract parts of updatePackage into their own functions. updatePackage got a lot smaller :)
<jtojnar> ryantm: I understand, in the end I would like to get rid of Shelly completely
<ryantm> jtojnar: My general plan is to work on cleaning up the code a bit more, then work on https://github.com/ryantm/nixpkgs-update/issues/42 then work on some kind of database feature
<ryantm> jtojnar: Getting rid of Shelly completely sounds good.
seanparsons has quit [Read error: Connection reset by peer]
jgertm has quit [Ping timeout: 260 seconds]
<ryantm> jtojnar: or at least pushing it down to the level of just doing `shelly $ cmd "nix" "eval" ...`
andrewmiller1 has joined #nixos
andrewmiller1 has quit [Client Quit]
<ryantm> jtojnar: It's interface for calling shell commands is pretty convenient
<jtojnar> ryantm: yep, but ideally we would just use hnix
<jtojnar> though when I first attempted the haskell port, I tried using hnix and the evaluation code was extremely verbose
<{^_^}> [nixpkgs] @xeji merged pull request #40129 → sublime3: 3162(dev), 3143(stable) -> 3170(stable, dev) → https://git.io/vpoSj
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpoF4
<{^_^}> → 8be7bb65 by @MasseGuillaume: sublime3: 3162(dev), 3143(stable) -> 3170(stable, dev)
<{^_^}> → 7fedc7e4 by @xeji: Merge pull request #40129 from MasseGuillaume/sublime3-bump
jrolfs has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « tamarin-prover: 1.3.1 -> 1.4.0 »: https://git.io/vpoFg
<infinisil> ryantm: Oh nice, written in Haskell
<ryantm> jtojnar: Last time I tried to evaluate something with it, it just went into an infinite loop.
blankhart has quit [Ping timeout: 264 seconds]
<infinisil> My nixbot here is also written in haskell: https://github.com/Infinisil/nixbot
<ryantm> infinisil: Just barely: jtojnar and I ported a bash script I wrote to haskell pretty much line for line.
drakonis has quit [Remote host closed the connection]
* infinisil looks at the code
<ryantm> infinisil: Though I was pretty impressed it was possible to do that :)
<ryantm> infinisil: Is nixbot this IRC chatbot or something else?
griff_ has quit [Quit: griff_]
<infinisil> > { x = 10; }.x
<{^_^}> 10
Cale has joined #nixos
winem_ has quit [Ping timeout: 276 seconds]
dbmikus has joined #nixos
<jtojnar> > { foo.bar.baz = "feh"; }
<{^_^}> { foo = <CODE>; }
seanparsons has joined #nixos
<infinisil> Feel free to spam/battle-test the bot in #bottest
blankhart has joined #nixos
<{^_^}> [nixpkgs] @dezgeg merged pull request #40004 → modules/virtualisation/qemu-vm: always enable serial console → https://git.io/vpwi6
<{^_^}> [nixpkgs] @dezgeg pushed 5 commits to master: https://git.io/vpobU
<{^_^}> → 046e374c by @flokli: virtualisation/qemu-vm.nix: use lib.optionalString
<{^_^}> → 36f4b7f6 by @flokli: virtualisation/qemu-vm.nix: remove ttys
<{^_^}> → 70c57fe3 by @flokli: qemu: fix spaces in postInstall
Ariakenom has quit [Ping timeout: 260 seconds]
coot has quit [Quit: coot]
<sphalerite> So I'm having some odd issues where any realisations inconsistently fail with error: writing to file: Broken pipe
<sphalerite> I think it's caused by an ssh-ng: substituter I have configured, but I don't really know how to debug it. I've been running strace on it but haven't been able to work out where the fd that the write fails on comes from
<sphalerite> does nix have something that will show a C++ backtrace on errors?
<ryantm> sphalerite: I don't actually know the answer to that, but have you tried GDB?
<Dezgeg> stick abort() there and look in coredumpctl?
<jD91mZM2> sphalerite: For a backtrace you can run it in GDB and type `bt`, no?
<Dezgeg> maybe with a clever enough conditional breakpoint you can avoid changing the source
jrolfs has joined #nixos
nuncanada has joined #nixos
<sphalerite> ryantm: jD91mZM2: Dezgeg: I'd rather not go to the fuss of rebuilding nix, this isn't the most powerful of machines :/
<sphalerite> maybe I could use a catchpoint to find the failing write syscall
<jtojnar> ufff, #botbot is full of &#x1b; characters, which telepathy logger stores but when it tries to load it, it crashes
<sphalerite> oh yeah, and debugging nix with gdb is a pain because of all the forking
<jD91mZM2> sphalerite: Why would you need to rebuild nix? You mean in order to install gdb?
<jtojnar> s/botbot/bottest
<sphalerite> jD91mZM2: in order to get it to actually stop on the bit where the error is occurring
ihar has joined #nixos
<jD91mZM2> sphalerite: I'm confused but oook
jrolfs has quit [Ping timeout: 240 seconds]
<tmplt> Is it possible to check how much space a derivation and all its dependencies take up?
xcmw has joined #nixos
fare__ has joined #nixos
<sphalerite> tmplt: du -chd0 $(nix-store -qR /nix/store/hash-foo)
mtjmullen has joined #nixos
<sphalerite> jD91mZM2: it's not a segfault or anything so I need to actually set a breakpoint
<sphalerite> and I don't know where
lonokhov has quit [Quit: WeeChat 2.0]
<tmplt> sphalerite: thanks
<sphalerite> tmplt: oh actually with 2.0 there's nix path-info -S /nix/store/hash-foo as well
<sphalerite> Which should be faster, and it's a bit less of an eyesore :p
waleee has joined #nixos
Neo-- has quit [Ping timeout: 240 seconds]
jrolfs has joined #nixos
Sonarpulse has joined #nixos
asuryawanshi has joined #nixos
<waleee> I have stumled on an extremly weird behavior when installing the ion-shell with nix-env. When upgrading all nix-env installed packages, ion is "upgraded" to the ancient ion3 window-manager
johann__ has joined #nixos
<sphalerite> waleee: basically, nix-env -u is stupid
<sphalerite> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<infinisil> jtojnar: haha
<infinisil> jtojnar: I'll look into stripping the escape codes
<leary`> Ooh. The SHA for a fetch in one of my overlays starts with 1234. I feel special.
<{^_^}> [nixpkgs] @xeji opened pull request #40131 → nixos/release-combined.nix: make test set consistent with release-small.nix → https://git.io/vpoNj
<sphalerite> waleee: nix-env -u works like nix-env -i without -A, so you're probably best off using an overlay like the one linked in the FAQ above
<sphalerite> leary`: pff. Tell me when it starts with 31333337 :p
<jtojnar> infinisil: that was the worst thing about the spam attacks, they used escape codes a lot
asuryawanshi has quit [Remote host closed the connection]
<infinisil> > 16*16*16*16 # leary`: chance of this happening:
<{^_^}> [31;1merror:[0m syntax error, unexpected $end, expecting ')', at [1m(string)[0m:10:21
<infinisil> Oh no, sry jtojnar
tylerjl has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
leothrix has joined #nixos
<waleee> sphalerite: Ok. The other question would be why ion3 still is in nixpkgs, the developer abandonded it in 2009
<infinisil> jtojnar: string handling still an unsolved problem in 2018 xD
<sphalerite> waleee: nixpkgs doesn't tend to trim much fat :p if you want to make a PR removing it it would probably be accepted though
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
obadz- has joined #nixos
<jtojnar> infinisil: this would not happen with proper error handling (sum types)
<jtojnar> or smarter compilers
<sphalerite> naturally, when I'm trying to reproduce the error in gdb it works fine
<infinisil> Everybody should just use haskell or other languages with good type systems
<jD91mZM2> infinisil: Rust! Rust! Rust!
<infinisil> Yes!
obadz has quit [Ping timeout: 256 seconds]
obadz- is now known as obadz
<infinisil> But Haskell is on whole nother level regarding the type system than Rust
<jD91mZM2> HOW DARE YOU
<jD91mZM2> Rust's type system is 110% perfect and can't get any better
<sphalerite> infinisil: but Haskell doesn't have lifetime tracking!
jrolfs has quit [Ping timeout: 240 seconds]
<Synthetica> Not using Idris in $currentyear
<sphalerite> mumble mumble Agda
<jtojnar> sphalerite: what about linear types?
<sphalerite> jtojnar: is that one of the million language extensions?
jrolfs has joined #nixos
fare__ has quit [Ping timeout: 264 seconds]
jD91mZM2 has quit [Quit: WeeChat 2.0]
sanscoeur has joined #nixos
jD91mZM2 has joined #nixos
<sphalerite> infinisil: what can Haskell's type system do (extensions don't count) that Rust's can't
<sphalerite> ?
<Synthetica> Fairly arbitrary that extensions wouldn't count
xy2_ has quit [Ping timeout: 240 seconds]
<jD91mZM2> sphalerite: Even if he does respond with something, Rust's speed makes it worth it!11111
<jtojnar> sphalerite: apparently it is still a proposal https://github.com/ghc-proposals/ghc-proposals/pull/111
<jtojnar> there was quite a racket around it a year ago
<sphalerite> jtojnar: lol racket. But yeah Rust can do it now :p
<jtojnar> for every word there is a programming language nowadays
jgertm has joined #nixos
<infinisil> sphalerite: monads :)
<infinisil> Higher-kinded types
rotaerk has quit [Ping timeout: 256 seconds]
<capisce> someone should indeed make a programming language called monads
<jD91mZM2> Lol what's this? "config/udev: Adding input device (unnamed) (/dev/tty63)" and a bunch of other /dev/tty things in my /var/log/X.0.log
<sphalerite> infinisil: oh right
<infinisil> A year or so ago I tried to get monads in Swift, which has a very similar type system to Rust), but I couldn't do it
<taktoa> I don
<taktoa> oops
<infinisil> Probably even nix would do better at implementing monads due to it's lazy dynamic whatever "typing" :P
tylerjl has joined #nixos
troydm has joined #nixos
johann__ has quit [Quit: Leaving.]
<jtojnar> nice https://bugs.freedesktop.org/show_bug.cgi?id=102546, all PulseAudio blockers closed
<jtojnar> one more package to get rid of GConf
<Synthetica> capisce: But it should have no monads and just be a C clone
<jD91mZM2> infinisil: You can still do pretty much everything you need with Rust's existing type system
<jD91mZM2> Just look at iterators - lazy loaded
<jD91mZM2> no monads or anything there
leothrix has quit [Ping timeout: 260 seconds]
<infinisil> jD91mZM2: well yeah, some instances of monads are there in many languages: lists, Optional values, Result style error handling, etc.
<infinisil> But the monad concept can't be generalized
<jD91mZM2> sphalerite: OMG multiple monitors work if I use the xorg config!
dbmikus has quit [Quit: WeeChat 2.1]
<taktoa> higher-kinded polymorphism is really useful and obvious, idk why people don't put it in their languages
dbmikus has joined #nixos
<sphalerite> taktoa: because it's scary and hard to implement, I'm guessing?
<jD91mZM2> sphalerite: which is really weird because I can't see any new files inside /etc/X11/xorg.conf.d
<taktoa> if you already have a hindley-milner style type system, it seems pretty easy to implement to me
<sphalerite> jD91mZM2: the X server is called directly with the generated config as an argument
leat has joined #nixos
<sphalerite> jD91mZM2: pgrep -a X
<sphalerite> you'll see the path to the config on its cmdline
<infinisil> taktoa: why does then only haskell have it? There's lots of languages using hindley-milner
<ghostyy> infinisil, what kidn of trouble did you have with implementing monads?
<ghostyy> dont you just need functions?
smichel has joined #nixos
<taktoa> like idk maybe this is my haskell experience showing but imo it's not some ivory tower shit, it's something you can easily note if you are writing java or whatever
<infinisil> ghostyy: I can't remember exactly, but try to convert Monad to it and I'm sure you'll have something that doesn't work
<ghostyy> ah alright then
<Cale> taktoa: It's not quite as simple as you might imagine to really get it right and not just require type annotations everywhere.
<taktoa> the ability to be polymorphic over type constructors in addition to fully saturated types is just a basic aspect of system f IIRC
<Cale> Oh, wait, higher *kinded* polymorphism
<taktoa> yeah
<Cale> I thought you said higher rank polymorphism, my bad
<taktoa> higher rank I can understand not wanting your language
<Cale> Yeah, there's no excuse.
<jD91mZM2> sphalerite: Ok so xrandr still doesn't work but changing the Xorg config does lol what is this
fogbugz123[m] has joined #nixos
<taktoa> like I was kind of shocked when I heard that ocaml doesn't have it
<infinisil> Whoa really
jrolfs has quit [Ping timeout: 268 seconds]
<taktoa> they have module functors which you can use to kind of hack it in but otherwise yeah, no HKT
<infinisil> You mean similarly how Go has hacked in generics for basic types but otherwise doesn't? Hah
tylerjl is now known as leothrix
<maurer> If you want to see the OCaml way of doing HKT, go look at Jane Street's "Core" library
<maurer> The module signatures they have there are how they do it
<maurer> Also, it was explicitly admitted at one point htat the reason rust didn't have HKT in its initial design was to avoid monads
<maurer> because they didn't want the haskell community to filter in and start yelling about category theory to all the systems programmers
<taktoa> yeah I was going to point that out
<taktoa> seems like a social thing mostly
<fogbugz123[m]> Hi, i'm migrating to nixos and i've hit a little roadblock. StumpWM is marked as broken in the repos
<maurer> and by now they've dug themselves into a bit of a hole where they can't seem to figure out how to put HKT in _now_ given their other decision
<maurer> It'll show up eventually, but it'll take some time
<fogbugz123[m]> but there's no open issue or anything
periklis has quit [Ping timeout: 256 seconds]
<capisce> the JavaScript folks also ignored the category theory advice about the Futures API
<capisce> Go is an abomination imo
<goibhniu> hi fogbugz123[m], you can use nixpkgs.config.allowBroken = true; to see what breaks
<infinisil> maurer: interesting, but that seems like an odd reason to not add a feature which clearly would've been appreciated eventually
smichel has quit [Quit: smichel]
owi has joined #nixos
<infinisil> A systems language competitor to C with higher-kinded types, imagine that
<capisce> maurer: that's why I kind of doubt the Go strategy to "start small" and add on features later
<capisce> some features are not easily bolted on after the fact
katona has joined #nixos
<capisce> but should be considered as part of the entire design
<taktoa> I think the right way to do it would have been to write the type system in a way that makes adding HKT easy, but at the same time obfuscate it such that only the people who wrote rustc could figure out exactly _what_ to change
<taktoa> :^)
<sphalerite> ugh, the USB port on my ereader is broken. So now I can't charge it.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> (Maybe this typing conversation would be better fit for #nixos-chat)
<taktoa> agreed
<maurer> taktoa: So, the original rust that HKT would have been "easy" on also had less flexible lifetimes and optional garbage collected pointers
<maurer> taktoa: the thing that makes HKT nontrivial is how it interacts with the lifetime calculus
<taktoa> maurer, let's take this to #nixos-chat
<sphalerite> fogbugz123[m]: this is what happens when nobody's maintaining the package, its build breaks, and a release is coming so we need "zero hydra failures" (i.e. all the packages not marked as broken building successfully)
<{^_^}> [nixpkgs] @matthewbauer opened pull request #40132 → emacs: remove legacy packages → https://git.io/vpohe
<sphalerite> fogbugz123[m]: You can try setting NIXPKGS_ALLOW_UNFREE=1 and building it to see what's actually wrong with it
<owi> Not sure if this is the best channel to ask, but I'll try. I'm running NixOS 18.03 and using it primarily for Haskell development. Generally I'd like to use GHC 8.4.2. I find GHC 8.4.1 in my nix-env, but not the latest version. Also, when I use GHC 8.4.1 it seems to build from source. Are there options for using recent versions of GHC that are available in caches, without upgrading the entire NixOS version?
<owi> Thanks for any tips!
<Cale> Sonarpulse: ^^
<sphalerite> owi: you can use the unstable channel for your user env
<taktoa> yeah, it took me a while to realize you could just have multiple channels at the same time
<owi> sphalerite: OK. I found docs for using channels for nix on other operating systems, but haven't seen anything for NixOS. Do you have any links?
<Sonarpulse> 8.4.2 should also be backported too
Ariakenom has joined #nixos
<Sonarpulse> if it hasn't been already
<katona> owi: nix-channel --add link-to-unstable somenam
<katona> And then nix-env -iA somename.package
<owi> ah, nice, thank you!
<sphalerite> owi: basically the same applies as on non-nixos
<owi> I'll try that.
<jD91mZM2> sphalerite: Ok so fun fact: Selecting smaller screen sizes work even using xrandr. It's like xorg only messes up if my total screen canvas thing expands
<{^_^}> [nixpkgs] @fadenb opened pull request #40133 → graylog: 2.4.3 -> 2.4.4 → https://git.io/vpohu
<sphalerite> owi: you might also need to symlink your channels profile into ~/.nix-defexpr if you only have root's linked there
<sphalerite> jD91mZM2: interesting
<infinisil> jD91mZM2: have you looked at arandr? I know you said that you generated your config with aranr before, but does it look
<infinisil> good when you open it
<jD91mZM2> infinisil: I have tried changing it there as well, that's not the problem
<infinisil> Hmm alright
<fogbugz123[m]> sphalerite goibhniu: thanks, seems like a pretty innocent issue, makeinfo fails (while compiling info docs)
<jD91mZM2> infinisil: Just look: https://i.imgur.com/obUUchV.png. This is most definitely not xrandr being passed the wrong params :P
<sphalerite> fogbugz123[m]: a PR to fix it (and adding yourself to maintainers for it ;) ) would be welcome I'm sure
<fogbugz123[m]> i will try to fix myself, but my nix skills are veeery primitive
<owi> If I want to "inject" that 'somename' into a shell.nix, or something to parameterize the build, should I override somehow using -I nixpkgs ?
<infinisil> jD91mZM2: hold on, i've had that problem before
<jD91mZM2> infinisil: WHERE WERE YOU THIS MORNING
<sphalerite> fogbugz123[m]: yeah, although it's fiddly to refer to channels by their real filesystem path
* infinisil tries to remember what he did to solve it
xcmw has joined #nixos
<jD91mZM2> infinisil: If it helps you remember somehow it seems to work fine when configured from the xorg config (or xserver.xrandrHeads)
<infinisil> It should be somewhere in the ##linux logs, i asked there and replied with the solution eventually i think
<jD91mZM2> Seems like #linux isn't monitored by botbot.me
lopsided98 has quit [Ping timeout: 260 seconds]
reinzelmann has joined #nixos
<infinisil> ##linux too?
<jD91mZM2> Oh, that wasn't a typo? Yeah that neither
lopsided98 has joined #nixos
<sphalerite> ##linux doesn't allow public logs
jrolfs has joined #nixos
<infinisil> Hold on
* jD91mZM2 goes to grab dinner (sorry)
<infinisil> jD91mZM2: that's the pic i posted of my problem
<infinisil> Just found it through my local logs
<infinisil> Seems like the problem you're having, this was on a second monitor
<sphalerite> infinisil: back when you had a titlecase name :o
<infinisil> Hah yes
lopsided98_ has joined #nixos
* sphalerite needs a second chromebook as a build slave. Or just an aarch64 chromebook.
owi has quit [Quit: leaving]
ryantrinkle has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to staging « ppp: add dontBuild = true »: https://git.io/vpKes
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #40134 → unixtools: refactor for less redundancy → https://git.io/vpKeZ
lopsided98 has quit [Ping timeout: 265 seconds]
Mateon3 has joined #nixos
Tucky has quit [Quit: WeeChat 2.1]
Mateon1 has quit [Ping timeout: 276 seconds]
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @matthewbauer pushed to master « xidlehook: only fixup on linux »: https://git.io/vpKeQ
<{^_^}> [nixpkgs] @fadenb opened pull request #40135 → pythonPackages.phonenumbers: 8.9.3 -> 8.9.5 → https://git.io/vpKvk
wchresta_ has joined #nixos
<infinisil> Well I can't find the solution to the problem in my logs :/
fare__ has joined #nixos
<infinisil> It might also be that I just avoided that monitor from that point on
shachaf has joined #nixos
<jD91mZM2> infinisil: My problem is on my first monitor, but only occurs when adding a second
<infinisil> Yeah was the same for me i think
<infinisil> Sorry I can't find my solution, if i ever even had one
<jD91mZM2> Thanks for trying to help though, I really appreciate it. Should I ask on ##linux too?
<infinisil> It can't hurt :)
owickstrom has joined #nixos
<infinisil> And #xorg or ##xorg exists too
<infinisil> Ohhh hold on
<infinisil> jD91mZM2: try changing your X driver
<sphalerite> tried that iirc
<infinisil> Oh
<sphalerite> although did you try i915?
<infinisil> I can remember changing the driver fixing something and it might have been this
coot has joined #nixos
<jD91mZM2> sphalerite: Using i915 right now, and I think I've always been using it since videoDrivers has intel early on in the priority queue
<sphalerite> oh ok
<jD91mZM2> Well, I'm using both i915 and nouveau... I have no idea how that works
dbmikus_ has joined #nixos
wchresta_ has quit [Ping timeout: 260 seconds]
<sphalerite> i915 as the video driver and nouveau as the DRI driver?
* sphalerite doesn't really know what he's talking about
* jD91mZM2 knows even less
dbmikus has quit [Ping timeout: 240 seconds]
<jD91mZM2> Btw the DRI driver output I sent from Xorg earlier had something like "this is from RandR, ignore this" thing before it or something lol
<srk> is there a way to enable network access during nix build?
<sphalerite> srk: only if you can guarantee that the output will be fixed
<srk> sphalerite: or if I don't care? :)
<infinisil> sphalerite: disable sandbox..
<sphalerite> srk: no, I don't think so
<jD91mZM2> "RandR 1.2 enabled, ignore the following RandR disabled message." and then "DRI driver: nouveau"
<srk> trying to build riscv toolchain, maybe I'm just doing it all wrong with derivations from https://github.com/bgamari/riscv.nix
<infinisil> That was for srk
<srk> but it tries to pull newlib from internetz
<sphalerite> srk: shlevy was doing some riscv stuff more recently
<infinisil> srk: But don't disable sandbox if you can avoid it
<srk> sure
<bgamari> srk, yeah, you likely want to be using shlevy's bits now
* bgamari barely knew nix when he wrote that
<srk> nice, missed that
rotaerk has joined #nixos
<hotfuzz> s
<sphalerite> huh, nix build with --store ssh-ng://foo prints all the build output as well as the progress bar \:|
owickstrom has quit [Remote host closed the connection]
<sphalerite> it's so weird using a laptop where the fans don't spin up when it's under full load
<sphalerite> (because it doesn't have any fans)
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @sh4r3m4n opened pull request #40136 → fzf: fix vim plugin patch phase → https://git.io/vpKJn
<{^_^}> [nixpkgs] @Mic92 opened pull request #40137 → mbedtls: remove darwin patch → https://git.io/vpKJK
<{^_^}> [nixpkgs] @Ericson2314 pushed commit from @ryantrinkle to release-18.03 « dockerTools: optionally preserve directory symlinks »: https://git.io/vpKJX
dbmikus__ has joined #nixos
jrolfs has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @helinko opened pull request #40138 → libu2f-server: 1.0.1 -> 1.1.0 → https://git.io/vpKJh
dbmikus_ has quit [Ping timeout: 255 seconds]
humanoyd has quit [Quit: WeeChat 2.1]
acarrico has quit [Ping timeout: 256 seconds]
xcmw has quit [Ping timeout: 260 seconds]
srl295 has joined #nixos
Robbiedobbie has joined #nixos
<Robbiedobbie> Is it possible to host your own binary cache without using nix-serve?
<{^_^}> [nixpkgs] @rycee pushed to master « lib.types: fix loaOf behavior for long lists »: https://git.io/vpKUF
<{^_^}> [nixpkgs] @rycee closed pull request #37734 → lib.types: fix loaOf behavior of long lists and many merges → https://git.io/vxBxW
<Robbiedobbie> I want to host a binary cache for a custom channel that I will use on multiple computers, however, the only suitable place for me to host it on will only be able to serve a directory with files through http
<Robbiedobbie> So I was wondering if, and if so, how, I can host a custom binary cache there
<sphalerite> Robbiedobbie: yes
<sphalerite> Robbiedobbie: you can create a flat-file binary cache using nix copy --to file:///some/path, and just serve that with a regular HTTP server
<Robbiedobbie> Ah ok, from the documentation I wasn't sure if the copy would work just fine on a normal directory
<sphalerite> the file:// is critical for making it create a binary cache rather than a chroot store
<jD91mZM2> Robbiedobbie: Seems like all nix-serve does behind the schenes is give you files from /nix/store. So you can probably just serve that directory somehow
<sphalerite> jD91mZM2: not really, since it needs to serialise them to nar files and narinfos
<jD91mZM2> sphalerite: Ah
<Robbiedobbie> Thanks for the help. I will try it out
<sphalerite> jD91mZM2: narinfo contains the metadata, see for instance https://cache.nixos.org/kmwd1hq55akdb9sc7l3finr175dajlby.narinfo
<jD91mZM2> sphalerite: ooo `nix copy` supports uploading binary cache to s3 built in? Wow that's cool
<sphalerite> jD91mZM2: yep, it's what's used for hydra AFAIK
MichaelRaskin has joined #nixos
<elvishjerricco> jD91mZM2: Yea it's sweet because it provides a way to have a secret cache without crappy HTTP auth. Upload to S3 and your team can just specify it as a substituter if they have AWS credentials configured on their machine.
<jD91mZM2> Wait why aren't we using `nix build` instead of nix-build more often? A-a-a-and `nix run`. omg the `nix` command is amazing
<elvishjerricco> jD91mZM2: I think we just need `nix shell` and `nix install` and ill completely ditch the old commands
<elvishjerricco> And `nix instantiate`, I guess
<jD91mZM2> omg it even has `nix repl` built in
<jD91mZM2> DOCS YOU HAVE FAILED ME
<{^_^}> [nixpkgs] @matthewbauer pushed to master « xidlehook: fix eavl »: https://git.io/vpKk8
<waleee> elvishjerricco: What was the reasoning when not adding those for nix 2.0? Test the waters with the first batch of `nix CMDS`?
<jD91mZM2> We also need better man pages tho
<sphalerite> jD91mZM2: it's not a stable interface yet
<sphalerite> waleee: ^
<waleee> ok
<jD91mZM2> sphalerite: Eh who cares about stable THIS IS AMAZING
<sphalerite> the "official" interface is still nix-store/nix-build/nix-env etc
* jD91mZM2 is very excited as you probably could not tell
<sphalerite> but yeah, the new nix command is great so far
<sphalerite> it has a few kinks left though
<{^_^}> [nixpkgs] @Mic92 merged pull request #40137 → mbedtls: remove darwin patch → https://git.io/vpKJK
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpKkX
<{^_^}> → c7577fa1 by @Mic92: mbedtls: remove darwin patch
<{^_^}> → 08db5514 by @Mic92: Merge pull request #40137 from Mic92/mbedtls
<elvishjerricco> The only gripe I have is that I constantly have to `-f .`
<jD91mZM2> Are channels completely deleted with `nix`? Is it using NIX_PATH now?
<sphalerite> elvishjerricco: I just had an idea for a UI that could work for that — what would you think of doing `nix build .foo` to build the foo attr of default.nix?
<sphalerite> jD91mZM2: it is using NIX_PATH, but that doesn't mean channels are gone
jtojnar has quit [Quit: jtojnar]
<jD91mZM2> I mean I can't use `nixos.<whatever>`, but I can use `nixpkgs.<whatever>`
<elvishjerricco> sphalerite: Eh. That seems to stomp on the whole "consistency" goal
<sphalerite> jD91mZM2: ~/.nix-defexpr isn't really superseded by it yet because there's no nix-env anyway, but that's the idea
<sphalerite> elvishjerricco: I don't see why — it would work for all the other tools as well
<sphalerite> elvishjerricco: and since it's not a valid attrpath standalone, it doesn't conflict with any of the other ways of specifying an installable I think?
<elvishjerricco> sphalerite: But it's not an attr path. It's a weird kind of path that's inconsistent with the Nix language
<sphalerite> elvishjerricco: nor is /nix/store/hash-foo.drv :p
<elvishjerricco> sphalerite: I'd be ok with a sufficiently convenient path that joins the default top level paths representing pwd
<elvishjerricco> And I know I can do that manually by adding . to `NIX_PATH`, but I think this ought to be a built in behavior so that scripts can rely on it
<sphalerite> it still doesn't make building ./release.nix convenient though :/
<elvishjerricco> sphalerite: Oh well that's always going to require specification. `default.nix` is the concern for m
<elvishjerricco> Ah! I got it!
<elvishjerricco> `nix build default.foo`
<elvishjerricco> Make a top level attr `default` that's just `./default.nix`
wchresta_ has joined #nixos
jtojnar has joined #nixos
<sphalerite> well nix build doesn't (yet?) auto-import and auto-call
<{^_^}> [nixpkgs] @primeos pushed to master « pgpdump: 0.32 -> 0.33 »: https://git.io/vpKIF
reinzelmann has quit [Quit: Leaving]
<sphalerite> well it does auto-call I think, but not import
jtojnar has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40139 → treewide: Modular setup hooks → https://git.io/vpKIN
jtojnar has joined #nixos
<cheshircat_> hey, I'm having trouble packaging something that calls git in its build script
<cheshircat_> is there a way to work around this?
<elvishjerricco> sphalerite: Right, I meant `default.foo` would be the same as `-f default.nix foo`
<sphalerite> cheshircat_: because it's trying to access the network?
<jD91mZM2> cheshircat_: What exact git command are you running?
<sphalerite> cheshircat_: put whatever in place using a fetchgit (or fetchFromGitHub or whatever) derivation before it runs, and patch out the command from the script
<jD91mZM2> sphalerite: fetchFromGitHub doesn't preserve .git. Not sure if fetchgit does either to be honest
<sphalerite> jD91mZM2: it doesn't by default, but you can tell it to.
<jD91mZM2> oh
wchresta_ has quit [Ping timeout: 240 seconds]
<cheshircat_> yea, it's trying to access the network
<sphalerite> jD91mZM2: but if it's a clone, it's not entirely unlikely that the script doesn't *actually* need .git
<jD91mZM2> Yeah and it can save time using GitHub's .tar.gz files
<cheshircat_> How do you fetchgit into the source of another fetchgit?
jrolfs has joined #nixos
<jD91mZM2> you mean like a submodule cheshircat_?
<sphalerite> cheshircat_: preConfigure = ''ln -s ${fetchgit {repo = …; rev = …; sha256 = …;}} path/to/put/it/in'';
<cheshircat_> gotcha, thank you!
lopsided98_ has quit [Quit: Disconnected]
<jD91mZM2> cheshircat_: It'd be great to know what you're trying to do, it sounds really weird
<cheshircat_> now to dive into this massive Rakefile and figure out where it's trying to get this git repo...
<cheshircat_> I'm trying to package zynfusion
<cheshircat_> which requires mruby
<cheshircat_> and mruby has a weird build process
<jD91mZM2> Ah ok
orivej has joined #nixos
lopsided98 has joined #nixos
<jD91mZM2> sphalerite: Ah crap, I just reached a limitation of xrandrHeads
<sphalerite> ?
<jD91mZM2> (the nixos xorg config stuff im using to set monitor stuff)
<jD91mZM2> It sets RightOf unconditionally, so any X position I set is overriden
hph^ has joined #nixos
<sphalerite> that's silly
<jD91mZM2> Yeah. I might just give up on trying to make my monitors positioned exactly like I want them and just let them be the default things
jrolfs has quit [Ping timeout: 260 seconds]
<jD91mZM2> Aaah except even the default position is weird like that
<sphalerite> wtf it doesn't have an extraConfig option for the x config?? >_>
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40134 → unixtools: refactor for less redundancy → https://git.io/vpKeZ
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vpKq1
<{^_^}> → 4b93f21c by @Synthetica9: unixtools: refactor for less redundancy
<{^_^}> → ab0d4f26 by @Synthetica9: unixtools: use 2-space indent
<{^_^}> → 6bce8815 by @matthewbauer: Merge pull request #40134 from Synthetica9/unixtools-refactor
<sphalerite> jD91mZM2: oh right yes it does, if you put your own monitor sections in xorg.xserver.config it should work, hopefully…
<sphalerite> and just don't use xrandrHeads at all
<jD91mZM2> I don't think it works like that, the monitors in xrandrHeads are mentioned in a bunch of screens and stuff
<sphalerite> ah bummer, so they are
<jD91mZM2> Although what I just said about RightOf might have been wrong
<sphalerite> services.xserver.config = lib.mkForce ""; # :p
<jD91mZM2> I was using a custom modeline, but now it seems to work fine. Lemme try
<sphalerite> oh yeah, it only puts RightOf in if previous is unset for the monitor
vaninwagen has joined #nixos
<jD91mZM2> Seems like that wasn't the cause of my issue though. Phew
jrolfs has joined #nixos
<jD91mZM2> ... aaannndd FINALLY
<jD91mZM2> MY MONITORS WORK AGAIN
<jD91mZM2> Only took the whole day :^)
<sphalerite> >_<
<{^_^}> [31;1merror:[0m syntax error, unexpected ')', at [1m(string)[0m:10:11
<sphalerite> lol
<sphalerite> I'm glad nix is convincing enough for you to deal with all this bullshit :p
<jD91mZM2> I mean I would go back to arch but I don't know if I would manage to install it a second time /s
<sphalerite> hahaha
<jD91mZM2> If I want to move my services.xserver.xrandrHeads to a different file, how would you recommend I do it? Using the `imports` array (which would cause a "duplicate key" thing on services.xserver which I would somehow need to fix), or simply set `xrandrHeads = (import ...)`?
<sphalerite> imports would work, there's magic that merges all the modules together
<jD91mZM2> IIRC I tried that before. The magic only works on completely separate modules.... I think. Not sure.
<sphalerite> in fact, your configuration.nix and, for example, nixos/modules/services/x11/xserver.nix, are conceptually the same thing
<jD91mZM2> Ok lemme try
<jD91mZM2> You're right. I remember incorrectly
<jD91mZM2> Thanks for everything sphalerite! I couldn't have done this without you - you're a great person. Good night :)
<sphalerite> \o/ glad I could help, gnight!
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40139 → treewide: Modular setup hooks → https://git.io/vpKIN
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to staging: https://git.io/vpKOq
<{^_^}> → 34a3233a by @Ericson2314: stdenv: Support concatenating setup hooks from multiple parts.
<{^_^}> → 8b0fce8c by @Ericson2314: {bintools,cc}-wrapper: Factor out role accumulation logic
<{^_^}> → 2110c0bd by @Ericson2314: treewide: Use pkgs/build-support/roles.bash to remove copy pasta
jD91mZM2 has quit [Quit: WeeChat 2.0]
drewr has quit [Remote host closed the connection]
acarrico has joined #nixos
statusbot has joined #nixos
<sphalerite> elvishjerricco: wait, can't you achieve what you said earlier by adding default=. to NIX_PATH?
<elvishjerricco> sphalerite: It needs to be a default so that scripting can rely on it
drewr has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed 5 commits to master: https://git.io/vpKO9
<{^_^}> → c7d735a2 by @fpletz: pythonPackages.PyMVGLive: init at 1.1.4
<{^_^}> → 95928538 by @fpletz: pythonPackages.aiohue: init at 1.3.1
<{^_^}> → 509a340d by @fpletz: pythonPackages.coinmarketcap: init at 4.2.1
xy2_ has joined #nixos
fogbugz2345[m] has joined #nixos
<alanz> If I want to include a private build of (haskell)alex in a shell, where do I find the original derivation to be able to modify it?
<sphalerite> alanz: nix edit nixpkgs.haskellPackages.alex is the quickest way to just get *some* expression of it
<sphalerite> alanz: if you have your nixpkgs checkout, you can cd into it and do nix edit -f . haskellPackages.alex
fogbugz234 has joined #nixos
<alanz> great, thanks. I new there had to be an easy way
<sphalerite> although I'm not sure if nix edit works correctly on haskell packages actually :/
waleee has quit [Quit: WeeChat 2.1]
<alanz> well, I will experiment
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #40141 → iml: use openblas instead of atlas → https://git.io/vpKsc
<infinisil> > builtins.unsafeGetAttrPos "haskellPackages" pkgs
<{^_^}> { column = 3; file = "/var/lib/nixbot/state/nixpkgs/pkgs/top-level/all-packages.nix"; line = 6390; }
<infinisil> > builtins.unsafeGetAttrPos "xmonad" pkgs.haskellPackages
katona has quit [Quit: Connection closed for inactivity]
Izorkin has joined #nixos
<elvishjerricco> infinisil: Wow. That's really useful.
<infinisil> I think that's how nix edit works :)
<LnL> indeed
<LnL> > hello.meta.position
<{^_^}> undefined variable 'hello' at [1m(string)[0m:10:9
<{^_^}> { column = 3; file = "/var/lib/nixbot/state/nixpkgs/pkgs/development/haskell-modules/configuration-nix.nix"; line = 217; }
<LnL> eh?
<elvishjerricco> I wonder if that could help make an auto docs system like haddock / javadoc
Izorkin_ has quit [Ping timeout: 260 seconds]
<infinisil> (tilpner has spammed the bot with some ram eating exprs in #bottest, that's why it took so long for the xmonad thing to eval)
<infinisil> >:l pkgs
<{^_^}> imported scope
<tilpner> c.c
<infinisil> > hello.meta.position
<{^_^}> "/var/lib/nixbot/state/nixpkgs/pkgs/applications/misc/hello/default.nix:14"
<LnL> ah
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
sanscoeu_ has joined #nixos
<LnL> I hope it won't just build stuff :p
<jtojnar> the bot evaluator is stateful?
<elvishjerricco> Where is that "libraries" FAQ for people who try to install libraries with nix-env?
<symphorien> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<LnL> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
spear2 has joined #nixos
<elvishjerricco> Thanks :)
sanscoeur has quit [Ping timeout: 265 seconds]
<Ralith> dtz: I don't actually see any clang/libc++ tests in pkgs/test/cc-wrapper
<sphalerite> !factoids
<{^_^}> Have a helpful Nix factoid? Send a PR! https://github.com/grahamc/ofborg/blob/released/factoids.toml
<sphalerite> elvishjerricco: ^ ;)
<{^_^}> [nixpkgs] @jtojnar pushed to master « telepathy-logger: 0.8.0 → 0.8.2 »: https://git.io/vpKGo
<sphalerite> you can also PM the bot
<dtz> Ralith: look in top-level, tests = {
<Ralith> dtz: you mean pkgs/test? also there totally was a clang test, I just missed it
<Ralith> still don't see any libc++ stuff anywhere
tester123 has joined #nixos
<LnL> Ralith: the cc-wrapper tests run with all stdenv variants
<tester123> I currently have `texlive.combined.scheme-full` in my nix config. But I'm trying to add the tex package "xcolor" to my system. How do I do this?
<Ralith> seems like I probably want to write a test specifically for libcxxSttdenv, also, not one that just executes if libcxxStdenv is the default
<Ralith> ah
<oh_lawd> hey, I can't find anywhere how to install and load this kernel module from nixos https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/acpi-call/default.nix
<sphalerite> [3/365/42431 copied (1159.4/4429.4 MiB)] copying path '/nix/store/2vl7hxwf9q0axx61n9pgd33g6hvzxrz9-iana-etc-20180108' from 'ssh-ng://192.168.99.14' to 'file://cache/' … this might take a while
<dtz> (sorry that link is against master so won't last forever but hopefully works for now)
<dtz> (grumble grumble github needs a $#@@# permalink option)
<oh_lawd> that I guess should enable thinkpad battery charge thresholds
<oh_lawd> the default tlp doesn't support them without a module
<Ralith> github is refusing to scroll that
<sphalerite> oh_lawd: boot.extraModulePackages = [config.boot.kernelPackages.acpi_call];
<Ralith> kk, cool
<oh_lawd> sphalerite: thanks!
<srk> sphalerite: cool, is that nixops output?
robstr has quit [Ping timeout: 240 seconds]
<sphalerite> srk: no, nix copy
<dtz> !!! lmao ty sir grumble
<dtz> sorry for the ping :3 :3
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpKZg
<{^_^}> → 1bcd9c48 by @helinko: libu2f-server: 1.0.1 -> 1.1.0
<{^_^}> → 17fe52a6 by @xeji: Merge pull request #40138 from helinko/libu2f-server-update
<{^_^}> [nixpkgs] @xeji merged pull request #40138 → libu2f-server: 1.0.1 -> 1.1.0 → https://git.io/vpKJh
<srk> would love to have that with nixops :D
<sphalerite> srk: I'm making a binary cache and being a bit indiscriminate about what I'm including :p nix copy --from ssh-ng://192.168.99.14 --all --to file://cache/
<LnL> Ralith: yeah, github doesn't like all-packages.nix https://search.nix.gsc.io/?q=test%2Fcc-wrapper&i=nope&files=&repos=
<srk> I'm deploying netboot server full of images and it takes a while.. :D
<srk> btw what's ssh-ng? :D
<sphalerite> srk: yeah, would be nice to have nixos-rebuild with a pretty progress bar too
<srk> yes yes yes\
<sphalerite> srk: the new way nix uses to communicate via ssh since 2.0
<sphalerite> it has some advantages like copying signatures, allowing building, and some other things
<srk> new nix store protocol probably?
<tilpner> dtz - Press "y" while on GitHub to convert the current link to a permalink
civodul has joined #nixos
<sphalerite> tilpner: omg I love you
<tilpner> Also press "?" to get a list of keyboard shortcuts
<tilpner> I use "g i" frequently
<dtz> yeah that's amazing ty
<sphalerite> srk: I'm not sure of the exact details, just the practical implications :p
<oh_lawd> sphalerite: tpacpi-bat.BAT0.stopThreshold = 80 [%]
<tilpner> Oh, and "t" is great too
<oh_lawd> seems to work now <3
<oh_lawd> thanks
<sphalerite> srk: although it's still a bit buggy, for instance using it as a substituter seems to cause weird errors
<oh_lawd> the next thing I should do is to create a nixpkg for our printer
<sphalerite> oh_lawd: \o/
<oh_lawd> I just hate cups so much
<Ralith> dtz: how do I run a test?
jrolfs_ has joined #nixos
<LnL> Ralith: nix-build '<nixpkgs>' -A tests.cc-wrapper
<hodapp> CUPS has given me much less trouble overall than inkjet printers in general have, I suppose
<oh_lawd> we have a brother network printer/scanner that's quite nice
toby1851 has joined #nixos
<oh_lawd> the scanner was super easy to setup
<oh_lawd> for the printer I think I needis the brother ppd
<Ralith> LnL: thanks
sanscoeu_ has quit [Remote host closed the connection]
zybell has quit [Ping timeout: 256 seconds]
jrolfs has quit [Ping timeout: 260 seconds]
sanscoeur has joined #nixos
<oh_lawd> so basically I should copy this and modify it for my model https://github.com/NixOS/nixpkgs/tree/master/pkgs/misc/cups/drivers/mfcj6510dwlpr
coot has quit [Quit: coot]
<sphalerite> error: cannot open connection to remote store 'ssh-ng://nobody@192.168.99.13': serialised integer 7161674624452356180 is too large for type 'j'
<sphalerite> note to self: don't try to use the nobody user
tester123 has quit [Quit: Page closed]
<hodapp> o_O
<hodapp> that... is a strange error
<sphalerite> yep. Only occurs if I try to use nobody though, I'm guessing it's nobody's uid
<sphalerite> hm no, it's 65534
flop has joined #nixos
jtojnar has quit [Quit: jtojnar]
<Dezgeg> I think it's some part of an error message in ascii
muzzy has joined #nixos
muzzy_ has joined #nixos
muzzy__ has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #40141 → iml: use openblas instead of atlas → https://git.io/vpKsc
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vpKcG
<{^_^}> → b0d70d33 by Timo Kaufmann: iml: use openblas instead of atlas
<{^_^}> → b1f064c9 by @7c6f434c: Merge pull request #40141 from timokau/iml-openblas
jtojnar has joined #nixos
orivej has quit [Remote host closed the connection]
<flop> Hey, guys! If I want to update existing nixpkg to the newer version, should I mark myself as a maintainer?
<sphalerite> flop: you don't have to, but it's appreciated
<flop> thanks!
<sphalerite> flop: and what it means (not sure if it's actually formally defined anywhere, but practically) it means you'll get emails from hydra if it breaks, and might get pinged on github if someone has an issue with the package
<simpson> So many emails.
<sphalerite> simpson: I haven't got one in ages, you clearly maintain too many packages :p
<simpson> It's actually not that bad, but sometimes if you maintain a package that has an oft-broken dependency, then that can be irritating.
<Dezgeg> I think the emails were disabled at some point
<simpson> sphalerite: Some leaves of the Python tree, for example, do this.
orivej has joined #nixos
zybell has joined #nixos
<flop> spharelite: okay, thanks for the info!
<{^_^}> [nixpkgs] @rkoe opened pull request #40142 → i3lock/i3lock-color: meta: improve description → https://git.io/vpKCz
<{^_^}> [nixpkgs] @yrashk opened pull request #40143 → sit: fix tests on aarch64 → https://git.io/vpKCg
<{^_^}> [nixpkgs] @xeji merged pull request #40135 → pythonPackages.phonenumbers: 8.9.3 -> 8.9.5 → https://git.io/vpKvk
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpKCS
<{^_^}> → a5548446 by @fadenb: pythonPackages.phonenumbers: 8.9.3 -> 8.9.5
<{^_^}> → 60a52761 by @xeji: Merge pull request #40135 from fadenb/pythonPackages.phonenumbers_8.9.5
<sphalerite> Dezgeg: yeah, some root of the dependency tree broke or something didn't it?
<Dezgeg> yes
simukis has quit [Ping timeout: 240 seconds]
<sphalerite> ah, it was shortly after release-18.03 was forked off
griff_ has joined #nixos
Ariakenom has quit [Quit: Leaving]
flop has quit [Quit: Leaving]
pauldub_ has joined #nixos
lesce_ has joined #nixos
tilpner_ has joined #nixos
feepo_ has joined #nixos
Guest82928_ has joined #nixos
savanni_ has joined #nixos
scott_ has joined #nixos
kaychaks_ has joined #nixos
mgttlinger_ has joined #nixos
p_l_ has joined #nixos
<Ralith> simpson: yeah, broken deps ping me a lot, I'm not sure why that's even a thing
cbarrett_ has joined #nixos
<simpson> Ralith: Well, in one sense, we're all glibc maintainers~
<simpson> But seriously, it *is* a little silly.
barrucad1 has joined #nixos
sys9mm has joined #nixos
aramiscd_ has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sphalerite_ has joined #nixos
aw_ has joined #nixos
<Ralith> how do you generate a key for signing paths?
layus_ has joined #nixos
dottedmag_ has joined #nixos
greymalkin_ has joined #nixos
<sphalerite_> Ralith: nix-store --generate-binary-cache-key name private-key-file public-key-file
trent_ has joined #nixos
ericnoan_ has joined #nixos
mduggie_ has joined #nixos
hph^ has quit [*.net *.split]
fare__ has quit [*.net *.split]
barrucadu has quit [*.net *.split]
pauldub has quit [*.net *.split]
scott has quit [*.net *.split]
mduggie has quit [*.net *.split]
layus has quit [*.net *.split]
aw has quit [*.net *.split]
stekke[m] has quit [*.net *.split]
mingc has quit [*.net *.split]
aramiscd has quit [*.net *.split]
rszibele[m] has quit [*.net *.split]
tilpner has quit [*.net *.split]
scott1 has quit [*.net *.split]
wzy8L-B2[m] has quit [*.net *.split]
TimePath has quit [*.net *.split]
fpletz has quit [*.net *.split]
dottedmag has quit [*.net *.split]
ericnoan has quit [*.net *.split]
johnhamelink has quit [*.net *.split]
symphorien has quit [*.net *.split]
TrentP has quit [*.net *.split]
darkmeson[m]1 has quit [*.net *.split]
swayf[m] has quit [*.net *.split]
Adev[m] has quit [*.net *.split]
johnazoidberg has quit [*.net *.split]
rardiol[m] has quit [*.net *.split]
rycee has quit [*.net *.split]
dylanjust[m] has quit [*.net *.split]
ngerstle[m] has quit [*.net *.split]
Rick[29SMPittsbu has quit [*.net *.split]
Bugworm[m] has quit [*.net *.split]
chominist[m] has quit [*.net *.split]
xnaveira[m] has quit [*.net *.split]
itorres has quit [*.net *.split]
WilliamHamilton has quit [*.net *.split]
Wysteriary[m] has quit [*.net *.split]
YuFanLovezYou[m] has quit [*.net *.split]
serentty[m] has quit [*.net *.split]
Guest82928 has quit [*.net *.split]
savanni has quit [*.net *.split]
octe has quit [*.net *.split]
greymalkin has quit [*.net *.split]
lesce has quit [*.net *.split]
mgttlinger has quit [*.net *.split]
kaychaks has quit [*.net *.split]
cbarrett has quit [*.net *.split]
p_l has quit [*.net *.split]
sphalerite has quit [*.net *.split]
feepo has quit [*.net *.split]
nwspk has quit [*.net *.split]
suvash_away has quit [*.net *.split]
layus_ is now known as layus
pauldub_ is now known as pauldub
greymalkin_ is now known as greymalkin
tilpner_ is now known as tilpner
scott_ is now known as scott
dottedmag_ is now known as dottedmag
savanni_ is now known as savanni
fpletz has joined #nixos
p_l_ is now known as p_l
lesce_ is now known as lesce
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
kaychaks_ is now known as kaychaks
cbarrett_ is now known as cbarrett
mgttlinger_ is now known as mgttlinger
octe has joined #nixos
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
symphorien has joined #nixos
nwspk has joined #nixos
nwspk has quit [Changing host]
nwspk has joined #nixos
Adev[m] has joined #nixos
fare__ has joined #nixos
johnazoidberg has joined #nixos
ngerstle[m] has joined #nixos
rosa has joined #nixos
statusbot has quit [Ping timeout: 260 seconds]
<Synthetica> What is happening 😅
swayf[m] has joined #nixos
xnaveira[m] has joined #nixos
dylanjust[m] has joined #nixos
rszibele[m] has joined #nixos
statusbot has joined #nixos
scott1 has joined #nixos
chominist[m] has joined #nixos
Bugworm[m] has joined #nixos
wzy8L-B2[m] has joined #nixos
serentty[m] has joined #nixos
darkmeson[m]1 has joined #nixos
Wysteriary[m] has joined #nixos
YuFanLovezYou[m] has joined #nixos
itorres has joined #nixos
TimePath has joined #nixos
markus1199 has quit [Ping timeout: 260 seconds]
Rick[29SMPittsbu has joined #nixos
rardiol[m] has joined #nixos
markus1189 has joined #nixos
stekke[m] has joined #nixos
<simpson> I'm running $(docker build) and wondering whether k8s is really worth all the hassle.
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
wchresta_ has joined #nixos
WilliamHamilton has joined #nixos
rycee has joined #nixos
suvash_away has joined #nixos
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
jb55 has quit [Ping timeout: 240 seconds]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
szicari has joined #nixos
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
ertes-w has quit [Read error: Connection reset by peer]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
jacob_ has quit [Quit: Lost terminal]
shad has quit [Remote host closed the connection]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
shad has joined #nixos
ertes-w has joined #nixos
hph^ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40143 → sit: fix tests on aarch64 → https://git.io/vpKCg
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpK8O
<{^_^}> → 783d547b by @yrashk: sit: fix tests on aarch64
hph^ has quit [Max SendQ exceeded]
<{^_^}> → 02fff469 by @xeji: Merge pull request #40143 from yrashk/sit-0.3.2-aarch64
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
the_real_plumps has quit [Remote host closed the connection]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
<Ralith> also, why does `man nix` not work
hph^ has quit [Read error: Connection reset by peer]
obadz has quit [Ping timeout: 260 seconds]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
the_real_plumps has joined #nixos
obadz has joined #nixos
pie_ has joined #nixos
UNIcodeX__ has quit [Quit: Leaving]
shabius_ has quit [Quit: Leaving]
spear2 has quit [Remote host closed the connection]
vaninwagen has quit [Quit: WeeChat 2.1]
wchresta_ has quit [Ping timeout: 256 seconds]
spear2 has joined #nixos
wchresta_ has joined #nixos
griff_ has quit [Quit: griff_]
smichel has joined #nixos
shabius has joined #nixos
<dtz> globin: sorry if I'm blind--is there a gcc8-as-default PR/jobset somewhere?
<dtz> globin: also the commit on nixpkgs/gcc8 seems incomplete
<dtz> it's what I did at first but I think you should change gccFun probably too?
wchresta_ has quit [Ping timeout: 260 seconds]
<Synthetica> dtz: There's a gcc8 branch in the main repo
<dtz> okay! Haha guess I foudn it then
<dtz> just wasn't sure since no PR, probably waiting until it's closer to being ready before PR?
<Synthetica> dtz: there's also a gcc8 hydra job, but it's disabled: https://hydra.nixos.org/jobset/nixos/gcc-8#tabs-configuration
<Synthetica> Not sure why
<Synthetica> I asked, but noone answered :(
<Synthetica> Maybe I should've asked here instead of in #nixos-devel
<Synthetica> *dev
<dtz> okay! Just wanted to stay on top of this, I have some failures/etc to report but don't really have a good place to report them--and definitely don't want to double-report things that are known
<{^_^}> [nixpkgs] @xeji merged pull request #40095 → i3lock-color: fix manpage-name and manpage → https://git.io/vpoGR
<{^_^}> [nixpkgs] @xeji pushed commit from @rkoe to master « i3lock-color: fix manpage-name and manpage (#40095) »: https://git.io/vpK45
rosa has quit [Quit: rosa]
<sphalerit> Ralith: because the manpage hasn't been written yet
<sphalerit> Ralith: also troll under the matrix bridge is eating messages again, I replied to your binary cache key question too
<Ralith> I am away from my emergency backup IRC client :/
xy2_ has quit [Read error: Connection reset by peer]
xy2_ has joined #nixos
<sphalerit> gchristensen: could you reset the topic? The matrix bridge seems to have been down when you last did it, so the old logs link is still shown on matrix
hamishmack has joined #nixos
<MichaelRaskin> \\\
<ij> Will services.openvpn restart on a network change?
dbmikus__ has quit [Ping timeout: 276 seconds]
dbmikus__ has joined #nixos
rosa has joined #nixos
rycee has quit [*.net *.split]
WilliamHamilton has quit [*.net *.split]
suvash_away has quit [*.net *.split]
knupfer has quit [Remote host closed the connection]
rosa has quit [Client Quit]
<elvishjerricco> Has anyone tried to port the NixOS systemd configuration to other systemd linuxes? Would be sweet to configure systemd stuff with Nix on Ubuntu. Plus you could probably import a lot of the NixOS modules as is
<Ralith> does `nix build` have a way to process an expression?
<Ralith> on the command line, that is
kier has quit [Ping timeout: 248 seconds]
barrucad1 is now known as barrucadu
<Synthetica> Oh, dtz: I'd just file an issue I guess; I'd say it's better to have it over-reported then under-reported
olto has quit [Ping timeout: 240 seconds]
rycee has joined #nixos
jrolfs_ has quit [Ping timeout: 260 seconds]
WilliamHamilton has joined #nixos
dbmikus__ has quit [Ping timeout: 248 seconds]
asuryawanshi has quit [Ping timeout: 268 seconds]
szicari has quit [Quit: szicari]
kier has joined #nixos
<elvishjerricco> Ralith: The `INSTALLABLE` syntax will recognize parenthesized Nix code
<elvishjerricco> E.g. `nix build '(with import <nixpkgs> {}; hello)'
blankhart has quit [Ping timeout: 256 seconds]
kisik21 has joined #nixos
<Ralith> ah, right, I remember now
<Ralith> thanks
<Ralith> hmm
<kisik21> Hi. What's wrong with this line in environment packages list?
<kisik21> (python3.withPackages (python-packages: with python-packages: [ pillow ];)
<Ralith> elvishjerricco: I have a script that uses `nix-build -E expr -A foo -A bar`; any idea how to do that in nix 2 without repeating `expr`?
<Ralith> iow, I want to get multiple outputs from a multi-output derivation
<elvishjerricco> Ralith: `nix build -f . '(expr)' foo bar` should work, right?
<Ralith> elvishjerricco: how is it resolving `foo` and `bar` to be outputs of `(expr)`?
<Ralith> (it does not seem to work)
<elvishjerricco> Oh
<Ralith> also not sure how `-f .` interacts with `'(expr)'`
<elvishjerricco> I didn't know -E did that in nix-build :P
wchresta_ has joined #nixos
<jtojnar> elvishjerricco: we have a thread about non-nixos services on ML https://groups.google.com/forum/#!topic/nix-devel/Ld18OkPnomo, someone asked about it few days ago, have not heard of any implementation, though
hiratara has quit [Ping timeout: 276 seconds]
<Ralith> `nix-build -f . baz.foo baz.bar` is *almost* what I want, but I want to apply an override to baz first
lord| has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c pushed to master « love_11: init at 11.1 »: https://git.io/vpKEc
Piece_Maker has joined #nixos
<MichaelRaskin> elvishjerricco: Note that you can even export a NixOS service as a runner script
<Ralith> er, sorry, `nix build -f . baz.foo baz.bar`
Acou_Bass has quit [Ping timeout: 268 seconds]
Piece_Maker is now known as Acou_Bass
<MichaelRaskin> And surely you can export the unit file
hotfuzz has quit [Ping timeout: 240 seconds]
<kisik21> Seems like Python 3 environment derivation is independent from Python itself, so one could include python3 and python3.withPackages in the same configuration. Nice.
hiratara has joined #nixos
hotfuzz has joined #nixos
<kisik21> Or not so independent. Who knows.
<kisik21> Nope. Collision.
<srhb> kisik21: Hopefully you wouldn't need python3 itself when you're using withPackages?
aarvar has joined #nixos
<kisik21> I just discovered that these are conflicting, and interestingly, the less featured one (bare python3) ended up in /run/current-system/sw/.
<kisik21> srhb: how to suppress installing python3 when withPackages option is used?
<srhb> kisik21: For that, you should probably be getting packages from python3Packages instead.
<srhb> But I'm not sure what you're doing.
<srhb> The purpose of withPackages is to bundle up packages with the interpreter after all.
<kisik21> I want to have Python 3 with Pillow installed in site-wide config, and for common use-cases have a bare interpreter.
<srhb> I don't see how you'd avoid having python3 conflict with python3 in either case.
<kisik21> Could I install python3packages.pillow in environment.systemPackages and be sure it will be used by python3?
<srhb> I recommend using a nix-shell instead of installing those. You can always add a gcroot.
dbmikus__ has joined #nixos
<kisik21> wait... hm, I now think of nix-shell like a virtualenv for non-python packages, including python interpreter itself. Am I right?
<simpson> Sure.
<srhb> kisik21: or python.withPackages
<srhb> kisik21: It'll do basically anything.
<kisik21> ok, as a workaround, I disabled bare python3 in common.nix file included from site-wide configuration.nix, now python3 needs to be installed in configuration.nix...
doyougnu has quit [Ping timeout: 256 seconds]
wchresta_ has quit [Ping timeout: 256 seconds]
<kisik21> Would it be correct to install (python3.withPackages (python-packages: with python-packages; [])) for convenient editing?
suvash_away has joined #nixos
johnhamelink has joined #nixos
<simpson> Aw, the `trickle` utility doesn't work on Nix-patched executables. That's too bad. Are there any good alternatives for per-process traffic shaping?
dbmikus__ has quit [Ping timeout: 256 seconds]
<srhb> kisik21: I wouldn't. I don't know whether it's correct or not (I don't use python much)
<srhb> kisik21: But if you're doing that, I think that's the same as just having a bare python3.
<simpson> kisik21: Well, don't worry about 'correct'; if it builds and runs, then it works for you. But I would *not* think of 'installing' any longer. Think instead of temporary environments.
<srhb> ^
<simpson> I have a `pysh` helper in my .bashrc which is an alias for nix-shell'd Python with readline.
<simpson> alias pysh='nix-shell --command "python -i -c \"import readline, rlcompleter; readline.parse_and_bind(\\\"tab:complete\\\")\"" -p python'
<kisik21> Nix is both a blessing and a curse for developers, as it seems...
<srhb> It's a really "buy-in" thing. The more you embrace the philosophy (in this case, ephemeral environments) the better it works.
<srhb> Usually. :)
stumble has quit [Ping timeout: 240 seconds]
<kisik21> though it's more of a blessing for autoconf-based C programs and their creators, and a living hell of environments for developers. Though Python was always a bunch of custom environments.
<srhb> I'd take a properly written shell.nix over whatever magic virtualenv does any day though. :D
<kisik21> But how do you install pyfiglet from git, for example? Writing a derivation that will build it from master every time?
<srhb> I just override the src attribute (presumably, again, not python-fu strong)
<kisik21> pip clearly trumps nix-shell in this case... Only one single line in requirements.txt
<srhb> We absolutely _can_ do that (see builtins.fetchGit) but I prefer to always be version locked for reproducibility.
<srhb> And make a convenient way of upgrading the bound to whatever HEAD is instead.
<Synthetica> TIL: TOFU is not just a weird thing I do
<Synthetica> !tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<srhb> Synthetica: I think that's cargo culted to immortality. :-)
<{^_^}> [nixpkgs] @tazjin opened pull request #40147 → bluemix-cli: init at 0.6.6 → https://git.io/vpKzt
<srhb> Synthetica: 52i0 ftw
<simpson> TOFU is an interesting pattern. It shows up often.
<srhb> It even got better in Nix 2.0 now that you don't have to download twice all the time...
<kisik21> Ok, goijng the nix-shell way, could anyone tell me how to make a shell.nix that will install bash and python3.withPackages and will Do The Right Thing (TM) of launching a bash script which itself just bootstraps a python module?
<kisik21> can't find boilerplate for this on wiki
<srhb> I think it's even in the manual. Sec, just working on getting a working browser.
Arcaelyx has joined #nixos
rosa has joined #nixos
fare__ has quit [Ping timeout: 276 seconds]
<kisik21> srhb: and what's up with your browser, why it doesn't work?
<srhb> kisik21: I did bad things to my nixpkgs checkout. :-)
<kisik21> Did you modify nixpkgs directly? Shouldn't these things be exported to some sort of external file, like with my lurch (pidgin plugin) derivation?
<srhb> kisik21: Sure, but my browser is impute and pollutes my homedir with pesky state, and something Bad Things ruin that state.
<kisik21> firejail?
<kisik21> could sandbox anything into private homedir
<srhb> kisik21: Oh cool, that sounds like the sort of thing I'd want, thank you.
<kisik21> needs a little bit of configuration though
<kisik21> wait a sec
<MichaelRaskin> Or nsjail
<kisik21> security.wrappers.firejail.source = "${pkgs.firejail}/bin/firejail";
<kisik21> here you go
<kisik21> paste this into /etc/nixos/configuration.nix
<kisik21> it should magically work then probably. If it doesn't, add firejail to environment.systemPackages
<srhb> Thanks :)
stumble has joined #nixos
<kisik21> oh, forgot about one thing
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<kisik21> due to a bug in building firejail, local firejail configurations cannot be imported.
<kisik21> So you may need to modify the derivation a little bit.
<kisik21> Just don't butcher the poor nixpkgs checkout directly...
<srhb> Hmm, the example isn't quite there in the manual. I imagined using eg. buildEnv for creating the entire environment you wanted.
blankhart has joined #nixos
rosa has quit [Quit: rosa]
<kisik21> Interesting. Seems like buildEnv is used when building user profiles.
hiratara has quit [Quit: ZNC - http://znc.in]
hiratara has joined #nixos
hakujin has quit [Quit: WeeChat 2.1]
<srhb> Yep, checks popped up on all repos for me today..
<WilliamHamilton> hi all, has anyone tried to use ghc plugin in nixos? When trying out a ghc plugin, it seemed not to be working despite the author's suggestion; I wonder if ghc has been patched in a particular way for nixos
<Mic92_> somebody who is using bluemix? https://github.com/NixOS/nixpkgs/pull/40147
<Mic92_> maintainer for bluemix-cli are welcome
<simpson> I use it, kind of.
<Mic92_> should be straight forward to maintain
hlolli has joined #nixos
<simpson> Nope, it's a POS. The `bx` plugins don't work at all on NixOS.
<Mic92_> Ok. I have not tested those.
<simpson> Oh, this isn't the bx part. I don't know these tools at all, sorry.
<Mic92_> in the worst case, you can docker your problems away.
<{^_^}> [nixpkgs] @rkoe opened pull request #40148 → ext4magic: init at 0.3.2 → https://git.io/vpKaT
iqubic has joined #nixos
joehh has joined #nixos
<ghostyy> how do i append to a list in nix expression language? i want to append "skein" to boot.initrd.luks.cryptoModules
logzet has quit [Remote host closed the connection]
<Mic92_> ghostyy: ++
<{^_^}> ghostyy:'s karma got increased to 1
<iqubic> what's the command to install packages for a single user, without going through the hassle of adding it to the right config file.
<Mic92_> now actually the operator ++
<ghostyy> oh thanks Mic92_
<iqubic> ghostyy: --
<iqubic> Looks like karma only goes up.
<Mic92_> karma
<Dezgeg> in case of a nixos option you'd only say boot.initrd.luks.cryptoModules = ["skein"] though
<ghostyy> what if i need the rest of them?
<rain1> how do i increment a variable in C?
<Mic92_> rain1: nice try
<ghostyy> rain1, ++
<{^_^}> rain1,'s karma got increased to 1
<ghostyy> obviously
<iqubic> So I want to install xmodmap just for my user, and not for everyone else. I think it's like "nix-env -iA..."
<iqubic> iqubic: ++
<{^_^}> iqubic:'s karma got increased to 1
<ghostyy> haha
<iqubic> Well, I found a bug in the system.
<ghostyy> iqubic, good job for finding that, why dont you give yourself a pat on the back
<srhb> It's not a bug, it's a feature. The bot was not exploited!
<ghostyy> or an additional karma
<iqubic> ghostyy: ++
<{^_^}> ghostyy:'s karma got increased to 2
<ghostyy> :P
<{^_^}> [nixpkgs] @knedlsepp opened pull request #40149 → qt5.qtwebengine: Fix darwin build → https://git.io/vpKaE
<Mic92_> iqubic: its xlibs.xmodmap
<iqubic> Mic92_: What's the full command? I don't actually know that.
<Mic92_> iqubic: nix-env -iA xlibs.xmodmap or nix-env -f '<nixpkgs>' -iA xlibs.xmodmap if you do not use channels
<jtojnar> 😮 Instead of binary pass/fail commit statuses, integrators can now report more fine-grained outcomes, such as a neutral conclusion
<kisik21> yeah, I now know why python3 doesn't work...
<kisik21> xonsh adds its own python3 in the path
<kisik21> and it collides with the python3 from /run/current-system/sw/bin/
<kisik21> I feel some serious hackery down there in xonsh derivation...
<Mic92_> kisik21: how are you using xonsh?
<iqubic> WHat is xonsh?
<Mic92_> a shell
<Mic92_> kisik21: I guess the python wrapper of our python infrastructure is adding that.
<kisik21> Mic92_: programs.xonsh.enable = true; and a patched script in /usr/local/bin so xonsh would find Python user site.
<kisik21> yes, your wrapper script adds python in the path
<kisik21> wait a sec... I think I could change it
<fogbugz234> services.xserver.windowManager.stumpwm.enable is using nixpkgs.stumpwm, which is marked as broken and which I've not been able to fix. However, nixpkgs.lispPackages.stumpwm seems to work fine. Is there any reason to prefer the former, rather than the latter? Would you accept a pull request modifying this?
<Mic92_> kisik21: you could use xonsh.override { python = ...; } maybe
<iqubic> The service I wrote earlier is working just as expected.
<kisik21> Mic92_: in override as in programs.xonsh.override?
<Mic92_> kisik21: programs.xonsh.package = xonsh.override { ... };
<Mic92_> kisik21: it expects python3Packages as input though
<{^_^}> [nixpkgs] @srhb opened pull request #40150 → zoom-us: liblgvnd fix for libGL.so in libpath → https://git.io/vpKVY
<kisik21> please remind me, overriding packages does allow to add to propagatedBuildInputs?
<mightybyte> What's the syntax for the URL argument to builtins.fetchGit?
<mightybyte> ...specifically for private github repos.
<srhb> mightybyte: It supports multiple, iirc, but if you're asking I guess you're looking for ssh://user@host/file.git -- I *think*
hlolli has quit [Ping timeout: 240 seconds]
<mightybyte> srhb: I've got that, but it's not working.
<mightybyte> I've tried every variation I can think of.
<stumble> fogbugz234: I'm a newbie, but since nobody else is replying: using lispPackages.stumpwm sounds sensible to me. That's the one people see if they search Nix packages.
<srhb> mightybyte: I just tested with builtins.fetchGit { url = "ssh://git@github.com/srhb/myprivaterepo.git"; }
<srhb> mightybyte: Appears to work?
<iqubic> What happens if a "oneshot" systemd service runs a command that ends up failing?
<kisik21> iqubic: I'd assume it is marked as failed.
<kisik21> and it will not be restarted, since it's oneshot.
joehh has quit [Ping timeout: 264 seconds]
<srhb> mightybyte: can you elaborate on not working? Is it just very, very, very, very slow?
<iqubic> That's good enough for me.
<iqubic> I mean I assume that things which rely on the internet will have some sort of fallback mechanic for if the internet is out.
<mightybyte> I'm getting "fatal: not a tree object"
<srhb> mightybyte: Do you have no master branch?
<mightybyte> I was specifying a rev.
<mightybyte> I wonder if that was the problem.
<srhb> You need a ref, too.
<srhb> In case the answer was "no" at least :-)
<srhb> At least, I think that's what I concluded.
<mightybyte> Ok, when I remove rev it works
<mightybyte> Progress!
<srhb> Woo
<mightybyte> Now what's the difference between rev and ref?
fare__ has joined #nixos
stumble has quit [Read error: Connection reset by peer]
<mightybyte> I want to point it at a particular commit hash just like with fetchGitHub
stumble has joined #nixos
<srhb> ref is the... um, ref from which to find the rev.
<LnL> revision (commit) vs a git ref (pointer to a commit)
<srhb> (Admittedly a poor and also recursive definition) :-)
<mightybyte> What does that mean?
<LnL> git ls-remote will show you the refs of a repository
<srhb> In effect, that fetchGit requires a ref (usually a branch) in which to go look.
<dtz> many instances of fetchFromGitHub pretend a ref is a rev, and IIRC fetchFromGitHub doesn't support using 'ref' anyway?
<LnL> things like branches, tags, ... are refs
<mightybyte> LnL: git ls-remote doesn't help me either. It gives me both commit hashes and branch names.
<LnL> isn't this builtins.fetchGit?
<dtz> so just FYI as far as fetchFromGitHub goes its use is not a good indicator of what rev/ref are meant to be lol
<dtz> if you have a commit hash, you want 'rev', should work with fetchGit ?
jrolfs_ has joined #nixos
<mightybyte> dtz: Yeah, that's what I was doing.
<mightybyte> But it wasn't working.
<LnL> only if it's part of HEAD
<mightybyte> Ahh
<dtz> really need to fix this--is there a tracking issue on NixOS/nix about this?
<mightybyte> So if it's on a different branch I have to specify the branch in ref?
<LnL> ie whatever the default branch is on the remote
<dtz> mightybyte: thinkso, yes, but I'm not sure if that's intentional/desired behavior or not
<mightybyte> dtz: Yeah, it's pretty sad that I couldn't even figure this out while reading the documentation.
<dtz> suspect it's more working around what the implementation does than anything else
<mightybyte> It really should work like fetchFromGitHub
<{^_^}> [nixpkgs] @yrashk opened pull request #40151 → sit: better fix for aarch64 bug → https://git.io/vpKwz
xy2_ has quit [Ping timeout: 268 seconds]
stumble has quit [Read error: Connection reset by peer]
stumble has joined #nixos
<{^_^}> [nixpkgs] @rkoe opened pull request #40152 → cups-utax: init at 20140115 → https://git.io/vpKwK
jrolfs_ has quit [Ping timeout: 260 seconds]
stumble- has joined #nixos
stumble has quit [Read error: Connection reset by peer]
stumble- has quit [Ping timeout: 268 seconds]
<fogbugz234> stumble- thanks yes I think using nixpkgs.lispPackages.stumpwm instead of nixpkgs.stumpwm makes sense
jrolfs_ has joined #nixos
<{^_^}> [nixpkgs] @davidak opened pull request #40153 → plank: init at 0.11.4 → https://git.io/vpKok
day|flip has joined #nixos
tertle||eltret has joined #nixos
jrolfs_ has quit [Ping timeout: 240 seconds]
ericsagnes has quit [Ping timeout: 256 seconds]
<day|flip> I been trying to figure out how to get around with app theme. that normally read from /usr/share/appnamehere/themes/. question is how will i be able to add and edit a new theme. app be able to read from that folder. i tried using "environment.pathsToLink = [ path/to/app/themes ]" but problem is i can't edit or add due to read only folder and files
wchresta_ has joined #nixos