gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || 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, #nixcon
<ldlework> Is there anything in NixOS for generating self-signed certs?
<ldlework> I need a self-signed cert generated in /var/lib/znc/znc.pem
<clever> kandinski: nix-env -f ~/nixpkgs -iA hello
<sb0> sphalerit: it's not a common target
<sb0> sphalerit: I'm running nix-shell on this https://hastebin.com/siwaqufaha.cs
<sb0> inexplicably, it installs the system x86 binutils
<kandinski> clever: suggest I put the signal-desktop package in /home/kandinski/nixpkgs, modify it and install from there?
<kandinski> or just the tiff-debian derivation?
<{^_^}> [nixpkgs] @worldofpeace opened pull request #45095 → nixos/zeitgeist: init → https://git.io/fNxFJ
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
<clever> kandinski: when you can, edit a copy of nixpkgs, and then file a PR to github
<kandinski> clever: PR against master branch?
<clever> yeah
<kandinski> ta
jiaew3 has joined #nixos
erickomoto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erickomoto has joined #nixos
init_6 has quit []
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fNxbI
kyren has joined #nixos
johnw has quit [Ping timeout: 272 seconds]
doyougnu has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #44699 → nodePackages.tiddlywiki: init at 5.1.17 → https://git.io/fNyxk
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fNxbR
<{^_^}> [nixpkgs] @matthewbauer merged pull request #44879 → nodePackages.jake init, nodePackages.madoko init → https://git.io/fN79g
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/fNxb0
abueide has joined #nixos
NinjaTrappeur has quit [Ping timeout: 256 seconds]
BlessJah has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #44029 → cplex: init at 12.8 → https://git.io/fN8b9
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @bfortz to master « cplex: init at 12.8 (#44029) »: https://git.io/fNxbi
ZeDestructor has quit [Ping timeout: 256 seconds]
alexteves has quit [Remote host closed the connection]
klntsky has quit [Ping timeout: 250 seconds]
ZeDestructor has joined #nixos
NinjaTrappeur has joined #nixos
klntsky has joined #nixos
mayhewluke has quit [Ping timeout: 268 seconds]
BlessJah has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #42721 → Update simgrid 3.19.1 -> 3.20 + parallel tests + enable darwin → https://git.io/f4FCu
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @mickours to master « Update simgrid 3.19.1 -> 3.20 + parallel tests + enable darwin (#42721) »: https://git.io/fNxbH
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #43550 → rofi-systemd: init at 0.1.0 → https://git.io/fNmji
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fNxbb
abueide has quit [Remote host closed the connection]
abueide has joined #nixos
abueide has quit [Max SendQ exceeded]
johnw has joined #nixos
abueide has joined #nixos
jiaew3 has quit [Ping timeout: 252 seconds]
ericsagnes has joined #nixos
{^_^} has quit [Remote host closed the connection]
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> :eyes:
mayhewluke has joined #nixos
weq21 has joined #nixos
<weq21> ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­
<weq21> ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ https://i.redd.it/8w0r915sm1ty.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­
weq21 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<Enzime> gchristensen: maybe not the best idea to -r? ;p
<ldlework> heh
<clever> #osdev tried that a few hours ago, and had the same discovery
<Enzime> TIL of mode +z
<Enzime> "The effects of +b, +q, and +m are relaxed. For each message, if that message would normally be blocked by one of these modes, it is instead sent to channel operators (+o)."
<Enzime> if you wanted you could do +mz
<clever> you would then need to +v everybody
<Enzime> then opers would have to see each message and vet it then could +v the user
timclassic has joined #nixos
<Enzime> clever: yeah, it'd be kinda annoying in a big channel if there aren't enough ops
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
slack1256 has joined #nixos
<cmcdragonkai> Is there a consensus or a discussion or issue about which language packages are "good enough" to be packaged inside nixpkgs like Python and Haskell, and which ones are more haphazardly packaged like NodeJS and almost none at all for PHP. Does it make sense for language specific libraries to be eventually moved outside of nixpkgs into their own repos and package sets for their respective communities to manage...?
<samueldr> the biggest issues AFAIUI is that nixpkgs cannot import them since it won't do IFD
<samueldr> ,IFD
thc202 has quit [Ping timeout: 240 seconds]
<samueldr> [21:40:40] <{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2
Supersonic has quit [Ping timeout: 256 seconds]
<samueldr> (I think the bot's taking a nap)
<angerman> where does `nix-shell` get `$TMP` from?
epic22 has joined #nixos
<epic22> ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ http://magaimg.net/img/wqz.jpg ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­
epic22 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<benkolera> Ty gchristensen .
<emily> wow, old school
Supersonic has joined #nixos
<gchristensen> (I'll put it backwhen I can also set +f)
<benkolera> That spam is a bit rough when you are at work and your client autoembeds images.
<gchristensen> yikes
<benkolera> OK. gonna have to turn off embedding for this channel. lol
graphene has quit [Remote host closed the connection]
<angerman> benkolera: work from home :p
<gchristensen> ok there we go
<gchristensen> sorry benkolera, that is obviously not what we're all about here.
graphene has joined #nixos
<benkolera> All good. Everyone is suffering similarly in this spam flood. Channels can't exist without +r anymore. :(
<angerman> so I need to do `nix-shell` and then set `export TMP=$(mktemp -d)`; why wouldn't nix do that on its own?
<gchristensen> I was hoping freenode's recent improvements made it unneeded
<jonreeve> lHi everyone, what would be the appropriate way of installing OMF (oh-my-fish) and a few plugins for the fish shell? Should I try to write a package for it?
selfsymmetric-mu has quit [Remote host closed the connection]
<ldlework> With 'nixops create' what is the point of the supplying multiple files? How are they combined?
<clever> ldlework: if the files define different machines, then the cluster will have all of those machines
<clever> ldlework: and if 2 files define the same machine, the config is merged, the same way nixos modules merge when added to imports
Fare has joined #nixos
<clever> ldlework: you could also have 3 files, machines.nix defines every machine in the cluster, aws.nix sets aws options, and vbox.nix sets vbox options
<ldlework> clever: i followed an example, and i have a foo.nix and a foo-aws.nix and they both define foo attributes. in foo.nix foo is defined as a nix module - in foo-aws.nix foo is defined as a function taking "resources" which defines some AWS settings
<clever> ldlework: then you can create a machines.nix+aws.nix cluster for amazon, and machines.nix+vbox.nix to deploy the same cluster to virtualbox
<ldlework> clever: right but how are the expressions in the files merged?
<clever> ldlework: resources is a argument nixops adds to all nixos modules
<ldlework> they both define "foo = "
<clever> ldlework: the exact same way as nixos modules being added to the imports field of configuration.nix
<ldlework> that doesn't seem right though
<ldlework> let me pastebin my shiz
<clever> ldlework: gist helps when dealing with multiple files
<ldlework> yeah
<clever> ldlework: lines 8 and 5 are both nixos modules, the ... causes them to just ignore some of the args that the other happens to not ignore
<ldlework> see, sophos is defined as a nix module in one file, and a function taking "resources" in the other
<ldlework> oh I see
selfsymmetric-mu has joined #nixos
<clever> ldlework: { resources, ... }: is still a nixos module
<ldlework> that doesn't quite explain how they are assigned to the same attribute
<clever> you can just do { config, pkgs, resources, ... }: and put all of that into one file if you choose to
<ldlework> it isn't like modules can be merged like lists or whatever
<clever> the nixos module framework takes 100's of modules like this
<clever> and will then merge them all, based on the option types
<ldlework> ok so are the attribute names here basically meaningless?
<ldlework> or do they relate to the nixos deployment name
<clever> the attribute names have to match for it to merge them
<clever> if they dont match, then nixops will create 2 seperate machines
<ldlework> clever: does it like, not merge the modules, per se, but merges their result?
<clever> i believe it creates a list of modules, grouped by the hostname (the key in the nixops file)
<clever> and then it does a nixos build over each list
<clever> so its basicaly as-if you had the following in configuration.nix
<ldlework> ok at least i understand a bit better and I can break up my file a bit this way
<clever> { imports = [ (import ./sophos-aws.nix).sophos (import ./sophos.nix).sophos ]; }
<ldlework> oh okay so the attributes are just used for grouping
<ldlework> that makes more sense to me
<clever> nixops adds 2 extra arguments that nixos modules can accept, nodes, and resources
<clever> nodes is a set of every other machine in the cluster, so you can do nodes.sophos.config,services.whatever to read the config of another machine
<clever> and resources is the non-machine stuff defined in the nixops files
<clever> in your gist, the only resource is an ec2 keypair
<ldlework> thanks for the explication
<clever> a common reason to split them up like in your gist, is that you can create a sophos-vbox.nix, that sets deployment.targetEnv = "virtualbox"; instead
<clever> and then if you just swap that file out, you can test the same setup there
<ldlework> that's cool
<clever> ldlework: here is how i manage my house: https://github.com/cleverca22/nixos-configs/blob/mast
<clever> by just setting targetHost on each machine, nixops will ssh into it and take over
<clever> and then imports grabs a normal nixos module
<ldlework> 404
<Enzime> can someone build this PR for me?
<Enzime> I believe it fixes lensfun on aarch64
kyren has joined #nixos
<ldlework> clever: if there is a setting like config.foo.<bar>.enable how can I define the option if I have the value of bar in a variable?
<ldlework> I don't need to define an option, just declare its value
<clever> foo.${variable}.enable
<ldlework> nice
nix-build has joined #nixos
<gchristensen> {^_^} is known as nix-build for the night
<gchristensen> ,IFD
<nix-build> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2
<gchristensen> the other nick connected / quit too many times trying to fix a join bug and has been blacklisted for a few minutes-to-hours but I'm going to bed now, so can't find out :) 'night.
<cmcdragonkai> When importing nixpkgs (via a fetch), and then reimporting it because you want to apply different overlays, is that an example use of IFD?
<clever> cmcdragonkai: depends on if you need to complete any builds to do that
<cmcdragonkai> Yep, I have builds that need an overlay "override".
<ldlework> I'm doing a (for me) tricky thing. There are some options like I described above (config.foo.<bar>.enable). I want to define my own options such that I take less parameters than the existing options and I set some defaults. I think I understand how to define some options such that it accepts a list of entries... but what I'm totally lost on is how I would then map over the value of my list and assign the
<ldlework> generated values for config.foo.<bar> entries. Maybe I'm going too far.
scott has joined #nixos
<ldlework> yeah too confusing
<sb0> how do I install something from a local copy of nixpkgs?
<clever> ldlework: that sounds like what 99% of nixos modules do
<sb0> I found this:
<clever> ldlework: they just define some options, piece together a few strings, then set other options, usually ending in systemd or environment
<sb0> but:
<sb0> $ nix-env -iA nixos.firefox -f ~/nixpkgs-unstable
<sb0> error: the expression selected by the selection path 'nixos.firefox' should be a set but is a function
<clever> sb0: drop the nixos.
<sb0> ah, thanks
IRCsum has quit [Remote host closed the connection]
<ldlework> I actually don't quite understand how to make my own foo.<bar> options and process them in the config section
<nix-build> [nixpkgs] @peterhoeg pushed to master « spectre-meltdown-checker: minor cleanup »: https://git.io/fNxjJ
DigitalKiwi has joined #nixos
IRCsum has joined #nixos
IRCsum has quit [Remote host closed the connection]
<clever> ldlework: this is a rather basic one, that doesnt actually have any options
<clever> ldlework: this one has a single enable flag: https://github.com/cleverca22/nixos-configs/blob/master/arcstats.nix
<clever> ldlework: this one always installs vim, but can adjust how complex the vim is: https://github.com/cleverca22/nixos-configs/blob/master/vim.nix
<ldlework> clever: none of these things do the thing where you can name any number of option names
IRCsum has joined #nixos
<ldlework> kinda like how you do systemd services with config.services.<service-name>
<ldlework> and then anything you define there gets processed independently
<clever> this defines fileSystems.<name>.iscsi.enable
<ldlework> so it is just options = [ option-defs ]; ?
<clever> that is one way of doing it, there are about 3 i think
<clever> ldlework: this is where the rest of the options are defined: https://github.com/NixOS/nixpkgs/blob/release-18.03/nixos/modules/tasks/filesystems.nix#L149-L162
<clever> that one is using loaof (list of attribute set of) and a submodule
<clever> these 2 seem to be compatible, because i had no trouble mixing the 2 and adding my own things to fileSystems, lol
<ldlework> clever: so it is actually type = types.loaOf (types.submodule [ ???? ]) ?
<clever> that is a second way of doing it
<ldlework> how are they processed in config?
<ldlework> during config resolution, or whatever you call that step
<ldlework> option declaration? option definition? I always get them mixed.
<clever> if you set fileSystems."/" = ...; in 2 different files, it will just recurse into both, and merge based on the types in the submodule
<clever> label has a type of nullOr nonEmptyStr, so it can only be set once, and trying to merge is a fatal error
<ldlework> clever: I mean how do you handle foo.bar and foo.baz
IRCsum has quit [Remote host closed the connection]
<ldlework> ffffff
<clever> other code in the same file should use something like map to iterate over all values, and apply them to another config option
IRCsum has joined #nixos
<clever> its a fairly complex area of nixos
<ldlework> fun employment would be to extract all this knowledge out of the community and put it into user introductory material
<ldlework> not that i really understand what we just went over anyway
IRCsum has quit [Remote host closed the connection]
IRCsum has joined #nixos
<ldlework> summarizing, you define the option type that will be repated, then where the option is repeated, you use one of the two techniques shown and refer to the first option type setup. in the config option you simply utilize the option values as structured data and do whatever it is that you want
<clever> yeah
<elvishjerricco> So I've got an openvpn server that all my machines use to be able to see each other at all times. Is it possible to get them to see each other by their hostnames over this network, while still preferring any other network they can see each other on? I.e., I want to use the same hostname no matter where I am, but prefer the local network when both machines are at home.
<clever> ldlework: and the submodule has an extra argument called name
<clever> so when you set fileSystems."/".foo, it will call this function with name == "/"
<clever> ldlework: line 62 then maps that into the mountPoint option
<clever> so its identical to fileSystems = [ { mountPoint = "/"; foo = ...; } ];
<ldlework> clever: what makes this all confusing
<ldlework> or more confusing than it already is
<ldlework> is that it seems like the module system is being for non-module-y things?
<ldlework> to just have a way to express a way to merge attrsets and stuff?
<ldlework> do people wield the module-merging machinery all the time like this
<clever> those sets still have types for all of there keys
<sb0> now, how do I install a python package from this locak nixpkgs?
<sb0> *local
<ldlework> clever: like, it is a functio nthat returns { options = ...; config = ...; }, so I imagine then, that this being accmulated somewhere and the module merge machinery is being called on it?
<sb0> this doesn't work:
<sb0> nix-env -iE 'python3.withPackages (ps: with ps; [ h5py ])' -f ~/nixpkgs-unstable
<clever> ldlework: yeah, thats part of how submodules work
<ldlework> lol submodules
<ldlework> lord
<clever> this is a simple example
* ldlework 's foothold crumbles and he is soon falling deeper into the API and File-format fractal of his life
IRCsum has quit [Remote host closed the connection]
<clever> services.nginx.virtualHosts."www.example.com".locations."/".root = /foo;
kiloreux has quit [Ping timeout: 240 seconds]
<clever> this is a submodule, inside a submodule!
<sb0> "nix-shell -p python3Packages.h5py ~/nixpkgs-unstable/default.nix" also throws a syntax error in default.nix (???)
<clever> sb0: you cant mix -p and default.nix files
IRCsum has joined #nixos
<ldlework> clever: are you using "submodule" to refer to any time someone does one of these arbitrary list of string-attr option collections things.
jperras has quit [Quit: WeeChat 2.2]
<clever> sb0: nix-shell -E 'python3.withPackages (ps: with ps; [ h5py ])' -I nixpkgs=$HOME/nixpkgs-unstable
<clever> both parts are using types.submodule
<sb0> ah, -I nixpkgs= ...
<sb0> I had tried -I only
<clever> sb0: oops, -p not -E
<ldlework> clever: i feel like i need a 6 week on site nix bootcamp where you sleep in a dusty dorm room, wake up, have cafeteria breakfast with folks and then just consume lectures for 12 hours
<ldlework> let's get that going
<sb0> yay, that works thanks
<clever> sb0: -I foo/ and <nixpkgs> will try to use foo/nixpkgs
<sb0> even -p python3Packages.h5py
<clever> sb0: the same as -I in gcc
IRCsum has quit [Remote host closed the connection]
<sb0> well both "-I ~/nixpkgs-unstable/" and "-I ~/nixpkgs-unstable" do not work
IRCsum has joined #nixos
<clever> sb0: yeah, because when nix does <nixpkgs> it resolves to ~/nixpkgs-unstable/nixpkgs
<clever> which probably doesnt exist
<clever> so nix ignores that -I entry, and goes to the next thing in $NIX_PATH
IRCsum has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @Chiiruno opened pull request #45098 → Fix hydron service, update hydron and meguca → https://git.io/fNxjX
IRCsum has joined #nixos
justan0theruser is now known as justanotheruser
kiloreux has joined #nixos
IRCsum has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 240 seconds]
slack1256 has quit [Ping timeout: 244 seconds]
emacsomancer has quit [Read error: Connection reset by peer]
IRCsum has joined #nixos
emacsomancer has joined #nixos
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
growpotkin has left #nixos [#nixos]
slack1256 has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<elvishjerricco> Hm. My MacBook fails to wake from either suspend or hibernate
<elvishjerricco> I just switched it to (encrypted) ZFS, though I never tried either before the switch.
rprije has quit [Remote host closed the connection]
jD91mZM2 has joined #nixos
rprije has joined #nixos
<elvishjerricco> Looking at the journalctl, it looks as though it reaches suspend or hibernate just fine; no errors or anything. But the very next line is the reboot message from after I've forced it off and on again.
<nix-build> [nixpkgs] @worldofpeace opened pull request #45099 → granite: 0.5 -> 5.0 → https://git.io/fNpeX
kyren has joined #nixos
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
emacsoma` has joined #nixos
emacsomancer has quit [Ping timeout: 256 seconds]
jonreeve has quit [Ping timeout: 268 seconds]
mayhewluke has quit [Ping timeout: 244 seconds]
mayhewluke has joined #nixos
yosemitesam has joined #nixos
<elvishjerricco> Is there a way to see the dmesg log from the last session?
Drakonis has joined #nixos
<elvishjerricco> Assuming `journalctl -k -b -1` is what I want, then yea, the last message just says `PM: suspend entry (s2idle)`. No kind of attempt to wake, it seems.
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hyper_ch> Hmmm, i just had an interesting issue... z_rd_int spawned about 5+ processes and it read my SSD mirror for like 15 min at full speed.... couldn't really use my notebook anymore.
<hyper_ch> wrong channel
endformationage has quit [Quit: WeeChat 1.9.1]
simukis has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
orivej_ has joined #nixos
<nix-build> [nixpkgs] @aszlig pushed to release-18.03 « nixos/systemd: Allow to override serviceConfig »: https://git.io/fNpfz
graphene has quit [Remote host closed the connection]
Guanin has quit [Ping timeout: 260 seconds]
graphene has joined #nixos
<nix-build> [nixpkgs] @kalbasit opened pull request #45100 → flash: 30.0.0.134 -> 30.0.0.154 → https://git.io/fNpfb
Guanin has joined #nixos
lewo has quit [Remote host closed the connection]
lewo has joined #nixos
<YellowOnion> I'm trying to build a haskell app with nix, and one of my depedencies is refusing to compile because of a version error, anyone know how to fix this?
cbarrett has joined #nixos
<YellowOnion> I don't even need this depedancy since it's just a testing library.
Ridout has quit [Ping timeout: 240 seconds]
erickomoto has quit [Quit: Textual IRC Client: www.textualapp.com]
rauno has joined #nixos
eskytthe has joined #nixos
kiloreux has quit [Ping timeout: 256 seconds]
kiloreux has joined #nixos
kyren has joined #nixos
kiloreux has quit [Ping timeout: 256 seconds]
trylist has joined #nixos
abueide has quit [Ping timeout: 240 seconds]
Drakonis has quit [Remote host closed the connection]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kiloreux has joined #nixos
trylist has quit [Quit: WeeChat 2.2]
revtintin has joined #nixos
Izorkin has quit [Ping timeout: 240 seconds]
<nix-build> [nixpkgs] @Mic92 merged pull request #44904 → Dlang update → https://git.io/fN5E7
<nix-build> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fNpUd
<nix-build> [nixpkgs] @peterhoeg opened pull request #45101 → microcodeIntel: 20180312 -> 20180807 and iucode-tool: init at 2.3.1 → https://git.io/fNpTi
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nix-build> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/da9efe97d90 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
kyren has joined #nixos
<typetetris> is this sauerbraten build failure already resolved?
massimo_zaniboni has joined #nixos
mzan has quit [Ping timeout: 256 seconds]
trcc has joined #nixos
thetet has joined #nixos
Ariakenom has joined #nixos
kalbasit[m] has quit [Read error: Connection reset by peer]
oharvey has quit [Read error: Connection reset by peer]
kalbasit[m] has joined #nixos
yosemitesam has quit [Remote host closed the connection]
oharvey has joined #nixos
<sphalerite> typetetris: sort of. I worked out the issue but didn't patch it properly.
<sphalerite> typetetris: I usually use the community edition, hang on, I'll give you the expression
<typetetris> sphalerite: Maybe comment on #45088
<nix-build> https://github.com/NixOS/nixpkgs/issues/45088 (by alexeymuranov, 9 hours ago, open): sauerbraten-r5000: installation fails on NixOS 18.03
<typetetris> looks like sauerbraten does some weird redefinition of `gamma` and `__gamma` macros.
<typetetris> in src/shared/cube.h
<sphalerite> yep
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<typetetris> that does not look legal
<ldlework> How do you debug Nixlang? Is there a version of print debugging? :)
jbetz has joined #nixos
<typetetris> there are trace builtins
<ldlework> no idea how to track down: value is a string while a set was expected
<jbetz> how do I increase the internal transfer buffer size and socket buffer size for a ftp server running on nixos? (using vsftpd specifically)
<typetetris> Idlework: pastebin the error somewhere and post an url here?
<sphalerite> typetetris: --show-trace is useful for that sort of thing also
<jbetz> my upload speed is really slow, and I found a solution for filezilla servers that says to bump those limits, but I can't find the corresponding options in the vsftpd config (http://www.andrewwhyman.com/blog/servers/solution-to-slow-ftp-server-speeds-filezilla-and-others/)
<nix-build> [nixpkgs] @Mic92 merged pull request #45100 → flash: 30.0.0.134 -> 30.0.0.154 → https://git.io/fNpfb
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNpIl
aarvar has quit [Ping timeout: 245 seconds]
hamishmack has joined #nixos
massimo_zaniboni has quit [Read error: Connection timed out]
<ldlework> typetetris: I am trying to implement a submodule option
massimo_zaniboni has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
vidbina_ has joined #nixos
<ldlework> typetetris: sphalerite any idea?
<sphalerite> ldlework: what command are you using?
<ldlework> sphalerite: I'm deploying with nixops
<ldlework> nixops deploy
<sphalerite> ldlework: because that file looks like a machine specification to me, not a network specification
<sphalerite> yes but how did you create it
<ldlework> This isn't a nixops file
<ldlework> It is just a nixos module
<ldlework> I'm trying to create a module which abstracts infinisil's ZNC module
<ldlework> Basically, infinisl's module introduces services.znc.User.<username> as a submodule
<ldlework> I wanna create config.mine.znc.users.<username> to be a submodule, but with less options
<ldlework> Because i always use the same settings on every user, etc I want to cutdown on boilerplate
<ldlework> but something is not right with my own options as defined. I can't really read nixos tracebacks
__monty__ has joined #nixos
<ldlework> but not sure what it is telling me
<srhb> Where is config.mine.znc.users defined?
<srhb> The value, not the option.
<ldlework> in the nixops file
<ldlework> mine.znc = {
<ldlework> enable = true;
johanot has joined #nixos
<ldlework> users.socratease.password = "foobar";};
<srhb> Careful with multiline pastes, freenode spambots might catch you.
<ldlework> i figured 3 was safe :)
<srhb> Probably, yeah :)
<ldlework> srhb: any idea?
<srhb> I think we need this bundled up in something easily experimented with, I can't see the problem immediately.
<ldlework> oof
<ldlework> srhb: is it enough to share the underlying infinisil module I stole
<ldlework> I think you can clone gists
<ldlework> let me add the files
johanot has quit [Quit: Lost terminal]
<srhb> Something I can include in a configuration easily and start making changes. :)
<nix-build> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/da9efe97d90 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<nix-build> [nixpkgs] @jbedo opened pull request #45102 → hisat2: init 2.1.0 → https://git.io/fNpte
<sphalerite> Is it new that the output paths of failed drvs are kept? It's been coming in really useful for me just now
slack1256 has quit [Ping timeout: 240 seconds]
revtintin has quit [Quit: WeeChat 2.1]
revtintin has joined #nixos
<srhb> I only knew that failed hashes got imported under the right ones.
<srhb> what you're describing sounds new to me too
<nix-build> [nixpkgs] @jtojnar merged pull request #43633 → pulseeffects, lightdm-gtk-greeter, gxmessage, viking: depend on hicolor-icon-theme → https://git.io/fNOdl
<nix-build> [nixpkgs] @jtojnar pushed 5 commits to master: https://git.io/fNptY
<ldlework> srhb: you should be able to clone git@gist.github.com:746fd41553ef84ea1fedf390156326d2
<ldlework> srhb: you should then be able to add znc.nix to your imports
<ldlework> and it should work if I know anything about nix at all :(
<srhb> ldlework: ok :)
<ldlework> newznc.nix / opts.nix are infinisil's new module
<srhb> Gotcha
<ldlework> znc.nix is the "mine" module I'm trying to make
massimo_zaniboni has left #nixos [#nixos]
<nix-build> [nixpkgs] @bendlas pushed 3 commits to master: https://git.io/fNpty
<srhb> ldlework: Well, you have found the location of the problem already, with your trace
<srhb> ldlework: That's supposed to be a string. i'm guessing you're not doing whatever transformations the newznc module is doing before setting that?
<ldlework> srhb: the newznc module expects stuff like
<ldlework> Users.ldlework = { ... some config ... };
<ldlework> so I thought I generated an attrset just like I would set if i were setting the options normally
<ldlework> with each key being a username
<ldlework> and each value being the attrset I would normally assign to the username
<ldlework> this is the attrset I would usually write out by hand when configuring
<ldlework> I figured the result would be that attrset I could just assign here, https://gist.github.com/dustinlacewell/746fd41553ef84ea1fedf390156326d2#file-znc-nix-L55
<nix-build> [nixpkgs] @srhb merged pull request #45085 → gitkraken: 3.6.6 -> 4.0.1 → https://git.io/fNxoD
<nix-build> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fNpqf
<nix-build> [nixpkgs] @boj opened pull request #45103 → Add maintainer boj → https://git.io/fNpqT
<ldlework> srhb: here is an example of me using the newznc module unwrapped, https://gist.github.com/dustinlacewell/0515db1b2285321f14c67cd405866da1
<srhb> ldlework: Maybe it is a little too early to look at this, but I guess the problem then is that the way you're using newznc is not causing apply to fire corretly...
<ldlework> just using it as normal
<ldlework> srhb: thanks for taking a look though
<ldlework> Just trying to remove some duplication/boilerplate, but it is no big deal in the end.
<srhb> ok, here's the easier way then
<srhb> Make a function that takes whatever kind of attribute set you like
thc202 has joined #nixos
<srhb> And then newznc = yourFunction yourValue
<srhb> No extra modules.
<ldlework> heh
<ldlework> not bad and I can ask infinisil later about the issue
philippD has joined #nixos
<srhb> Yeah, I can't brain module related issues right now it seems. xD
<ldlework> hehe
<srhb> I feel like it's *handwave* a problem with the merging/applying rules relating to setting the value as another option
<srhb> But meh
<srhb> Let's ask infinisil :-P
<ldlework> yeah :D
<ldlework> I did make an easy reproducable case :)
<ldlework> srhb: it did reproduce for you right?
thetet has quit [Quit: Leaving.]
<ldlework> how do you test crap like that btw
<ldlework> personally
<srhb> It did, yes.
<srhb> Um, I generally don't make things that complicated, so usually my stack traces are a bit clearer, to be perfectly frank...
<nix-build> [nixpkgs] @bendlas pushed to master « dropbox: update installer base version »: https://git.io/fNpqg
<srhb> But other than that, the usual things: Start commenting out things in a bisection-like manner until it builds, then start building back up the intended functionality
<nix-build> [nixpkgs] @srhb merged pull request #45090 → samba: 4.7.6 -> 4.7.9 → https://git.io/fNx1w
<nix-build> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fNpqa
<nix-build> [nixpkgs] @srhb pushed 2 commits to release-18.03: https://git.io/fNpqV
<nix-build> [nixpkgs] @srhb merged pull request #45091 → samba: 4.7.6 -> 4.7.9 → https://git.io/fNx1r
mayhewluke has quit [Ping timeout: 240 seconds]
<ldlework> srhb: I meant how do you run it. In a VM?
mzan has joined #nixos
TheBrayn has quit [Quit: poof]
<srhb> ldlework: Oh, made a minimal nixos-config that included that and a test configuration and pointed nixos-rebuild at it :)
<srhb> ldlework: nixos-rebuild build -I nixos-config=path-to-test-file.nix
<srhb> Otherwise you can make it easily nix-buildable with...
<srhb> (import <nixpkgs/nixos> { configuration = testconfig }).config.system.build.toplevel
<srhb> Which is essentially what nixos-rebuild does
mayhewluke has joined #nixos
goibhniu has joined #nixos
<srhb> The latter is especially great for packaging up a test case for someone else to work with imo :)
<srhb> Because you can just call it default.nix and people will know to nix-build it
<manveru> i really wish more default.nix files were just nix-build-able :)
orivej_ has quit [Ping timeout: 244 seconds]
<srhb> manveru: I think what we really need is nix-build --call-package
TheBrayn has joined #nixos
<srhb> Because default.nix'es that specify their actual dependencies rather than just pkgs are superior.
<srhb> But inconvenient for nix-build :)
<manveru> i support both :P
johanot has joined #nixos
<manveru> `nix-build -E '(import ./. { pkgs = (import <nixpkgs> {}); }).redzone'`
<manveru> but yeah
<manveru> not very obvious
<srhb> Indeed.
<srhb> Wait, I don't understand that... :P
<srhb> Oh
<srhb> You're handling the case where it doesn't take pkgs ? import <nixpkgs> {}
<manveru> yeah
<srhb> That's even worse.
<manveru> well, with fixed version of nixpkgs
<ldlework> what about lib?
<srhb> What about it?
<ldlework> how do I make a default for it?
goibhniu has quit [Quit: Leaving.]
<srhb> I think you're talking about nixos configurations' lib?
<manveru> then you can do `{ pkgs = import ./nixpkgs.nix; ruby = pkgs.ruby; ...}`
<srhb> Because pkgs.lib is just... Well, pkgs.lib
<ldlework> I see
<srhb> manveru: Right, but even if the default.nix specifies a default nixpkgs to use, you can still override it...
<srhb> If it doesn't, it's just annoying in the case where you just want "a nixpkgs, don't care which version"
<nix-build> [nixpkgs] @pSub merged pull request #44961 → mimic: init at 1.2.0.2 → https://git.io/fNdul
<nix-build> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fNpmE
goibhniu has joined #nixos
<ldlework> nix-repl /nixcfg/lib
<ldlework> error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied
<srhb> `nix repl`
<ldlework> I see
<ldlework> also, did I manage to put a newline into an irc message somehow?!
<srhb> Yup.
<ldlework> on my client there is a newline after nix-repl
<ldlework> wtfff?!
<srhb> ldlework: Technically you just had a looooooot of whitespace and it linewrapped
<ldlework> ohh
<ldlework> lmao
<ldlework> my whole world was crumbling apart
<srhb> Easy now ;)
grumble has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @Mic92 merged pull request #45092 → terragrunt: 0.16.5 -> 0.16.6 → https://git.io/fNxMh
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNpmy
<ldlework> how do I get nix repl to print out a full tree
grumble has joined #nixos
<ldlework> ah
<ldlework> :p
<nix-build> [nixpkgs] @Mic92 merged pull request #45098 → Fix hydron service, update hydron and meguca → https://git.io/fNxjX
<nix-build> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fNpm5
<manveru> srhb: at least you get a version of nixpkgs that you know works
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNpmN
<nix-build> [nixpkgs] @Mic92 merged pull request #45097 → p7zip: vendor debian patches → https://git.io/fNxxD
<manveru> i'm also in favor of passing an src argument with default value :P
mirlur[m] has quit [Remote host closed the connection]
indefini[m] has quit [Remote host closed the connection]
forex[m] has quit [Remote host closed the connection]
card[m] has quit [Remote host closed the connection]
panther320[m] has quit [Remote host closed the connection]
gudea[m] has quit [Remote host closed the connection]
srid[m] has quit [Remote host closed the connection]
joh[m] has quit [Remote host closed the connection]
darkmeson[m]1 has quit [Remote host closed the connection]
ldesgoui[m] has quit [Remote host closed the connection]
sudoreboot[m] has quit [Remote host closed the connection]
mudri[m] has quit [Read error: Connection reset by peer]
Zurdo[m] has quit [Read error: Connection reset by peer]
pauricthelodger[ has quit [Read error: Connection reset by peer]
davidak[m] has quit [Read error: Connection reset by peer]
PeterRomfeld[m] has quit [Remote host closed the connection]
abbafei[m] has quit [Remote host closed the connection]
fishy[m] has quit [Remote host closed the connection]
darkmeson[m] has quit [Read error: Connection reset by peer]
lycium[m] has quit [Write error: Connection reset by peer]
trikl[m] has quit [Remote host closed the connection]
Demyan[m] has quit [Remote host closed the connection]
have-quick[m] has quit [Read error: Connection reset by peer]
NickHu[m] has quit [Read error: Connection reset by peer]
DanielSchfer[m] has quit [Read error: Connection reset by peer]
ArdaXi[m] has quit [Read error: Connection reset by peer]
TimePath[m] has quit [Read error: Connection reset by peer]
Ralith has quit [Read error: Connection reset by peer]
ahbnr[m] has quit [Read error: Connection reset by peer]
TaoHansen[m] has quit [Read error: Connection reset by peer]
octalsrc[m] has quit [Read error: Connection reset by peer]
bhipple[m] has quit [Read error: Connection reset by peer]
offlinehacker[m] has quit [Remote host closed the connection]
gbuisson[m] has quit [Remote host closed the connection]
Elephant454[m] has quit [Remote host closed the connection]
adisbladis[m] has quit [Remote host closed the connection]
primeos[m] has quit [Remote host closed the connection]
gh0st[m] has quit [Read error: Connection reset by peer]
codyopel[m] has quit [Read error: Connection reset by peer]
felipeac[m] has quit [Remote host closed the connection]
AndrewMiloradovs has quit [Remote host closed the connection]
fearlessKim[m] has quit [Remote host closed the connection]
Christian[m]7 has quit [Remote host closed the connection]
PlasmaStrike[m] has quit [Remote host closed the connection]
mica[m] has quit [Remote host closed the connection]
iceTanner[m] has quit [Remote host closed the connection]
JaakkoLuttinen[m has quit [Remote host closed the connection]
Dezgeg[m] has quit [Read error: Connection reset by peer]
thefloweringash[ has quit [Read error: Connection reset by peer]
DavidLeung[m] has quit [Read error: Connection reset by peer]
slabity[m] has quit [Read error: Connection reset by peer]
wervenyt[m] has quit [Remote host closed the connection]
cornu[m] has quit [Remote host closed the connection]
nh2[m] has quit [Remote host closed the connection]
leftfold[m] has quit [Remote host closed the connection]
sphalerit has quit [Read error: Connection reset by peer]
asp[m] has quit [Read error: Connection reset by peer]
Olinkl[m] has quit [Remote host closed the connection]
Sorbet[m] has quit [Write error: Broken pipe]
d3rNarr[m] has quit [Write error: Connection reset by peer]
tet[m] has quit [Read error: Connection reset by peer]
copumpkin[m] has quit [Remote host closed the connection]
bkchr[m] has quit [Read error: Connection reset by peer]
craige[m] has quit [Read error: Connection reset by peer]
shd[m] has quit [Read error: Connection reset by peer]
spacekitteh[m] has quit [Read error: Connection reset by peer]
liberdiko[m] has quit [Read error: Connection reset by peer]
WilliamHamilton[ has quit [Read error: Connection reset by peer]
ms[m]1 has quit [Remote host closed the connection]
rihardsk[m] has quit [Remote host closed the connection]
coorey[m] has quit [Read error: Connection reset by peer]
bendlas[m] has quit [Read error: Connection reset by peer]
lkjhgfdsa00xxx[m has quit [Read error: Connection reset by peer]
AlanPearce[m] has quit [Remote host closed the connection]
AntonLatukha[m] has quit [Remote host closed the connection]
xobroll[m] has quit [Remote host closed the connection]
schmittlauch[m] has quit [Remote host closed the connection]
rnhmjoj[m] has quit [Read error: Connection reset by peer]
admintgs[m] has quit [Read error: Connection reset by peer]
YegorTimoshenko[ has quit [Read error: Connection reset by peer]
philipp[m] has quit [Read error: Connection reset by peer]
ngerstle[m] has quit [Read error: Connection reset by peer]
bbigras has quit [Read error: Connection reset by peer]
mith[m] has quit [Read error: Connection reset by peer]
timokau[m] has quit [Remote host closed the connection]
aaronc[m] has quit [Remote host closed the connection]
spring322[m] has quit [Remote host closed the connection]
mathis[m] has quit [Remote host closed the connection]
hendrik[m]1 has quit [Remote host closed the connection]
tosh[m] has quit [Remote host closed the connection]
attero[m] has quit [Remote host closed the connection]
reactormonk[m] has quit [Remote host closed the connection]
freeman42x[m] has quit [Remote host closed the connection]
olejorgenb[m] has quit [Remote host closed the connection]
Seeker[m] has quit [Remote host closed the connection]
malteof[m] has quit [Remote host closed the connection]
Drakonis[m] has quit [Remote host closed the connection]
wolkenbruch[m] has quit [Remote host closed the connection]
GiodAmelio[m] has quit [Remote host closed the connection]
incospicuous[m] has quit [Remote host closed the connection]
nmikhailov[m]1 has quit [Remote host closed the connection]
sgk[m] has quit [Remote host closed the connection]
fre[m] has quit [Read error: Connection reset by peer]
ipj[m] has quit [Remote host closed the connection]
chominist[m] has quit [Remote host closed the connection]
ahedges[m] has quit [Remote host closed the connection]
uvnikita[m] has quit [Remote host closed the connection]
tenten8401[m] has quit [Remote host closed the connection]
sirocyl[m] has quit [Remote host closed the connection]
cornu[m]1 has quit [Read error: Connection reset by peer]
Obscurity[m] has quit [Remote host closed the connection]
jerengie[m] has quit [Remote host closed the connection]
dpetranek[m] has quit [Remote host closed the connection]
dkellner[m] has quit [Remote host closed the connection]
goibhniu[m] has quit [Remote host closed the connection]
roberth has quit [Remote host closed the connection]
ninjarai4[m] has quit [Read error: Connection reset by peer]
greska[m] has quit [Remote host closed the connection]
dywedir[m] has quit [Read error: Connection reset by peer]
telent[m] has quit [Remote host closed the connection]
nmikhailov[m] has quit [Read error: Connection reset by peer]
CoopDot[m] has quit [Remote host closed the connection]
jameshjacksonjr[ has quit [Remote host closed the connection]
wak-work[m] has quit [Read error: Connection reset by peer]
moredhel[m] has quit [Remote host closed the connection]
rture[m] has quit [Remote host closed the connection]
<srhb> manveru: Did you chime in with the recent discussion about that?
MichaelEden[m] has quit [Remote host closed the connection]
EB[m] has quit [Remote host closed the connection]
rycee[m] has quit [Remote host closed the connection]
smrtak[m] has quit [Remote host closed the connection]
mcatis[m] has quit [Read error: Connection reset by peer]
Leon[m] has quit [Read error: Connection reset by peer]
r3mfKm[m] has quit [Remote host closed the connection]
U[m] has quit [Remote host closed the connection]
tfc[m] has quit [Remote host closed the connection]
nyanloutre[m] has quit [Read error: Connection reset by peer]
sargon[m] has quit [Read error: Connection reset by peer]
DenisLehmann[m] has quit [Read error: Connection reset by peer]
mgttlinger[m] has quit [Read error: Connection reset by peer]
morgib[m] has quit [Read error: Connection reset by peer]
AdamSlack[m] has quit [Read error: Connection reset by peer]
yochai[m] has quit [Read error: Connection reset by peer]
Hook[m] has quit [Read error: Connection reset by peer]
Minijackson[m] has quit [Read error: Connection reset by peer]
Dan[m]1 has quit [Read error: Connection reset by peer]
vskilet[m] has quit [Read error: Connection reset by peer]
musicmatze[m] has quit [Read error: Connection reset by peer]
chreekat[m] has quit [Remote host closed the connection]
rnkch[m] has quit [Read error: Connection reset by peer]
BurNiinTRee[m] has quit [Remote host closed the connection]
regnat[m] has quit [Remote host closed the connection]
hedning[m] has quit [Read error: Connection reset by peer]
bennofs[m] has quit [Read error: Connection reset by peer]
comphez[m] has quit [Read error: Connection reset by peer]
fgaz has quit [Read error: Connection reset by peer]
wilornel[m] has quit [Remote host closed the connection]
PascalBach[m] has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNpmj
<nix-build> [nixpkgs] @Mic92 merged pull request #45089 → flow: 0.77.0 -> 0.78.0 → https://git.io/fNxXd
mzan has left #nixos [#nixos]
grumble has quit [Quit: This XML file does not appear to have any style information associated with it. The document tree is shown below.]
timclassic has quit [Read error: Connection reset by peer]
Voltairine[m] has quit [Read error: Connection reset by peer]
<manveru> nope
<manveru> but it's something i wanted to do for a long time, it's just not the nixpkgs convention atm
<srhb> It's quite common in release.nix-style files.
<srhb> It's funny how default.nix and release.nix evolved as some kind of pattern.
<johanot> quick question: Will pkgs.coreutils always be on PATH for all system units?
MinceR has quit [Ping timeout: 240 seconds]
<srhb> johanot: I think the systemd module adds it to the default path, you can check.
MinceR has joined #nixos
<srhb> So invidual modules may override it, but if you don't, it's there.
<johanot> srhb: Right.. I see it. systemd.nix line 230 :) neat, thanks
<srhb> np
<nix-build> [nixpkgs] @srhb merged pull request #45079 → kontemplate: 1.6.0 -> 1.7.0 → https://git.io/fNxue
<nix-build> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fNpYE
<nix-build> [nixpkgs] @Mic92 merged pull request #45103 → Add maintainer boj → https://git.io/fNpqT
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNpYu
<ldlework> srhb: well the function method was straight forward and worked
<srhb> ldlework: :) Simple is good.
<ldlework> // is the best operator
<srhb> I get the idea of wrapping modules though, I've occasionally tried to use it as a desperate attempt and bringing some sort of type sanity to my configurations, but I always regret it.
<ldlework> srhb: my whole configuration is staged as custom modules which has very simple interfaces
<ldlework> and then my actual system config is just a few mine.this mine.that
<ldlework> inspired by infinisil
<srhb> ldlework: My approach is to have an overlay that adds a ton of lib functions for helping me write concise configuration modules
<srhb> I could probably retrofit some of the module system to do duck type checks in it...
<srhb> Actually I may just import the ADT stuff instead
<ldlework> what's very strange is now i'm deploying
<srhb> Where'd that go anyway, hasn't it been like a year?
<ldlework> it is copying a TON of closures
<ldlework> SDL?!
<ldlework> wtf
<ldlework> why is it copying sdl
<ldlework> wayland
<srhb> nix why-depends time :P
<ldlework> wpa-suplicant
<ldlework> all the libX libraries
<ldlework> idgi
<ldlework> it is jsut gonna run out of space
<ldlework> lastpass-cli
<srhb> Well, the answer is simple, you obviously depend on them.
<ldlework> something is wrong here
<ldlework> it is like it is deploying my local system config
<ldlework> to my remote nixops machine
<manveru> :)
<ldlework> ok i see
<nix-build> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/8b4ed614c9e (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
gurmble has joined #nixos
gurmble is now known as grumble
<ldlework> srhb: well i just discovered the problem with having all your utility stuff as modules like that
<ldlework> it all gets sucked into the closure
<srhb> Huh?
<srhb> How is that a problem.
<srhb> I mean, that sounds like the exact intention. :P
<srhb> If I use a module I certainly want it included.
<ldlework> no like all the modules are auto imported but guarded with mkIf's around various mine.*.enabled options
<srhb> Right..
<srhb> That sounds good?
<ldlework> but for some reason, it was like all the packages they *might* include in environment.systemPackages were being shipped over to the remote machine
<srhb> I mean, every module in nixos is included in the exact same fashion, guarded by mkIf cfg.enable
<ldlework> whether or not i enabled them or not
<srhb> That sounds like you have a bug.
<srhb> Because the intention you are stating is how nixos works in general :)
<ldlework> seems like a lot of data to copy just to not be enabled in the final result
<srhb> That doesn't sound possible.
<nix-build> [nixpkgs] @jfrankenau opened pull request #45104 → mpvScripts.mpris: 0.1 -> 0.2 → https://git.io/fNpOF
<srhb> If things are included, it's because there's a dependency.
<nix-build> [nixpkgs] @lheckemann opened pull request #45105 → [WIP] Set absolute sonames → https://git.io/fNpOh
<ldlework> sophos........> copying path '/nix/store/nnd9y92fglhn0yw3brhz6yffxy97kvr2-libXrandr-1.5.1-dev' from 'https://cache.nixos.org'...
<ldlework> this goes on for days
<manveru> doesn't the nixpkgs-unstable channel build emacs?
<srhb> That's not really interesting. The interesting bit is what's depending on it.
<nix-build> [nixpkgs] @jfrankenau opened pull request #45106 → rapid-photo-downloader: 0.9.9 -> 0.9.10 → https://git.io/fNp3f
arjen-jonathan has joined #nixos
MarcWeber is now known as serve
<srhb> manveru: All the channels build all the packages, basically, but not all packages guard the channel.
serve is now known as MarcWeber
<srhb> manveru: Here are the guards for nixpkgs-unstable: https://hydra.nixos.org/job/nixpkgs/trunk/unstable#tabs-constituents
<manveru> hmm
MarcWeber has quit [Quit: leaving]
<manveru> for some reason it builds emacs 26 every time i upgrade
<srhb> Then it's broken in that revision :)
<srhb> (Usually)
<manveru> it builds fine, just isn't in the binary cache
<srhb> Let's check what's going on then.
<srhb> What revision?
__Sander__ has joined #nixos
<sphalerite> manveru: then you probably have an overlay or something which modifies it
<nix-build> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c1ef96ebdbd (from 48 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<srhb> Usually I check that by comparing my hash with Hydra's for the given revision.
<srhb> Or comparing my hash with a custom import of nixpkgs with no config or overlays
<sphalerite> manveru: what does nix-instantiate channel:nixpkgs-unstable -A emacs give you?
<sphalerite> manveru: and is it the same as `nix-instantiate channel:nixpkgs-unstable -A emacs --arg config {} --arg overlays []` ?
<manveru> let's see
<manveru> i was actually using fetchGit to get nixpkgs-unstable
<nix-build> [nixpkgs] @andir merged pull request #45094 → [18.03] libmspack: 0.6alpha -> 0.7.1alpha → https://git.io/fNxyC
<nix-build> [nixpkgs] @andir pushed 2 commits to staging-18.03: https://git.io/fNp3a
<manveru> gonna try with normal channels now
<manveru> sphalerite: they're identical
<manveru> i think the fetchGit was the issue
<manveru> p7zip still seems broken though
<srhb> Looks good in latest evaluation of nixpkgs-unstable
roberth has joined #nixos
fgaz has joined #nixos
timclassic has joined #nixos
florianjacob has joined #nixos
Ralith has joined #nixos
schmittlauch[m] has joined #nixos
bennofs[m] has joined #nixos
<nix-build> [nixos-homepage] @edolstra merged pull request #232 → Fixes emoji titles by uppercasing only letters. → https://git.io/fNxA4
<nix-build> [nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/fNp3N
<nix-build> [nixpkgs] @andir merged pull request #45086 → libxml2: fix CVE-2018-14567 & CVE-2018-14404 → https://git.io/fNxKv
<nix-build> [nixpkgs] @andir pushed 2 commits to staging: https://git.io/fNpsv
<nix-build> [nixpkgs] @srhb merged pull request #44993 → mirtk: init at 2.0.0 → https://git.io/fNFFq
<nix-build> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fNpsT
<manveru> and now it builds go and gcc and fontconfig... wtf
<manveru> qt 4.8 doesn't build anymore either
<ldlework> I have "services.redis.enable" in my nixops description but I am not getting a redis server on the machine.
<nix-build> [nixpkgs] @srhb merged pull request #45106 → rapid-photo-downloader: 0.9.9 -> 0.9.10 → https://git.io/fNp3f
<nix-build> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fNpsi
<manveru> wtf did debian do to make all those patches disappear
<nix-build> [nixpkgs] @Mic92 merged pull request #45104 → mpvScripts.mpris: 0.1 -> 0.2 → https://git.io/fNpOF
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNpsQ
<ldlework> i am stumped
<ldlework> systemd doesn't even have a redis unit
<nix-build> [nixpkgs] @mnacamura opened pull request #45107 → Lightdm accountsservice → https://git.io/fNpGf
<manveru> so for some reason my nix is simply ignoring the hydra cache now...
<srhb> ldlework: // znc
<sphalerite> manveru: do you have substituters set in /etc/nix/nix.conf?
mzan has joined #nixos
<manveru> substituters = https://cachix.cachix.org
<srhb> ldlework: Presumably there's a services = ... there that has now overwritten all of services to be empty except for znc.
<manveru> uhm, looks like
<srhb> ldlework: You probably want to merge recursively.
<manveru> so that means it _only_ looks in cachix now?
<sphalerite> manveru: yep setting that overrides the default, removing cache.nixos.org
<sphalerite> yes
<manveru> damn
<srhb> Or just not use // ever in your configuration unless you're veeery sure what you're doing
<ldlework> srhb: ah how is that done
<sphalerite> manveru: you can set extra-substituters = https://cachix.cachix.org instead
<sphalerite> or just add https://cache.nixos.org back yourself
<srhb> ldlework: { foo.bar = 42; } // { foo.baz = false; }
<srhb> > { foo.bar = 42; } // { foo.baz = false; }
<nix-build> { foo = <CODE>; }
<srhb> gh
<srhb> > :p { foo.bar = 42; } // { foo.baz = false; }
<nix-build> Unknown command: p
<srhb> aw
<sphalerite> > ({ foo.bar = 42; } // { foo.baz = false; }).foo
<nix-build> { baz = <CODE>; }
<manveru> sphalerite: first i need a system that can build again :P
<srhb> ldlework: I recommend against it, but check out recursiveUpdate
<ldlework> srhb: how would you rewrite this
<ldlework> given that znc returns some stuff that needs to go into config
<srhb> ldlework: Like I said earlier, complexoption = mySimplifier simpleoptions
<ldlework> just do like, services.newznc = the-call {} ?
<srhb> Yes.
<sphalerite> manveru: mv /etc/nix/nix.conf{,~} ; sed '/substituters/d' /etc/nix/nix.conf~ >/etc/nix/nix.conf
<nix-build> [nixpkgs] @karolchmist opened pull request #45108 → protonmail-bridge - add warning in description about enabling gnome-keyring → https://git.io/fNpGG
<ldlework> srhb: the thing is, it has the includes and some environment packages and stuff
<ldlework> srhb: maybe I need a function returning a module
<srhb> ldlework: Erm.. Sure, you could do that...
<ldlework> then call the func and put the result in imports?
<srhb> Why not just have a module imported regularly which sets the relevant options, has the configs and makes the function call
<srhb> I think you're complicating matters a bit :D
<ldlework> Because it is parametric
<nix-build> [nixpkgs] @jfrankenau opened pull request #45109 → nixos/triggerhappy: add module for triggerhappy hotkey daemon → https://git.io/fNpGc
<manveru> sphalerite: thx, a simple --option did the trick
<sphalerite> manveru: or that :D
<ldlework> srhb: I can't pass a list of users to a normal module
<srhb> ldlework: Why do you need to do that?
<manveru> that was driving me insane :D
<srhb> What are you actually trying to achieve?
<ldlework> srhb: that's the whole point..
<ldlework> srhb: I've described it. infinisil's znc module lets you define multiple users with services.newznc.<USERNAME>
<srhb> Yes...
<ldlework> I have a bunch of users all of which share many options, but not all
<srhb> Right.
<ldlework> So, boilerplate reduction
<srhb> services.newznc = mapAttrs myFunction simpleUsers?
<sphalerite> ldlework: it sounds like you just want to put znc in imports rather than //ing it?
<ldlework> sphalerite: but how to make that parametric
<ldlework> a function which returns a module right?
<sphalerite> ldlework: yes, that looks fine
<sphalerite> ldlework: all you need to change is replacing the `} // znc` in the previous gist with `imports = [ znc ]; }`
<ldlework> sphalerite: oh because a module isn't just a function
<ldlework> it can also be an attrset with the right keys
<sphalerite> yes
<sphalerite> it's either an attrset with the right keys, or a function returning such an attrset
<sphalerite> or a path which when imported yields either of those things
mzan has left #nixos [#nixos]
<ldlework> that's very clean
<ldlework> so I enabled the unixSocket based on the very example defined on the option
<yorick> what's a good place to put data files that a single package uses? /share gets shared between them all
<ldlework> unixSocket = "/var/run/redis.sock";
<ldlework> sophos........> Aug 16 09:14:35 sophos redis[7405]: Opening Unix socket: bind: Permission denied
<ldlework> yorick: /var ?
<sphalerite> yorick: typically /share is used anyway, by convention
<sphalerite> ldlework: not within a derivation!
<ldlework> ah
<yorick> sphalerite: meh, okay
<sphalerite> yorick: but it really doesn't matter, you can put it wherever
<sphalerite> /data!
<yorick> it's some compressed javascript that the package serves, so whatever
<sphalerite> I mean, debian pakcages put all the data in /usr/share even if it's specific to the application
<yorick> so is there any documentation on what dockerTools has been doing?
<nix-build> [nixpkgs] @Mic92 merged pull request #44233 → nixos/networkd: add missing options → https://git.io/fNa4L
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNpZn
<yorick> sphalerite: thanks
Anton-Latukha has joined #nixos
jonge has joined #nixos
<jonge> hi there. when i have my own hydra instance running - and my projects include some kind of documentation output, too: is there some way to "post" the latest documentation somewhere in an automatic fashion?
<srhb> jonge: You're in luck!
<sphalerite> sb0: and how are you installing this?
<jonge> srhb: wow this is super awesome, thx
orivej has joined #nixos
<srhb> Yeah, I'm very excited about this. Such a simple plugin, so much utility. :)
<jonge> srhb: yeah this enables a lot of nice things...!
CodeKiwi has joined #nixos
betaboon has joined #nixos
DigitalKiwi has quit [Ping timeout: 256 seconds]
<ldlework> hahahaha I have done it - I deployed my emacs IRC bot with NixOps
toby1851 has joined #nixos
<manveru> M-x butterfly for IRC?
<yorick> ldlework: but have you done it from M-x term?
<ldlework> trust me
<ldlework> even though this will run as a systemd service
TheBrayn has left #nixos ["WeeChat 2.2"]
<yorick> ldlework: clearly your server should have an emacs daemon running and you can do live code reload with emacsclient, this is the gnu way
<ldlework> i still learned how to do font-lock and make a pretty colored debug terminal https://i.imgur.com/GDgDKvL.png
<ldlework> lol and major-mode
<ldlework> live code reload
<ldlework> what kind of nixian are you
<yorick> just define a systemd reload entry
<ldlework> oh my that would be so cool
<ldlework> yorick: i'm inspired
<nix-build> [nixpkgs] @flokli closed pull request #40573 → [WIP] systemd.network: module fixes → https://git.io/vp5Ah
<ldlework> i am definitely going to try that
<srhb> ldlework: Nice :D
<srhb> There's something really perverse about it -- but nice!
toby1851 has quit [Ping timeout: 256 seconds]
CodeKiwi is now known as DigitalKiwi
Xyliton has joined #nixos
<Xyliton> Any idea why doing `cargo build` with this https://gist.github.com/MagnificentPako/b176611c489f9388411747667d40b146
<Xyliton> gives me this? `Unable to find libclang: "couldn\'t find any of [\'libclang.so\', \'libclang.so.*\', \'libclang-*.so\'], set the LIBCLANG_PATH environment variable to a path where one of these files can be found`
<srhb> Xyliton: I'd say exactly because of the error message.
<srhb> I see rust packages explicitly having a configurePhase that sets that.
<Xyliton> oof
<nix-build> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c1ef96ebdbd (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<Xyliton> srhb: `export LIBCLANG_PATH="${pkgs.llvmPackages.libclang}/lib"` in my configure phase doesn't seem to do anything. Any idea what I messed up?
<srhb> Xyliton: You're using it as a nix-shell, right?
<Xyliton> yea
<srhb> Xyliton: can't you just set it like you do with RUST_BACKTRACE then
<srhb> You're not executing the build, just getting the build environment, when you use nix-shell
thetet has joined #nixos
thetet has left #nixos [#nixos]
<Xyliton> oh, yea, that seems to work
<srhb> :)
<joko> Hey, is anyone using Pulseaudio? It seems it's not working anymore for me on latest nixos-unstable-small
<nix-build> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/fNplJ
<sphalerite> joko: how is it not working?
<joko> sphalerite: no sound, pavucontrol shows only "Establishing connection to PulseAudio. Please wait...", although I can see a "pulseaudio --start" process from my user
<sphalerite> joko: what if you kill it and run pulseaudio --start in the terminal?
cryp2nomicon has joined #nixos
<cryp2nomicon> i'm `nix-env -iA nixos.cscope` in my 32-bit dell mini, and it goes again to the 'rust' thing, which takes forever in my old netbook. I have to cancel
<joko> sphalerite: good call, it seems to be working now
<sphalerite> joko: hm well that's not ideal xP
<sphalerite> cryp2nomicon: 32-bit support is fairly limited nowadays unfortunatley.
<sphalerite> cryp2nomicon: luckily x86_64 is backwards-compatible so what you *could* do is build it all on a more powerful x86_64 machine
revtintin has quit [Ping timeout: 260 seconds]
<nix-build> [nixpkgs] @flokli opened pull request #45110 → sqldeveloper: simplify, add darwin support → https://git.io/fNplK
<cryp2nomicon> sphalerite: i have a more powerful x86_64. How can i copy to my 32-bit?
<sphalerite> cryp2nomicon: `sudo nix build --builders ssh-ng://username@host nixpkgs.cscope --max-jobs 0`
<sphalerite> cryp2nomicon: ^ should build cscope for 32-bit on host and copy it over, after that you should be able to install it without any building using the same nix-env command you mentioned before
ericsagnes has quit [Ping timeout: 265 seconds]
alex`` has joined #nixos
<nix-build> [nixpkgs] @jfrankenau opened pull request #45111 → splix: install color profiles and enable JBIG → https://git.io/fNp4v
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
philippD has joined #nixos
<manveru> goddamnit bundler broke again...
<nix-build> [nixpkgs] @srhb closed pull request #44938 → nixos/qemu-vm: Don't explicitly mknod /dev/vda* → https://git.io/fNdmZ
<Xyliton> Is there some magical package that contains the c/c++ stdlib?
<manveru> glibc?
<manveru> not sure about C++
<Xyliton> hm... unfortunately didn't fix the error I'm getting :/
<nix-build> [nixpkgs] @srhb reopened pull request #44938 → nixos/qemu-vm: Don't explicitly mknod /dev/vda* → https://git.io/fNdmZ
nikivi has joined #nixos
Sigyn has quit [Quit: People always have such a hard time believing that robots could do bad things.]
Sigyn has joined #nixos
<symphorien> Xyliton: gcc.cc.lib iirc
<Xyliton> symphorien: thanks for the hint but clang still seems to complain about `cstdint` not existing :/
<nix-build> [nixpkgs] @xeji merged pull request #45077 → Add license meta tags → https://git.io/fNx8t
<nix-build> [nixpkgs] @xeji pushed 10 commits to master: https://git.io/fNpB0
init_6 has joined #nixos
<symphorien> iirc cstdint is an internal header of clang, not of libc++
<Xyliton> symphorien: the weird part is that I'm pretty sure that it's using clang
<nix-build> [nixpkgs] @xeji merged pull request #45081 → openssl_1_0_2: 1.0.2o -> 1.0.2p → https://git.io/fNxzu
<nix-build> [nixpkgs] @xeji pushed 2 commits to staging: https://git.io/fNpR8
cryp2nomicon has quit [Quit: leaving]
<nix-build> [nixpkgs] @xeji merged pull request #45099 → granite: 0.5 -> 5.0 → https://git.io/fNpeX
<nix-build> [nixpkgs] @xeji pushed commit from @worldofpeace to master « granite: 0.5 -> 5.0 (#45099) »: https://git.io/fNpR6
<Xyliton> now I'm confused.
<Xyliton> cstdint is a standard header for clang++
<Xyliton> and I can compile the emojicode compiler (which contains the same header I'm using for this other thing)
<Xyliton> so why would it refuse to find cstdint now?
alex`` has quit [Ping timeout: 256 seconds]
Wharncliffe has joined #nixos
ericsagnes has joined #nixos
pepesza has joined #nixos
arjen-jonathan has quit [Ping timeout: 260 seconds]
<nix-build> [nixpkgs] @dezgeg pushed commit from @srhb to master « nixos/qemu-vm: Don't explicitly mknod /dev/vda* »: https://git.io/fNpul
<nix-build> [nixpkgs] @dezgeg closed pull request #44938 → nixos/qemu-vm: Don't explicitly mknod /dev/vda* → https://git.io/fNdmZ
<nix-build> [nixpkgs] @Mic92 merged pull request #45108 → protonmail-bridge - add warning in description about enabling gnome-keyring → https://git.io/fNpGG
<nix-build> [nixpkgs] @Mic92 pushed commit from @karolchmist to master « protonmail-bridge: Add warning about enabling gnome-keyring (#45108) »: https://git.io/fNpuo
mayhewluke has quit [Ping timeout: 240 seconds]
<nix-build> [nixpkgs] @Mic92 merged pull request #45096 → perlPackages.MLDBM: init at 2.05 → https://git.io/fNxN7
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNpzs
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<nix-build> [nixpkgs] @Mic92 pushed to master « linux_hardkernel_4_14: restrict platforms to armv7l-linux »: https://git.io/fNpzx
nikivi has quit [Quit: Textual IRC Client: www.textualapp.com]
vidbina_ has quit [Ping timeout: 240 seconds]
siers has joined #nixos
klntsky has quit [Ping timeout: 250 seconds]
klntsky has joined #nixos
arjen-jonathan has joined #nixos
<nix-build> [nixpkgs] @vdemeester opened pull request #45112 → pprof: 2017-08-28 -> 2018-08-15 → https://git.io/fNpg5
johanot has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @zimbatm merged pull request #44616 → Darwin caffe → https://git.io/fNDRa
<nix-build> [nixpkgs] @zimbatm pushed to master « caffe: add darwin support (#44616) »: https://git.io/fNpgA
Wharncliffe has quit [Quit: Lost terminal]
mayhewluke has joined #nixos
<sphalerite> Xyliton: not using the wrapper?
<Xyliton> sphalerite: what wrapper?
<sphalerite> Xyliton: the stdenv cc wrapper
<Xyliton> I'm using clangStdenv.mkDerivation
<Xyliton> if that's what you're talking about
alex`` has joined #nixos
nikivi has joined #nixos
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNpa3
<nix-build> [nixpkgs] @Mic92 merged pull request #45112 → pprof: 2017-08-28 -> 2018-08-15 → https://git.io/fNpg5
eskytthe has quit [Quit: Leaving.]
iyzsong has joined #nixos
<Xyliton> sphalerite:
<jonge> hey there, what is the state of nixos on raspberry pi? is it possible to build a .iso file from a full configuration.nix, blast that iso file on the memory card and boot the readily preconfigured system?
init_6 has quit [Ping timeout: 272 seconds]
<ajs124> I've been trying to package linphone-desktop for nixos and it compiles, but fails crashes with some (qt related?) error messages, which I do not really understand
<ajs124> see https://gist.github.com/ajs124/c5f7fcc2de1f9e00d405e66982ac550d for more details. any help would be appreciated
<nikivi> I installed git-hub tool on macOS with: nix-env -iA nixpkgs.git-hub
<nikivi> it installed but I see no hub in my PATH
<nikivi> so I can't use it
<tilpner> Does "git hub" work?
<tilpner> The executable is named git-hub
<tilpner> Maybe you were looking for gitAndTools.hub, which has a bin/hub
<nikivi> you are right, git-hub it was
<nikivi> thanks
<nikivi> I tried to install gitAndTools.hub too
<nikivi> there was no hub in PATH either
<tilpner> That's weird, there should be (and there is here)
<nikivi> I am on macOS if that makes a difference
<nikivi> I actually have a question about installing nix packages on macOS
<nikivi> I currently have thos zsh func I am using: nix-env -iA nixpkgs."$1"
<nikivi> however on https://nixos.org/nixos/packages.html#, the instructions always prefix it with nixos
<srhb> It corresponds to your channel name.
<nikivi> how do I know from which channel I have to install it from so it works on mac
<srhb> In the end it's all nixpkgs at various points in history. The difference is what was tested.
<srhb> That's basically I non-answer, I know.
<srhb> s/I/a
<srhb> fwiw that packages.html is based on the nixos-18.03 channel.
<nikivi> so I on macOS can't install packages from nixos channel
<srhb> You can, if they're not broken.
<nikivi> it seems that most packages are targeted for linux platforms which makes sense
<srhb> Yeah.
<srhb> getting better though :)
<nikivi> yeah
<nikivi> I want to use nix for everything
<nikivi> and its a bit painful now as I have many CLI tools I need to make nix derivation myself for
<srhb> nixpkgs-18.03-darwin tracks the same branch as nixos-18.03
<srhb> So that packages.html should be identical, modulo test failures in the branches.
<srhb> Oh, and meta.platforms.
<nikivi> I just add all the packages to my task manager for now https://imgur.com/vDYcwLO
samrose_ has quit [Quit: Page closed]
<srhb> No idea what that means :-P
<nikivi> I meant that I just list tools I want to install with nix that are not yet on nixpkgs
<srhb> Ah
<nikivi> Im not in the position of creating a nix deriviation in few secs time unfortunately
<srhb> kubectx was just packaged :)
<nikivi> I usually search that
<srhb> No, that's the stable branch
<srhb> It was not backported
<srhb> It'll be in 18.09
<symphorien> nikivi: you can search here https://nix.samueldr.com/explorer/?channel=nixos-18.03 to know what is in which channel
rprije has quit [Ping timeout: 240 seconds]
<symphorien> (it's not updated daily, though)
<nikivi> symphorien oh wow this is much better, thanks
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
nix-build has quit [Remote host closed the connection]
{^_^} has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #45114 → ssdeep: 2.13 -> 2.14.1 → https://git.io/fNpoZ
<{^_^}> [nixpkgs] @dtzWill opened pull request #45115 → strace: 4.23 -> 4.24 → https://git.io/fNpo0
MuffinPimp has left #nixos [#nixos]
<nikivi> is it possible to force the name on an installed package?
<nikivi> for example I want to install git-hub
<nikivi> but have it be installed under 'hub' name, not 'git-hub'
<{^_^}> [nixpkgs] @jtojnar merged pull request #45095 → nixos/zeitgeist: init → https://git.io/fNxFJ
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fNpoK
tertle||eltret has quit [Quit: Connection closed for inactivity]
<srhb> nikivi: Yes, you can use overrideAttrs to change the name of the package
<Xyliton> so... anyone got an idea why the expression for the emojicode compiler works, but another one using rust and bindgen (but the _same_ header file) results in clang complaining about stuff missing like cstdint and "new"?
fdietze has joined #nixos
<fdietze> Hi, is there something like a fold in the nix language? I want to iterate over a list and construct one set out of it
<srhb> fdietze: Yep, fold!
<tazjin> fdietze: yep, there are lots of primitives like that - the ones that aren't language builtins are hidden under `lib` in the package set
<fdietze> nice, thank you. Where can I find the docs or an example?
<srhb> Docs are mostly inlined in the actual code insofar as there are any docs.
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/c1ef96ebdbd (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
Xyliton has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @Mic92 merged pull request #45110 → sqldeveloper: simplify, add darwin support → https://git.io/fNplK
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNp6V
<fdietze> Thank you, I'll play with it.
pikajude has quit [Quit: ZNC 1.7.1 - https://znc.in]
selfsymmetric-mu has quit [Ping timeout: 240 seconds]
pikajude has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
Denommus has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #44098 → gem-config: fix capybara-webkit on Darwin → https://git.io/fN0Ld
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNpi6
ciil has quit [Quit: Lost terminal]
<Mic92> Zajcev: nspawn container are not allowed to mount arbitrary filesystems. I think bind mounts were allowed
<Mic92> oh, this message was very old and my client did not scroll
alexteves has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #45115 → strace: 4.23 -> 4.24 → https://git.io/fNpo0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNpPp
Fare has joined #nixos
<layus> Hi, is there a stdenvClang ?
<Zajcev> Mic92: it's ok, still actual :-)
<LnL> ldlework: clangStdenv or libcxxStdenv
<LnL> oops
<LnL> layus: ^
<layus> thanks
jperras has joined #nixos
siers has quit [Quit: Connection closed for inactivity]
<LnL> there's also gccStdenv for the opposite on eg. darwin
wigust has joined #nixos
ciil has joined #nixos
endformationage has joined #nixos
<layus> I assumed that stdenv were named stdenvXXX after stdenvNoCC, but apparently it's more XXXStdenv, and the nocc is the exception....
<layus> Aaah, naming in nix ;-)
<LnL> there's also gcc.stdenv :p
balsoft has joined #nixos
<LnL> but that's not what you might think it is
inquisitiv3 has joined #nixos
<inquisitiv3> Is there a simple and easy way to get third-party applications that is distributed in Appimages or tarballs to run on Nixos? E.g. Sublime text or Tor browser.
<balsoft> Well, appimage should run "as is"
<LnL> dunno about appimage, but we have sublime AFAIK
<balsoft> Just patchelf --set-interpreter `nix-build <nixpkgs> -A glibc`/lib/ld-linux-x86-64 app.AppImage should make it work
<layus> LnL, I guess gcc.stdenv is just the stdenv that is used to build gcc itself, right ?
<inquisitiv3> balsoft: I'll test that.
<inquisitiv3> LnL: I couldn't find Sublime when I searched in the search form on the website.
<LnL> yes, that doesn't show unfree packages
rprije has joined #nixos
<LnL> layus: yeah
<Zajcev> Network name: test1
<Zajcev> ups
<Denommus> how can I manually set the IP of my nixops deployments?
arjen-jonathan has quit [Ping timeout: 268 seconds]
kyren has joined #nixos
<inquisitiv3> balsoft: When I run the command I get the error message "patchself: command not found".
<balsoft> inquisitiv3: patchElf, not patchself
arjen-jonathan has joined #nixos
<inquisitiv3> LnL: How do I search after unfree packages?
<inquisitiv3> balsoft: I get the error message that it isn't installed. Guess I should install it?
<balsoft> inquisitiv3: nix-shell -p patchelf
<balsoft> oh, the command is just "patchelf"
<balsoft> no capital E
<balsoft> wait a sec, I'm going to test it with subsurface
Fare has quit [Ping timeout: 272 seconds]
<balsoft> I just heard that it should work
<inquisitiv3> balsoft: Now I get the error message "bash: nixpkgs: No such file or directory".
qtoni has joined #nixos
<balsoft> patchelf --set-interpreter `nix-build '<nixos>' -A glibc`/lib64/ld-linux-x86-64.so.2
kiloreux has quit [Quit: Leaving]
<balsoft> oh, that wouldn't work as well
<balsoft> patchelf --set-interpreter `nix-build '<nixpkgs>' -A glibc`/lib64/ld-linux-x86-64.so.2
<balsoft> don't forget quotes
<balsoft> and at the end, your appimage
<balsoft> Doesn't quite work with Subsurface
<balsoft> it still misses some libs
<inquisitiv3> balsoft: Appimages isn't fully self-contained. They can depend on system libs (don't know if you know that).
<balsoft> Well then
<balsoft> I see some patchelf'ing
<{^_^}> [nixpkgs] @jtojnar pushed to master « pulseeffects: 4.2.6 → 4.2.8 »: https://git.io/fNpMp
<balsoft> Do you happen to know which libraries exactly can AppImages depend on?
<inquisitiv3> balsoft: I'm not sure. I don't know if it's specified in a standard, or if it's up to the packager to choose which libs is assumed to be accessible.
<Denommus> I manually edited the nixops sqlite file
<inquisitiv3> balsoft: I want to reserve myself for misinterpreting some information, but to my knowledge AppImages is allowed to depend on system libs.
<balsoft> What are "system libs" exactly?
<Mic92> Has somebody nixos configuration for kubernetes that I can copy and paste to check something quick?
<balsoft> I believe it would be easy to create a script that would allow us to run AppImages
<balsoft> or better, a binFmt so that it runs out-of-the-box
<inquisitiv3> balsoft: That seems to be the list for that. :)
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<balsoft> I am working on a script. I've been thinking for the past couple of days about a script that would run "arbitrary" binaries on nixos by composing a list of commonly used libs. AppImages are a good place to start
<makefu> isnt there a patchelfhook now which does most of the hard work?
<balsoft> makefu: could you please elaborate?
<tilpner> > appimage-run
<makefu> check out https://nixos.org/nixpkgs/manual/#auto (a bit above this)
<{^_^}> { __ignoreNulls = true; all = <CODE>; args = <CODE>; buildCommand = <CODE>; buildInputs = <CODE>; builder = <CODE>; configureFlags = <CODE>; depsBuildBuild = <CODE>; depsBuildBuildPropagated = <CODE>;...
<makefu> wow there is even appimage-run
<makefu> also https://nixos.wiki/wiki/Packaging/Binaries#autoPatchelfHook , but i think for appimage you can just use appimage-run
<inquisitiv3> tilpner: Is that a derivate one need to install, or it something else?
<tilpner> inquisitiv3 - Yes, try installing nixpkgs.appimage-run, then using "appimage-run ./your.appimage"
rprije has quit [Ping timeout: 244 seconds]
kyren has joined #nixos
<tilpner> It's not meant for packaging, just the same "I need to run this now, don't want to package it" as steam-run
<inquisitiv3> tilpner: When I try to run `nix-shell -p appimage-run` I get the error message "error: undefined variable 'appimage-run' at (string):1:94 [...]".
<inquisitiv3> tilpner: Is it only available in unstable?
<tilpner> Hmm, not sure what channels it's in
<tilpner> Maybe only unstable, yes
balsoft has quit [Ping timeout: 260 seconds]
<inquisitiv3> tilpner: Well, 18.09 is around the corner so it isn't so much time to wait. Is everything in unstable going in 18.09?
fdietze has quit [Quit: Page closed]
<tilpner> Anything that isn't removed before 18.09 will be in 18.09
<sb0> is there a way I can tell nix to stop setting $HOME to /homeless-shelter and instead provide a writable directory?
<tilpner> (So practically yes)
<sb0> I want to check how far a certain way of building a package can get, and I don't want to figure out how to make it stop using $HOME yet
<inquisitiv3> tilpner: Good to know! I'll just have to wait one and a half month then (hopefully).
<tilpner> sb0 - export HOME=$(mktemp -d)?
<tilpner> inquisitiv3 - You can use it now, if just to try it
iyzsong has quit [Ping timeout: 244 seconds]
<tilpner> nix-shell -I nixpkgs=channel:nixos-unstable -p appimage-run
<makefu> inquisitiv3: or just use unstable for this time: nix-shell -p appimage-run -I nixpkgs=channel:nixos-unstable
<makefu> ah, tilpner was faster :D
<inquisitiv3> tilpner: Aah, thanks! I'll test that.
<inquisitiv3> sb0: Where does $HOME point to `/homeless-shelter`? My $HOME points to my $HOME :P
<makefu> inquisitiv3: when you are running in sandbox mode or as the nix build user then /homeless-shelter is correct :)
<inquisitiv3> makefu: What is sandbox mode?
Izorkin has joined #nixos
<sb0> inquisitiv3: not when you're building a package
<sb0> by the way, why does nix refuse to build when that directory exists? is there a case when this isn't because the user wants to work around that problem?
<sb0> i'd suggest turning it into a warning (or having a flag to turn it into a warning)
<inquisitiv3> makefu: Thanks!
<inquisitiv3> tilpner: `appimage-run` was successfully installed and in my path when I jump into the nix-shell environment. But I get some error messages when I try to run the Appimage.
<tilpner> inquisitiv3 - What error messages, with which appimage?
<inquisitiv3> tilpner: I'll posting the error message to pastebin. The AppImage is the Skycoin wallet (a cryptocurrency)
<inquisitiv3> tilpner: https://www.skycoin.net/downloads/
<inquisitiv3> tilpner: The installer for Linux.
<inquisitiv3> tilpner: https://pastebin.com/pQfqsVb3
{^_^} has quit [Remote host closed the connection]
cryp2nomicon has joined #nixos
{^_^} has joined #nixos
trcc has quit [Remote host closed the connection]
<cryp2nomicon> `nix-env -iA nixos.stack` no support for 32-bit?
<{^_^}> [nixpkgs] @Infinisil merged pull request #40747 → services.synergy: Use graphical target (fixes #9468) → https://git.io/vppKT
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNpH6
mayhewluke has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #44238 → nixos/samba: allow dummy conf file to be overridden → https://git.io/fNar0
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNpHD
mayhewluke has joined #nixos
<tilpner> inquisitiv3 - If you downloaded that a while ago, try re-downloading it. Our hashes don't seem to match
<inquisitiv3> tilpner: The AppImage? I downloaded it some hours ago
<tilpner> What's its sha256sum?
cryp2nomicon has quit [Remote host closed the connection]
Fare has joined #nixos
<inquisitiv3> tilpner: Seems that it got corrupted. I redownloaded the file and got another checksum. I'm testing the new file.
<infinisil> > _show = x: if lib.isDerivation x then "<derivation ${x.drvPath}" else x
<{^_^}> _show defined
<infinisil> > hello
<{^_^}> "<derivation /nix/store/m5chcjbj7p08sy8adqpkr2rzf6rmdfh6-hello-2.10.drv"
<infinisil> > _show = x: if lib.isDerivation x then "<derivation ${x.drvPath}>" else x
<{^_^}> _show defined
<inquisitiv3> tilpner: Now it works! Took some time to start the app, but now it runs :D
<inquisitiv3> tilpner: Thanks for the help!
<tilpner> inquisitiv3 - Subsequent runs will be faster
<tilpner> (slightly)
mzan has joined #nixos
abueide has joined #nixos
<inquisitiv3> I've noticed some applications that I run in nix-shell environments that saves their dotfiles in my $HOME. I'm thinking of situations there applications have incompatible dotfiles between versions. Is there a good solution to this problem?
<inquisitiv3> I don't have the problem now, but I like to be prepared and have good habits from the beginning.
<{^_^}> [nixpkgs] @jtojnar merged pull request #45107 → lightdm: enable the accounts daemon to find dbus interface → https://git.io/fNpGf
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/fNp5f
johnw has quit [Ping timeout: 268 seconds]
abueide has quit [Remote host closed the connection]
abueide has joined #nixos
Drakonis has joined #nixos
qtoni has quit [Quit: Leaving]
Henson has joined #nixos
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
balsoft has joined #nixos
balsoft has quit [Remote host closed the connection]
<phry> heyho. I'm getting a kernel panic when booting a nixops VM on two different host systems. could someone take a look? https://github.com/mariahaubner/phpwordApp
<phry> (kernel panic in the VM, not the host system)
<emily> is there an easy way to figure out "why is nixos-rebuild building this package rather than downloading a cached version"?
<ivan> phry: the panic itself might be more helpful
<seanparsons> Is there a simple way of producing nix expressions for emacs packages akin to cabal2nix? I'm finding myself wanting to use some slightly more bleeding edge versions than are in nixpkgs.
Ariakenom has quit [Ping timeout: 268 seconds]
<Myrl-saki> seanparsons: Technically not Nix, but there's a declarative package manager for Emacs called `straight`
mzan has left #nixos [#nixos]
vidbina has joined #nixos
<ivan> phry: does your virtualbox manage to boot a nixos livecd?
<phry> ivan: actually I've got an idea. could it be that activationScripts are sourced, so calling "exit" withgin them kills the whole OS?
<{^_^}> [nixpkgs] @shlevy pushed to master « Add back (optional) deterministic profiling patch for GHC 8.4 »: https://git.io/fNpbS
<seanparsons> Myrl-saki: I'm already using the nix infrastructure for Emacs, it's more that I need specific versions of the packages that nixpkgs holds.
abueide has quit [Ping timeout: 260 seconds]
<phry> ivan: yup, that actually was it. argh -.-
<ivan> heh
<Dezgeg> a good reason to avoid using activation scripts as much as possible
<Dezgeg> I wonder if that should be documented
wigust has quit [Quit: ZNC 1.7.1 - https://znc.in]
<tilpner> phry - I have a few activation scripts, and they all just call an external generated script, so that a syntax error doesn't break my system
<cransom> an activation script would be an odd place to be doing software management. for the instance here, it should just be a package and if you really need /srv, do the linking then.
<phry> yeah, I know this is kind of hacky but for a demo-VM that is probably used once or twice this should suffice. I just wrapped it with a call to bash, now everything works
Cale has quit [Remote host closed the connection]
<tilpner> emily - Not generally, and without details. Don't override, don't use environment.noXlibs, don't overlay core packages, etc.
<{^_^}> [nixpkgs] @lsix opened pull request #45116 → pythonPackages.django: update django_2_0 and add django_2_1 → https://git.io/fNpAB
johnw has joined #nixos
ryanartecona has joined #nixos
kolb has joined #nixos
lsyoyom has joined #nixos
Ariakenom has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #45111 → splix: install color profiles and enable JBIG → https://git.io/fNp4v
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNppu
<{^_^}> [nixpkgs] @Infinisil merged pull request #45078 → syslog-ng: fix reload service → https://git.io/fNxR3
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fNpp2
<{^_^}> [nixpkgs] @stephengroat opened pull request #45117 → terraform_0_11: 0.11.7 -> 0.11.8 → https://git.io/fNppM
kyren has joined #nixos
kyren has quit [Client Quit]
jperras has quit [Quit: WeeChat 2.2]
dkibi has quit [Remote host closed the connection]
__Sander__ has quit [Quit: Konversation terminated!]
Drakonis has quit [Remote host closed the connection]
Drakonis has joined #nixos
vmandela has joined #nixos
<Henson> When using mkDerivation and nix-build with a bash build script, how are dependant files included in the derivation and referenced inside the build script? I'm just assigning the file paths to variables in the derivation, and referencing them by the similarly-named environment variable in the shell script. This doesn't seem to be working consistently. Is this the correct way to do it?
Fare has quit [Ping timeout: 240 seconds]
<clever> Henson: can you gist your files?
erickomoto has joined #nixos
hlolli has joined #nixos
<Henson> clever: I'm adapting a closed-source program to a Nix derivation
<clever> Henson: it is much much simpler to write these things if you dont use builder/args
<clever> Henson: first, paste the entire contents of builder.sh into buildCommand = '' .... ''; in the nix file, and delete args/builder
<Henson> clever: oh really? Nix Pills told me to do it :-)
<clever> those are more examples of how it works internally, doing it that way heavily limits what you can do
<Henson> clever: I'll give it a try
<clever> when you use buildCommand, PATH is handled entirely for you, so you can omit line 8
<clever> and then you dont need binPath, so line 32 can go as well
doyougnu has joined #nixos
<clever> coreutils, gzip, and many others are in the default stdenv, so those too can be deleted
<clever> Henson: after making those changes, you can post the new version to a gist and any errors you may be having
<kalbasit[m]> hey guys, is it possible to use serial console with systemd-boot?
vmandela has quit [Ping timeout: 260 seconds]
<infinisil> samueldr: You probably know this ^
<Henson> clever: after doing that, the problem is still the same as before. In the same directory as default.nix there are three files, referred to on lines 9 through 11 in the derivation file. Only the pylonArchive file (19 MB in size) seems to be copied into the /nix/store directory. If the build succeeds, then the others are also copied and are found by the "ls" command on lines 20 and 21 of the...
<samueldr> infinisil: I actually don't know :)
<samueldr> but I can check quickly
<Henson> clever: build script. If the build fails, then they are not found. Regardless of the build pass/fail state, the pylon file appears in /nix/store, but the other files do not.
<clever> mv ${baslerUSBIDs} ${out}/nixstow.packages/Debian-8.2/usr/share/misc/usb.ids
<clever> 28
<clever> Henson: your moving it out of /nix/store/ which then breaks everything
<clever> nix believes the file still exists, so it doesnt copy it again
Fare has joined #nixos
<clever> Henson: nix-store --verify --check-contents
<Henson> clever: oh crap, you're right!
<clever> Henson: if you post the new nix file to gist, i can also check it for any other issues
sanscoeur has joined #nixos
<samueldr> kalbasit[m]: I was thinking about checking whether it can or cannot *from upstream* first :)
<Henson> clever: using the buildCommand, it gets upset if I use ${out} instead of $out, but doesn't seem to care about the other shell variables. Shouldn't shell variables properly be enclosed in curly braces?
<clever> samueldr: give up and use grub? lol
<samueldr> probably easier!
<kalbasit[m]> most likely yea
<kalbasit[m]> I'll give grub a try
<clever> Henson: ${pylonArchive} is no longer a shell variable but a nix variable
<{^_^}> [nixpkgs] @gnidorah opened pull request #45118 → pakcs: 2.0.2-b7 -> 2.0.2-b9 → https://git.io/fNhe7
<clever> Henson: its refering to line 9 of the old default.nix
<kalbasit[m]> but I'm still looking for the config option
sanscoeur has quit [Remote host closed the connection]
aarvar has joined #nixos
<kalbasit[m]> `boot.loader.grub.extraConfig` I see
<kalbasit[m]> ok I'll give it a try
<samueldr> kalbasit[m]: using qemu, and the installer iso I get serial
<samueldr> that is, without changing anything
<samueldr> and it doesn't look like there's anything special in the systemd-boot config from the installer
<kalbasit[m]> samueldr: so it works for you?
<kalbasit[m]> what speed?
<samueldr> no configuration as far as qemu is concerned
<samueldr> just `-serial stdio`
<kalbasit[m]> coz I have a serial console on my desktop (now server) and I have a dedicated embedded device for using the serial but I can't seem to connect to it. This used to work with Arch
<kalbasit[m]> samueldr: was that after boot or during boot?
<samueldr> that was systemd-boot's own menu
<kalbasit[m]> I need it mainly to type in the luks password
kyren has joined #nixos
<samueldr> that's another issue then
<samueldr> the kernel (AFAIK) won't know about the serial console even if the bootloader itself does
sanscoeur has joined #nixos
<clever> kalbasit[m]: if you want linux on the serial and dont care about grub, you need to add console=ttyS0 to the kernel params
<kalbasit[m]> clever: yea but this would work only after boot
abueide has joined #nixos
<kalbasit[m]> so it won't allow me to type in the password
<kalbasit[m]> maybe I should make a key-file USB device?
<clever> kalbasit[m]: that effects the initrd as well, and handles the luks passwords
<gchristensen> man, I just use GRUB. it supports so much stuff at boot time.
kyren has quit [Client Quit]
<kalbasit[m]> gchristensen: for my laptop, systemd is so just enough
<kalbasit[m]> but I think I have to move to GRUB for my server
<{^_^}> [nixpkgs] @tadfisher opened pull request #45119 → zoom-us: 2.2.128200.0702 -> 2.3.128305.0716 → https://git.io/fNhvo
<clever> kalbasit[m]: to start with, try adding boot.kernelParams = [ "console=ttyS0" ]; and then nixos-rebuild boot and reboot
jperras has joined #nixos
arjen-jonathan has quit [Ping timeout: 272 seconds]
<gchristensen> infinisil: around?
<infinisil> Yup
slyfox_ is now known as slyfox
<gchristensen> infinisil: want to write a cute, simple little {^_^} extension?
kyren has joined #nixos
<infinisil> If it doesn't take too long to implement, sure :)
<infinisil> What is it?
<infinisil> (I still haven't implemented your "wish me luck" thing btw)
<gchristensen> no worries :)
kyren has quit [Client Quit]
<tilpner> gchristensen - I saw you removed the bot code from ofborg, does it have a new home yet?
kyren has joined #nixos
Thra11 has joined #nixos
alex`` has quit [Ping timeout: 260 seconds]
Fare has quit [Ping timeout: 240 seconds]
<gchristensen> infinisil: every 2-5min send a message to #nixos-unregistered: Hello! You've been sent to #nixos-unregistered due to the recent spam attacks on Freenode. Please register and identify with NickServ to join #nixos (/msg NickServ help). Sorry for the inconvenience! (I thought about asking something fancier, like the first time anyone says something, send it, but eh)
<gchristensen> (you could make it fancier if you want, but it doesn't have to be)
<LnL> well, maybe only when somebody sends a message
<gchristensen> then it is easy for it to be an amplification attack, so it would need to be a timeout + messages were sent
<LnL> yeah, not _evey_message ;)
alex`` has joined #nixos
<infinisil> My code currently only supports sending messages when a message is received, so what LnL suggested (with a timeout) would be the easiest
<MichaelRaskin> Wiping the channel with unprovoked reminders seems excessive in any case
<gchristensen> how about make a list of people who have said something, and every time someone new says something, send the notice
<clever> gchristensen: i easily missed the notice Sigyn sent when i started to flood a bit
<gchristensen> right now the situation is bad with people being frustrated by no help. "you're in the wrong place" spam seems much better.
<infinisil> I'd rather not have it require any state
<gchristensen> LnL's feature is not implementable without state
<MichaelRaskin> gchristensen: unprovoked — I mean when there is nothing else happenning
<MichaelRaskin> Keeping track of people is not as useful as it seems, either — one could miss that authentication went wrong after a reconnect
<infinisil> Ah right, I'll just make it a timer though (e.g. have the bot say something max every minute)
<kalbasit[m]> gchristensen: do you use an EFI Partition as the grub device?
<gchristensen> you don't count that as state?
<LnL> gchristensen: yes, but doesn't the current implementation already have spam protection?
<samueldr> kalbasit[m]: for EFI you're kinda forced to have an ESP
<MichaelRaskin> Every minute is pain…
<samueldr> but for the configuration, it's "nodev"
<samueldr> kalbasit[m]: give me a sec
* gchristensen is just going to go build this
<LnL> was thinking it might be reusable for this
<kalbasit[m]> samueldr: sure
<infinisil> gchristensen: Ah yeah, but it only requires a simple date to store, not a list of users
<samueldr> or, better put, the usual defaults
Xyliton has joined #nixos
<kalbasit[m]> samueldr: I see, thanks
<gchristensen> infinisil: don't worry about it, I've got it
<infinisil> I mean, I got pretty much all code ready already
<infinisil> (Even for the per-user state)
<Xyliton> I think I figured out why my emojicode bindings aren't compiling. Any idea why the include search path has entries when running `clang++` manually but through bindgen they are empty? Do I have to manually set that in my nix expr?
<gchristensen> infinisil: ok, sure
<gchristensen> I'm just not willing to spend more than 5min talking about a "you're in the wrong place" message.
betaboon has quit [Quit: WeeChat 2.1]
siers has joined #nixos
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45120 → xterm: 333 -> 335 → https://git.io/fNhJr
erickomoto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @andir merged pull request #45093 → libmspack: 0.6alpha -> 0.7.1alpha → https://git.io/fNxyc
<{^_^}> [nixpkgs] @andir pushed 2 commits to staging: https://git.io/fNhJo
balsoft has joined #nixos
growpotkin has joined #nixos
sanscoeur has quit []
<growpotkin> Hey I'm sure somebody can help me with this. I am trying to patch a src directory immediately after fetching it. I'm imagining something like `my-derivation...; src = myWrapper { src = fetchFromGitHub {...}; patches = [./mypatch]; }; rest-of-my-derivation...; }
<growpotkin> but I'm having a hard time finding an example to work off of.
erickomoto has joined #nixos
erickomoto has left #nixos [#nixos]
erickomoto has joined #nixos
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45121 → virtlyst: 1.1.0 -> 1.2.0 → https://git.io/fNhUn
graphene has joined #nixos
<Henson> clever: I think I got it working now. The problem was moving the files out of the nix store.
<{^_^}> [nixpkgs] @Thra11 opened pull request #45122 → qtwebengine: Use system ffmpeg on aarch64 → https://git.io/fNhUl
<clever> Henson: can you gist what you have now and i can check it for anything minor?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45123 → wayland-protocols: 1.15 -> 1.16 → https://git.io/fNhUE
<clever> Henson: `set -e` is not needed, the stdenv does that for you
<clever> Henson: line 24, you can change the cp to: cp -a ${./69-basler-cameras.rules} .... and then delete line 8, and repeat for other similar things
vidbina has quit [Ping timeout: 260 seconds]
<Henson> clever: the one thing that's unsatisfying is the findMissingLibraries flag. This changes the derivation so the buildCommand will output the ldd information on the executable files and then fail, allow me to greg the results for any unsatisfied libraries (line 15). But on line 49 if glibc is included, then I get a "version GLIBC_PRIVATE not defined" error in ldd. So I have to remove glibc for it
<clever> Henson: if you run ldd after patchelf, then you dont need LD_LIBRARY_PATH
<clever> line 63 is also not needed, the stdenv already defaults to the current system
<Henson> clever: yeah, but using ldd is when I'm trying to find all of the libraries to include in buildInputs when I'm writing the derivation file. It gets disabled once I've found all the libraries to include.
<clever> and line 61 will be wrong on 32bit, you want --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)"
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45124 → vulkan-tools: 1.1.77.0 -> 1.1.82.0 → https://git.io/fNhUS
<Henson> clever: do I add that as an argument to patchelf? Should it be "--set-interpreter" instead of "--interpreter"?
<clever> both of those are identical i believe
<Henson> clever: ok
alex`` has quit [Ping timeout: 240 seconds]
<Henson> clever: you're awesome. Thanks for the help!
alex`` has joined #nixos
Fare has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45125 → vulkan-headers: 1.1.77.0 -> 1.1.82.0 → https://git.io/fNhTq
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45126 → wireguard: 0.0.20180802 -> 0.0.20180809 → https://git.io/fNhTG
<adamantium> Hi, using zfsonroot here, it does something i have not seen: why is the root dataset mounted in two places?
<infinisil> gchristensen: Works now :)
<adamantium> root dataset is mounted in both / and in /nix/store
<Dezgeg> /nix/store is just a bind mount
<clever> adamantium: nixos always does that
<adamantium> ok, glad it's "normal"
<adamantium> i was worried
<clever> it makes the store read-only, so root cant modify files in the store
<clever> Henson: which prevents bugs like moving things out of the store
<adamantium> but im still a little lost about something then
<Dezgeg> yeah, it looks really strange in the mount output
<adamantium> If i wanted to rollback my root dataset using zfs, which do i keep snapshots of to rollback?
alex`` has quit [Ping timeout: 240 seconds]
<clever> adamantium: i dont really use the zfs rollbacks much, nixos generations handle that task fine
<adamantium> i understand That, but i just need to know, if i was going to use the classic zfs workflow
Fare has quit [Ping timeout: 272 seconds]
<adamantium> well i guess it's just one dataset still. e.g. zroot/ROOT/nixos
<clever> yeah
<adamantium> so that is the dataset i would be snapshotting, should be fine to manipulate it on ZFS level.
alex`` has joined #nixos
<adamantium> i guess i answer my own question there. thanks
<clever> i prefer having seperate datasets for / and /nix
bennofs has joined #nixos
<adamantium> mmmm
<clever> then i have automatic snapshots on / but none on /nix
<adamantium> Why is that?
michas has joined #nixos
<adamantium> seen it
<clever> snapshots on /nix make it difficult to garbage collect
<adamantium> as it is for me now, i only have /boot/grub on a separate, non root datset
<adamantium> because grub stage2 needs to always be the same dataset name
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adamantium> interesting clever , why would a snapshot of /nix make it difficult to gc in nix?
orivej has joined #nixos
<clever> adamantium: the snapshot keeps a copy of everything you GC, and then you gain zero free space
<clever> and then you have to manually destroy snapshots to get your space back
<clever> and if / is on the same dataset, you are loosing backups of /
<adamantium> yeah but if you keep them rotated with something like zfs-auto-snapshot
<adamantium> shouldn't be too big of a deal, it will catch up in time?
<clever> it keeps daily and monthly snapshots
<adamantium> ahh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45127 → you-get: 0.4.1099 -> 0.4.1128 → https://git.io/fNhTj
<adamantium> I typically dont keep beyond a week
<adamantium> clever: well i wonder if there is any benefit of using zfs-auto-snap for root if you are not snapshotting /nix
<clever> you have snapshots of /etc/nixos, so you can just rollback the config and nixos-rebuild
lawlesseel has joined #nixos
<inquisitiv3> Is there a difference between derivates for NixOS and other systems just having Nix?
erickomoto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> infinisil: please decrease the time from 1hr to 5-10 minutes
<adamantium> clever: so to clarify for me, you are saying the benefit of a zfs snapshot of root ( / ) sans /nix is that you have snapshots of your /etc/nixos directory for rebuilding your system?
<gchristensen> 1hr is much too long for people who join and ask a question
<infinisil> gchristensen: Oh yeah good point
<gchristensen> I mean, that is fundamentally a hard thing and is why I was wanting every minute or five minutes.
<gchristensen> any timeout in place can cause people to miss the warning
<clever> adamantium: yeah, as long as i have the config, and maybe the nixpkgs rev, i can repair almost any damage to /nix (except the nix-env profile list of packages)
<infinisil> gchristensen: Would you prefer 1 minute?
<gchristensen> 1min seems really good
<infinisil> Alright
<gchristensen> thank you a lot
<infinisil> :)
<clever> adamantium: this module adds a full nixos installer into /boot/, and then you can just select that and repair a missing /nix if you wanted to
<adamantium> oreally
alex``` has joined #nixos
<adamantium> how can i get this onto my menu too
<adamantium> ^_^
<clever> adamantium: just copy that file into /etc/nixos/ and add ./rescue_boot.nix to the imports list
<adamantium> using the same format as hardware.nix that is already in there?
<clever> yep
<adamantium> k
<adamantium> ty
<clever> adamantium: note, that it uses about 300mb on /boot
<clever> so you will need a sizeable /boot
<adamantium> my /boot is in my root pool so no worry there
<adamantium> s/pool/dataset
alex`` has quit [Ping timeout: 240 seconds]
<adamantium> what is this netboot stuff ?
<clever> the netboot scripts in nixpkgs are for creating a kernel+initrd pair, that have the rootfs in the initrd, and booting it over the network
alex``` has quit [Client Quit]
<clever> but nothing stops you from putting the same kernel+initrd pair on /boot and just loading them with grub
<Denommus> gosh
<Denommus> configuring a docker registry with gitlab is hard
<srk> clever: I'm wondering about netboot right now - how to get rid of paths not actually required for booting but pulled in by script.ipxe .. init=/nix/store/3hsznn9sq2kn2lam5ihn7g0dd1ib72m8-nixos-system-nixos-17.09.3243.bca2ee28db4/init
<clever> srk: builtins.unsafeDiscardStringContext
<srk> nice
<srk> clever++
<{^_^}> clever's karma got increased to 20
<clever> srk: all strings in nix have some magic context, that allows nix to track dependencies
<clever> so when you do "${hello}/bin/hello" it knows that the string depends on the hello package
<adamantium> while im here, guys, emacs' nix-mode, wtf tab isn't aligning my code ???
<srk> I see
<clever> but "${builtins.unsafeDiscardStringContext hello}/bin/hello" just throws that out, so now you have the path, but dont depend on it
<clever> and if you use that on the kernel params in script.ipxe, then script.ipxe wont depend on the init
<srk> nice, less time waiting for closures to be copied \o/
<clever> srk: and any time your using that, it helps to make sure the nix sandbox is enabled
stanibanani has joined #nixos
stanibanani has left #nixos [#nixos]
<clever> because if you use it the wrong way, it wont even be in the sandbox, and you will catch the problem a lot sooner
<srk> ok
<MichaelRaskin> gchristensen: infinisil: whay is 1 hour timeout too long?
<MichaelRaskin> Person speaks, person gets direct-mentioned.
<gchristensen> <John has joined #nixos-unregistered> John: hi! Bot: wrong place! **5 minutes pass** <Roger has joined #nixos-unregitered> Roger: Hi! **crickets**
<MichaelRaskin> I thought 1-hour timeout is per-person?
<infinisil> Oh it's per-user though
<clever> gchristensen: sometimes you just need to rip the safety labels off and let natural selection take its course :P
<srk> having some hard time with sandboxing lately due to secrets-not-in-store requirement. looks like even that is doable without turning off sandboxing (seen that yesterday in nixops code iirc)
<gchristensen> oh well
<gchristensen> cool :)
<infinisil> MichaelRaskin: gchristensen: I think it makes sense to not encourage people to talk there at all, a message every minute will be good against that
<adamantium> does anybody use nix-mode in emacs, and does pressing tab not align your code?
<gchristensen> +1
* adamantium is trying to figure out if dealing with a bug or a feature
<MichaelRaskin> infinisil: argh, I don't want that kind of attack on my unread counter!
<infinisil> Should I decrease it to an hour again? :P
<gchristensen> infinisil: no
<MichaelRaskin> Ah, it is only reply timeout
<MichaelRaskin> Then it at most doubles, that's not a problem
<infinisil> Alright
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45128 → xscreensaver: 5.39 -> 5.40 → https://git.io/fNhIA
<adamantium> clever: i rebooted and tried the "nixos installer" menuentry, it doesn't load, says needs to load the kernel first, that "rescue-kernel" is not found.
<adamantium> clever: yet in /boot i see rescue-kernel is there plainly.
ambro718 has joined #nixos
<clever> adamantium: the grub config expects that /boot/ is the root of a partition
<clever> and that the existing grub.cfg has mapped $drive1 to that partition
<ambro718> A NixOS live "CD" can be dd'd to a flash drive and will boot, right? there is no funny setup needed?
<clever> if its just a folder on / then you will need to insert a /boot onto the paths on lines 17&18 of the nix file
<sphalerite> ambro718: yes
<adamantium> k
<ambro718> thanks
<clever> ambro718: yep, just dd to the root of the drive, it already has partition tables
<ambro718> indeed
mayhewluke has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45129 → snd: 18.5 -> 18.6 → https://git.io/fNhLu
Xyliton has quit [Remote host closed the connection]
mayhewluke has joined #nixos
timokau[m] has joined #nixos
<timokau[m]> For some reason a makefile in a `buildFHSUserEnv` only uses one core even though I'm passing `-j4`. Why is that?
<inquisitiv3> I got the help earlier to install `appimage-run` from unstable in a nix-shell environment to run an appimage. I was successfull to start the application in the environment. But now there is a symbolic link named `result` in the directory I was in then I launched the AppImage.
pie_ has joined #nixos
<sphalerite> timokau[m]: maybe there aren't any targets that can be built in parallel?
<{^_^}> [nixpkgs] @lopsided98 opened pull request #45130 → Fix documentation of default option priority → https://git.io/fNhL9
<inquisitiv3> The link seems to go to glibc in the /nix/store.
Fare has joined #nixos
<timokau[m]> sphalerite: it can normally use 4 cores
<sphalerite> timokau[m]: if you clean the build directory and run make -j4 again, does it use 4?
<inquisitiv3> I tried to remove the directory with root privileges (with `sudo`) without thinking first (fucking stupid, I know).
<clever> inquisitiv3: rm result
<sphalerite> inquisitiv3: just remove the symlink
<clever> not `rm result/`
<timokau[m]> sphalerite: I initially ran from a clean build directory and it only used 1. I don't want to redo the build since its pretty slow
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45131 → syslogng: 3.16.1 -> 3.17.2 → https://git.io/fNhLb
<inquisitiv3> clever: I may have done that...
<sphalerite> timokau[m]: I highly doubt that the FHSUserEnv stuff is to blame
ryanartecona has quit [Quit: ryanartecona]
<sphalerite> inquisitiv3: so you broke your nix entirely?
<inquisitiv3> I've ran `sudo nix-collect-garbage`. Is there any way to verify I haven't deleted something I shouldn't?
<adamantium> clever: i still don't have it right yet, now looking at my current working nixos generated grub, it uses the format: linux ($drive2)//ROOT/nixos/@/nix/store/...
<sphalerite> inquisitiv3: nix verify --no-sigs --all
<timokau[m]> sphalerite: It probably does some fancy sanity checking of core counts or something that is broken by the chroot / needs some additional dependency
<inquisitiv3> sphalerite: Nope, I don't think to. I only get the error message that it's a read-only filesystem.
<clever> adamantium: ive not tried zfs support in grub, so it may need something like that to deal with zfs
<adamantium> clever: but your .nix generated using ($drive1)
<adamantium> i think i should modify it to match what grub is doing currently?
<adamantium> on 17 and 18
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45132 → timescaledb: 0.10.1 -> 0.11.0 → https://git.io/fNhLh
<sphalerite> inquisitiv3: then it should be fine
<balsoft> So I've found out that there is already appimage-run script. Apparently I'm blind
<clever> adamantium: yeah
<balsoft> and stupid
<adamantium> cool
<inquisitiv3> sphalerite: Is the option `--no-sigs` correct?
<sphalerite> inquisitiv3: err I meant --no-trust
<inquisitiv3> sphalerite: With or without root priv?
<sphalerite> it's not needed
doyougnu has quit [Ping timeout: 240 seconds]
<inquisitiv3> sphalerite: It just returned "[8941 paths verified]", nothing more. Is the system OK?
ambro718 has quit [Quit: Konversation terminated!]
<sphalerite> inquisitiv3: yep
<inquisitiv3> sphalerite: Thanks!!!
<inquisitiv3> But isn't even I with root privileges able to directly remove things from /nix/store?
<clever> inquisitiv3: nixos bind-mounts /nix/store read-only by default to stop you
peel has joined #nixos
<sphalerite> inquisitiv3: yep. There are some situations in which python stuff run as root manages to modify the nix store, not sure about the exact circumstances
<adamantium> ok clever, works surprisingly great now ! i'm impressed. just fyi for grub2 and zfs i needed: linux ($drive2)//ROOT/nixos/@/boot/rescue-kernel
<sphalerite> inquisitiv3: you can delete stuff using nix-store --gc and --delete
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45133 → unixODBC: 2.3.6 -> 2.3.7 → https://git.io/fNhmq
<inquisitiv3> clever, sphalerite: I'm just surprised that you can set read-only on directories. I thought that they at least needed to be separate partitions.
<clever> adamantium: i dont really trust grub with zfs, so i use an ext4 /boot/
<clever> inquisitiv3: mount /nix/store /nix/store -o bind,ro
<clever> inquisitiv3: the read-only is on the mount point, not the directory
<adamantium> yeah, i know the reasons the why and am comfortable with it.
<adamantium> but i don't blame you
<clever> adamantium: ive heard stories of grub taking 5 minutes to load because it doesnt read the index in /nix/store properly
<clever> adamantium: and it failing to even find kernels because there are too many directories in store
<inquisitiv3> clever: You learn something new every day :)
<adamantium> lol
<neonfuz> Anyone know how to enable redshift properly?
<neonfuz> I set service.redshift.enable = true; and set lat + long
<neonfuz> I tried 'systemctl start redshift', got 'redshift.service not found', tried 'systemctl --user enable redshift', says something starting with 'The unit files have no installation config'
<clever> neonfuz: did you nixos-rebuild?
<neonfuz> yes
<clever> neonfuz: its a user service, not a system service
<clever> so you need systemctl --user
<neonfuz> yeah I tried that
<neonfuz> systemctl --user enable redshift, errored out
<adamantium> clever: now you got me curious, my nixstore kernel is currently this deep: linux ($drive2)//ROOT/nixos/@/nix/store/sny3mhrza6bz8fb1fa0pv193j809mcf4-linux-4.14.54/bzImage
<neonfuz> or just start?
<clever> neonfuz: enable doesnt work on nixos
<clever> neonfuz: use --user with start
<neonfuz> okay
<adamantium> clever: do you suppose it will get even longer in due time?
<neonfuz> also, any recommended way to start this on logging in?
<neonfuz> I'm using i3 and lightdm
<clever> adamantium: the path length wont change, but as more directories get added to /nix/store it may break booting
orivej has quit [Ping timeout: 272 seconds]
<neonfuz> I used to start my emacs daemon in windowManager.i3.extraSessionCommands, but that seems to have broken lol
<clever> adamantium: that is what this option is for: https://nixos.org/nixos/options.html#copyker
<adamantium> and why is this a zfs grub problem but not a ext4 grub problem?
<neonfuz> is there some sort of more proper hook for running services when x11 starts?
<clever> adamantium: poor zfs support within grub, it was never tested on a directory with 100000 entries
<adamantium> lmao
<adamantium> and 5000 symlinks
orivej has joined #nixos
<adamantium> nix is reallllllly something man ..
<neonfuz> oh great, redshift is oscilating between on and off now
<adamantium> clever: which option, what are these options
<clever> adamantium: since your using grub, boot.loader.grub.copyKernels = true;
<{^_^}> [nixpkgs] @timokau merged pull request #45132 → timescaledb: 0.10.1 -> 0.11.0 → https://git.io/fNhLh
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fNhYT
<neonfuz> tfw I installed nixos using the boot partition a windows install created
<neonfuz> and ran out of space from kernels after like 4 updates
<{^_^}> [nixpkgs] @timokau merged pull request #45129 → snd: 18.5 -> 18.6 → https://git.io/fNhLu
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fNhYq
<neonfuz> and even manually deleting them, nixos-rebuild would put them back and error out before finishing the instalation
<adamantium> clever: so you are recommending i set boot.loader.grub.copyKernels = true; ?
<clever> adamantium: yeah
<adamantium> and this will, as it says, put my kernels in a nice, easy place for grub to find, being /boot
<{^_^}> [nixpkgs] @timokau merged pull request #45128 → xscreensaver: 5.39 -> 5.40 → https://git.io/fNhIA
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fNhYs
<clever> adamantium: yep
<adamantium> oh nice.
<adamantium> problem "solved" (workaround)
<adamantium> thanks for the heads up on that, i would have been very angry
<adamantium> lol
<{^_^}> [nixpkgs] @timokau merged pull request #45127 → you-get: 0.4.1099 -> 0.4.1128 → https://git.io/fNhTj
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fNhYC
<adamantium> nothing is worse than fighting grub bugs
balsoft is now known as balsoft[away]
<MichaelRaskin> Fighting FS bugs might compete…
<adamantium> zfs has no bugs !!
<adamantium> ^_^
balsoft[away] is now known as balsoft
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45134 → stellarium: 0.18.1 -> 0.18.2 → https://git.io/fNhOv
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45135 → sleuthkit: 4.6.1 -> 4.6.2 → https://git.io/fNhO0
<{^_^}> [nixpkgs] @andir opened pull request #45136 → qemu: 2.11.1 -> 2.11.2 → https://git.io/fNhO1
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45137 → gitAndTools.tig: 2.4.0 -> 2.4.1 → https://git.io/fNhO7
bennofs has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45138 → spoofer: 1.3.2 -> 1.3.3 → https://git.io/fNhOh
<{^_^}> [nixpkgs] @shlevy pushed to master « haskellPackages.cabal-plan: Remove broken patch. »: https://git.io/fNh36
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45139 → urlscan: 0.8.7 -> 0.8.9 → https://git.io/fNh31
<{^_^}> [nixpkgs] @andir opened pull request #45140 → qemu: 2.12.0 -> 2.12.1 → https://git.io/fNh35
abueide has quit [Read error: Connection reset by peer]
goibhniu has quit [Ping timeout: 272 seconds]
bennofs has joined #nixos
simukis has quit [Ping timeout: 260 seconds]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @xeji merged pull request #44711 → qemu: 2.12.0 -> 2.12.1 → https://git.io/fNSkT
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « qemu: 2.12.0 -> 2.12.1 (#44711) »: https://git.io/fNhsA
klntsky has quit [Quit: WeeChat 2.1]
klntsky has joined #nixos
<{^_^}> [nixpkgs] @shlevy pushed to master « haskellPackages.hasktags: Disable broken testsuite. »: https://git.io/fNhGm
<{^_^}> [nixpkgs] @veprbl opened pull request #45141 → rivet: fix hash broken by upstream → https://git.io/fNhGG
<{^_^}> [nixpkgs] @xeji closed pull request #45140 → qemu: 2.12.0 -> 2.12.1 → https://git.io/fNh35
jD91mZM2 has quit [Ping timeout: 240 seconds]
castilma has joined #nixos
<ldlework> How to concat a list of strings?
siers has quit [Quit: Connection closed for inactivity]
<joepie91> ldlework: concatString in nixpkgs: https://github.com/NixOS/nixpkgs/blob/master/lib/strings.nix#L19
<joepie91> accessible through lib iirc?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45142 → singularity: 2.5.2 -> 2.6.0 → https://git.io/fNhZL
<{^_^}> [nixpkgs] @xeji merged pull request #45114 → ssdeep: 2.13 -> 2.14.1 → https://git.io/fNpoZ
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « ssdeep: 2.13 -> 2.14.1 (#45114) »: https://git.io/fNhZ4
<castilma> hey, can someone help me with ltrace? it doesn't show me library calls from selfmade shared libraries. i tested it with foo.c:int bar(int a) {return a+1;} and main.c:int bar(int); int main() { return bar(1);} #should exit with 1+1=2. compile/run with gcc -shared -o libfoo.so foo.c; gcc -o main main.c -L. -lfoo; env LD_LIBRARY_PATH=. ltrace ./main;
<{^_^}> [nixpkgs] @xeji merged pull request #45120 → xterm: 333 -> 335 → https://git.io/fNhJr
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « xterm: 333 -> 335 (#45120) »: https://git.io/fNhZr
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @LnL7 opened pull request #45143 → grpc: fix darwin build → https://git.io/fNhZj
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45144 → sc-controller: 0.4.3 -> 0.4.4 → https://git.io/fNhnf
S1tiSchu has joined #nixos
balsoft is now known as balsoft[away]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45145 → signal-desktop: 1.15.4 -> 1.15.5 → https://git.io/fNhnl
abueide has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45118 → pakcs: 2.0.2-b7 -> 2.0.2-b9 → https://git.io/fNhe7
<{^_^}> [nixpkgs] @xeji pushed commit from @gnidorah to master « pakcs: 2.0.2-b7 -> 2.0.2-b9 (#45118) »: https://git.io/fNhnp
<emily> tilpner: *nods* noXlibs was what was causing previous problems like this, but I suspect there's more
<emily> (it was set because of being in a container)
abueide has quit [Ping timeout: 260 seconds]
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.15.4 -> 1.15.5 »: https://git.io/fNhcV
<emily> "dhcpcd = if !config.boot.isContainer then pkgs.dhcpcd else pkgs.dhcpcd.override { udev = null; };" maybe it's stuff like this in nixpkgs causing problems :/
<{^_^}> [nixpkgs] @timokau merged pull request #45141 → rivet: fix hash broken by upstream → https://git.io/fNhGG
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fNhCY
ryanartecona has joined #nixos
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<{^_^}> [nixpkgs] @zimbatm merged pull request #45117 → terraform_0_11: 0.11.7 -> 0.11.8 → https://git.io/fNppM
<{^_^}> [nixpkgs] @zimbatm pushed commit from @stephengroat to master « terraform_0_11: 0.11.7 -> 0.11.8 (#45117) »: https://git.io/fNhCC
trcc has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #45146 → PostgreSQL 10.5, 9.6.10, 9.5.14, 9.4.19 & 9.3.24 updates. → https://git.io/fNhC8
<{^_^}> [nixpkgs] @andir opened pull request #45147 → 18.03/postgresql → https://git.io/fNhC4
<adamantium> clever: i have added generationsDir.copyKernels = true; in addition to grub.copyKernels = true; and it seems to have made no difference? what is generationsDir.copyKernels for?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45148 → seafile-client: 6.2.3 -> 6.2.4 → https://git.io/fNhCK
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45149 → riot-web: 0.15.7 -> 0.16.0 → https://git.io/fNhCD
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45150 → shairport-sync: 3.2 -> 3.2.1 → https://git.io/fNhWL
witchof0x20 has quit [Remote host closed the connection]
kyren has joined #nixos
witchof0x20 has joined #nixos
sir_guy_carleton has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
goibhniu has quit [Ping timeout: 240 seconds]
<inquisitiv3> How do I search for available packages? I've looked at the cheatsheet on the wiki but it seems to have parts that I don't know if they're necessary.
<inquisitiv3> E.g. I want to search for Sublime text and Tor browser bundle.
<adamantium> I have a similar question, i feel like things i expect might be missing. Like I just typed "file" and was command not found. Is there some meta package I could install that will just give me all the typical tools I have come to expect and know
orivej has joined #nixos
<samueldr> inquisitiv3: `nix search sublime`
<shlevy> ryantm: (is basvandijk here?): I'd like to propose we turn on the deterministic profiling patch for GHC by default now that we have profiling libs built by default
<samueldr> you may need to `nix search -u` before
<LnL> ,unfree
<{^_^}> You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
<LnL> inquisitiv3: ^
<samueldr> yep, that was what was going to follow :)
goibhniu has joined #nixos
<inquisitiv3> samueldr: That's a lot simpler than what is stated in the cheat sheet... Thanks!
<sir_guy_carleton> inquisitiv3: i think you could also use the website, which imho is easier to use
<samueldr> (for the record, `nix search` on my machine with unfree enabled can see sublime)
<{^_^}> [nixpkgs] @timokau merged pull request #45142 → singularity: 2.5.2 -> 2.6.0 → https://git.io/fNhZL
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fNhWp
<samueldr> sir_guy_carleton: no unfree there :(
<shlevy> ryantm: peti originally wanted it disabled by default because it produces binaries with a different ABI than upstream's (different symbol names), but upstream's names are non-deterministic anyway (that's the whole point of the patch) and we're now populating cache.nixos.org with non-deterministic results.
<shlevy> ryantm: the patch is already in 8.6, by the way
<{^_^}> [nixpkgs] @joachifm merged pull request #44881 → checksec: switch to binutils-unwrapped → https://git.io/fN759
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fNhlf
erickomoto has joined #nixos
<inquisitiv3> samueldr: `nix search -u sublime` doesn't show me any search matches. Something I miss or misinterpreted?
<{^_^}> [nixpkgs] @timokau merged pull request #45119 → zoom-us: 2.2.128200.0702 -> 2.3.128305.0716 → https://git.io/fNhvo
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fNhlk
<{^_^}> [nixpkgs] @andir merged pull request #45137 → gitAndTools.tig: 2.4.0 -> 2.4.1 → https://git.io/fNhO7
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fNhlI
<inquisitiv3> samueldr: I've `nixpkgs.config.allowUnfree = true;` in my config.
ryanartecona has quit [Quit: ryanartecona]
<samueldr> in your nixos system config *and* your user config?
<clever> adamantium: generationsDir.copyKernels only has an effect if your using generationsDir.enable
<LnL> nix-env only looks at your user config
<samueldr> `nix` tools too
<samueldr> inquisitiv3: try `NIXPKGS_ALLOW_UNFREE=1 nix search -u sublime` to do it as a one-time thing
<inquisitiv3> samueldr: What's the user config? :P
<adamantium> clever: do you recommend i also set generationsDir to enable?
<adamantium> or is grub copyKernels enough for a workaround.
<{^_^}> [nixpkgs] @joachifm merged pull request #44171 → eureka-editor: Init at 1.21 → https://git.io/fNgL9
<{^_^}> [nixpkgs] @joachifm pushed commit from @neonfuz to master « eureka-editor: Init at 1.21 (#44171) »: https://git.io/fNhlW
<LnL> inquisitiv3: echo '{ allowUnfree = true; }' > ~/.config/nixpkgs/config.nix
<clever> adamantium: you cant use both bootloaders at once, and generationsDir wont work on its own
<samueldr> it's in ~/.config/nixpkgs/config.nix
<{^_^}> [nixpkgs] @LnL7 merged pull request #45150 → shairport-sync: 3.2 -> 3.2.1 → https://git.io/fNhWL
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fNhlB
<inquisitiv3> samueldr: Aah, thanks!
<adamantium> clever: oh i was not aware it was for another bootloader, i assumed it was for what would typically be /lib/modules or some thing
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45151 → react-native-debugger: 0.7.18 -> 0.7.20 → https://git.io/fNhli
<clever> adamantium: every attribute under boot.loader is a seperate bootloader
goibhniu has quit [Ping timeout: 260 seconds]
<adamantium> ty
<inquisitiv3> samueldr: I got it working
<inquisitiv3> :)
<adamantium> clever: do you also recommend i consider setting zfs.force=1 or using one of the related nix configuration options? I have seen on other distros sometimes the pool can fail to import without it in some circumstances
Lisanna has joined #nixos
<clever> adamantium: force is only needed if the pool was last used by a different hostid
jluttine has quit [Ping timeout: 268 seconds]
trcc has quit [Remote host closed the connection]
<adamantium> clever: i had trouble installing nixos at the beginning, because i was bootstrapping it into a dataset on a prexisting pool, it needed the hostid before it would proceed. I chrooted the old distro's dataset and found the hostid there, then gave that to nixos
<inquisitiv3> samueldr: I've added `sublimetext3` to the list of applications to install in my configuration.nix. When I run `sudo nixos-rebuild switch` I get the error message "error: undefined variable 'sublimetext3' at /etc/[...]".
<inquisitiv3> I've copied the name of the package from the list of search matches to avoid typos.
<samueldr> inquisitiv3: package name != attribute name for the package
<samueldr> (let me know if you need more hints)
<inquisitiv3> samueldr: Aah. I took a deeper look at the search result after reading your hint. That's really confusing...
<samueldr> yeah, attribute names vs. package names at first are confusing
Ariakenom has quit [Quit: Leaving]
<inquisitiv3> samueldr: Btw, how is the job as a release manager going?
<inquisitiv3> Your first or second time?
<clever> adamantium: if both distros have the same hostid, then nixos wont notice it was last in use by a different "machine"
<samueldr> inquisitiv3: fine, first time, kinda overwhelmed at first since I also break-in in the shoes of maintainership, though I manage, I think the next two weeks and the next months will be more hectic, but not that bad
<adamantium> clever: oh, so maybe that was the wrong idea I did there? Maybe I should have just used / made up a random number?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45153 → rtv: 1.23.0 -> 1.24.0 → https://git.io/fNh8Q
<clever> adamantium: if its a dual-boot on the same pool, sharing the hostid is perfect
<adamantium> ok ok ! then i did the wrong thing. I know there can be some dangers involved, clever , admittedly, i do not understand the issue or the hostid for that matter.
<adamantium> (Right!! thing. I did the //right // thing !!)
lord| has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45154 → rpcbind: 0.2.4 -> 1.2.5 → https://git.io/fNh8j
<inquisitiv3> samueldr: I can understand that it's overwhelming. Lots of new things to learn and think about. But exciting?
<samueldr> definitely exciting and interesting :)
<adamantium> clever: do you know, if i ever am unable to import my pool, can i use grub edit and add the parameter zfs.force=1 to force it? Will that work here?
lord| has joined #nixos
<adamantium> I don't know if it is in the initramfs or not...
<clever> adamantium: possibly
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
balsoft[away] is now known as balsoft
<adamantium> knowing me i will do some monkey business at some point and forget to export my pool thats why i ask
<inquisitiv3> samueldr: I read quickly vcunat's post on Discourse about 18.09 being forked of in about a month, but I can't find any info if you had any "theme" for Jellyfish. Do you have any or is it a lot of smaller changes?
<clever> adamantium: you can also use one of these to get a shell inside the initrd, then just manually do zpool import --force
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nckx has joined #nixos
<samueldr> inquisitiv3: I don't think there's any "theme" or large changes specifically targetting, but I can't say for sure... though it's in fewer than two weeks...
orivej has quit [Ping timeout: 272 seconds]
<samueldr> ... everyone time to polish your PRs :)
<adamantium> clever: ok that sounds good
arjen-jonathan has quit [Ping timeout: 260 seconds]
<adamantium> clever: how do i activate that boot.shell_on_fail
<clever> adamantium: add it to the kernel params from grub, or boot.kernelParameters
<adamantium> does it go in configuration.nix or on the boot parameter
<clever> either
<sphalerite> adamantium: press E in your boot loader
<adamantium> i'm aware of E
<inquisitiv3> Does Nix have any repository for the source code that is used to build packages?
<sphalerite> inquisitiv3: sort of.
<sphalerite> inquisitiv3: you can do `nix build nixpkgs.hello.src` to get a `result` symlink pointing to the source code for hello
kyren has joined #nixos
<sphalerite> inquisitiv3: and some of the source is somehow or other mirrored on cache.nixos.org, but I'm not sure of the exact details
<adamantium> clever: the grub paramater, should it be boot.shell_on_fail=1 ? or allowShell=1 ? I don't know how to read this.
<sphalerite> there definitely isn't any systematic source mirroring
<sphalerite> adamantium: the former
<adamantium> k
<adamantium> ty sphalerite
<clever> adamantium: just boot.shell_on_fail by itself
goibhniu has joined #nixos
<sphalerite> oh oops
<adamantium> ah !
<adamantium> nice
<adamantium> i will make it a permanent addition
<samueldr> (current HEAD of master)
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
erickomoto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45155 → s6-linux-utils: 2.4.0.2 -> 2.5.0.0 → https://git.io/fNh4d
balsoft is now known as balsoft[away]
tyil has left #nixos ["WeeChat 2.1"]
<{^_^}> [nixpkgs] @markuskowa opened pull request #45156 → Add license meta tags → https://git.io/fNhRq
balsoft[away] is now known as balsoft
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
balsoft has quit [Ping timeout: 260 seconds]
vidbina has joined #nixos
lawlesseel has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @mikemckibben opened pull request #45157 → oracle-instantclient: fixes dylib rpath on macos → https://git.io/fNh0n
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d0e87cbfaf8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
sm0rux has joined #nixos
drbrule has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45158 → picard-tools: 2.18.10 -> 2.18.11 → https://git.io/fNh0F
<drbrule> Hello fair inhabitants of #nixos, I bring frankencense and myrrh in hopes of some enlightenment. I suck at nix, and I am attempting to write a nix expression that replaces `pkgs.haskellPackages.callPackage ./cabal2nix.nix {}` with `pkgs.haskellPackages.cabal2nix "whatgoeshere?"` any ideas
graphene has quit [Remote host closed the connection]
<drbrule> is `whatgoeshere?` simply the name of the filename of the cabal file?
graphene has joined #nixos
Drakonis has quit [Remote host closed the connection]
<LnL> cabal2nix is a package not a function so adding whatgoeshere would result in error: attempt to call something which is not a function but a set
jperras has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45159 → php: 7.2.8 -> 7.2.9 → https://git.io/fNhE7
castilma has left #nixos [#nixos]
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45160 → pspg: 1.2.1 -> 1.3.0 → https://git.io/fNhuB
erickomoto has joined #nixos
graphene has quit [Remote host closed the connection]
mayhewluke has quit [Ping timeout: 268 seconds]
graphene has joined #nixos
<ldlework> drbrule: for your health!
Wharncliffe has joined #nixos
<{^_^}> [nixpkgs] @Gerschtli opened pull request #45161 → teamspeak_server: 3.0.13.6 -> 3.3.0 → https://git.io/fNhzj
<ldlework> how to get the contents of a file as a string?
<ldlework> ah
jperras has joined #nixos
hlolli has quit [Remote host closed the connection]
drewr has quit [Remote host closed the connection]
Denommus has quit [Remote host closed the connection]
<ldlework> infinisil: you know your auto importer, what happens when you want to break up a module into multiple files? like if you had a foo/default.nix and foo/support.nix
<ldlework> inside the path that was under the purview of auto importing
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @samueldr merged pull request #43567 → ja2-stracciatella: 0.15.1 -> 0.16.1 → https://git.io/fNYqx
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fNh2a
<infinisil> It would import both?
<{^_^}> [nixpkgs] @samueldr merged pull request #44712 → polygraph: 4.11.0 -> 4.12.0 → https://git.io/fNSkj
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fNh2r
<ldlework> infinisil: and it isn't a problem that default.nix also imports it because of magic merging right
<ldlework> yeah
<ldlework> ok
<drbrule> ldlework: Not everything can be peaches and guacamol all the time
<dhess> hahah
<ldlework> drbrule: <3
<{^_^}> [nixpkgs] @Mic92 merged pull request #45160 → pspg: 1.2.1 -> 1.3.0 → https://git.io/fNhuB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNh2M
<dhess> that's a new one
<ldlework> drbrule: have you ever seen Negaholics?
<drbrule> LnL: but how do you actually run cabal2nix through nix then?
<drbrule> ldlework: Negative, is it the same dude?
<ldlework> no, but it is in that same aesthetic of Everything is Terrible
<drbrule> Cool I'll check it out
<{^_^}> [nixpkgs] @Mic92 merged pull request #45156 → Add license meta tags → https://git.io/fNhRq
<{^_^}> [nixpkgs] @Mic92 pushed 11 commits to master: https://git.io/fNh2b
<LnL> drbrule: just use the package nix-shell -p haskellPackages.cabal2nix; cabal2nix ./.
inquisitiv3 has quit [Ping timeout: 256 seconds]
<LnL> there's a magic thing that runs cabal2nix at eval time, but not exactly a fan of that...
<{^_^}> [nixpkgs] @Mic92 merged pull request #45151 → react-native-debugger: 0.7.18 -> 0.7.20 → https://git.io/fNhli
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNhak
<adamantium> clever: think i could get away with moving /nix for a moment , probably not !
<adamantium> clever: i want to remount it in a separate dataset !
<{^_^}> [nixpkgs] @Mic92 merged pull request #45153 → rtv: 1.23.0 -> 1.24.0 → https://git.io/fNh8Q
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNhaW
vidbina has quit [Ping timeout: 244 seconds]
<clever> adamantium: thats exactly what i made rescue_boot.nix for
<adamantium> lolol !
<clever> adamantium: so i could boot my laptop into a 2nd "os", and move nix to its own dataset
<adamantium> thats hillarious
<clever> then it had other uses, so i advertised it for those :P
<LnL> more magic boot stuff?
<adamantium> well, guess i'm taken care of then
<{^_^}> [nixpkgs] @Mic92 merged pull request #45158 → picard-tools: 2.18.10 -> 2.18.11 → https://git.io/fNh0F
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNha4
<clever> LnL: this puts the entire nixos installer into /boot, along with a grub option to select it
<LnL> oh that
<clever> ~460mb cost
<adamantium> a worthy cause to donate 460MB to
* LnL wants that for systemd-boot
<clever> LnL: nixos just doesnt have enough options for systemd-boot
<LnL> :/
<clever> we need a way to add another linux based OS to the menu
<adamantium> clever: yes, or actually , zfs boot environments would be nice
<ldlework> infinisil: oh that will only work if the other file is a proper module right?
Mateon2 has joined #nixos
<ldlework> does the code blow up if it finds a nix file that isn't a module?
<{^_^}> [nixpkgs] @Calvin-L opened pull request #45162 → gdal: allow version 1.11 on Darwin → https://git.io/fNhag
<adamantium> i have put this together https://github.com/a-schaefers/grubbe-mkconfig
<clever> adamantium: in the past, i have used the source command in grub.cfg to source another grub.cfg file
<infinisil> ldlework: Just use whatever auto-importing behaviour is right for you, it's just a bunch of functions after all
<clever> adamantium: you could potentially have 2 /boot partitions, for different OS's (even 2 nixos's!), and then have a menu option that sources the other one on-demand
<adamantium> that is not good clever, i have found a massive grub bug with that sourcing approach
<clever> adamantium: they could even share a zpool, if they have different roots
<infinisil> ldlework: And if it really doesn't work with auto-importing, then just don't use it and put the files in a different dir
<clever> adamantium: i had source inside a menuitem, so it only sources when i tell it to
<adamantium> grub built with zfs support does not support sourcing a custom.cfg reliably.
<adamantium> that much, i do know.
<clever> adamantium: this is something i did back when i wasnt commited to nixos, and i was still using the gentoo grub to source the nixos grub.cfg
<adamantium> well, i'm just trying to be helpful :) it's only my experience
<adamantium> but yes, clever, right now i have two datasets in my ROOT pool with two operating systems, my funtoo and now this nixos. It is pretty fun
<Mateon2> Hey, does anyone here know where the default backgrounds for xfce are stored? Something got messed up when I moved computers, and my background is now a solid color.
<{^_^}> [nixpkgs] @Mic92 merged pull request #45145 → signal-desktop: 1.15.4 -> 1.15.5 → https://git.io/fNhnl
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNhVT
<{^_^}> [nixpkgs] @Mic92 merged pull request #45139 → urlscan: 0.8.7 -> 0.8.9 → https://git.io/fNh31
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNhVw
peel has quit [Quit: Connection closed for inactivity]
<Mic92> ryantm: I like the new diff feature.
<Mateon2> Nevermind my message - I found the backgrounds in the xfdesktop path in the nix store
<Mic92> Mateon2: not so nice though.
<Mic92> ryantm: my nix-review now has a special option so I can make effective use of your cachix cache: https://github.com/Mic92/nix-review#checkout-strategy
Cale has joined #nixos
<Mateon2> Huh, this is confusing. I can't actually set the desktop background, the images don't show up in the Desktop settings menu
haitlah has joined #nixos
seanparsons has quit [Ping timeout: 240 seconds]
ollieB has quit [Ping timeout: 240 seconds]
seanparsons has joined #nixos
haitlah has quit [Read error: Connection reset by peer]
<techieAgnostic> am i just really dumb, or is it really hard to run `stack upgrade`?
haitlah has joined #nixos
<Mateon2> Oh, I think I see the issue, I just straced a program that didn't work, and found out that /etc/profiles/per-user does not exist
<Mateon2> Is it safe to just copy that directory from the old machine?
<ldlework> infinisil: do you notice that when you use nixops with a machine that has included the auto-importer, that even options you don't enable, they get packages copied over in the closure ?
<Mateon2> Wait, the old machine does NOT have that directory, I'm confused why a bunch of env variables point to it, then
bennofs has quit [Ping timeout: 240 seconds]
jmeredith has joined #nixos
philippD has joined #nixos
<drbrule> Could someone explain what pkgs.haskellPackages.callPackage is doing?
<drbrule> I don't even know where to look that up
<drbrule> I am attempting to run `pkgs.haskellPackages.cabal2nix` instead of `pkgs.haskellPackages.callPackage ./cabal2nix.nix {}`
<drbrule> it would be nice to not have to manually generate the cabal2nix.nix, and just have nix do it on the fly
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
erickomoto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Acou_Bass has joined #nixos
rprije has joined #nixos
<{^_^}> [nixpkgs] @LnL7 opened pull request #45163 → mypy-protobuf: init at 1.6 → https://git.io/fNhKy
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<samueldr> what's the best way to deal with $upstream not versioning their downloads?
<samueldr> I know the cache+hash helps
<samueldr> but I feel it isn't the right solution
<samueldr> (in this case it's a font)
<symphorien> If it's packaged by debian then they have their own versioned copy of the source.
<samueldr> :( they don't seem to (Vegur)
<samueldr> though suse seems to have something
ericsagnes has quit [Ping timeout: 244 seconds]
slyfox has quit [Ping timeout: 244 seconds]
philippD has joined #nixos
rprije has quit [Ping timeout: 244 seconds]
rprije has joined #nixos
philippD has quit [Client Quit]
philippD has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
slyfox has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @LnL7 merged pull request #45162 → gdal: allow version 1.11 on Darwin → https://git.io/fNhag
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fNh6b