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
jrolfs has quit [Ping timeout: 246 seconds]
Lears has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46240 → metabase: 0.30.0 -> 0.30.1 → https://git.io/fAzO7
<jackdk> is anyone able to review nixpkgs PRs that package fonts? ofborg didn't assign me a reviewer: https://github.com/NixOS/nixpkgs/pull/45969
<{^_^}> #45969 (by endgame, 3 days ago, open): ultimate-oldschool-pc-font-pack: init at 1.0
<gchristensen> unfortunately ofborg isn't smart enogh to do reviewers yet
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46241 → mbuffer: 20180318 -> 20180625 → https://git.io/fAz3v
<jackdk> ah, my haskell PRs have had auto-assigned reviewers, and I assumed that was ofborg's doing
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46242 → matomo: 3.5.1 -> 3.6.0 → https://git.io/fAz3O
Fare has joined #nixos
<gchristensen> ah, github smarts for haskell packages :)
<jackdk> neat, thanks
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46243 → mercurialFull: 4.7 -> 4.7.1 → https://git.io/fAz3l
<v0latil3_> infinisil, do i have to set my login in said config? or is there a default
<gchristensen> "soon", ofborg will be smart enough to ping maintainers of existing packages.
<infinisil> v0latil3_: Something like users.users.root.password = "" should work
countingsort has joined #nixos
<v0latil3_> infinisil, not working :(
<gchristensen> mutableUsers might have to be set to false?
<gchristensen> oh and password being empty doesn't work iirc
<v0latil3_> yeah i did password asdf in case
<infinisil> What the hell why isn't this an assertion
<gchristensen> it is a very complicated set of requirements
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46244 → neo4j: 3.4.5 -> 3.4.6 → https://git.io/fAz3D
<gchristensen> but yes, a simple assertion here would probably be good
<v0latil3_> gchristensen, mutableUsers = false seemed to work unless i just mistyped before or something
<gchristensen> nice
counting1ort has quit [Ping timeout: 252 seconds]
<infinisil> mutableUsers worked with an empty password?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46245 → mediainfo: 18.05 -> 18.08 → https://git.io/fAz3b
<gchristensen> infinisil: it gets crazy complicated https://github.com/NixOS/nixpkgs/pull/31034 and is probably harmfully complicated
<{^_^}> #31034 (by grahamc, 44 weeks ago, closed): WIP: mutable user eval test
<gchristensen> and worse, is wrong
<infinisil> Oh boy
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46246 → mediainfo-gui: 18.05 -> 18.08 → https://git.io/fAzso
Fare has quit [Ping timeout: 252 seconds]
<infinisil> I've been wanting to implement assertions and warnings that can be disabled
<infinisil> It's very annoying you can't do that currently :/
<gchristensen> probably shouldn't have asserts in cases where it isn't imperative they be off
<gchristensen> probably shouldn't have asserts in cases where it isn't imperative remain true*
<infinisil> unable to parse that sentence
<gchristensen> probably should only have asserts in cases where it is imperative the tested case remains true
<gchristensen> hows that?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46247 → lynis: 2.6.7 -> 2.6.8 → https://git.io/fAzsD
* infinisil looks up the exact definition of imperative
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fAzs5
thc202 has quit [Ping timeout: 252 seconds]
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46248 → lockfileProgs: 0.1.17 -> 0.1.18 → https://git.io/fAzsb
graphene has joined #nixos
_ris has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46249 → netsurf.buildsystem: 1.6 -> 1.7 → https://git.io/fAzGJ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46250 → miniupnpc_2: 2.0.20180203 -> 2.1 → https://git.io/fAzG3
blankhart has joined #nixos
graphene has quit [Read error: Connection reset by peer]
graphene has joined #nixos
<v0latil3_> gchristensen isn't that a tautology
<gchristensen> evidently not "00:26 <infinisil> I've been wanting to implement assertions and warnings that can be disabled
<gchristensen> :)
<v0latil3_> oh i missed that
* infinisil doesn't get it
<ldlework> infinisil: so what do you mean by "handle it" ?
<infinisil> ldlework: I mean, what would you do against the error?
Fare has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
<ldlework> infinisil: I don't know, I expect packageOverrides to already exist.
<ldlework> it is from "old"
<infinisil> It does not exist, your thing is the first thing that sets it
<ldlework> i assume packageOverrides is defined on the python3 thing that we're calling .override on
<ldlework> which gets passed the old attrset defining python3
<infinisil> > test = lib.makeOverridable ({ x, y }: x + y) { x = 1; y = 2; }
<{^_^}> test defined
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46251 → meson: 0.46.1 -> 0.47.2 → https://git.io/fAzZG
<infinisil> > test = lib.makeOverridable ({ x, y }: { result = x + y; }) { x = 1; y = 2; }
<{^_^}> test defined
<infinisil> > test
<{^_^}> { override = <CODE>; overrideDerivation = <CODE>; result = <CODE>; }
<infinisil> > test.result
<{^_^}> 3
<infinisil> Oh um
<infinisil> Bad example
<infinisil> Anyways, it's not set by default, apparently
aanderse has quit [Remote host closed the connection]
<ldlework> so i have to...
<infinisil> Use "or"
<infinisil> > { foo = 10; }.bar or "value for bar not existing"
<{^_^}> "value for bar not existing"
sbdchd has joined #nixos
Mr_Keyser_Soze99 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46252 → lttng-ust: 2.10.1 -> 2.10.2 → https://git.io/fAzZ4
aanderse has joined #nixos
<infinisil> Or with an ?
<infinisil> > { foo = 10; } ? bar
<{^_^}> false
sbdchd has quit [Ping timeout: 245 seconds]
mayhewluke has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
MarkRBM has joined #nixos
<v0latil3_> I am having trouble with making a package work correctly that contains a python executable. It builds correctly and I can run it, but it is missing a python import.
<infinisil> v0latil3_: Add the package via propagatedBuildInputs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46253 → libatomic_ops: 7.6.4 -> 7.6.6 → https://git.io/fAzZy
<v0latil3_> ok. I thought it might be the propagated I was reading that part of the nix manual but it confused me
<infinisil> It confuses everybody, no worries :P
<infinisil> The best rule for when to use propagated vs not is: Is it python? Use propagated. Otherwise don't
<infinisil> Works 99% of the time lol
<v0latil3_> not in this case :( this isn't actually a pypi package though
<v0latil3_> its just a make project that has a python script in it
<Henson> I'm trying to use builtins.fetchGit, but it doesn't seem to be present in my nix-repl. Has it changed names, or is it so new that I might not have it?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46254 → libcouchbase: 2.9.2 -> 2.9.4 → https://git.io/fAzZb
timokau has joined #nixos
<Wizek> Anyone knows what might be wrong with this expression? ```nix-shell -j8 -p 'let hp = haskell.packages; in (hp.ghc822.override {overrides = self: super: let f = name: ver: (self.callHackage name ver {}); in {hspec = f "hspec" "2.4.4"; hspec-discover = f "hspec-discover" "2.4.4";};}).ghcWithPackages (p: with p; [hspec])' --run 'ghci'``` I get: ```error: infinite recursion encountered, at
<Wizek> /nix/store/2gk7rk2sx2dkmsjr59gignrfdmya8f6s-nix-2.0.1/share/nix/corepkgs/derivation.nix:18:9```
<infinisil> v0latil3_: Ah, well then I think you need to patch that script with the correct python
<infinisil> Hmm...
timokau_ has quit [Ping timeout: 268 seconds]
aanderse has quit [Remote host closed the connection]
aanderse has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<JonReed> Henson: Likely the latter. I have nix 2.0.4 and it's there
<Wizek> could it be that I would need this monstrosoty for this to work? https://github.com/NixOS/nixpkgs/issues/42022#issuecomment-397339559
<v0latil3_> infinisil its replacing the directive to the a /nix/store/python3 directory instead of a /nix/store/python3-env/ directory
<infinisil> v0latil3_: Can you be a bit more concrete with how python is used?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46255 → libmediainfo: 18.05 -> 18.08 → https://git.io/fAznG
<v0latil3_> its a make program that installs a python script that imports evdev. I probably just need to add the python.withPackages to a different inputs section maybe. idk
<infinisil> Ah, so you want to wrap a python script in $out with the correct packages?
<v0latil3_> yeah
sbdchd has joined #nixos
<infinisil> v0latil3_: Try adding wrapPython to nativeBuildInputs, set python packages like `pythonPath = with pythonPackages; [ ... ];` and wrapping the script with `wrapPythonProgramsIn $out/path/to/script/dir "$out $pythonPath"`
<infinisil> in fixupPhase preferably
<v0latil3_> its doing it automatically but its using the wrong python path
jperras has joined #nixos
<v0latil3_> I think I know why though
<adamantium> Hi, the amdgpu driver, is it going to be "modesetting" or "ati" ???
<v0latil3_> modesetting
<adamantium> or something not mentioned in the options?
<adamantium> i've seen bugs referring to amdgpu
<adamantium> Okay, thanks
jperras has quit [Ping timeout: 245 seconds]
<adamantium> Anyone also know if we can enable early kms?
<samueldr> as far as intel drivers are concerned, including them into the initrd is enough, I would instinctively assume the same for amd's
<adamantium> so like this boot.initrd.kernelModules = [ "i915" ];
<adamantium>
<adamantium> and amd would be, "amdgpu" ? i am guessing.
<samueldr> possibly with "amdgpu" and(?) "radeon" instead (source https://wiki.archlinux.org/index.php/AMDGPU#Enable_early_KMS)
ryantrinkle has joined #nixos
<samueldr> definitely don't know about "radeon" though
<adamantium> oh i do not think radeon would be a good idea
<adamantium> thanks :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46256 → kubernetes-helm: 2.9.1 -> 2.10.0 → https://git.io/fAzn5
<v0latil3_> why would radeon not be a good idea?
<v0latil3_> you can load radeon in initrd just fine
<adamantium> ok well i think i just do not want to use the radeon driver
<v0latil3_> what gpu do you have?
<adamantium> amd RX460
<v0latil3_> yeah you can use amdgpu then
<adamantium> right. now, just to be doubly sure... services.xserver.videoDrivers = [ "modesetting" ]; is correct, and should not be amdgpu also???
<v0latil3_> you shouldn't need to set that i think
<v0latil3_> I don't have it set
<samueldr> AFAIUI modesetting has the magic sauce to know *which* module to load
<adamantium> well, i kinda like to explicitly set it
<v0latil3_> The only configuration I have is enabling a display manager everything should be automatic
<adamantium> alrighty, good enough for now
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46257 → libbsd: 0.8.7 -> 0.9.1 → https://git.io/fAzcI
<Henson> JonReed: did you find that in nix-repl? When I run "nix --version" it tells me 2.0.4, but "nix-repl --version" tells me 1.11.16. I'm using the latest nixpkgs-unstable.
<v0latil3_> do "nix repl" not nix-repl i think
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46258 → mpd_clientlib: 2.14 -> 2.15 → https://git.io/fAzcG
<Henson> v0latil3_: holy crap, that was the problem. Thank you!
<v0latil3_> yeah that tool changed to a part of `nix` and you probably just have old nix-repl still in your environment
<samueldr> nix-repl does not work out of the box with nix 2.0+ daemons
<Henson> man, Nix Pills has steered me wrong a bunch of times. I would have been better off not reading it :-(
<samueldr> Henson: maybe too late, but has you kept notes of the issues? this would help tremendously to pin-point what to update
<samueldr> have you*
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46259 → libdrm: 2.4.93 -> 2.4.94 → https://git.io/fAzc4
<Henson> samueldr: I should have been keeping more detailed notes as I went along, but just started today keeping a list of things I wish I knew before learning Nix. I'm planning on putting it into a document at some point in time to help other Nix learners.
<samueldr> and it may be a bit onerous to ask such thing, sorry
<samueldr> Henson: glad to hear, I like people that keep notes :)
<adamantium> Anyone know, do we have a splash screen option instead of watching systemd init
<samueldr> maybe look at the plymouth options
<v0latil3_> plymouth isn't very seemless looking iirc :(
<adamantium> aww i wanted to represent
<samueldr> (haven't tried on nixos)
<adamantium> i'll try the plymouth thanks
<Henson> samueldr: I've been stuck for several weeks adapting a proprietary binary libary to work with Nix. I've learned pretty much by trial and error because what I'm trying to do isn't in any online documents. I've slowly figured it out and have made some simple helper scripts along with "ldd" and "patchelf" to track down library dependencies. I've also had to make a few of my own Nix packages....
<Henson> samueldr: like the "pipe" package for Python, fixed a bug in python27.nuitka and made a derivation for gtkglextmm which doesn't exist in nixpkgs. I'm not sure how to go about contributing these things back to nixpkgs to make it better.
<infinisil> Henson: Also, nix-repl has been completely removed now, you can't install it anymory with current releases, and the pills and docs haven't been updated :/
<samueldr> (maybe the one who removed it should update the pills ;))
<infinisil> yea..
<gchristensen> hard to remember all the places to update
<gchristensen> not an excuse
lassulus_ has joined #nixos
<infinisil> At least there's an error message now
<infinisil> Should do until somebody decides to update everything
sbdchd has quit [Remote host closed the connection]
alec[m] has joined #nixos
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46260 → josm: 14066 -> 14178 → https://git.io/fAzcS
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46261 → jaaa: 0.8.4 -> 0.9.2 → https://git.io/fAzcQ
sophiag has joined #nixos
jperras has joined #nixos
<adamantium> i must say, i like the splash from plymouth, looks good with slim by default. smooth on this laptop.
<adamantium> How can i view my xorg.0.log file, i have not learned systemd yet, i don't know the journalctl command. Sorry :\
tzemanovic has quit [Remote host closed the connection]
<infinisil> journalctl -u display-manager -e
<adamantium> ty
jasongrossman has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46262 → inboxer: 1.1.2 -> 1.1.4 → https://git.io/fAzCJ
<v0latil3_> infinisil, I swear I didn't change anything but it started working haha
jasongrossman has joined #nixos
<v0latil3_> With the python wrapshebangs thing
<infinisil> Ah yes, Nix has this special thing where it randomly makes it fail with a 1% chance. It's to provide us with a sense of having solved it
<infinisil> (/s)
<v0latil3_> I must have not actually tried restarting the vm between my changes or something dumb. Or I didn't copy out of the terminal correctly and just launched an old config again idk
dbmikus__ has quit [Ping timeout: 240 seconds]
<v0latil3_> I think that is a good idea to add to nix though, infinisil
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46263 → ocamlPackages.js_of_ocaml: 3.2.0 -> 3.2.1 → https://git.io/fAzCl
kiloreux has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46264 → kipi-plugins: 5.2.0 -> 5.9.0 → https://git.io/fAzCi
silver_ has quit [Read error: Connection reset by peer]
kiloreux has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46265 → ibus-engines.table: 1.9.20 -> 1.9.21 → https://git.io/fAzC5
tzemanovic has joined #nixos
hlolli_ has joined #nixos
tzemanovic has quit [Ping timeout: 246 seconds]
hlolli has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46266 → japa: 0.8.4 -> 0.9.2 → https://git.io/fAzWC
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46268 → jmol: 14.29.17 -> 14.29.19 → https://git.io/fAzWr
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #46221 → kdeApplications.okteta: 0.25.2 -> 0.25.3 → https://git.io/fAzIr
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fAzWP
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46269 → hebcal: 4.13 -> 4.14 →
<v0latil3_> Do I add myself as maintainer for a new package? Contributing guide says it must be set.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46270 → htslib: 1.7 -> 1.9 → https://git.io/fAzlL
drakonis_ has quit [Read error: Connection reset by peer]
sbdchd has joined #nixos
<hyper_ch> v0latil3_: yes
alec[m] has left #nixos ["User left"]
<v0latil3_> hyper_ch there is not maintainer for service module?
sir_guy_carleton has joined #nixos
nikivi has quit [Ping timeout: 252 seconds]
Lears has joined #nixos
<sophiag> do i need a separate partition to run grub uefi rather than legacy? i'm currently using legacy and never got uefi support working
<ldlework> sophiag: adamantium tells me not to use uefi all the time
<ldlework> but i'm using uefi, and iirc i needed an extra partition
<sophiag> oy
<v0latil3_> sophiag yeah you need a partition type ef00 filesystem vfat
<sophiag> is that hardware specific for you? as in why you were told to avoid uefi?
[Leary] has quit [Ping timeout: 245 seconds]
<ldlework> sophiag: i don't think so, i think adamantium thinks uefi is bad or something
<clever> sophiag: uefi booting required an efi system partition, with vfat, mounted to /boot (or maybe /boot/efi with the right config)
<sophiag> v0latil3_: thanks. makes sense since the laptop (lenovo t480) came with a fat32 boot partition (oddly wayyy too big) running uefi
lord| has quit [Ping timeout: 245 seconds]
<Ashy> sophiag: How is the t480?
<sophiag> clever: thanks. is there any reason other than avoiding the vfat partition to use legacy on modern hardware?
<Ashy> Just got myself an old t450 off ebay that I'm loving so far
<v0latil3_> sophiag I made mine 500mb im only using 57mb though
<elvishjerricco> It seems to be a common opinion that uefi is bad, though I've never heard the arguments against it. Always seemed to improve my life overall
<sophiag> Ashy: haven't really used it yet! but i was waffling between it and the x1 carbon and on receiving it and comparing to my boss
<ldlework> i probably wouldn't even notice the difference
<clever> sophiag: about the only thing i can think of, is that booting uefi generally requires some special vars being set in the firmware
<sophiag> ..'s carbon the weight it perfect
<clever> sophiag: and you can only set those vars if you boot via uefi
<clever> sophiag: so, you must boot via uefi, to configure it to boot via uefi, have fun! :P
<clever> sophiag: and if you move the hdd to another box, it wont boot, because the vars are missing
lord| has joined #nixos
<v0latil3_> hyper_ch: for a module commit message am I supposed to put the whole path of the module? I dont get what this is saying https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md
<clever> booting from a uefi USB stick is one way to bootstrap that whole mess
<sophiag> clever: right, i can imagine a lot of nixos users in situations where that might me an issue
<clever> sophiag: with some bios firmware, you can manually edit those vars in the UI, which can help
<sophiag> elvishjerricco: thanks, that's my general sense
<clever> sophiag: but some bios are so stupid, they even ignore the vars, and boot the filename windows puts the bootloader at :P
<clever> "it boots windows, ship it"
jasongrossman has quit [Remote host closed the connection]
<ldlework> What is the official name of an expression of the form "self: super: {}" and where do I read about it?
<clever> ldlework: overlays
<ldlework> hrm
nikivi has joined #nixos
<sophiag> and finally, what's with these gigantic boot partitions?
<clever> sophiag: how big is it?
<sophiag> clever: the one i'm about to erase was 260mb with 32mb used and v0latil3_ says they have a 500mb boot partition only using 57mb
<clever> sophiag: i tend to make my boot partitions either 512mb or 1gig
<v0latil3_> I leave mine big in case I want to put she jerks or other stuff into it
<v0latil3_> Put some kernels into it
<v0latil3_> Wow I can't type on phone :)
<clever> https://github.com/cleverca22/nixos-configs/blob/master/rescue_boot.nix eats up about 300mb on /boot, and i tend to enable this on most machines
<sophiag> v0latil3_: lol i was afraid to google
<v0latil3_> Clever that is neat
<sophiag> hmm, well i sprung for the 1gb ssd. and not planning on doing anything like clever's rescue boot
<sophiag> (i also currently have a swap volume, which i figure it unnecessary...especially now with 32gb ram)
JonReed has quit [Ping timeout: 252 seconds]
<Henson> how do I concatenate paths in Nix expressions? If src=/tmp how can I use the src variable to make /tmp/foo ?
<v0latil3_> I put 40gb swap or something dumb like that
<Henson> I'm used to doing it in a buildCommand script where it would just be $src/foo, but in a Nix expression it doesn't seem to work that way.
<clever> v0latil3_: my desktop has 32gig of ram and 32gig of swap, and i soemtimes have to enable an extra 64gig swap parittion
<clever> Henson: /tmp + "/foo"
<Henson> clever: awesome, thank you
<sophiag> hmm. maybe i should still have swap then
<sophiag> i do write crappy software a lot :)
<clever> sophiag: one of my haskell programs leaks memory at a fairly low rate, but after a few weeks or uptime, it has leaked 64gig or more :P
<sophiag> clever: sounds almost normal tbh :/
blankhart has quit [Quit: WeeChat 1.9.1]
<sophiag> oh, one actually important thing i might forget...grub uefi and safe boot? any issue there? i would think the other way around
<v0latil3_> What is safe boot?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46272 → iasl: 20180313 -> 20180629 → https://git.io/fAz8k
<sophiag> v0latil3_: err...secure boot
<v0latil3_> Oh. yeah secure boot is only for efi.
<sophiag> right
<v0latil3_> I don't know if that works for nix though. I think only some kernels like ubuntu are signed for most OEM.
<v0latil3_> Maybe you can sign your own now? i forget
<sophiag> does it use sgx now?
<clever> v0latil3_: i recently experiemnted with my laptop bios, and you can "enroll" any unsigned efi binary
<clever> which just adds the hash of the binary to the whitelist
<sophiag> (not sure if that's a good thhing anymore...)
<clever> v0latil3_: however, the grub binary itself, doesnt have any security enabled, and will happily run unsigned things, so it doesnt really protect you much
<clever> so my laptop can only ever run the grub.efi file nixos installed, and nothing else
<v0latil3_> yeah haha. is it just the hash or is it a signature?
<clever> but grub will happily run anything you point it at :P
<clever> just a hash of the grub binary
<clever> i also didnt bother setting a bios password, so you can just turn secure-boot back off
<v0latil3_> I think there is a way to add a signature, so then you could have nix sign the kernel with your key and add the kernel directly as a boot option
<clever> v0latil3_: yeah, but then you need to deal with managing secrets in /nix/store/
<sophiag> this feels like mossad/not-mossad territory
<v0latil3_> its just for fun :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46273 → gmock: 1.8.0 -> 1.8.1 → https://git.io/fAz8s
<sophiag> yeah, it's cool. except *me* actually doing that for fun has a window that probably lasts about just tonight
<sophiag> i'm also realizing, since i've been using this machine without a vfat partition, that i don't know the deal with `canTouchEfiVariables`
<clever> efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
<clever> sophiag: if you run `mount`, do you see this being mounted?
<sophiag> one sec, i'm on a different machine
Henson has quit [Quit: goodnight everyone]
<sophiag> clever: yup
<clever> then you are booting via uefi
<sophiag> oh, i know i am...it was shipped with it
<clever> ah
<clever> [root@system76:~]# nix run nixpkgs.efibootmgr -c efibootmgr -v
<sophiag> i just have a vague sense of canTouchEfiVariables being either problematic in the past or on certain hardware
<clever> sophiag: canTouchEfiVariables only works if you have booted via uefi
<clever> so if you boot a USB stick in legacy mode, it cant setup the efi vars
<clever> the above efibootmgr command will print the current efi vars
<clever> Boot0000* ubuntu VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
<clever> Boot0004* UEFI OS HD(1,GPT,27c99b08-455d-4dfe-a44f-6150cbc09ef8,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
<clever> in my case, there is traces of the original OS left behind
<sophiag> yeah i think i have to format the system partition just because it's way too big
<sophiag> i don't see why i'd set canTouchEfiVariables to false except temporarily, though
<{^_^}> [nixpkgs] @mvnetbiz opened pull request #46274 → libratbag: init at v0.9.903 → https://git.io/fAz8g
sb0 has quit [Quit: Leaving]
<clever> sophiag: yeah
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46275 → gromacs: 2018.2 -> 2018.3 → https://git.io/fAz8H
v0latil3_ is now known as mvnetbiz
<sophiag> i'm just waffling on boot partition size. this ubuntu guide has separate sections for /boot (recommended 250mb-1gb) and efi (rec 100-150mb): https://help.ubuntu.com/community/DiskSpace
<ldlework> clever: infinisil and I talked earlier about how to extend lib by setting NIX_PATH such that nixpkgs/nixos= a file that exports the same thing as <nixpkgs/nixos/default.nix> but extends lib - but do I really need to duplicate the content of that file or is there a clever (hah) way for me to extend it more intelligently - also i don't really see what in that file would allow me to extend lib
<clever> when doing efi on nixos, the default is a vfat mounted to /boot and /boot/efi is just a normal directory
<ldlework> any idea?
<clever> but, you can also mount the vfat to /boot/efi, and set boot.loader.efi.efiSysMountPoint = "/boot/efi";
<sophiag> clever: ah. is it for the reason they state? "Some computers can't see boot files (/boot) if located far (>100GB) from the start of the disk."
<clever> then you are free to make /boot ext4, or even use the /boot directory of /
<clever> sophiag: thats more about the start of the boot partition on the disk, and its only an issue for legacy booting
<clever> sophiag: that problem is also part of why you may find /boot on older legacy machines, the bios cant read the entire root fs
<sophiag> gotcha
<clever> uefi shouldnt have issues like that
<sophiag> i had decided not to user /boot/efi as the efiSysMountPoint, but now that's seeming ideal if i have just one large ssd and don't want to waste space on it
<sophiag> *use
<clever> if your using ext4 for /, then you can put the ESP at /boot/efi and just omit the /boot partition entirely
<sophiag> not sure why that sounded less desirable at one point. it seems like what i'd want now
<sophiag> and i can probably get away with 100mb for the esp
<clever> [root@system76:~]# ls -ltrh /boot/EFI/BOOT/BOOTX64.EFI
<clever> -rwxr-xr-x 1 root root 119K Oct 29 2017 /boot/EFI/BOOT/BOOTX64.EFI
<clever> sophiag: i think you could get away with 1mb, lol
<emily> 1mb isn't enough for a modern kernel...
<sophiag> clever: oh...then i still must be misunderstanding this
<clever> emily: the kernel would be in /boot or /nix/store, not /boot/efi
<emily> oh. well, sure. I strongly recommend making /boot the ESP though
<emily> I think the UEFI spec mandates it has to be at least 100 megabytes or something.
<clever> ah
<sophiag> emily: that would make sense per the ubuntu guide
<sophiag> i couldn't understand why, though, so thanks :)
<emily> I think there's no advantage to a separate /boot/efi and it complicates things
derped has joined #nixos
<emily> and things generally default to expecting /boot to be the ESP (where they have any defaults at all), these days
<clever> yeah, thats why you need the boot.loader.efi.efiSysMountPoint = "/boot/EFI"; option in nixos
<sophiag> emily: how large would you set for the esp in that case? assuming i'm only booting nixos
<emily> 100-256 megabytes should be more than enough unless you want to keep a bunch of kernels around forever or do kernel development yourself
<clever> sophiag: my /boot on the laptop is using 79mb right now
<clever> 9.6M /boot/grub
<clever> 66M /boot/kernels
<emily> 128 is a nice number, if you want an arbitrary one
<clever> most of it is kernels and initrds
<clever> it also recently got full, and i had to disable my rescue_boot
<sophiag> yeah i was thinking towards the low end. just want to avoid regrets. tbh i'm surely still anxious from dealing with acpi and bumblebee :p
<emily> 256 will insure against any reasonable regrets
<clever> my laptop has 512mb, and ran out due to rescue_boot, lol
<emily> okay, I refuse to offer insurance then >.>
<sophiag> oh, while i'm on the unfortunate topic of acpi...the only problem i have left is coming out of suspend/hibernate/sleep. are there any hacks that might solve that?
<emily> what hardware are you using again?
<sophiag> i currently have `acpi_osi = "Windows 2009"`
<sophiag> emily: currently a weird asus gaming laptop. migrating to a lenovo t480
<emily> ah
<emily> you may have problems with sleep on the lenovo. I did on the x1 carbon.
<sophiag> yeah, someone told me that wrt the carbon running qubes
jperras has quit [Quit: WeeChat 2.2]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<sophiag> but i thought there might be some weird way around it
<emily> there are esoteric ways around it, yeah.
<sophiag> well, you can see how i had to set it above just to launch a display manager :p
<sophiag> it's been fine since, though
<ldlework> clever: got any tips for me
<clever> *looks up*
<ldlework> <3
<clever> ldlework: ive tried pointing <nixpkgs> to a default.nix before, and it causes weird problems, because of the fact that you can <nixpkgs/lib/options.nix>
<clever> your probably better off just editing nixpkgs directly, and maybe filing a PR
<ldlework> my little helpers are probably not of general enough use
reinzelmann has joined #nixos
<clever> then either import its file directly, or add them to pkgs?
<ldlework> clever: you mean via overlay?
<clever> yeah
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46276 → gzdoom: 3.5.0 -> 3.5.1 → https://git.io/fAz4E
<ldlework> Ah yeah, I'm doing that for ones that work as an overlay
<ldlework> There are some things you just can't do via that method
<ldlework> clever: I implemented a function called "enableWithPrefix" with creates enable = true options for a bunch of options that share a prefix
<ldlework> here is my "workstation" profile on the home-manager and nixos sides, https://gist.github.com/dustinlacewell/b285c7629a2f1b6aac30b6f842626d32
<ldlework> it works on the home-manager side, but not the nixos side, because on the nixos side, one of the things I'm enabling ends up manipulating a nixos option, namely enabling xserver
<ldlework> and so infinite recursion
<ldlework> even though the function itself just returns some dead attrset data
<ldlework> so on the nixos side i had to revert to just specifying the options manually
<clever> you would need to import the file directly, and not use an overlay
<ldlework> it is kind of a stupid helper function in the first place but i am mostly just experimenting
<ldlework> clever: yeah that's annoying and duplicative
<ldlework> way nicer to have these helper functions just globally available like everything else
<ldlework> if i move the lib file, then i have to update a bunch of imports
<ldlework> etc
<ldlework> i am mostly trying to experiment as much as i can trying different techniques out and stuff
<ldlework> i really like abstracting away duplicated boilerplate :)
<sophiag> libparted is giving me that "Could not stat device /dev/mapper/no block devices found - No such file or directory." error :/
<sophiag> oh wow, this is super useful: https://github.com/NixOS/nixos-hardware
<ldlework> clever: at least you get me
<derped> Hi everyone.
<derped> I've just upgraded to 18.09 and now geis (needed for touchegg) fails to build.
<derped> Error: configure: error: C compiler cannot create executables
<derped> I can still evaluate the exact same package with 18.03, so it is probably not the package itself but some changed build scripts.
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8ea6fdeac7b (from 14 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
hiroshi- has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46277 → groonga: 8.0.5 -> 8.0.6 → https://git.io/fAzBv
mayhewluke has quit [Ping timeout: 245 seconds]
sbdchd has quit [Remote host closed the connection]
hiroshi has quit [Ping timeout: 244 seconds]
hiroshi- is now known as hiroshi
mayhewluke has joined #nixos
nly has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46278 → google-compute-engine: 20180129 -> 20180510 → https://git.io/fAzBY
<nly> How can I install an old version of 'chez-scheme'?
<clever> derped: it was broken about 3 months ago
<derped> @nly you can use the .overrideAttrs function of the package.
<clever> derped: Bisecting: 278 revisions left to test after this (roughly 8 steps)
<nly> Derped, I found the version I want in Nixpkgs repo, its on branch "release-17.09"
<nly> Can I use that instead of writing anything?
<clever> derped: Bisecting: 137 revisions left to test after this (roughly 7 steps)
<derped> well theoretically yes, though I would advise against it (because you will also use all its 'old' dependencies from 17.09.
<derped> If the only difference between them is the version than changing the source with overrideAttrs is quite trivial.
<derped> If the build instructions are different you should use packageOverride + callPackage instead.
<derped> Wait a sec. I'll take a look at the package you are interested in.....
<ldlework> clever: is a description of callPackage, that it calls a function with as if each of its arguments was an attribute from the callsite's pkgs variable?
<ldlework> i think that's what it does
mounty has quit [Ping timeout: 245 seconds]
MarkRBM has quit [Remote host closed the connection]
<clever> ldlework: if the first arg is a file, it will import it
<clever> then if the first arg is a function with args, it will query the names of the args it accepts, and auto-call it with those args from pkgs
<clever> and the {} at the end is overrides
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46279 → godot: 3.0.4 -> 3.0.6 → https://git.io/fAzBp
<ldlework> huh
<clever> so you can do:
<clever> callPackage ({stdenv }: stdenv.mkDerivation { ... }) {}
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sophiag> what's with nixos-install using /mnt/etc/nixos/configuration.nix instead of /etc/nixos/configuration.nix ?
<clever> sophiag: its using the config on /mnt when installing to /mnt
<sophiag> it still looks there when if i mount the filesystem to / though
<clever> why did you mount something to / ?
<teto> for some time now on nixos-unstable, I get this failure "Failed to remove runtime directory /run/user/1000 (before unmounting): No such file or director" I dunno if it's due to my config but I have to restart the service manually else I don't have a /run/user/1000 (=> various program failures)
<sophiag> clever: bad idea?
<clever> sophiag: yeah
<sophiag> hah, okay. i just didn't have a mnt directory and figured it should look like my current system
<clever> nixos-install is a script to run nixos-rebuild in a chroot, basically
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46280 → linuxPackages.evdi: 1.5.0 -> 1.5.0.2 → https://git.io/fAzRB
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46281 → gitAndTools.git-imerge: 1.0.0 -> 1.1.0 → https://git.io/fAzRu
mounty has joined #nixos
<derped> @nly Ok I'm apparently too dumb to build the old version of the package....
<derped> unless you are willing write it yourself the only quick solution would be to add 17.09 to the list of channels
<derped> to use packages from other channels add a
<derped> let
<derped> myalias = import <channelname> { };
<derped> in
<derped> before the opening brackets of your function and call the package with
<derped> myalias.packagename
<derped> DISCLAIMER: 17.09 is no longer being maintained so I don't know how advisable it is to use it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46282 → folly: 2018.08.13.00 -> 2018.08.27.00 → https://git.io/fAzRH
<sophiag> any ideas why `nixos-generate-config --root /mnt` wouldn't be picking up the fileSystem mounted to /mnt ?
<sophiag> i'm hesitant to just add it to configuration.nix when it should be in hardware-configuration.nix
hlolli_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46283 → frostwire-bin: 6.7.1 -> 6.7.2 → https://git.io/fAzRb
yosemitesam has joined #nixos
winem_ has joined #nixos
<sophiag> nvm, working now
rauno has joined #nixos
mounty has quit [Ping timeout: 240 seconds]
Freechicks has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46284 → freetds: 1.00.94 -> 1.00.97 → https://git.io/fAz0t
Freechicks has joined #nixos
yosemitesam has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46285 → gdbm: 1.17 -> 1.18 → https://git.io/fAz0O
phreedom_ has joined #nixos
hyper_ch2 has joined #nixos
phreedom has quit [Ping timeout: 256 seconds]
drp has joined #nixos
hamishmack has joined #nixos
derped has quit [Ping timeout: 272 seconds]
endformationage has quit [Ping timeout: 245 seconds]
derped has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46286 → focuswriter: 1.6.15 -> 1.6.16 → https://git.io/fAz0X
winem_ has quit [Ping timeout: 252 seconds]
Mateon2 has joined #nixos
dbmikus__ has joined #nixos
Mateon1 has quit [Ping timeout: 246 seconds]
Mateon2 is now known as Mateon1
<nly> Thanks derped, looking at it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46287 → flow: 0.79.0 -> 0.80.0 → https://git.io/fAz0N
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46288 → fluidsynth: 1.1.10 -> 1.1.11 → https://git.io/fAz0j
dbmikus__ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46289 → duplicity: 0.7.18 -> 0.7.18.1 → https://git.io/fAzE8
<{^_^}> [nixpkgs] @xeji closed pull request #46251 → meson: 0.46.1 -> 0.47.2 → https://git.io/fAzZG
ersran9 has joined #nixos
ersran9 has quit [Changing host]
ersran9 has joined #nixos
kisik21 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46187 → pythonPackages.pyslurm: 20180604 -> 20180811 → https://git.io/fAuyT
<{^_^}> [nixpkgs] @xeji pushed commit from @costrouc to master « pythonPackages.pyslurm: 20180604 -> 20180811 (#46187) »: https://git.io/fAzEa
<{^_^}> [nixpkgs] @xeji pushed commit from @costrouc to release-18.09 « pythonPackages.pyslurm: 20180604 -> 20180811 (#46187) »: https://git.io/fAzEi
georges-duperon has joined #nixos
tertl3 has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46290 → checkSSLCert: 1.64.0 -> 1.72.0 → https://git.io/fAzEy
<sophiag> any idea what's going on here? i suspect it's because i set boot.loader.grub.device to /dev/disk/by-uuid/.. instead of an alias. but not sure why it's trying to install grub legacy
reinzelmann has quit [Ping timeout: 252 seconds]
civodul has joined #nixos
<sophiag> it's just this: `boot = { loader = { grub = { enable = true; device = "/dev/disk/by-uuid/[uuid]"; efiSupport = true; }; efi = { efiSysMountPoint = "/boot"; canTouchEfiVariables = true; }; systemd-boot.enable = true; };`
<mvnetbiz> why did u put the grub stuff
<{^_^}> [nixpkgs] @xeji merged pull request #46191 → pythonPackages.locustio: 0.8.1 -> 0.9.0 → https://git.io/fAu9Y
<{^_^}> [nixpkgs] @xeji pushed commit from @costrouc to master « pythonPackages.locustio: 0.8.1 -> 0.9.0 (#46191) »: https://git.io/fAzEN
<mvnetbiz> I only did boot.loader.systemd-boot.enable = true and canTouchEfiVariables = true
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46291 → cstore_fdw: 1.6.1 -> 1.6.2 → https://git.io/fAzEp
<{^_^}> [nixpkgs] @xeji pushed commit from @costrouc to release-18.09 « pythonPackages.locustio: 0.8.1 -> 0.9.0 (#46191) »: https://git.io/fAzue
reinzelmann has joined #nixos
<mvnetbiz> sophiag, with just those 2 options and your efi system partition on /mnt/boot it should install grub for your correctly
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46292 → clib: 1.8.0 -> 1.8.1 → https://git.io/fAzuJ
<sophiag> mvnetbiz: i've just always used grub. but i'd really like grub uefi rather than legacy on this machine
<mvnetbiz> yeah systemd-boot installs grub uefi for you
<sophiag> ah, i was going to ask if that's what you meant
tzemanovic has quit []
<sophiag> do i need the boot.loader.efi parts?
<{^_^}> [nixpkgs] @xeji merged pull request #46161 → pythonPackages.phonopy: refactor → https://git.io/fAucq
<{^_^}> [nixpkgs] @xeji pushed commit from @costrouc to master « pythonPackages.phonopy: refactor (#46161) »: https://git.io/fAzuk
<mvnetbiz> I don't have it. I just had my efi partition mounted on /mnt/boot and it figured out the boot device based on that
<{^_^}> [nixpkgs] @xeji pushed commit from @costrouc to release-18.09 « pythonPackages.phonopy: refactor (#46161) »: https://git.io/fAzut
<sophiag> thanks. that would have been my guess. i assume it's necessary if boot is anywhere else
<mvnetbiz> Oh maybe this isn't grub though
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46293 → duo-unix: 1.9.20 -> 1.10.4 → https://git.io/fAzuq
<mvnetbiz> It looks like a grub menu but I never actually used it
<sophiag> i always thought systemd-boot was distinct from grub, but it seems it actually launches a grub image (among other options)
<etu> They are different
<etu> You can probably enable both on uefi and then pick your bootloader with your uefi, but I don't see why you would want to do that
nbardiuk has quit [Ping timeout: 252 seconds]
<etu> sophiag: I was sceptical to systemd-boot as well since "I've always used grub", but systemd-boot is very nice and clean I must say :)
<sophiag> etu: do they even wholly overlap, though? from what i'm reading it seems systemd-boot launches a grub menu as opposed to grub booting itself
<clever> systemd-boot doesnt have anything to do with grub
<clever> it has its own menu
derped has quit [Ping timeout: 252 seconds]
<sophiag> clever: do you have an opinion between the two? i don't care much as long as they expose the same options
<etu> Both will boot your system just fine, so I guess it's personal preference. Nowadays I almost only use systemd-boot.
<clever> ive been a grub person since grub 1
<sophiag> ha, okay
<clever> of note, systemd-boot is uefi only
<clever> so if your on an older machine, systemd-boot wont work
<clever> grub also has a lot more config options
<sophiag> people do often look at me weird when i say i use grub. i think they associate it with legacy
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46294 → debootstrap: 1.0.107 -> 1.0.108 → https://git.io/fAzu2
<etu> sophiag: Then you ask: "What do you boot your system with? Lilo?"
<sophiag> lol
<sophiag> clever: can you point out why i had trouble installing grub above? it may just be that i had systemd-boot enabled as well
<clever> sophiag: what error give grub give?
<sophiag> `boot = { loader = { grub = { enable = true; device = "/dev/disk/by-uuid/[uuid]"; efiSupport = true; }; efi = {efiSysMountPoint = "/boot"; canTouchEfiVariables = true; }; systemd-boot.enable = true; };
<sophiag> one sec
<clever> boot.loader.grub.device is only for legacy
<clever> when doing efi, it must be set to "nodev"
<sophiag> oh okay
<clever> but you can do both legacy and efi at the same time
<clever> if you wanted to
<sophiag> that's in line with the issue
<clever> legacy on gpt requires a dedicated bios boot partition, 1mb, not mounted, not formated
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46295 → curl: 7.61.0 -> 7.61.1 → https://git.io/fAzuy
<sophiag> the main reason i can think of needing legacy support is for booting off disk images
<nly> Derped, I think nix-shell -I nixpks=https://github.com/NixOS/nixpkgs-channels/archive/nixos-17.09.tar.gz -p chez is what I want
<nly> It installed the correct version, ie. chez 9.4
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46296 → drumgizmo: 0.9.15 -> 0.9.16 → https://git.io/fAzup
<sophiag> actually systemd-boot was probably smart since it's the windows 10 bootloader
ersran9 has quit [Quit: Leaving]
jackdk has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Fuuzetsu merged pull request #46228 → oniguruma: 6.8.2 -> 6.9.0 → https://git.io/fAzL9
<{^_^}> [nixpkgs] @Fuuzetsu pushed 2 commits to master: https://git.io/fAzgJ
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46297 → appstream-glib: 0.7.10 -> 0.7.12 → https://git.io/fAzgM
pSub has joined #nixos
pSub has quit [Changing host]
pSub has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46183 → pythonPackages:ordered-set: refactor → https://git.io/fAuPF
<{^_^}> [nixpkgs] @xeji pushed commit from @costrouc to master « pythonPackages.ordered-set: add missing dependency (#46183) »: https://git.io/fAzg5
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46298 → burp: 2.1.32 -> 2.2.4 → https://git.io/fAzgA
<{^_^}> [nixpkgs] @xeji pushed commit from @costrouc to release-18.09 « pythonPackages.ordered-set: add missing dependency (#46183) »: https://git.io/fAz2v
ixxie has joined #nixos
shad has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3a6fa7a8065 (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
johanot has joined #nixos
winem_ has joined #nixos
shad has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46299 → capnproto: 0.6.1 -> 0.7.0 → https://git.io/fAz2c
shad has joined #nixos
georges-duperon has quit [Ping timeout: 252 seconds]
<jasongrossman> Hi! I'm just making my first issue report. Is there a guide as to how to do that? It seems very straightforward except that I'm not sure whether I should assign it to someone.
<{^_^}> #46300 (by eighal, 1 minute ago, open): factor: a standard working directory is set to be in /nix/store
<srhb> jasongrossman: Unless you know that a specific person wants it, just file it to anyone :)
<srhb> That is, unassigned
<jasongrossman> srhb: Cool. Thank you.
<jasongrossman> srhb++
<{^_^}> srhb's karma got increased to 14
<srhb> jasongrossman: Thanks for reporting. Do you happen to know how to configure the default?
<jasongrossman> Sorry, no. I will work it out eventually but it might take a very long time because I have to learn a lot about factor first.
<srhb> jasongrossman: OK! Just asking in case you knew of a quick fix. ^_^
<jasongrossman> :-)
<jasongrossman> It's one of those things that will be straightforward to someone who knows the language's ecosystem. I don't know whether we have anyone like that in these parts.
<srhb> jasongrossman: It might be worth doing a git blame on the definition of the derivation and finding the contributor to ping :)
<srhb> Or just a git log on the file.
<jasongrossman> shrb: Would you believe I don't know how to do those things?
<jasongrossman> (That's a rhetorical question.)
<srhb> jasongrossman: Sure, do you want me to give you a quick guide?
<srhb> jasongrossman: It really helps to ping relevant people to speed up issue fixing :)
<siers> If I want to include nix code, then it wouldn't work like other packages as usual, because I cannot import from fetched sources. So if I want to get a nix code package into nixpkgs, I will have to add nixpkgs docs about it? context: https://github.com/NixOS/nixpkgs/pull/46112
<{^_^}> #46112 (by siers, 1 day ago, open): nix-gitignore: init at v1
<jasongrossman> srhb: Yes please. Unless there's already a page on the wiki about it.
<jasongrossman> (I haven't found one.)
<{^_^}> [nixpkgs] @fpletz merged pull request #46235 → nixos/networkd: support MULTICAST, fix RequiredForOnline and [Route] → https://git.io/fAzYw
<{^_^}> [nixpkgs] @fpletz pushed 4 commits to master: https://git.io/fAz2F
<srhb> siers: I'm not sure exactly what you're asking. is this about the readme?
<siers> yea
<srhb> jasongrossman: OK, where do we start. Do you know how to clone the repo?
<jasongrossman> Yes.
<srhb> jasongrossman: Great! With nix 2.x we have a shortcut for finding most packages
<srhb> jasongrossman: Try nix edit nixpkgs.factor-lang
<jasongrossman> At least, I know about cloning in general. Clone the whole of nixpkgs to my github account?
Boomerang has joined #nixos
<srhb> Ah, yes, fork it first
<srhb> Then clone it to your computer
<jasongrossman> Thanks.
<srhb> (The fork is helpful in case you ever want to contribute)
<jasongrossman> OK, forked, and downloading, and I'm editing nixpkgs.factor-lang
<jasongrossman> Downloading will take a while.
<jasongrossman> Talk among yourselves.
phreedom_ is now known as phreedom
<srhb> jasongrossman: editing is just a quick way to find the file in question. Then you can git log that path, and find the relevant contributors
<srhb> jasongrossman: (You might have to scroll down a bit to find the person in question, since there's some tree-wide irrelevant changes to the file)
<jasongrossman> I see. Great. nixpkgs.factor-lang says:
<jasongrossman> " maintainers = [ maintainers.vrthra ];"
<srhb> jasongrossman: That is usually a github handle, but you can check maintainers/maintainer-list.nix for details
<jasongrossman> Thanks.
<jasongrossman> Found the person on github.
<srhb> Ping 'em in the issue politely. :D
<jasongrossman> :-) Is there a standard way to do that?
<jasongrossman> I mean a standard mechanism.
<srhb> @handle msg :)
<jasongrossman> :-)
<jasongrossman> Thanks!
<srhb> You're welcome.
<kandinski> is there a nixos-beginners channel, or is this is for fairly newbie questions?
<srhb> kandinski: You are free to ask any question at any level regarding the nix ecosystem in this channel :)
<jasongrossman> I guess I should paste our discussion (minus specifics) into a wiki page.
<srhb> jasongrossman: Like a guide to new people? That's a great idea. :)
<jasongrossman> @jasongrossman message
<jasongrossman> Hm.
<srhb> Oh sorry
<srhb> I meant on the github issue
<kandinski> so, my first question is: /nix/store paths have names based on hashes of the *input expressions* to the packages, not hashes based on the *content* on the files. However, there is a cache from which we download. Where is the hash of the content of the package, and how is it linked to the input-hash-based name?
<srhb> We don't have any mechanism to transfer a message from here to github.
<jasongrossman> srhb: Will github parse that out of a comment, or do I type it somewhere specific please?
<srhb> jasongrossman: Github will send a notification to person when you use @person anywhere on github. :)
<srhb> Comments are fine
<jasongrossman> srhb: Fantastic. Thanks.
<kandinski> (to the above question: my assumption is that, since there is a mechanism for downloading precompiled packages from the cache, there will also be a mechanism for transmitting the hashes of those packages, for authentication/security/etc.)
<kandinski> (but I can't find where that is)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46301 → linuxPackages.bcc: 0.6.1 -> 0.7.0 → https://git.io/fAza1
<kandinski> srhb: thanks for the invitation, and sorry for writing the question and background over three lines.
<srhb> kandinski: Hmm, I'm not sure I quite follow. Are you asking "how does nix determine to try the cache for a certain attribute?" As in, how does it know to get nixpkgshello from the binary cache?
<srhb> nixpkgs.helllo*
<srhb> kandinski: That's fine :)
<jasongrossman> kandinski: Maybe you're talking about checksums? I guess they're hashes in a way.
<kandinski> jasongrossman: yeah, sorry, that's exactly what I meant.
<jasongrossman> :-)
<jasongrossman> Don't apologise though. Makes total sense to me to call them hashes.
<kandinski> so checksums are a different kind of hashes, but still hashes, right?
<jasongrossman> YEs.
<jasongrossman> Now someone else knows the syntax better than I do, but there is a way of trying to download something without checking the hash/checksum, which fails but gives you the correct checksum in the error message.
<srhb> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<kandinski> hashes of the binary artifacts as opposed to the (text) expressions for the derivations of the packages. Please also correct me if I'm not using the terminology right.
<jasongrossman> ty
<srhb> But I'm still not sure I quite get the question
<srhb> kandinski: Ah, OK
<srhb> kandinski: I think we're talking about the so-called fixed-output derivations
<srhb> kandinski: And yes, the downloaded artifact is hashed in this case.
<jasongrossman> srhb: I THINK I understand the question, and I think you've just answered it with ,tofu. No?
<srhb> There's still the question of the cache :)
<srhb> kandinski: For fixed-output derivations, you are correct that the output rather than the input is determined.
<kandinski> srhb: you have an expression, and a related cached artifact corresponding to the derivation written in the expression. When you hit nixos-rebuild and a lot of cached artifacts come through the network, does nix/nixos check the artifacts' integrity? Via checksums (specialised hashes of the artifact)? Where do the checksums live for the nix package manager to use?
goibhniu has joined #nixos
<srhb> kandinski: So the artifacts for most everything lives on cache.nixos.org (and some on tarballs.nixos.org)
<srhb> kandinski: When a fixed-output derivation is required to be realized in the store, we simply look at the hash declared in the nix expression and do one of two things
<srhb> Well, three
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46302 → adapta-gtk-theme: 3.94.0.92 -> 3.94.0.132 → https://git.io/fAzVU
<srhb> 1) check if it's already in the store (by looking up the hash). If it is, stop, we already have the thing.
<srhb> 2) if not, check cache.nixos.org by requesting the hash. If it exists, download it and add it to the store.
<kandinski> But that is true also of all derivations, including the non-fixed-output ones. Right?
<jasongrossman> (Maybe obvious, but srhb means hashes of the inputs here.)
<srhb> 3) If it's not in the store and not in a known substituter (/cache) download the source, hash its output, compare it to the declared fixed-output hash, and add it to the store under the computed* (not declared) hash. (* this changed recently, previously it was just discarded if the hashes did not match)
<jasongrossman> (I think.)
<srhb> jasongrossman: input for regular derivations, output for fixed output derivations.
mayhewluke has quit [Ping timeout: 245 seconds]
<kandinski> Daughters gather asking for food. Thanks, srhb and jasongrossman.
<kandinski> I'll come back with the next round of questions. I learned something new, but not what I was asking :)
<clever> srhb: and fixed-output derivations will also check tarballs.nixos.org
<jasongrossman> kandinski: Made me laugh.
<srhb> kandinski: See you :)
<srhb> clever: Ah, so that's the rule. I didn't know.
<srhb> kandinski: Hopefully we can narrow down what you're asking later, sorry it didn't get quite clear to me. First pot of coffee still... :P
mayhewluke has joined #nixos
<clever> srhb: ah, i think its only used bu builtins.fetchurl, and the builtin:fetchurl builder
<srhb> clever: Thanks!
hxrts_ has joined #nixos
derped has joined #nixos
mkoenig has quit [Ping timeout: 244 seconds]
johanot has quit [Read error: No route to host]
sigmundv has joined #nixos
hlolli_ has joined #nixos
johanot has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fAzrW
<{^_^}> [nixpkgs] @7c6f434c merged pull request #46177 → linuxPackages.sysdig: 0.22.1 -> 0.23.1 → https://git.io/fAuox
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fAzrB
hlolli_ has quit [Remote host closed the connection]
davidar_ has joined #nixos
lorilan has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @teto opened pull request #46303 → lib/generators.nix: broaden toINI usage → https://git.io/fAzrH
fendor has quit [Ping timeout: 246 seconds]
rauno has quit [Ping timeout: 240 seconds]
nuncanada has joined #nixos
<davidar_> not sure if this is the right place to ask - I'm using Nix on Ubuntu, and am having trouble running applications from nix that depend on opengl, eg. `nix-shell -p glxinfo --run glxinfo` gives `Error: couldn't find RGB GLX visual or fbconfig`, any idea what's going wrong?
<srhb> davidar_: It is the right place to ask
<srhb> davidar_: What does nix-info say? I don't quite recall if unstable should have gl working out of the box or if it still requires some impurity.
<kandinski> srhb: what I learnt is that there's something called "fixed-output derivations", where the hash that names it is taken from the artifact's content. In that case, we can verify the artifact's integrity after downloading it from the cache just by taking the hash. Correct? But for regular derivation, where the name is taken from the hash of the input expression to the derivation, we can't verify the
<kandinski> integrity of the artifact that comes from the cache except by building the derivation ourselves, which preempts the point of the cache.
<davidar_> system: "x86_64-linux", multi-user?: no, version: nix-env (Nix) 2.1.1, channels(david): "nixpkgs-18.09pre151052.4477cf04b67", nixpkgs: /home/david/.nix-defexpr/channels/nixpkgs
<srhb> kandinski: Sort of...
<kandinski> srhb: my assumption (surely wrong) is that there was a series of hashes of the cache packages, signed by some key, that allowed nix to check that foohash-hello-world is indeed what it purports to be.
orivej has joined #nixos
<srhb> kandinski: The short answer is that we do not check the outputs of regular derivations. They may be non-deterministic in their outputs anyway, and are in a lot of cases.
<srhb> kandinski: (See the Debian project on reproducible builds, which is one of the big pushes towards "builds are always bit-for-bit identical")
<kandinski> srhb: I thought Nix/NixOS builds were bit-for-bit identical. I thought that was the point.
<kandinski> Or one of the points, at least.
<srhb> kandinski: When you trust a substituters key, you're essentially saying "I TRUST that you ensure that this derivation is built from these dependencies"
<srhb> kandinski: That is not the case, no.
<kandinski> srhb: is it a goal at least?
<srhb> A very long term goal, yes :)
<kandinski> srhb: and you're saying that Debian is ahead of NixOS in that regard?
<srhb> kandinski: Nope, they're just working on it too. It's a really hard problem. So many packages produce different outputs with each build.
<srhb> kandinski: This might interest you: https://reproducible-builds.org/
<srhb> TL;DR: Most build systems are bad, and their builds are bad.
<kandinski> ok, so binary artifact integrity from the caches is guaranteed by trusting the signing key from the "substituter", which is another NixOS term of art that I've learnt today.
<srhb> kandinski: Right. And the "weirdness" in Nix-land is that we're trusting the output sort of transitively. "Trust substituter x" ~ "Trust that given input hash y, x provides me with the right binary artifact"
sophiag has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<kandinski> and a "substituter" is a "system that builds stuff from derivations so I don't have to do it locally"?
<srhb> kandinski: Not necessarily any system, it could just be a static store served over http. A substituter is a thing that given an input hash can give you the output.
<srhb> can MAYBE give you the output, rather.
<srhb> (It might not have the path)
<kandinski> sure, it's a function from hashes to artifacts :)
<kandinski> thanks
mkoenig has joined #nixos
<srhb> Maybe (artifact) :D
<srhb> Yes
<kandinski> as a bit of humour, I was looking for a glossary and found this instead: https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/enlightenment/terminology.nix
<kandinski> (not what I was looking for)
<srhb> haha!
<kandinski> srhb: Maybe (artifact) indeed!
<srhb> kandinski: For terminology, remember we have three main manuals, nix, nixpkgs and NixOS
<srhb> kandinski: Here's fixed-output explained in the nix manual: https://nixos.org/nix/manual/#fixed-output-drvs
<srhb> It would be nice to have a common glossary somewhere.
araadkins has joined #nixos
<kandinski> yeah, it's difficult to digest all at once
<kandinski> This is not RTFM, but RTTM! (Read The Three Manuals)
<srhb> Indeed.
<araadkins> Is it possible to make a static build of nix?
<kandinski> don't forget NixOps
<kandinski> So RTFM is Read The Four Manuals
<srhb> kandinski: And Hydra. I said *main* for a reason ;-)
<srhb> Because then I can handwave away all the others.
<kandinski> Read The Five Manuals. Precious.
<srhb> kandinski: If you're into papers, I also recommend Eelcos papers on Nix and NixOS. They're quite accessible and explain a lot of the internals.
<infinisil> Something like `man systemd.directives` for Nix
<srhb> infinisil: Yes!
<infinisil> ^^ one of the most useful manpages for systemd
<srhb> Agreed.
<{^_^}> [nixpkgs] @teto opened pull request #46304 → pythonPackages.gpgme: enable python3 support → https://git.io/fAzKk
<kandinski> I'm reading the NixOS paper right now. Slowly, but yes, that's where I learnt the difference between expressions and derivations. Also that the thing between brackets {} is not a map nor a dictionary nor a hash, it's a *recursive attribute set*
sb0 has joined #nixos
<srhb> kandinski: Hmm, only with rec in front is it termed recursive, I think?
IRCsum has quit [Ping timeout: 260 seconds]
<srhb> > { foo = 42; bar = foo }
<kandinski> srhb: thanks a lot. If I were to start on a common glossary, the place to put it would be under https://nixos.org/nix/glossary.html, correct?
<{^_^}> error: syntax error, unexpected '}', expecting ';', at (string):191:23
<srhb> > { foo = 42; bar = foo; }
<{^_^}> { bar = <CODE>; foo = 42; }
<kandinski> srhb: yes, or non-recursive otherwise, thanks.
<srhb> Eck..
<srhb> Not strict enough :P
<srhb> > { foo = 42; bar = foo; }.bar
<{^_^}> { __functor = <CODE>; bar = 2; }
<srhb> Really!
<kandinski> hahaha
<srhb> Well, I hope you got my meaning. I have no idea what's going on there :P
<srhb> It should be an error without rec.
<kandinski> sure
<kandinski> I now realise the "rec" is like in "letrec"
<srhb> Right :)
<adamantium> Hi guys, again. I feel like nixos-install takes much longer than say pacman when bootstrapping a simple system. It might take 45 minutes at least or maybe much more. I never recall it taking so long on Arch, so am I stuck likely on a slow mirror, or is more going on than meets the eye?
<srhb> kandinski: Our lets are always recursive though
<srhb> adamantium: Slow mirror, insufficient parallelism...
<kandinski> srhb: also did not know that, so thanks for the example, even if {^_^} failed hilariously
<srhb> adamantium: -j<THREADS> may help
<infinisil> srhb: unfortunately foo is defined in the bot
<adamantium> oh really, lol. i have 24 threads
<srhb> infinisil: Ah!
<adamantium> this isn't gentoo tho eh
<infinisil> That's why it didn't throw an error
<srhb> > { baz = 42; bar = baz; }.bar
<{^_^}> undefined variable 'baz' at (string):191:19
<srhb> > rec { baz = 42; bar = baz; }.bar
<{^_^}> 42
<srhb> infinisil: Thank you
<kandinski> adamantium: over the weekend I installed ubuntu as well as nixos, and the 10min install of a full desktop felt like mockery.
<adamantium> srhb: so, can we select a mirror, or does it do a decent job at that already
<davidar_> aha, https://github.com/guibou/nixGL seems to do the trick
<kandinski> infinisil: ah thanks
<infinisil> Adding a way to undefine things would be problematic unfortunately, with how it currently works at least
<srhb> adamantium: The default thing is an amazon cloudfront thingamajick on top of S3, I believe
<adamantium> s3 is garbage
<adamantium> thats the problem
<srhb> Cloudfront over S3 isn't usually though
<srhb> I get very good speeds.
<srhb> But it may be location dependent.
<adamantium> could be
<adamantium> are you west coast by chance
<srhb> Whether that's your problem probably needs more investigation :)
<kandinski> Could Be Worse, but then again some of us are in Australia, on dodgy bandwidth.
<srhb> adamantium: Sure, west coast of Europe. :P
<srhb> ish
<adamantium> ah
<srhb> Not really
<srhb> Scandinavia
<adamantium> i feel defeated
<kandinski> srhb: so Estonia, Lithuania, Latvia would also be West Coast of Europe, right_
<srhb> kandinski: That was my logic, but I realized I found it a bit hard to defend :P
<adamantium> like i worked for over a week to build a nixos installer that sets me up via one command, but it takes slower than gentoo to install.
* adamantium slight exageration
<srhb> adamantium: That does sound weird..
<kandinski> Sweden being the East Coast
countingsort has quit [Quit: leaving]
<kandinski> Also Catalonia, Valencia...
<srhb> kandinski: And.. Greece.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46305 → arangodb: 3.3.14 -> 3.3.15 → https://git.io/fAzKi
<srhb> :P
countingsort has joined #nixos
<srhb> adamantium: The slowest installs I've experienced were because of too few parallel downloads..
<adamantium> i see
<kandinski> Back on topic, I'm going to put the lessons from this conversation into my notes. Thanks srhb and company.
<srhb> And I do believe the -j flag should do that
<srhb> kandinski: You're welcome. :)
Ariakenom has joined #nixos
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46306 → avfs: 1.0.5 -> 1.0.6 → https://git.io/fAzKd
troydm has quit [Ping timeout: 252 seconds]
IRCsum has joined #nixos
hyper_ch2 has quit [Ping timeout: 252 seconds]
<{^_^}> nix#1973 (by dtzWill, 25 weeks ago, open): [WIP] [preview] Single static binary for Nix+deps (bash, coreutils, ...) via ALLVM
<sphalerite> oooooh neat
clefru has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46179 → pythonPackages.kuberentes: refactor → https://git.io/fAu6h
<{^_^}> [nixpkgs] @xeji pushed commit from @costrouc to master « pythonPackages.kubernetes: add missing dependency (#46179) »: https://git.io/fAz67
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46307 → calamares: 3.2.1 -> 3.2.2 → https://git.io/fAz6j
<{^_^}> [nixpkgs] @xeji pushed commit from @costrouc to release-18.09 « pythonPackages.kubernetes: add missing dependency (#46179) »: https://git.io/fAzif
rauno has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46308 → bear: 2.3.12 -> 2.3.13 → https://git.io/fAziO
fendor has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #46268 → jmol: 14.29.17 -> 14.29.19 → https://git.io/fAzWr
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fAziz
lostman has joined #nixos
derped has quit [Ping timeout: 240 seconds]
<philipp[m]> How exactly do you tell nix to build mumble with qt5. I'm not sure what's happening there with `source.qtVersion` https://github.com/NixOS/nixpkgs/blob/c70dee9b860efee9c428d9dff8e57e94c3e44253/pkgs/applications/networking/mumble/default.nix
nbardiuk has joined #nixos
<tilpner> philipp[m] - Try mumble_git, should use qt5
<adamantium> should i set nixos-install jobs to the number of threads i have +1 ? for me that would be 25. Or is this not quite the same as what i think it is.
<adamantium> srhb: ^
<srhb> adamantium: It's difficult to say. Especially with nix 2.0.x you can get very hefty memory usage with a high number of threads (which is a bug)
<adamantium> What would be ... conservative
<adamantium> ?
<srhb> Things like GHC can take up to several gigabytes of memory just to fetch with that bug. So I guess you'd have to divide the RAM with the worst-case size.
<philipp[m]> tilpner: Alright, will do.
<adamantium> strange.
revtintin has joined #nixos
kyren has joined #nixos
jasongro` has joined #nixos
jasongrossman has quit [Ping timeout: 240 seconds]
toppler has quit [Remote host closed the connection]
troydm has joined #nixos
samweisberg has joined #nixos
<samweisberg> hey guy, quick question: i am using nixops for remote deployments and would like to set some nix options for this (specifically tarball-ttl). What is the preferred way of doing this apart from using /etc/nix/nix.conf ?
concave has joined #nixos
countingsort has quit [Remote host closed the connection]
<aminechikhaoui> samweisberg: do you want to set that in the target machine or while deploying ?
<samweisberg> aminechikhaoui: likey both ;)
<aminechikhaoui> well while deploying you can set that via --option tarball-ttl X, for the target machine you can add `tarball-ttl = X` to nix.extraOptions I think
<aminechikhaoui> but setting that in the nix.conf file is easier from your machine I guess, unless you're on NixOS
troydm has quit [Ping timeout: 240 seconds]
rauno has quit [Read error: Connection reset by peer]
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mudri> This update to ibus-table may (read: will) break user configs. I'm wondering what to do about that. I'll post some more details. https://github.com/NixOS/nixpkgs/pull/46265
<{^_^}> #46265 (by r-ryantm, 7 hours ago, open): ibus-engines.table: 1.9.20 -> 1.9.21
<{^_^}> [nixpkgs] @the-kenny pushed to master « google-cloud-sdk: 206.0.0 -> 215.0.0 »: https://git.io/fAz1U
<mudri> This affects configuration outside the NixOS config, done via the IBus interface.
<samweisberg> I am on nixos and I also like a solution that can be shared via version controll, so nix.extraOptions seems the way to go, thanks ;)
<mudri> The workaround is to migrate settings from one part of dbus config to another.
<{^_^}> [nixpkgs] @nicolaevladescu opened pull request #46309 → Fix making the partition bootable instructions → https://git.io/fAz1m
<mudri> Specifically, users can run `dconf dump /desktop/ibus/engine/table/` and manually reproduce that via the ibus-table preferences interface or do some fiddling with `dconf` that I don't know about.
<mudri> But I don't know whether it's possible in Nix to communicate to users that they need to do something.
simukis has joined #nixos
mounty has joined #nixos
lawlesseel has quit [Remote host closed the connection]
lawlesseel has joined #nixos
rauno has joined #nixos
cryptix has joined #nixos
kyren has joined #nixos
tzemanovic has joined #nixos
countingsort has joined #nixos
countingsort has quit [Remote host closed the connection]
countingsort has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « monkeysphere: Wrap all relevant programs »: https://git.io/fAz1d
countingsort has quit [Remote host closed the connection]
countingsort has joined #nixos
<Taneb> Is it just me or is the `overrides` paramater to https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/default.nix never being used?
rauno has quit [Read error: Connection reset by peer]
<srhb> Taneb: In extensible-self?
philippD has joined #nixos
<Taneb> srhb: that just lets you change its value later, I think
<{^_^}> [nixpkgs] @hamishmack opened pull request #46310 → gobject-introspection: Fix macos shared lib paths → https://git.io/fAzMs
thc202 has joined #nixos
<Taneb> extend and makeExtensible are defined here: https://github.com/NixOS/nixpkgs/blob/master/lib/fixed-points.nix
<srhb> Taneb: It's just you. :)
<srhb> Taneb: Redefining ghc843 to pass overrides = self: super { ghc = null; }; voids haskellPackages entirely.
<Taneb> OK, thanks
mounty has quit [Ping timeout: 252 seconds]
cryptix has quit [Ping timeout: 245 seconds]
hamishmack has quit [Read error: Connection reset by peer]
nuncanada has quit [Quit: Leaving]
cryptix has joined #nixos
johanot has quit [Ping timeout: 240 seconds]
silver has joined #nixos
hxrts_ has quit [Quit: Leaving]
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rain1 is now known as rain2
nly has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #46182 → python2Packages.spacy_models: update all models to version 2.0.0 → https://git.io/fAuPB
<{^_^}> [nixpkgs] @xeji pushed commit from @danieldk to master « python2Packages.spacy_models: update all models to version 2.0.0 (#46182) »: https://git.io/fAzyg
<{^_^}> [nixpkgs] @xeji pushed commit from @danieldk to release-18.09 « python2Packages.spacy_models: update all models to version 2.0.0 (#46182) »: https://git.io/fAzyi
countingsort has quit [Ping timeout: 244 seconds]
pi3r has joined #nixos
sbdchd has joined #nixos
kyren has joined #nixos
sir_guy_carleton has joined #nixos
sbdchd has quit [Ping timeout: 272 seconds]
NightTrain has joined #nixos
<infinisil> srhb: (unimportant, but i think the order is super: self:)
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reinzelmann has quit [Ping timeout: 252 seconds]
<sphalerite> infinisil: it is, the other way round compared to overlays? aaaaaargh
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
<infinisil> sphalerite: Nah, did i mix it up? I thought super came first in overlays
<infinisil> ,overlays
<{^_^}> infinisil: Did you mean overlay?
<{^_^}> Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
<infinisil> Darn
<infinisil> Nevermind
__monty__ has joined #nixos
waleee has joined #nixos
<sphalerite> oooh ok
<sphalerite> I mean, I think there is something in nixpkgs where it's super: self: instead
<sphalerite> => aaaaaargh anyway xD
Tucky has quit [Remote host closed the connection]
reinzelmann has joined #nixos
lonokhov has joined #nixos
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
<jtojnar> hedning[m]: I do not see the sm fix in the branch
<hedning[m]> jtojnar: ah, didn't force, should be there now
NightTrain has quit [Quit: Lost terminal]
rauno has joined #nixos
Tucky has joined #nixos
pie___ has joined #nixos
iyzsong has joined #nixos
pie__ has quit [Ping timeout: 246 seconds]
siel has joined #nixos
siel has quit [Changing host]
siel has joined #nixos
<jtojnar> hedning[m]: it is weird that only some of the g-o headers are affected
<hedning[m]> yeah, really strange
<{^_^}> [nixpkgs] @7c6f434c merged pull request #46157 → firefox, firefox-bin: 61.0.2 -> 62.0, firefox-esr: 60.1.0esr -> 60.2.0esr, remove 52.9.0esr [Critical security fixes] → https://git.io/fAumU
<{^_^}> [nixpkgs] @7c6f434c pushed 4 commits to master: https://git.io/fAzF9
<{^_^}> [nixpkgs] @nikitavoloboev opened pull request #46311 → watchexec: darwin support → https://git.io/fAzFp
kyren has joined #nixos
phreedom_ has joined #nixos
knupfer has joined #nixos
<yorick> I'm getting "error writing file: No space left on device " when trying to create an AMI
<yorick> I have 20GB free
<tilpner> yorick - Check /tmp
<tilpner> During the build, not now
<yorick> /tmp is on the main fs
<gchristensen> you might have a quota
phreedom has quit [Ping timeout: 256 seconds]
rprije has quit [Ping timeout: 246 seconds]
<yorick> how do I check this?
<clever> yorick: run `watch df -h` while the build is running, and see which volume is loosing free space
<yorick> how much does it use?
<{^_^}> [nixpkgs] @hamishmack opened pull request #46312 → gobject-introspection: Fix macos shared lib paths → https://git.io/fAzNJ
<clever> i think it uses 2 or 3gig, not sure though
<{^_^}> [nixops] @AmineChikhaoui pushed to master « add automatic retry of ec2 security group delete api call. »: https://git.io/fAzNL
reinzelmann has quit [Quit: Leaving]
<yorick> free decreases to 18GB (92%) and then it dies
<clever> yorick: is this on nixos?
<yorick> yes
<clever> yorick: does this command show the same line 3 times? `df -t / /nix/store /tmp`
<clever> oops, typo
<clever> df -h / /nix/store /tmp
averell has quit [Quit: .]
<yorick> no, second line is different mount point (because ro mount)
<yorick> but it has the same size used/avail
<clever> ah, but store is still kk
<{^_^}> [nixpkgs] @nikitavoloboev opened pull request #46313 → watchexec: darwin support → https://git.io/fAzNP
<clever> yorick: what about `df -i /` ?
<{^_^}> [nixpkgs] @nikitavoloboev closed pull request #46311 → watchexec: darwin support → https://git.io/fAzFp
<yorick> 19%
<yorick> I freed 10 more gigabytes
<yorick> no, still no more space left on device
<clever> yorick: can you pastebin the output of `df -h` and the full output from nix-build?
<yorick> okay
cryptix has quit [Quit: leaving]
<yorick> maybe 2GB isn't enough anymore?
ldesgoui[m] has joined #nixos
<ldesgoui[m]> Hey, I just installed 18.03 on a 32 bit laptop (Asus T100TAF) and I'm running into the issue where tons of packages need to be built from source when I don't really have anything special in my config. Happens with 18.09 as well. How could I fix that?
<gchristensen> NixOS doesn't build many packages for i686 anymore, ldesgoui[m]
<ldesgoui[m]> Ah, that'll be it, I'll search for a way to run x86_64 then, thanks.
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<woffs> ldesgoui[m], you can cross-compile for i686 on a fast x86_64 machine and use that as binary cache. Or maybe the masters of hydra get overwhelmed by compassion and start building some packages for i686 again ;)
<gchristensen> we do prebuild all of the base system for i686 to make sure we don't break it
<ldesgoui[m]> Do you think I could easily setup x-compile with nixos-rebuild --build-host?
<gchristensen> you don't even need to cross-compile, if you just set --build-host it'll just work
<symphorien> you can also set updistributed builds https://nixos.wiki/wiki/Distributed_build to have the packages built elsewhere
<yorick> clever: I increased the image size to 3072mb and that works
<ldesgoui[m]> I tried that a bit earlier and ran into compilation errors that looked like they were caused by it building 32bit
kyren has joined #nixos
<goibhniu> ldesgoui[m]: IIUC your CPU will support 64bit
<ldesgoui[m]> The T100TAF? It does seem like that but apparently bootloader is 32bit and I'm not sure what that actually implies
<clever> yorick: oh!
<clever> yorick: line 1136, "No space left on device" is happening inside the vm, so yeah
<qyliss> Have the AWS AMIs gone away? Attempting to create a NixOS EC2 instance isn't working for me, because it can't find the 18.03 eu-west-1 AMI...
<clever> yorick: the disk image, that will become the AMI, was too small for the install
<goibhniu> ldesgoui[m]: apparently, it comes with 32bit windows, and ASUS don't provide 64bit drivers ... but hopefully Linux will be fine
<qyliss> (And searching for "NixOS" in the marketplace returns zero results)
toppler has joined #nixos
<jtojnar> hedning[m]: gobjectIntropection does not seem to install warnlib.c
<sphalerite> qyliss: there are AMI links on https://nixos.org/nixos/download.html
<goibhniu> ldesgoui[m]: it only has 2GB of memory and a 128GB disk ... I suspect it's not going to be very happy with NixOS :/
<hedning[m]> jtojnar: ah
<sphalerite> goibhniu: I'm running nixos on a device with 2GB of memory and a 32GB SD card. It's not optimal but it's workable
<hedning[m]> thought I checked that it actually existed, but apparently not
<ldesgoui[m]> It'll be just fine for my usage but thanks for the heads up
<qyliss> sphalerite: right, but when I try to create an instance with one of those AWS tells me that the AMI doesn't exist
<ldesgoui[m]> I'll try 64bit iso to be honest
<goibhniu> sphalerite ah cool ... is that your chromebook?
<sphalerite> qyliss: huh ok
<sphalerite> goibhniu: yep. So ARM as well
<goibhniu> sweet
<sphalerite> oh right, the least workable bit about it is how I don't have a fully-functioning browser yet :p
<sphalerite> which ought not to be a problem on intel processors I guess
joepie91_to_go_ has joined #nixos
<woffs> gchristensen, I just use --argstr system i686 and it works. It's great that the base packages get compiled and i686 does keep installable. It's just a time-consuming task to compile qt5 and firefox at home.
<gchristensen> yeah, I know it is
<qyliss> Doing it through the button on the website works, though, just not through the API
<qyliss> So probably something broken on my end
<gchristensen> (it just isn't cross compilation, because x86_64 your system runs the i686 compilations natively... I guess this is a fine line which isn't useful to be pedantic about :))
<{^_^}> [nixpkgs] @Mic92 merged pull request #46301 → linuxPackages.bcc: 0.6.1 -> 0.7.0 → https://git.io/fAza1
tmaekawa has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAzxx
<woffs> gchristensen, you're absolutely right :-)
tmaekawa has quit [Client Quit]
acarrico has quit [Ping timeout: 252 seconds]
<sphalerite> well I think it is, because cross compilation is hard and this isn't :D
Fare has quit [Ping timeout: 240 seconds]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
mkaito- has joined #nixos
mkaito has quit [Ping timeout: 250 seconds]
acarrico has joined #nixos
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lostman has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @primeos pushed to master « monkeysphere: Correctly wrap the keytrans aliases (subcommands) »: https://git.io/fAzjo
xok has joined #nixos
<xok> hello all...
<xok> I am new to this piece of software, but is there anyone having real expericen with NixOps?...
<xok> I am trying to install zabbix and can't figure out what am I missing...
<xok> the "services.zabbix.enable = true"; seem to be working, but where do I find it?..
<yorick> why does fetchGit not fetch the revision directly?
<yorick> git should support that since 2.5
<clever> xok: when enable is set, it will auto-create a zabbix user in /etc/passwd, and a systemd service called zabbix-agent
<clever> xok: it will also add the agent to the system PATH
<xok> clever: thank you, now the main question: how do I access it, where is it?...
<clever> xok: `systemctl status zabbix-agent.service` should say its running, when you are ssh'd into the machine
araadkins has quit [Quit: Page closed]
<clever> xok: by default, it only listens on 127.0.0.1, so you cant access it from outside the machine
<{^_^}> [nixpkgs] @romildo opened pull request #46315 → deepin-mutter: init at 3.20.34 → https://git.io/fAgeL
<xok> clever: that's for an agent...
<xok> but I want to access the zabbix server with stats and all of that...
<clever> xok: ah, then you probably want services.zabbixServer.enable = true;
<clever> that option will create another systemd service
<xok> yes, I have that, and the systemctl status zabbix-server shows it's OK...
<xok> but I can't find how to access it...
<clever> xok: what does `netstat -anp | grep zabbix_server` report?
<xok> tcp 0 0 0.0.0.0:10051 0.0.0.0:* LISTEN 32695/zabbix_server
<xok> and several UNIX sockets...
<clever> xok: did you open port 10051 in the firewall?
<xok> yes...
<clever> which backend is nixops using? where is the vm hosted?
<xok> digitalOcean...
<philipp[m]> When I want to have a static ipv4 and dynamic ipv6s on the same interface, I set the ipv4 and still do `useDHCP = true` on the interface?
<xok> may I send you a PM?..
<clever> xok: sure
<clever> xok: check the journal for the service, journalctl -f -u zabbix-server.service
jperras has joined #nixos
johanot has joined #nixos
<clever> any errors?
<clever> xok: also check `tail -F /var/log/zabbix/zabbix_server`
averell has joined #nixos
sbdchd has joined #nixos
sbdchd has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @erosennin opened pull request #46316 → pythonPackages.psycopg2: 2.7.1 -> 2.7.5 → https://git.io/fAgfL
vaibhavsagar has joined #nixos
reardencode has joined #nixos
<hedning[m]> jtojnar: so it looks like meson simply doesn't install warnlib.c (in tests/meson.build)
<jtojnar> hedning[m]: yes, I want to open an issue but cannot build gobject-introspection without meson
endformationage has joined #nixos
iyzsong has quit [Ping timeout: 245 seconds]
<hedning[m]> jtojnar: so we should probably just patch it for now then?
<jtojnar> yes
sbdchd has joined #nixos
ryantrinkle has quit [Ping timeout: 252 seconds]
<Acou_Bass> eyy folks, just a quickie - does anyone use a monitor in portrait-mode? im trying to make GRUB/boot process work with it with nixos, is this possible?
tzemanovic has quit [Remote host closed the connection]
<samueldr> Acou_Bass: give me a min
<samueldr> (I do)
<Acou_Bass> ahhh nice one!
<samueldr> in my case it's a cheap atom tablet which has its display mounted sideways, if you have more than one monitor I don't know how it'll work
<Acou_Bass> ive got a similar device i run arch on that i have to do that with, so i assume its a similar thing hehe
emmanuelrosa has joined #nixos
<Acou_Bass> its something like fbconrotate:=1 or something?
<samueldr> oh!, I don't actually rotate my grub, just the picture :/
<Acou_Bass> ohh, so the text is still sideways? :P
<samueldr> only for grub
<Acou_Bass> interesting
kyren has joined #nixos
<Acou_Bass> yeah i mean... thats close enough hehe, i dont really see grub enough to care... so the background image ist he right way, and the bootup console text is the right way?
<samueldr> yes, tracking down that option I set
<Acou_Bass> hehe thanks a lot
flexw has joined #nixos
jperras_ has joined #nixos
jperras has quit [Ping timeout: 250 seconds]
<Acou_Bass> what sorta atom is your thing? mines a cherry trail... linux support is bloody awful on it especially for all the other hardware on it (gotta run arch for that sweet bleeding-edge kernel otherwise i get nowhere)
<samueldr> oh... months ago I uh changed the fix
<Acou_Bass> xD
<samueldr> this explains why I couldn't find fbcon
<samueldr> oh damn, even got the name wrong on that patch through copy-paste development :
<Acou_Bass> ha
iyzsong has joined #nixos
<samueldr> I have both DSI1 and DSI-1 since at one point the names changed
acarrico has quit [Ping timeout: 240 seconds]
<samueldr> the silead_ts stuff is extremely device-specific
<Acou_Bass> ahhh right
<samueldr> the udev extraHwdb won't work for other devices, Acou_Bass, but you can write a similar one for yours
<xok> can anyone help me install this on my digitalOcean droplet using nixops?...
<Acou_Bass> thats awesome though, yours is cherry-trail too (i had no idea there was a linuxPackages_cherrytrail)
<magnetop`> Hi, all! How do I upgrade nixops controlled machines?
<samueldr> Acou_Bass: there's not
<Acou_Bass> ahhh is it a custom build? :P
<samueldr> yeah
<samueldr> Acou_Bass: so yours is a cherry trail :)
<Acou_Bass> the computer running nixos on it isnt thankfully
<samueldr> thankfully!
<Acou_Bass> my li'l mini computer running arch is though
<Taneb> magnetop`: I can't remember exactly the steps but it's "nix modify" and then "nix deploy"
<Acou_Bass> i do wanna put nix on it at some point
<samueldr> though I'm using nixos-rebuild with the option to do the build on another host, really helps
fendor has quit [Ping timeout: 250 seconds]
drp has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<samueldr> Acou_Bass: this is extremely out of date, https://gitlab.com/samueldr.nix/overlays/linux-cherrytrail, I haven't taken the time to 1) fork the kernel tree to keep tangible tags 2) refresh since three months ago
<Acou_Bass> hehe
<samueldr> and it's probably not the best nix code, this was written at the time I was learning
<genesis> #44511 seems to be forget, easy to merge and good example of dealing with appimage.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44511 (by bignaux, 4 weeks ago, open): soulseekqt : refactoring appimage manipulation to be more generic.
<Acou_Bass> this device actually has a lot of out of tree packages so even on arch i need a custom kernel build (it may exist for nix by now)
<flexw> \quit
flexw has quit [Quit: leaving]
emmanuelrosa has left #nixos [#nixos]
<magnetop`> Taneb: thanks, I have a lead now!
<samueldr> Acou_Bass: yeah, cherry trail are a pain, it's like the worst of the ARM world crammed on an intel platform :(
<samueldr> my chuwi tablet has software-controlled charging, without the kernel telling the hardware to "be charging" it won't
ilikeheaps has joined #nixos
<hedning[m]> jtojnar: pushed a commit to my gnome-3.30 branch
<Acou_Bass> it's a GPD win, so yeah, it also has the added benefit of weird Chinese firmware and devices on it with who knows what drivers powering them
drp has joined #nixos
<samueldr> Acou_Bass: IIRC andi- has one with stuff for it publig on github
<Acou_Bass> ah that doesn't sound good! at least this thing charges hehe, tough without the custom patches the probes to say how much it's charged don't work
<Acou_Bass> oooh?
<andi-> i have a gpd pocket
<samueldr> oh, pocket
<{^_^}> [nixpkgs] @stites closed pull request #46111 → noti: init at 3.1.0 → https://git.io/fA0X5
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to gnome-3.30: https://git.io/fAgIm
<andi-> and by now mailine kernel should be enough
<andi-> it is a shame I haven't touched it in 2 months :/
<Acou_Bass> not for mine apparently, only one small problem on the win though with mainline
<jtojnar> hedning[m]: I wonder why Arch people did not upstream it
<hedning[m]> jtojnar: yeah, me too
<jtojnar> hedning[m]: I am onto it
<hedning[m]> jtojnar: 👍
<Acou_Bass> basically when i boot into it, the display is completely blank, until i rotate the screen then the backlight wakes up i guess... small but annoying problem as i cant see when SDDM has loaded up to type my login :P
vmandela has joined #nixos
<xok> guys, I've got an apache on my configs and it works fine...
<xok> then I find several scripts that could be installed using nixos:
vaibhavsagar has quit [Remote host closed the connection]
<xok> how do I install them, how do I use "mediawiki.nix" for example?...
Fare has joined #nixos
kyren_ has joined #nixos
vaibhavsagar has joined #nixos
kyren has quit [Ping timeout: 250 seconds]
ryanartecona has joined #nixos
<gchristensen> :( these asserts about pkgsi686Linux break so much code of mine.
<gchristensen> how the heck do I set nixpkgs.system on nixos 18.09?
<{^_^}> [nixops] @AmineChikhaoui pushed to master « GCE tests: increase the root volume size. »: https://git.io/fAgL5
<clever> gchristensen: have you tried nixpkgs.localSystem.system = "i686-linux"; ?
<{^_^}> [nixpkgs] @stites reopened pull request #46111 → noti: init at 3.1.0 → https://git.io/fA0X5
<gchristensen> this stuff is so complicated and really spoils usability for common cases
<NinjaTrappeur> Hey folks, I posted this nixpkgs PR https://github.com/NixOS/nixpkgs/pull/46062 3 days ago. It's not on the first PR page and hasn't received any review. Is it stalled or should I just wait a bit more? Should I @ somebody in particular to review this? (It's about a software packaged using AppImage)
<{^_^}> #46062 (by NinjaTrappeur, 2 days ago, open): patchwork: Init at 3.10.1
<clever> gchristensen: the cross-compile stuff changes the syntax a bit
<sphalerite> xok: grepping for mediawiki.nix reveals only one reference to it in nixpkgs, in apache-httpd: "# instead of using serviceType="mediawiki"; you can copy mediawiki.nix to any location outside nixpkgs, modify it at will, and use serviceExpression=./mediawiki.nix;"
<sphalerite> ,find apache-httpd/default.nix
iyzsong has quit [Ping timeout: 246 seconds]
<gchristensen> I feel it is a mistake
tzemanovic has joined #nixos
kyren_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @srhb merged pull request #46111 → noti: init at 3.1.0 → https://git.io/fA0X5
<{^_^}> [nixpkgs] @srhb pushed 3 commits to master: https://git.io/fAgtZ
<clever> gchristensen: oh, and i believe this was a change on the nixos side, not the args to <nixpkgs>
<{^_^}> [nixpkgs] @7c6f434c opened pull request #46319 → sbcl: 1.4.7 -> 1.4.10 → https://git.io/fAgt8
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
rardiol has quit [Ping timeout: 252 seconds]
tzemanovic has quit [Ping timeout: 244 seconds]
<xok> sphalerite: thank you!.. What I really want is to install zabbix web interface which is located here: https://github.com/NixOS/nixos/blob/master/modules/services/web-servers/apache-httpd/zabbix.nix
<infinisil> NinjaTrappeur: Pinging relevant people, mentioning it here, and just waiting are the best things to do, there are a lot of PR's, and there are many PR's older than 3 days that haven't been rewiewed
<xok> sphalerite: and I don't know how to use it...
<xok> sphalerite: can you help with that?..
dbmikus__ has joined #nixos
<sphalerite> not really, I have no clue how to use it myself
<gchristensen> clever: can you help me figure out what I'm doing wrong?
<gchristensen> clever: I've really frustrated :(
<gchristensen> I'm* :(
<{^_^}> [nixpkgs] @Infinisil merged pull request #44341 → nixos/riemann: refactor config → https://git.io/fNKG2
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fAgtx
acarrico has joined #nixos
Fare has quit [Ping timeout: 246 seconds]
<gchristensen> clever: I've done import <nixpkgs/nixos> { nixpkgs.localSystem.system = "x86_64-linux"; configuration = { imports = [ ./myfile.nix ]; }; }, and inside myfile.nix, I do (import adifferentnixpkgs { config = { inherit (config.nixpkgs) localSystem; }).glibcLocales but glibcLocales is null, because apparetnly glibcLocales = if stdenv.hostPlatform.libc == "glibc" then callPackage
<gchristensen> ../development/libraries/glibc/locales.nix { } else null;
<{^_^}> [nixpkgs] @xeji closed pull request #46298 → burp: 2.1.32 -> 2.2.4 → https://git.io/fAzgA
<NinjaTrappeur> infinisil, alright, thanks.
<xok> sphalerite: how do we use modules like this?...
<clever> gchristensen: nixpkgs.localSystem.system is a nixos option, so it has to be set inside myfile.nix or inside the configuration set
ryantrinkle has joined #nixos
<gchristensen> sorry, my first part was wrong: import <nixpkgs/nixos> { configuration = { nixpkgs.localSystem.system = "x86_64-linux"; imports = ...
<clever> gchristensen: i think you still want to set system, when importing the 2nd nixpkgs
dbmikus has joined #nixos
<clever> inherit (config.nixpkgs.localSystem) system;
<gchristensen> :/ why doesn't nixpkgs take all this different system stuf?
hotfuzz_ has joined #nixos
<clever> not sure, i havent re-memorized all of the core files after the cross-compile changes went thru
dbmikus__ has quit [Ping timeout: 252 seconds]
<infinisil> There should be a cross compilation guide somewhere
hotfuzz has quit [Ping timeout: 245 seconds]
<clever> infinisil: the cross-compile changes also sorta broke the non-cross compile modes in nixos, when you just want to force a 32bit nixos build
<gchristensen> and a lot of release notes about stuff you used to do and stuff you can't do
<infinisil> gchristensen: clever: https://nixos.wiki/wiki/Cross_Compiling
<infinisil> Hum, it seems to be just pkgsCross.<platform>.<package>
<infinisil> That sounds pretty nice!
<gchristensen> and forceSystem doesn't work like it used to, either
<dhess> infinisil: is that wiki on cross-compiling up-to-date?
hyper_ch2 has quit [Quit: Page closed]
<infinisil> No idea, but "A lot has happened in 2018 and now cross-compilation is well supported within the unstable branch of nixpkgs." seems to indicate it
<infinisil> > pkgsCross
<{^_^}> { aarch64-android-prebuilt = <CODE>; aarch64-multiplatform = <CODE>; aarch64-multiplatform-musl = <CODE>; armv5te-android-prebuilt = <CODE>; armv7a-android-prebuilt = <CODE>; armv7l-hf-multiplatform =...
<sphalerite> ^ the stdenvs also seem to be in cache.nixos.org which is helpful
<{^_^}> [nixpkgs] @Mic92 pushed commit from @7c6f434c to release-18.09 « julia: readd julia_06 name, make julia an alias that selects a version, as we usually do for incompatible versions »: https://git.io/fAgY8
hotfuzz_ has quit [Read error: Connection reset by peer]
<{^_^}> [nix] @kampka opened pull request #2406 → Set environment variable NIX_SHELL_NAME to derivation name → https://git.io/fAgY4
hotfuzz_ has joined #nixos
spietz has joined #nixos
<{^_^}> #46320 (by grahamc, 11 seconds ago, open): Cross compilation changes have made undocumented, breaking changes to NixOS
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
lonokhov has quit [Quit: WeeChat 2.1]
samweisberg has quit [Ping timeout: 252 seconds]
pi3r_ has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fAgOM
<ldesgoui[m]> Anyone know a way to use/install a 32 bit bootloader with a 64 bit system?
pi3r has quit [Ping timeout: 244 seconds]
pi3r_ has quit [Ping timeout: 246 seconds]
<symphorien> grub only has a 32 bit version iirc (for legacy bios, at least)
<ldesgoui[m]> I got a 64bit kernel to install so I could migrate quite easily but UEFI won't let me boot into it
jperras has joined #nixos
<ldesgoui[m]> Hmm, that makes sense, my problem is elsewhere then. UEFI will let me pick a generation but the one containing 64 bit kernel will refuse to boot because the NixOs-*.efi is 64 bits
<xok> guys, does anyone on this channel have an idea how to install "modules" ( or whatever they are called ) using the nixops?..
Tucky has quit [Quit: WeeChat 2.2]
<xok> can anyone help with this?...
<xok> how do I put this inside the main configuration file?..
[Leary] has joined #nixos
georgew has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #45728 → nixos/weechat: add module → https://git.io/fAGk9
<{^_^}> [nixpkgs] @timokau pushed 5 commits to master: https://git.io/fAg3i
jperras_ has quit [Ping timeout: 252 seconds]
<tilpner> xok - The repo you linked to is old and should not be referenced anymore
<sphalerite> ldesgoui[m]: I think if you boot a 64-bit installer, mount everything and rerun nixos-install it should work. Hopefully.
Lears has quit [Ping timeout: 252 seconds]
phreedom has joined #nixos
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
<ldesgoui[m]> 64bit installer won't boot
<sphalerite> ldesgoui[m]: how so?
<ldesgoui[m]> It just refuses to boot with the 64bit installer
<ldesgoui[m]> A black screen flashes and brings me back to BIOS
<sphalerite> huh
<tilpner> xok - That modules does not appear to be in the main module list, has an odd structure, and hasn't been updated in a good while
<tilpner> It might just be abandoned
humanoyd has joined #nixos
phreedom_ has quit [Ping timeout: 256 seconds]
<symphorien> nix-env -qaP breaks because of I have a broken expression as a channel, how can I tell nix-env to just evaluate nixpkgs and not the other channel ?
<LnL> nix-env -f '<nixpkgs>' -qaP
<sphalerite> symphorien: nix-env -qaP -f '<nixpkgs>'
<sphalerite> aww, ninja
<symphorien> thanks !
johanot has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #46186 → pythonPackages.ncclient: refactor + init pythonPackages.selectors2 → https://git.io/fAuMu
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fAgGm
<{^_^}> [nixpkgs] @jtojnar pushed commit from @hedning to gnome-3.30 « gobjectIntrospection: install warnlib.c/h »: https://git.io/fAgGO
Acou_Bass has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xeji pushed 2 commits to release-18.09: https://git.io/fAgG4
Acou_Bass has joined #nixos
rardiol has joined #nixos
<xok> tilpner: thank you, where do I find a newer repo?...
<tilpner> I linked it to you already
<tilpner> But I'm afraid that won't help with zabbix
<xok> tilpner: why not?..
<xok> tilpner: can you explain to me how to enable this thing?..
<tilpner> Please read what I wrote earlier
<xok> so there's no chance to have zabbix installed on NixOs?..
<symphorien> xok: you don't necessarily need a module
<Yaniel> ttps://nixos.org/nixos/options.html#zabbix
<sphalerite> xok: looks like the mediawiki thing is set up using services.httpd.extraSubservices
<Yaniel> ***** iTerm
<Yaniel> or I guess mosh is the real culprit
pi3r has joined #nixos
<Yaniel> losing the 1st character after a period of inactivity.... ugh
<{^_^}> [nixpkgs] @xeji merged pull request #46308 → bear: 2.3.12 -> 2.3.13 → https://git.io/fAziO
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « bear: 2.3.12 -> 2.3.13 (#46308) »: https://git.io/fAgZF
erasmas has joined #nixos
<xok> sphalerite: so it should be working with zabbix that way?..
<sphalerite> I don't know
<xok> sphalerite: services.httpd.extraSubservices = "mediawiki";
<xok> is this correct for mediawiki?..
Fare has joined #nixos
<sphalerite> I'm guessing services.httpd.extraSubservices = ["mediawiki"]; I think. But I haven't tried it myself and I don't know how it works
<{^_^}> [nixpkgs] @xeji merged pull request #46315 → deepin-mutter: init at 3.20.34 → https://git.io/fAgeL
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fAgnn
ma27 has quit [Quit: WeeChat 2.1]
mjhoy has joined #nixos
ma27 has joined #nixos
<{^_^}> [nixpkgs] @jmagoon closed pull request #46133 → arrayfire: init at 3.6.1 → https://git.io/fAERk
<mjhoy> is there a way to pin, say, a python environment defined in my config.nix to a specific nixpkgs version?
pi3r has quit [Remote host closed the connection]
<sphalerite> mjhoy: using packageOverrides?
<sphalerite> (the answer is yes)
pi3r has joined #nixos
<sphalerite> ,pin
<mjhoy> right
<sphalerite> ,pinning
<{^_^}> [nixpkgs] @xeji merged pull request #46203 → phpPackages.composer: 1.6.5 -> 1.7.2 → https://git.io/fAuAN
<{^_^}> [nixpkgs] @xeji pushed commit from @caugner to master « phpPackages.composer: 1.6.5 -> 1.7.2 (#46203) »: https://git.io/fAgni
<{^_^}> [nixpkgs] @xeji merged pull request #46206 → phpPackages.psysh: 0.9.6 -> 0.9.8 → https://git.io/fAuhJ
<{^_^}> [nixpkgs] @xeji pushed commit from @caugner to master « phpPackages.psysh: 0.9.6 -> 0.9.8 (#46206) »: https://git.io/fAgnD
jperras has quit [Quit: WeeChat 2.2]
sigmundv has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #46205 → phpPackages.xdebug26: 2.6.0 -> 2.6.1 → https://git.io/fAupw
<{^_^}> [nixpkgs] @xeji pushed commit from @caugner to master « phpPackages.xdebug26: 2.6.0 -> 2.6.1 (#46205) »: https://git.io/fAgnj
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<xok> sphalerite: I get an error: error: value is a string while a set was expected,
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<sphalerite> ,find apache-httpd/default.nix
<sphalerite> xok: based on my skimming of ^ maybe it should be [ {serviceType = "mediawiki";} ]
<sphalerite> But again I don't know how it works
andrewrk has left #nixos ["Leaving"]
<xok> sphalerite: thank you for helping me...
<Taneb> haskell.lib.enableCabalFlag isn't quite as magic as I'd like it to be :(
<Taneb> (if the flag changes dependencies, things break)
<xok> sphalerite: this is another error we've got: error: cannot coerce null to a string
<sphalerite> xok: I don't know, sorry
<xok> ok, thank you anyway...
<mjhoy> sphalerite: and it's possible to have some overrides reference the current nikpkgs, and some reference older pinned versions?
<mjhoy> (does that make sense?)
<xok> anyone who knows how to setup wordpress with NixOps?..
<sphalerite> mjhoy: yes
<xok> ,find zabbix.nix
<samueldr> xok: not nixops specific, but nixos has it tested here https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/wordpress.nix
tzemanovic has joined #nixos
Boomerang has quit [Quit: WeeChat 1.9.1]
pi3r has quit [Read error: Connection reset by peer]
pi3r has joined #nixos
ma27 has quit [Quit: WeeChat 2.1]
<xok> samueldr: thank you, I will try with that...
tzemanovic has quit [Ping timeout: 245 seconds]
<xok> samueldr: I get an error: error: cannot coerce null to a string
countingsort has joined #nixos
<samueldr> can't help much right now, but verified that the nixos test succeeds on nixos-unstable-small right now, and it does
dbmikus has quit [Ping timeout: 246 seconds]
pi3r has quit [Read error: Connection reset by peer]
Fare has quit [Ping timeout: 244 seconds]
dbmikus has joined #nixos
johanot has joined #nixos
ma27 has joined #nixos
<xok> any chance to run docker containers inside a NixOS?...
<{^_^}> [nixpkgs] @Ma27 opened pull request #46324 → weechat: fix quoting for ${} syntax → https://git.io/fAg8e
<xok> ,find docker.nix
<tilpner> Sure, Docker runs fine on NixOS
<{^_^}> [nixpkgs] @timokau opened pull request #46325 → sage: fix numpy and scipy integration → https://git.io/fAg8W
<ma27> xok: add `virtualisation.docker.enable = true;` to your nixos config, then it should work quite fine.
<xok> tilpner: any docs that could explain how to do that?..
<xok> ma27: thanks, how do we install specific containers, how do we configure them?.
<tilpner> I suppose there is https://nixos.wiki/wiki/Docker, but it's not much
<gchristensen> you just use docker like you normally do
<tilpner> You will have to configure Docker the old imperative way though
Guanin has joined #nixos
joepie91_to_go_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #46319 → sbcl: 1.4.7 -> 1.4.10 → https://git.io/fAgt8
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fAg4s
<{^_^}> [nixpkgs] @jtojnar pushed 48 commits to gnome-3.30: https://git.io/fAg4G
orivej has quit [Ping timeout: 244 seconds]
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
Fare has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #46325 → sage: fix numpy and scipy integration → https://git.io/fAg8W
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fAg4H
sbdchd_ has joined #nixos
halfbit has joined #nixos
sbdchd has quit [Ping timeout: 245 seconds]
pi3r has joined #nixos
<{^_^}> [nixpkgs] @timokau pushed to release-18.09 « sage: fix numpy and scipy integration »: https://git.io/fAgBc
sbdchd_ has quit [Ping timeout: 240 seconds]
iclanzan has joined #nixos
Fare has quit [Ping timeout: 272 seconds]
winem_ has quit [Ping timeout: 252 seconds]
sbdchd has joined #nixos
<iclanzan> Hi! I have a problem with the firewall where NixOS/systemd is using the wrong `firewall-start` script on boot. Running `nixos-rebuild switch` forces the firewall to restart with the correct config script, but after rebooting it goes back to the wrong one. The wrong config file seems to be the very first firewall config I ever had.
georges-duperon has joined #nixos
<clever> iclanzan: is /boot mounted?
<{^_^}> [nixpkgs] @timokau merged pull request #46324 → weechat: fix quoting for ${} syntax → https://git.io/fAg8e
<iclanzan> clever: how can it not be mounted? (Sorry if this is a noob question)
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fAgBj
<clever> iclanzan: if you mis-configured it during install, then it wont mount automatically
<clever> iclanzan: check the output of `df -h` and confirm if it is mounted
Notkea has quit [Remote host closed the connection]
<aminechikhaoui> aszlig: Can you please further explain your comment in https://github.com/NixOS/nixops/issues/370#issuecomment-162787764 ? :)
<aminechikhaoui> it fixed my problem but didn't undertand what was wrong
<iclanzan> clever: yes, it shows `/dev/sda1` mounted on `/boot`
<aminechikhaoui> well if anyone here has an idee also, please chime in
<clever> iclanzan: ok, thats a bit odd, is this booting with uefi or legacy?
<iclanzan> clever: uefi, macbook pro 2015
<iclanzan> clever: systemd-boot, no grub
sbdchd has quit [Ping timeout: 252 seconds]
<disasm> iclanzan: you can confirm that sda1 is vfat, right?
<clever> iclanzan: can you pastebin the output of `nix run nixpkgs.efibootmgr -c efibootmgr -v` and `blkid /dev/sda*` and `fdisk -l /dev/sda` ?
johanot has quit [Remote host closed the connection]
<iclanzan> disasm: yes, sda1 is vfat
<disasm> iclanzan: `ls -hal /boot/loader/entries`
Guanin has quit [Ping timeout: 246 seconds]
<clever> iclanzan: and the 3 cmds above?
<iclanzan> clever: one sec, creating a pastebin with the output of those
<disasm> iclanzan: compare the generations there to your `ls -hal /nix/var/nix/profiles/system-*`
<disasm> the numbers should match
<disasm> Also check /boot/loader/loader.conf and confirm the default is the latest generation
<clever> line 6 from efibootmgr matches the uuid on line 14 for sda1, so the correct boot partition is on /boot
<disasm> also, gist is much nicer than pastebin imho :)
sbdchd has joined #nixos
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
JonReed has joined #nixos
<iclanzan> disasm: I can confirm I have the latest generation in both /boot/loader/entried and /nix/var/nix/profiles, and that this latest generation is set as default in loader.conf
ToxicFrog has quit [Read error: Connection reset by peer]
<clever> iclanzan: can you paste the result of `ls -l /run/current-system`, then reboot and paste the result of `ls -l /run/current-system` again, without a nixos-rebuild
<iclanzan> /nix/store/sln0g1s660k644p3a38j508aagxrwlic-nixos-system-nixie-18.03.132155.b50443b5c4a
<iclanzan> brb :)
<{^_^}> [nixpkgs] @xeji merged pull request #46292 → clib: 1.8.0 -> 1.8.1 → https://git.io/fAzuJ
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « clib: 1.8.0 -> 1.8.1 (#46292) »: https://git.io/fAg0A
iclanzan has quit [Quit: WeeChat 2.0]
jperras has joined #nixos
iclanzan has joined #nixos
_ris has joined #nixos
<iclanzan> clever: And I get a different generation when booting :(
<iclanzan> A much older one
sbdchd has quit [Remote host closed the connection]
<clever> iclanzan: definitely sounds like a /boot problem
<clever> iclanzan: how old was it?
<iclanzan> clever: generation 412 out of 428
<iclanzan> clever: I wonder if 412 is selected from the boot menu somehow. I have the timeout set to 0 so I never see the menu
<iclanzan> clever: brb. rebooting again.
iclanzan has quit [Quit: WeeChat 2.0]
waleee has quit [Quit: WeeChat 2.2]
iclanzan has joined #nixos
<iclanzan> clever: that was it! The wrong generation was selected in the boot menu. How do I make it boot the latest always?
Guanin has joined #nixos
jperras has quit [Read error: Connection reset by peer]
jperras has joined #nixos
<ldlework> Something like callPackage for substituteAll would be pretty cool
<ldlework> Basically I want a way to point a directory of shell scripts and just have them be all magically installed as bin scripts, with their dependencies met
<clever> iclanzan: ive never used systemd-boot
<ldlework> So would have to go into the script and find tokens denoting the use of packages and then automatically pass those to substituteAll kinda like how callPackage does it
<tilpner> iclanzan - My systemd-boot always boots latest
<iclanzan> tilpner: That used to be the case for me too, but it is not anymore and I don’t know why
<disasm> iclanzan: the default param I had you check above :)
<tilpner> iclanzan - My config seems pretty default: { consoleMode = "keep"; editor = false; enable = true; }
<tilpner> On nixos-unstable
orivej has joined #nixos
<tilpner> How did you even disable the timeout?
<tilpner> Oh, boot.loader.timeout, of course
<iclanzan> disasm: the problem is the default in loader.conf shows up as the latest but it does not boot the latest.
<iclanzan> tilpner: what does `consoleMode` do?
<ldlework> A couple weeks ago someone came up with a snippet to evaluate a string read from a file (like a shell script) as if it were a nixlang string literal, such that things like ${pkgs.foo} would be properly expanded. Anyone remember how that was done? I can't find it in my logs.
<tilpner> Resolution of the console, but that's the default
nbardiuk has quit [Ping timeout: 245 seconds]
<tilpner> Don't see a way to do that without exec :/
<ldlework> tilpner: the string thing?
<JonReed> ldlework: What do you mean find tokens denoting the use of packages? Automatically inferring packages used from a shell script? Or explicitly specifying it like using some made up syntax like `# packages = [ xdotool ]`?
<ldlework> the former
<tilpner> Yes. Apart from a hacky parser only some form of eval would do
<ldlework> but i suppose i don't -hate- the latter
<sphalerite> ldlework: wasn't me, but maybe something like exec > >(nix build -o /tmp/script -) ; echo "with import <nixpkgs> {}; writeScript "foo" ''" ; cat ; echo "''"; exec >/dev/tty ; exec /tmp/script
<sphalerite> ?
<sphalerite> probably doesn't work as is :p
<tilpner> sphalerite - Doesn't that hit the recursive nix wall?
<sphalerite> how so?
<ldlework> JonReed: I guess a madeup comment header would be the easiest to actually do
<tilpner> When ldlework says "evaluate a string read from a file", I assumed Nix would be the evaluating party
dbmikus has quit [Ping timeout: 245 seconds]
<JonReed> ldlework: I'w writing a script to the latter. It can already deal with python and haskell scripts. The idea is that in file you just put comment like `packages = [ wreq ]` and it automatically can parse and compile the file
<ldlework> but being able to be like "all those files in ./bin are packages! install them!" without any other work.
<sphalerite> JonReed: sounds like what nix-shell shebangs were designed for?
<ldlework> sphalerite: do you reall want actual tools on your system to use nix-shell before starting?
<tilpner> It's not *that* terrible
<ldlework> JonReed: by "handles python and haskell" i guess you mean that the packages listed in the file are not from "pkgs" but rather, the runtime specific packages from python or haskell?
<ldlework> does it support normal packages too?
<ldlework> tilpner: is it slower?
<tilpner> Yes
<sphalerite> ldlework: I don't think there's anything wrong with that for quick hacks, and writing non-quick-hack stuff into a quick nix expression
<JonReed> ldlework: My idea is that it support many keyword like `pythonPackages` `haskellPackages`, but defaults to `packages` based on the file. So, if it's .hs file then it will deduce that packages means haskellPackages. But you an put as many keywords there as you want, even use python from haskell.
<ldlework> this is mostly a way to remove/reduce nixlang boilerplate in my system configuration
<ldlework> JonReed: sure but how to provide normal packages :P
<JonReed> ldlework: `nixpkgs = [ normal package]`
<ldlework> "packages" should be reserved for non-runtime packages
* ldlework shrugs OK :)
<JonReed> ldlework: `nixpkgs = [ normal_package]` *
<ldlework> JonReed: can I see a version of it?
<ldlework> Another thing I'm looking for is a way to specify in home manager, that it should do home.file."whatever".source = ./whatever for a whole directory of files recursively
<JonReed> ldlework: It's very much in work in progress and I wrote only a parser so far. But yeah. I'll pastebin it somewhere.
<ldlework> cool
<{^_^}> [nixpkgs] @costrouc opened pull request #46327 → pythonPackages.markerlib: init at 0.6.0 → https://git.io/fAgav
<{^_^}> [nixpkgs] @xeji merged pull request #46019 → geant4 overhaul → https://git.io/fA4Cd
<{^_^}> [nixpkgs] @xeji pushed 9 commits to master: https://git.io/fAgaq
nly has joined #nixos
nly has quit [Changing host]
nly has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « smenu: 0.9.13 -> 0.9.14 (#46189) »: https://git.io/fAgaS
<{^_^}> [nixpkgs] @xeji merged pull request #46189 → smenu: 0.9.13 -> 0.9.14 → https://git.io/fAuyZ
<ldlework> JonReed: what is result?
<ldlework> is it just the dependencies?
Henson has joined #nixos
<ldlework> or a package that provides the script too?
<{^_^}> [nixpkgs] @YorikSar opened pull request #46328 → gn: 20180423 -> 20180830 → https://git.io/fAgaN
<{^_^}> [nixpkgs] @xeji merged pull request #46213 → pmd: 6.5.0 -> 6.7.0 → https://git.io/fAzfF
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pmd: 6.5.0 -> 6.7.0 (#46213) »: https://git.io/fAgax
<Henson> in a mkDerivation buildCommand section, is there a way to make a script run in the current directory of the Nix derivation? I have a script that uses git to pull out a hash and tag for the build tree, but if I reference that script inside a ${./script.sh} in the buildCommand, it gets copied to a temporary directory and isn't able to see the git tree anymore.
<clever> Henson: use buildPhase instead, and src = ./.; to get a copy of the current dir
<JonReed> ldlework: The second one is the entry file to test it. If that file is named `main.nix` and the first file is named `parser.nix`, and you have a file like `main.hs` (like https://lpaste.net/1759218995283623936), then running it wil produce this output: https://pastebin.com/qEEj1U7h
<JonReed> ldlework: Then I will take this set, find those deps in nixpkgs and build helper function to quickly build the file based on this information
<ldlework> JonReed: ok so right now it is just getting us the data from the comments, we still need to do the work to use that info to get the right packages installed, and the script itself
<ldlework> right
<ldlework> cool
<yorick> raise Exception("‘deployment.ec2.securityGroups’ is incompatible with ‘deployment.ec2.subnetId’") why?!
<Henson> clever: but that only works because src = ./. copies over the git repository as well? If the current directory is really large, it complains about running out of memory.
<aminechikhaoui> yorick: I think you should use deployment.ec2.securityGroupIds
<aminechikhaoui> when using VPC deployments
<yorick> aminechikhaoui: but, why?
<yorick> I mean, that works
<yorick> securityGroupIds = [ a-sg.name b-sg.name ]
<yorick> but that's terrible
ryanartecona has quit [Quit: ryanartecona]
<disasm> iclanzan: on the boot loader screen, does it show all the generations and just highlights the wrong one or do you get a different list of generations?
<aminechikhaoui> yeah we should fix that I think but for now I think it's that way for historical reasons
<aminechikhaoui> it was that way when I started using nixops :D
<yorick> aminechikhaoui: there is software that magically does things that users believe it should do, and there's nixops :P
<yorick> with the worst one being me typing `nixops -d thing info` a few times a day and having it fail
<iclanzan> disasm: it shows all generations and the wrong one is highlighted
<xok> ,find docker
<xok> ,find docker-compose
<{^_^}> Couldn't find any such files
sbdchd_ has joined #nixos
humanoyd has quit [Quit: WeeChat 2.2]
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
<xok> does anyone have an idea how to install docker-compose on a NixOS system?..
sbdchd_ has quit [Ping timeout: 240 seconds]
sbdchd has joined #nixos
wpcarro has quit [Remote host closed the connection]
<gchristensen> xok: (1) just try getting it, (2) failing that try `nix search` or https://nixos.org/nixos/packages.html#docker-compose
<{^_^}> [nixpkgs] @geistesk opened pull request #46329 → openrct2: 0.2.0 -> 0.2.1 → https://git.io/fAgwx
<gchristensen> `,find` isn't the greatest tool for a newbie exploring NixOS options and packages for the first time. a great place to explore options is via `man configuration.nix` and also https://nixos.org/nixos/options.html#
wpcarro has joined #nixos
wpcarro has quit [Read error: Connection reset by peer]
wpcarro has joined #nixos
tzemanovic has joined #nixos
<ldlework> this recursive home-manager function is proving tricky :)
ixxie has quit [Quit: Lost terminal]
dbmikus has joined #nixos
mayhewluke has quit [Ping timeout: 252 seconds]
tzemanovic has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @geistesk opened pull request #46330 → nixos/wavemon: create module → https://git.io/fAgra
goodwill has joined #nixos
mayhewluke has joined #nixos
mkoenig has quit [Ping timeout: 252 seconds]
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #46329 → openrct2: 0.2.0 -> 0.2.1 → https://git.io/fAgwx
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fAgoX
<{^_^}> [nixpkgs] @dywedir opened pull request #46331 → ripgrep: 0.9.0 -> 0.10.0 → https://git.io/fAgob
<infinisil> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended).
<infinisil> xok: Probably meant this ^
ixxie has joined #nixos
<infinisil> Hey, if I were to make a PR for this feature:
Notkea has joined #nixos
<infinisil> > pkgs.haskellPackages.attrPath
<{^_^}> [ "haskellPackages" ]
<infinisil> > pkgs.haskellPackages.xmonad.attrPath
<{^_^}> [ "haskellPackages" "xmonad" ]
<infinisil> > pkgs.buildPackages.buildPackages.haskellPackages.xmonad.attrPath
<{^_^}> [ "buildPackages" "buildPackages" "haskellPackages" "xmonad" ]
sbdchd has quit [Ping timeout: 240 seconds]
<infinisil> Should the above return what it did just now, or [ "haskellPackages" "xmonad" ]?
<infinisil> The latter seems more correct, the path of accessing it shouldn't influence the result
<infinisil> clever: You had some concerns for this ^^
<xok> nix search docker-compose return a result, I want to install it now...
<xok> how do I do this?..
<symphorien> xok: it is written: Attribute name: nixpkgs.docker_compose
<xok> symphorien: yes, and how do I use it now?..
<symphorien> so : nix-env -f "<nixpkgs>" -iA docker_compose
<symphorien> (let me the time to type :þ)
<ixxie> so suddenly my system decides to reboot itself
<ixxie> and I have no idea why
<xok> symphorien: thank you, how do I include this in the nixops configuration file to automatically when deployed?..
<ixxie> this is the journalctl for the last boot
<ixxie> which spans one random reboot to the next
<symphorien> environment.systemPackages = [ pkgs.docker_compose ];
anon423432 has joined #nixos
<xok> symphorien: Thank you very much!...
<ixxie> I have been testing a script that installs NixOS with kexec on a remote machine
<symphorien> xok: bear in mind that on nixos installing a package with environment.systemPackages or nix-env will never have the "usual side effects" like enabling services, adding logrotate configuration and so on
<symphorien> which means: installing docker_compose like this will not start the docker daemon
<symphorien> for services, look here https://nixos.org/nixos/options.html#
<symphorien> and if you are new to this, I really recommend you read the manual(s): https://nixos.org/nixos/manual/ the nixos manual at least, but probably also the nix manual and nixpkgs manual.
<anon423432> Hi guys, hope you're doing well, I would like to request your assistance for something "weird" about emacs on NixOS, I got a lot of "Invalid function: (win (frame-selected-window))" which completely broke emacs, I can't do M-x, C-x C-c or anything ... My config run well on other distro (Manjaro, Arch, Debian) so I wonder where it go wrong or how I can debug. If you could enlight me I would be gratefull, thank you in advance.
nly has left #nixos [#nixos]
jedahan has joined #nixos
<jedahan> is there a way to install nixos to a different partition than root and still use the binary cache?
<gchristensen> jedahan: it doesn't have to be on the root partition, but the partition does have to be located at /nix
<jedahan> err, nix the package manager
<gchristensen> are you on macOS or Linux?
<jedahan> linux
<jedahan> I've got a home server with a very small root and a very big data partition, and want to set the prefix to /mnt/data/nix
<jedahan> could i bind mount that to /nix
<jedahan> ?
<gchristensen> what I said remains true, you have to put the partition at /nix. a bind mount might work, worth a try
<{^_^}> [nixpkgs] @timokau opened pull request #46332 → youtube-dl: 2018.08.28 -> 2018.09.01, fix youtube download → https://git.io/fAg6r
<vaibhavsagar> gchristensen: I was reading about Nix 2.0 and `--store`, the documentation seems to imply that we can have both?
<vaibhavsagar> https://nixos.wiki/wiki/Nix_Installation_Guide#nix_2.0.27s_native_method
<gchristensen> vaibhavsagar: probably not a good way to be introduced to nix, I'm not sure how well that feature is used and how well it would be supported
<vaibhavsagar> so we use a non-`/nix` store path but otherwise everything works as before
<{^_^}> [nixpkgs] @7c6f434c closed pull request #42826 → sbcl: 1.4.7 -> 1.4.9; tested on nixos → https://git.io/fg509
<gchristensen> that sort of magic I would not recommend, and instead let people discover for themselves as they become advanced users... imo
<vaibhavsagar> okay, fair enough
<jedahan> well, time for us to test it out and see how it fares
<jedahan> this box is meant for learning above all, so :)
frank87 has joined #nixos
<gchristensen> jedahan: which part, the bind mount? (please pick the bind mount :P)
knupfer has quit [Ping timeout: 240 seconds]
<jedahan> well, first see if setting store in ~/.config/nix/nix.conf just works
<jedahan> then if that doesnt just works, try the bind mount
vmandela has quit [Quit: Leaving]
sbdchd has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<vaibhavsagar> is there a way to run Nix 2.1 on 18.03?
<vaibhavsagar> like there was `pkgs.nixUnstable` on 17.09?
pi3r has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #46332 → youtube-dl: 2018.08.28 -> 2018.09.01, fix youtube download → https://git.io/fAg6r
redterd has quit [Quit: WeeChat 0.4.3]
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/fAgi7
revtintin has quit [Quit: WeeChat 1.9.1]
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @timokau pushed 2 commits to release-18.09: https://git.io/fAgiA
graphene has joined #nixos
<sphalerite> vaibhavsagar: nixUnstable stlil exists
<Henson> I'm trying to run a build script that compiles C++ files to object files, from within a mkDerivation buildCommand section. It appears as though the build script isn't able to write anything without getting a permission denied error. I have to manually specify an output location by passing in an input argument for the output directory, and it has to be passed in the form of ${output.directory}
<{^_^}> [nixpkgs] @mbode opened pull request #46333 → prometheus_2: 2.2.1 -> 2.3.2 → https://git.io/fAgPJ
<Henson> in the buildCommand section. Is this correct, are build scripts in a source tree unable to write anything within the source tree?
<vaibhavsagar> sphalerite: cool, let me try
ixxie has quit [Quit: Lost terminal]
<sphalerite> vaibhavsagar: it won't be nix 2.1 proper, it's likely to be a newer version from master
<Henson> how the check does a Python distutils build script work in this case, which does not allow one to specify the build output directory?
<Henson> check -> heck
<vaibhavsagar> Henson: you can create a temporary directory yourself as part of the buildCommand
<sphalerite> vaibhavsagar: in fact it still seems to be a 2.1 prerelease :/
<vaibhavsagar> hmm
<sphalerite> Henson: buildCommand won't unpack the sources for you. You might want to define buildPhase instead so that you still have the stock unpackPhase and such, which give you a writable "checkout" of the source
<Henson> sphalerite: ok, I'll give that a try
<sphalerite> buildCommand essentially overrides all of what the normal stdenv does, bar maybe sourcing the setup script (i'm not sure)
pi3r has joined #nixos
HoloIRCUser3 has joined #nixos
<HoloIRCUser3> Total NixOS newb checking in
<gchristensen> woohoo!
<{^_^}> [nixpkgs] @bkchr opened pull request #46334 → kde-applications: 18.08.0 -> 18.08.1 → https://git.io/fAgPd
<{^_^}> [nixpkgs] @bkchr opened pull request #46335 → plasma5: 5.13.4 -> 5.13.5 → https://git.io/fAgPb
<HoloIRCUser3> Absolutely love everything about it so far =] just having trouble nixops deploy-ing to my raspberry pis
ryanartecona has joined #nixos
<gchristensen> I should get a raspberry pi so I can write up a really nice how-to
<gchristensen> or maybe there already is one!
<HoloIRCUser3> Got 3 pi3B+s (running dezgeg's modded img)and one vanilla 3B (regular aarch64)
Fare has joined #nixos
<HoloIRCUser3> Maybe- lol this is the start of my search =P
civodul has joined #nixos
troydm has joined #nixos
cnidario has joined #nixos
<HoloIRCUser3> I'll take a whack at writing one if I can get past the following failed assertions
<HoloIRCUser3> - The ‘fileSystems’ option does not specify your root file system. - You must set the option ‘boot.loader.grub.devices’ or 'boot.loader.grub.mirroredBoots' to make the system bootable.
<{^_^}> [nixpkgs] @Infinisil opened pull request #46336 → lib: Improve overrideExisting implementation → https://git.io/fAg1U
<infinisil> Had a little fun with this PR lol ^
<{^_^}> [nixpkgs] @nlewo merged pull request #46256 → kubernetes-helm: 2.9.1 -> 2.10.0 → https://git.io/fAzn5
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fAg1Z
<{^_^}> [nixpkgs] @timokau opened pull request #46337 → sage: re-add pkg-config aliases → https://git.io/fAg1l
<{^_^}> [nixpkgs] @nlewo opened pull request #46338 → kubernetes-helm: fix darwin hash → https://git.io/fAg1P
lewo`` has joined #nixos
<jasom> speaking of /nix, I noticed that with ZFS if I put /nix on a separate file system, my machine won't boot. I expect that the program it wants to run to mount /nix is inside /nix ...
<sphalerite> jasom: no, it should get copied to the initrd
<disasm> iclanzan: that tells me the default is wrong...
<sphalerite> jasom: you do need to use legacy mounting for it though
<jasom> sphalerite: oh, interesting
<jasom> sphalerite: is there an up-to-date zfs guide for nixos? I've found a lot of old stuff
<ldlework> jasom: you might ask adamantium about themelios
<ldlework> a tool they made which has some nice features for bootstrapping nixos with zfs
<jasom> Isn't that greek for "foundation?
<iclanzan> disasm: it looks like whatever generation I last selected on the boot menu will always boot unless I select another one
<{^_^}> [nixpkgs] @bkchr opened pull request #46339 → kdecoration-viewer: Fixes build → https://git.io/fAgMO
<ldlework> jasom: yes
<jasom> ldlework: oh, I avoid pure zfs systems, as I find bootloaders often lag behind zfs in features supported and it's easy to get your filesystem ahead of the bootloader by accident
<jasom> ldlework: yeah, just found it
<ldlework> jasom: i don't really know how any of that stuff works so i just nod politely
<jasom> ldlework: your bootloader needs to be able to read from whatever file system has your kernel. This means if you don't have a non-zfs boot partition, the bootloader needs to be able to read zfs. Whenever there is a new feature added to zfs, you need to be careful to not enable it on your root pool until after your bootloader can support it.
knupfer has joined #nixos
pie___ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @sterfield opened pull request #46340 → Sickrage: init at v2018.07.21-1 → https://git.io/fAgD4
medvid has joined #nixos
xok has quit [Ping timeout: 252 seconds]
Freechicks has quit []
Henson has quit [Quit: have a good weekend everybody!]
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #46338 → kubernetes-helm: fix darwin hash → https://git.io/fAg1P
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fAgyz
Freechicks has joined #nixos
<{^_^}> [nixpkgs] @rasendubi merged pull request #46327 → pythonPackages.markerlib: init at 0.6.0 → https://git.io/fAgav
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/fAgyK
knupfer has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @rasendubi merged pull request #46307 → calamares: 3.2.1 -> 3.2.2 → https://git.io/fAz6j
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/fAgy1
sbdchd has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46341 → nixpkgs module: Fix defaulting of `localSystem` and `system` → https://git.io/fAgSO
Denommus has joined #nixos
georges-duperon has quit [Ping timeout: 252 seconds]
anon423432 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @nlewo merged pull request #46245 → mediainfo: 18.05 -> 18.08 → https://git.io/fAz3b
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fAg9Z
<{^_^}> [nixpkgs] @nlewo merged pull request #46246 → mediainfo-gui: 18.05 -> 18.08 → https://git.io/fAzso
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fAg9l
<{^_^}> [nixpkgs] @Ma27 opened pull request #46342 → pythonPackages.trio: fix build → https://git.io/fAg98
<{^_^}> [nixpkgs] @nlewo merged pull request #46255 → libmediainfo: 18.05 -> 18.08 → https://git.io/fAznG
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fAg9R
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46343 → nixpkgs module: Fix defaulting of `localSystem` and `system` → https://git.io/fAg9K
mjhoy has quit [Quit: ERC (IRC client for Emacs 26.1)]
Denommus has quit [Remote host closed the connection]
grp has joined #nixos
pie_ has joined #nixos
rfold has joined #nixos
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jedahan has joined #nixos
jedahan has quit [Client Quit]
jedahan has joined #nixos
jedahan has quit [Client Quit]
jedahan has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
jedahan has quit [Client Quit]
grp has quit [Quit: box shutting down...]
jedahan has joined #nixos
jedahan has quit [Client Quit]
jedahan has joined #nixos
jedahan has quit [Client Quit]
xeji has joined #nixos
pi3r has quit [Read error: Connection reset by peer]
pi3r_ has joined #nixos
<magnetop`> I'm trying to do remote builds, with a config that was working before, but now with a different buildbox: a debian vm with the nix pkg-manager installed. I'm getting: cannot build on 'ssh://root@hostIP': cannot connect to 'root@hostIP': bash: nix-store: command not found
<magnetop`> the odd thing is that nix-store IS installed on the other machine, and it also doesn't seem to be a key problem: when I specify another key, I get a normal "permission denied" error.
<{^_^}> [nixpkgs] @rycee pushed to master « pecita: download from official source »: https://git.io/fAgQb
slack1256 has quit [Remote host closed the connection]
pi3r_ has quit [Read error: Connection reset by peer]
pi3r__ has joined #nixos
kisik21 has quit [Ping timeout: 246 seconds]
<srhb> magnetop`: This might be caused by the sourcing of whatever PATH holds nix-store not being what you expect
<srhb> magnetop`: (Meaning just because it's on PATH when you log in interatively as the same user, doesn't mean it is for the remote builds)
sbdchd has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #46337 → sage: re-add pkg-config aliases → https://git.io/fAg1l
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fAg7Q
<{^_^}> [nixpkgs] @markuskowa opened pull request #46344 → Add licenses → https://git.io/fAg77
<sphalerite> magnetop`: yeah what srhb said. I usually hacked around it by symlinking ~/.nix-profile/bin/nix-store to /bin/nix-store :p
tzemanovic has joined #nixos
<srhb> That's an easy solution for sure. :)
<srhb> In fact, I regret spending so much time digging through the arcane rules for when which file is located now x_x
<srhb> source ALL THE THINGS.
<{^_^}> [nixpkgs] @tycho01 closed pull request #45478 → update NixOS fdisk instructions based on my flow (18.03) → https://git.io/fAkFs
tzemanovic has quit [Ping timeout: 272 seconds]
<sphalerite> you could also symlink it into /usr/local/bin probably to be more debianly correct
<sphalerite> or make /usr/local a symlink to ~/.nix-profile for great SnG
__monty__ has quit [Quit: leaving]
jperras has quit [Quit: WeeChat 2.2]
<sphalerite> I feel like these solutions call for a galaxy brain meme
drp` has joined #nixos
simukis has quit [Ping timeout: 245 seconds]
aanderse has quit [Quit: aanderse]
xeji has quit [Quit: WeeChat 2.1]
drp has quit [Ping timeout: 245 seconds]
knupfer has joined #nixos
<srhb> sphalerite: ln -f ~/.nix-profile/bin/nix-store /usr/bin/apt
knupfer has quit [Read error: Connection reset by peer]
<srhb> *full on eleventh dimension brainsplosion gif*
graphene has quit [Read error: Connection reset by peer]
<sphalerite> srhb: a hard link no less!
<srhb> Oh yeah :P
graphene has joined #nixos
rauno has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 245 seconds]
bbarker has joined #nixos
mayhewluke has joined #nixos
kyren has joined #nixos
Fare has quit [Ping timeout: 246 seconds]
spietz has quit [Ping timeout: 252 seconds]
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #nixos
<Mic92_> magnetop`: maybe forced-command?
<Mic92_> or a shell that extends PATH
<Mic92_> I mean ssh forced-commands
erasmas has quit [Quit: leaving]
wpcarro has quit [Remote host closed the connection]
iclanzan has quit [Quit: WeeChat 2.0]
wpcarro has joined #nixos
ma27 has quit [Quit: WeeChat 2.2]
ma27 has joined #nixos
tzemanovic has joined #nixos
<symphorien> magnetop`: I have had this problem, and iirc bash in non interactive non login ssh session won't source anything, so I switched to zsh and added the right source invocation in the right file and this worked
<symphorien> I don't remember the details though
wpcarro has quit [Ping timeout: 240 seconds]
blankhart has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
wpcarro has joined #nixos
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wpcarro has quit [Ping timeout: 252 seconds]
HoloIRCUser3 has quit [Quit: HoloIRCUser3]
kyren has joined #nixos
NightTrain has joined #nixos
`slikts is now known as slikts
ryantrinkle has quit [Ping timeout: 245 seconds]
kyren has quit [Client Quit]
<{^_^}> [nixpkgs] @dtzWill opened pull request #46345 → mesa: 18.1.7 -> 18.1.8 → https://git.io/fAgFh
tzemanovic has quit [Ping timeout: 252 seconds]
<magnetop`> thanks to a symlink, I got it to start. thanks for the tip! it successfully copied some paths, but now it's stalling on another...
<magnetop`> any ideas?
kyren has joined #nixos
<magnetop`> ah, it continued...
<sphalerite> magnetop`: yeah with the old commands it won't indicate progress for a single big path when it's copying it, and with the new ones (nix subcommands) I think it sometimes stops reporting progress even though it might still be at it in the background
<sphalerite> also are you usually magnetophon?
<magnetop`> this is weird: it started compiling remotely, and then stopped with: error: unable to start any build; either increase '--max-jobs' or enable remote builds
<sphalerite> what are you building? It might be some missing "features"
<sphalerite> e.g. if it's the linux kernel or a browser I think it wants the machine to be marked as supporting big-parallel
<magnetop`> an rt kernel. have built it before, and should be fine
<magnetop`> ah
<magnetop`> and yes, I'm magnetophon, but the nick command won't work...
<sphalerite> there was an issue about it somewhere but I haven't found it yet
sigmundv has joined #nixos
<sphalerite> gchristensen: do you maybe remember where the issue about the missing feature error message was?
<sphalerite> I can't seem to find it in nixpkgs nor nix
<{^_^}> [nixpkgs] @xeji opened pull request #46346 → cryptsetup: enable and fix tests → https://git.io/fAgbN
<sphalerite> and I seem to remember you having provided input of some sort
<magnetop`> I can't find the bigparallel param. where should I look?
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> nix eval nixpkgs.linuxPackages.kernel.requiredSystemFeatures
<sphalerite> you just need to add big-parallel to your build machine's supported features list
<sphalerite> i.e. in nix.buildMachines.*.supportedFeatures, or in /etc/nix/machines, or wherevery ou've defined it
<sphalerite> > linuxPackages.kernel.requiredSystemFeatures
<{^_^}> [ "big-parallel" ]
<sphalerite> magnetop`: ^
<magnetop`> yes
<magnetop`> thanks all!
vaibhavsagar has quit [Ping timeout: 272 seconds]
<sphalerite> I'm not really a fan of the interface myself
<sphalerite> but hey, it works
<sphalerite> sort of :)
<{^_^}> [nixpkgs] @xeji merged pull request #46344 → Add licenses → https://git.io/fAg77
<{^_^}> [nixpkgs] @xeji pushed 16 commits to master: https://git.io/fAgNZ
<{^_^}> [nixpkgs] @markuskowa opened pull request #46347 → Update dead homepage links → https://git.io/fAgNV
kyren has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46342 → pythonPackages.trio: fix build → https://git.io/fAg98
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « pythonPackages.trio: fix build (#46342) »: https://git.io/fAgNM
<magnetop`> yes, it's building. you guys n gals are great! :)
Growpotkin has joined #nixos
<{^_^}> [nixpkgs] @YorikSar opened pull request #46348 → chromium: 68.0.3440.106 -> 69.0.3497.81 → https://git.io/fAgNF
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to release-18.09 « pythonPackages.trio: fix build (#46342) »: https://git.io/fAgNp
<sphalerite> \o/
dbmikus has quit [Ping timeout: 244 seconds]
cnidario has quit [Read error: Connection reset by peer]
sigmundv has quit [Remote host closed the connection]
sigmundv has joined #nixos
rfold has quit [Ping timeout: 272 seconds]
kyren has quit [Quit: Textual IRC Client: www.textualapp.com]
ilikeheaps has quit [Ping timeout: 240 seconds]
<Growpotkin> is the syntax of nix based on any general purpose languages? I have really fallen in love with it and would like to use the same style in programs and scripts.
<gchristensen> growpotkin: syntax or style?
<Growpotkin> Even the ability to run "nix repl" without forcing all outputs into the store/result-dir.
<Growpotkin> The syntax mostly. "Style" kind of depends on our interpretations of "nix style" so thats a bit fuzzier
dbmikus has joined #nixos
<gchristensen> growpotkin: you might find other functional programming languages interesting, like Haskell, Erlang, OCaml,
<Growpotkin> I do really enjoy Haskell, the IO and strong typing make it a bit obnoxious for little scripts ans such
<{^_^}> [nixpkgs] @bcdarwin opened pull request #46349 → gradient_halide: init at 2018-08-31 → https://git.io/fAgxE
<Growpotkin> I will check out erlang and Ocaml. I was looking at Lisp derivatives but the ((((((situation) of) doing) everything) was) a little) much)
<elvishjerricco> growpotkin: I use Haskell for scripting quite a lot. `runhaskell` is sweet
<gchristensen> http://learnyousomeerlang.com/ is pretty good
<elvishjerricco> Strong typing doesn't generally get in the way. If I would have screwed it up with the type checker, I would have screwed it up with the runtime in a dynamic language.
<{^_^}> [nixpkgs] @xeji merged pull request #46347 → Update dead homepage links → https://git.io/fAgNV
<{^_^}> [nixpkgs] @xeji pushed 8 commits to master: https://git.io/fAgx6
dbmikus has quit [Ping timeout: 240 seconds]
<Growpotkin> On a haskell note, does anyone know how to get a ghc 7.8? hmatrix depends on it but I can't seem to find a package for 7.8
<{^_^}> [nixpkgs] @xeji merged pull request #46339 → kdecoration-viewer: Fixes build → https://git.io/fAgMO
<{^_^}> [nixpkgs] @xeji pushed commit from @bkchr to master « kdecoration-viewer: Fixes build (#46339) »: https://git.io/fAgxH
<{^_^}> [nix] @yegortimoshenko opened pull request #2409 → Make fetchGit do full checkout if ref = "*" → https://git.io/fAgxb
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @bkchr to release-18.09 « kdecoration-viewer: Fixes build (#46339) »: https://git.io/fAgpf
<infinisil> > lib.attrNames haskell.compiler
<{^_^}> [ "attrPath" "attrPos" "ghc7103" "ghc7103Binary" "ghc802" "ghc821Binary" "ghc822" "ghc843" "ghc861" "ghcHEAD" "ghcjs" "ghcjs710" "ghcjs80" "ghcjs82" "ghcjs84" "integer-simple" ]
<gchristensen> we're gonna be in trouble when ether is a ghc 71.0.3
<infinisil> growpotkin: If you really need version exactly 7.8, then you need to use an older nixpkgs version. I recommend trying it with 7.10 instead
<gchristensen> there!
<infinisil> Heh yeah
<infinisil> Wasn't there some RFC for changing these versioned names to a uniform format with underscores?
<Growpotkin> so weird, I tried "ghc7103" with no luck
sbdchd has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 6 commits to gnome-3.30: https://git.io/fAgp3
drakonis has joined #nixos
<Growpotkin> im still running nixos 18.03 tho, maybe a newer version has ghc7103
Ariakenom has quit [Read error: Connection reset by peer]
<Growpotkin> eyyy that did the trick
<Growpotkin> 18.09 has ghc7103
Fare has joined #nixos