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
hakujin has quit [Ping timeout: 240 seconds]
worldofpeace_ has quit [Ping timeout: 256 seconds]
phreedom_ has quit [Remote host closed the connection]
phreedom has joined #nixos
<fresheyeball> hey out there
<fresheyeball> elvishjerricco: so now I get this error and can't seem to get past it
<fresheyeball> everything evals fine in the repl
Fare has quit [Ping timeout: 240 seconds]
worldofpeace_ has joined #nixos
<fresheyeball> cannot coerce a list to a string, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:109:60
hakujin has joined #nixos
<fresheyeball> clever: so I am now trying to use imports to compose my configurations
<fresheyeball> which is a sizable undertaking to convert
<fresheyeball> I now have the simplest thing I could think of
<fresheyeball> which is just { imports = [ ../foo.nix ]; )
<fresheyeball> and its not working
<fresheyeball> if I create my nixops deployment based on foo.nix
<fresheyeball> its fine
<fresheyeball> but { imports = [ ../foo.nix ]; } does not work
<fresheyeball> oddly { imports = ../foo.nix; } does work
<fresheyeball> what is going on here?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fNy2V
hakujin has quit [Ping timeout: 256 seconds]
MP2E has joined #nixos
hakujin has joined #nixos
silver has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
ryanartecona has joined #nixos
carlosdagos has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dlahoti opened pull request #44649 → add `/share/sddm/themes` to `environment.pathsToLink` → https://git.io/fNyaW
hakujin has joined #nixos
<acowley> Is there a CHANGELOG type thing for the "tree wide" commits to nixpkgs?
kalbasit has quit [Quit: WeeChat 2.1]
<samueldr> what do you mean by "tree wide"?
<samueldr> ah, makes sense, not sure
<samueldr> uh, let me add that to things to look at for the release notes
<acowley> It's hard to precisely define what should count as treewide, but they're changes that tend to break your stuff that's not in nixpkgs
<samueldr> I agree
<acowley> Which is why being able to read about them would be nice. Motivation, approach, how to adapt code.
<gchristensen> +1
hakujin has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #44650 → radare2: 2.7.0 -> 2.8.0 → https://git.io/fNya1
hakujin has joined #nixos
<fresheyeball> ok this is insane
<fresheyeball> I have a file that is literally just {}
<fresheyeball> and imports does not work
<gchristensen> does not work?
<{^_^}> [nixpkgs] @jtojnar opened pull request #44651 → gobby5: fix build → https://git.io/fNyVe
hakujin has quit [Ping timeout: 240 seconds]
<elvishjerricco> fresheyeball: Just to be sure: You're not `imports`-ing a file that you previously used directly with nixops, right?
hakujin has joined #nixos
<fresheyeball> elvishjerricco: yes I have actually
<elvishjerricco> There's a difference between a nixops expression and a module
<fresheyeball> elvishjerricco: what is the difference?
<fresheyeball> they looked the same to me
<elvishjerricco> nixops expressions are attrsets with keys being machine names and values being modules. Plus some special keys like `resources` and `network` with different types of values
<elvishjerricco> so the module which you could `imports` is the thing on the rhs of the machine definition
mkoenig has quit [Ping timeout: 240 seconds]
<elvishjerricco> yay lack of static type system :P
<fresheyeball> elvishjerricco: right I know there are extra keys for nixops
<fresheyeball> but if I inline the set in the other file, everything works
<fresheyeball> but importing it with `imports = [./foo.nix];` does not work
<elvishjerricco> fresheyeball: Well my point is that the contents of the file you'd normally use with nixops, e.g. `{ machineName = { ... }: {}; }` is not a module
<elvishjerricco> the `{ ... }: {}` is a module
<elvishjerricco> Excluding the special keys, the type of a nixops file is basically `Map String Module`
<elvishjerricco> Whereas imports needs a file whose expression has type `Module`
<fresheyeball> elvishjerricco: ok
<fresheyeball> so I have a file
<fresheyeball> that has a {...}: { inherit mystuff };
<fresheyeball> and I have another file
<fresheyeball> that is literally just
<fresheyeball> {...}:{ imports = [ ../foo.nix ]; }
<fresheyeball> and it fails
<elvishjerricco> what's the error message, and can you give me an idea of what's in `inherit mystuff`?
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @zgrannan opened pull request #44652 → skypeforlinux: Add GSettings schemas → https://git.io/fNyVC
<gchristensen> can you link us to actual code?
ma27 has quit [Quit: WeeChat 2.0]
Sonarpulse has quit [Ping timeout: 244 seconds]
<fresheyeball> elvishjerricco: I am an idiot
<fresheyeball> I trashed on this and its super obvious now
Drakonis has joined #nixos
<fresheyeball> thank you
<elvishjerricco> Lol
<elvishjerricco> Survey: Was it something a static type system would have prevented?
<elvishjerricco> I feel like almost all of my dumb mistakes with nix are of that kind
<samueldr> what was the issue? I mean, maybe you're not an idiot and just had tunnel vision :)
<fresheyeball> elvishjerricco: a dependant type system of absurd complexity would have solved it
<fresheyeball> or a better error message
<fresheyeball> it was really hard to see why a string was showing up on line 109 of modules.nix
hakujin has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
ma27 has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
n0qqe has joined #nixos
<fresheyeball> elvishjerricco: actually my pick for this problem would have been a breakpoint
mkoenig has joined #nixos
noqqe has quit [Ping timeout: 248 seconds]
n0qqe is now known as noqqe
thc202 has quit [Ping timeout: 248 seconds]
silver has quit [Read error: Connection reset by peer]
mayhewluke has quit [Ping timeout: 256 seconds]
mayhewluke has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @costrouc opened pull request #44653 → pythonPackages.sortedcontainers: 1.5.7 -> 2.0.4 → https://git.io/fNyws
Fare has joined #nixos
hakujin has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
Sonarpulse has joined #nixos
<{^_^}> [nixpkgs] @costrouc opened pull request #44654 → pythonPackages.singledispatch: 3.4.0.3 → https://git.io/fNywK
lassulus_ has joined #nixos
<fresheyeball> how can I concat two paths?
<fresheyeball> `/foo ++ /bar.jpg = /foo/bar.jpg`
lassulus has quit [Ping timeout: 244 seconds]
lassulus_ is now known as lassulus
<{^_^}> [nixpkgs] @costrouc closed pull request #44638 → Update jupyterlab 0.32.1 -> 0.33.7 → https://git.io/fNyZK
<{^_^}> [nixpkgs] @costrouc reopened pull request #44638 → Update jupyterlab 0.32.1 -> 0.33.7 → https://git.io/fNyZK
hakujin has quit [Ping timeout: 256 seconds]
<samueldr> > <nixpkgs> + "/nixos" # fresheyeball
<{^_^}> /var/lib/nixbot/state/nixpkgs/nixos
<samueldr> > builtins.typeOf (<nixpkgs> + "/nixos")
<{^_^}> "path"
<{^_^}> [nixpkgs] @costrouc opened pull request #44655 → Add costrouc to maintainer list → https://git.io/fNywF
<fresheyeball> samueldr: omg
<samueldr> the initial slash is important
<samueldr> > <nixpkgs> + "nixos"
<{^_^}> /var/lib/nixbot/state/nixpkgsnixos
<samueldr> and you can't concat two relative paths, as paths are always resolved to be absolute (maybe my explanation is oversimplified here)
<samueldr> > ./.
<{^_^}> /var/lib/nixbot/state/nixpkgs
<samueldr> > ./. + ./.
<{^_^}> /var/lib/nixbot/state/nixpkgs/var/lib/nixbot/state/nixpkgs
hakujin has joined #nixos
leotaku has joined #nixos
<emily> oh dear...
<elvishjerricco> samueldr, fresheyeball: You don't need the quotes, do you?
<elvishjerricco> > <nixpkgs> + /nixos
<{^_^}> /var/lib/nixbot/state/nixpkgs/nixos
<leotaku> Is there any way for a non-root user to manage ad-hoc nixos containers?
<samueldr> elvishjerricco: hmmm, never really thought about it :/
<samueldr> well duh!
<clever> fresheyeball: can you gist the entire file?
<clever> kalbasit[m]: ive been installing it with a weechat from a pinned nixpkgs rev: https://github.com/cleverca22/nixos-configs/blob/master/weechat.nix
<kalbasit[m]> clever: yea I saw that
<kalbasit[m]> clever: do you think it's possible to submit the wee-slack derivation to nixpkgs?
<clever> kalbasit[m]: probably, i just never got around to it
<kalbasit[m]> maybe a concept of `weechatScripts` ?
<rotaerk> hmm what's the simplest way to make a shell.nix that allows me to build haskell projects with cabal, but not necessarily building with nix-build
<kalbasit[m]> clever: I'll take a stab at it. are the patches here still required? https://github.com/cleverca22/slack-irc-gateway
<clever> kalbasit[m]: it also recently gotsupport for plugins in nixpkgs
<rotaerk> so far all my shell.nix files have been <myproject's derivation>.env
<ekleog> > <nixpkgs/nixos>
<{^_^}> /var/lib/nixbot/state/nixpkgs/nixos
<ekleog> ^ fresheyeball elvishjerricco
<rotaerk> and I'd like to avoid making a project derivation, for this
<clever> kalbasit[m]: wee_slack.patch allows you to ise weeslack without getting approval from your slack admins, which may sometimes be required
<kalbasit[m]> clever: not sure if it's necessary with wee-slack v2
<kalbasit[m]> I know they changed their auth, not sure how it works now though
<clever> kalbasit[m]: stringio.patch is from an upstream PR, it was doing string appends poorly, and the slack with 16,452 users on it had several mb worth of json at connect time, and it consumed enough cpu to cause weechat to crash
<kalbasit[m]> I'll check
<kalbasit[m]> clever: what about the libpath patch?
<samueldr> ah, I remember why I thought I needed to do + "/something" with paths, it was for use within a loop with a variable
<clever> kalbasit[m]: thats to deal with the in-ability to patch PYTHONPATH, the recent changes in nixpkgs to support plugins properly may improve that
<kalbasit[m]> samueldr: BTW I managed to remove `~/.config/nixpkgs` in https://github.com/kalbasit/system/commit/d23a719a784c42dbd51463b2451d8e62c817f89c (see particularly <nixpkgs-overlays>)
hakujin has quit [Ping timeout: 256 seconds]
<kalbasit[m]> clever: ok cool, I'll try with no patches, it might just work
<kalbasit[m]> thx
gratin has joined #nixos
hakujin has joined #nixos
<teto> ,locate bpftool
<{^_^}> Found in packages: linuxPackages_4_17.kernel.dev
gratin has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #44656 → wal-g: 0.1.8pre240_966f3c5f4 -> 0.1.10 → https://git.io/fNyrd
johnw has quit [Ping timeout: 260 seconds]
hakujin has quit [Ping timeout: 240 seconds]
cherrybl0ss0m_ has joined #nixos
cherrybl0ss0m_ has quit [Client Quit]
<{^_^}> [nixpkgs] @costrouc opened pull request #44657 → pythonPackages.distributed: 1.15.1 -> 1.22.1 → https://git.io/fNyo0
<leotaku> Is there any way for a non-root user to manage ad-hoc nixos containers? The wiki says there isn't but I thought I'd still ask in case it was outdated.
hakujin has joined #nixos
<teto> Is it possible to run the bot on a specific channel ? seems like it returned incomplete results or from a different version than nixos-unstable
<samueldr> might just have an older index, it was tracking unstable
<teto> samueldr: thanks. maybe it should tell what index it used. Is the repo https://github.com/Infinisil/nixbot/ ?
<samueldr> yes it's the right repo
justan0theruser has quit [Ping timeout: 240 seconds]
justan0theruser has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
justan0theruser has quit [Excess Flood]
justan0theruser has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
justan0theruser has quit [Ping timeout: 244 seconds]
graphene has joined #nixos
justan0theruser has joined #nixos
judson has quit [Ping timeout: 276 seconds]
<rotaerk> nm, I figured it out
<teto> Is there a way to disable hardening when in "nix-shell -p clang" ? (aka outside mkDerviation { hardeningDisable=["all"] })
<clever> teto: you want to use clangStdenv.mkDerivation
<clever> teto: -p just dynamicaly generates a stdenv.mkDerivation with the listed packages in buildInputs
<teto> clever: I was more thinking of an env variable like NIX_HARDENING="disable", I don't want to write a derivation, I just want to get clang in PATH then experiment with it but without the hardening
andreabedini has joined #nixos
<clever> teto: also of note, every attribute you put on a derivation becomes an env var
<clever> teto: so you can just hardeningDisable=all nix-shell -p clang
mkoenig has quit [Ping timeout: 240 seconds]
sigmundv has quit [Ping timeout: 244 seconds]
<teto> clever :o ! (i.e., "nice !")
mkoenig has joined #nixos
<{^_^}> [nixpkgs] @dlahoti opened pull request #44658 → add `extraConfig` section to `networking.wireless` → https://git.io/fNyKF
<teto> hum, even with "hardeningDisable="all" nix-shell -p llvm_5 clang" , when I run clang -v I get the stack protector
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
<clever> teto: what about with: nix-shell -E 'with import <nixpkgs> {}; clangStdenv.mkDerivation { hardeningDisable=["all"]; name = "name"; }'
<teto> clever: yep that one works thanks
<{^_^}> [nixpkgs] @ryantm closed pull request #35614 → drush: 6.1.0 -> 8.1.16 → https://git.io/vArPq
<maerwald> programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; doesn't seem to work, I still have to manually input the ssh password
<clever> maerwald: i have enable-ssh-support in ~/.gnupg/gpg-agent.conf and i did not enable it in configuration.nix
<maerwald> I have it there too
<clever> maerwald: the stuff in configuration.nix causes more problems in my setup
<maerwald> doesn't fix it
<clever> every time i login over ssh, it re-binds the agent to that ssh window
<clever> and then it asks for the passphrase in ssh, not X
<clever> maerwald: also, if i restart xorg and login again, it stops working, never got around to looking into why...
selfsymmetric-mu has joined #nixos
<maerwald> SSH_AUTH_SOCK is already set, yet gpg-agent doesn't use it
<clever> maerwald: what is it set to?
<maerwald> /run/user/1000/gnupg/S.gpg-agent.ssh
<clever> and if you run `ssh-add -l` ?
<maerwald> the agent has no identities
<clever> thats normal, gpg-agent doesnt read ~/.ssh/id_rsa on its own
<clever> you must run ssh-add to add the key
<clever> gpg-agent will also permanently save all added keys to the gpg keyring
<maerwald> hm, I don't like ssh-agent
<clever> your using gpg-agent
<clever> but you still need ssh-add to add keys to it
<maerwald> right, that seems to work with programs.ssh.startAgent = true;
<clever> that will also work with gpg-agent
<maerwald> annoying details though I forget every time I set up a computer
<maerwald> and there I thought nix will allow me to not care about those details
<clever> you only have to run ssh-add once, and you need to copy your ssh private key in anyways
<clever> or generate a new one
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44659 → x42-plugins: 20180320 -> 20180803 → https://git.io/fNy6w
<maerwald> anyone knows a tray icon for switching keyboard layout? or are those all DE specific
jperras has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44660 → zookeeper: 3.4.12 -> 3.4.13 → https://git.io/fNy67
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/6b244a4a944 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44661 → xdg-desktop-portal-gtk: 0.11 -> 0.99 → https://git.io/fNyiz
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44662 → libytnef: 1.9.2 -> 1.9.3 → https://git.io/fNyiV
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44663 → xdg-desktop-portal: 0.11 -> 0.99 → https://git.io/fNyiy
Sonarpulse has quit [Ping timeout: 240 seconds]
<dhess> clever: maybe I've already asked you this, but do you use ipset in any of your configs?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44664 → zerotierone: 1.2.10 -> 1.2.12 → https://git.io/fNyPL
<{^_^}> [nixpkgs] @costrouc opened pull request #44665 → pythonPackages.docrep: init at 0.2.3 → https://git.io/fNyPO
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
<clever> dhess: nope
dbmikus__ has quit [Ping timeout: 256 seconds]
UNIcodeX_ has joined #nixos
<selfsymmetric-mu> Can I enable isync as a service, or should I just make it a cron job?
<dhess> clever: ok thanks.
UNIcodeX has quit [Ping timeout: 260 seconds]
<adisbladis[m]> selfsymmetric-mu: There is a home-manager plugin for mbsync if that's interesting
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44666 → virt-viewer: 6.0 -> 7.0 → https://git.io/fNyXe
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44667 → sysstat: 11.7.4 -> 12.0.1 → https://git.io/fNyXT
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44668 → wcslib: 5.18 -> 5.19.1 → https://git.io/fNyXI
fresheyeball has quit [Quit: WeeChat 2.0]
polman has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @costrouc closed pull request #44637 → New dask-jobqueue 0.3.0, docrep 0.2.3. Updated distributed 1.15.1 -> 1.22.1 → https://git.io/fNyYF
worldofpeace_ has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
<Orbstheorem> Hi, I reciently discover a binary the build process of a package I'm working on silently downloads sources from the internet on build. Is there any way to prevent packages from doing this kind of stuff?
hakujin has quit [Ping timeout: 256 seconds]
<Orbstheorem> s/binary the/binary in the
ma27 has quit [Quit: WeeChat 2.0]
<joepie91> Orbstheorem: sandbox mode should prevent this iirc
<selfsymmetric-mu> adisbladis[m]: Thank you!
<teto> Orbstheorem: sandbox cuts off the internet. Some well-written packages (fcitx ) will check for the file existence before downloading it so you can let nix download and put the archive where it is expected
<teto> else you will need to patch upstream I think
<joepie91> 8.x as default for regular Node, 6.x as default for slim
<Orbstheorem> I'll go ask on #crosstool-ng, joepie91 thanks!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44669 → urh: 2.2.2 -> 2.2.3 → https://git.io/fNyXS
<joepie91> Orbstheorem: to be clear, sandbox mode in Nix :)
<Orbstheorem> joepie91: is there a flag I can pass, or am I forced to change it system-wide?
<Orbstheorem> (nix build)
<clever> Orbstheorem: i always enable it system-wide, and the default in nixos recently changed
<clever> nix.useSandbox = true;
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44670 → usbredir: 0.7.1 -> 0.8.0 → https://git.io/fNyXF
mayhewluke has quit [Ping timeout: 248 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Izorkin has joined #nixos
FRidh has joined #nixos
mayhewluke has joined #nixos
ericsagnes has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #44667 → sysstat: 11.7.4 -> 12.0.1 → https://git.io/fNyXT
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNy1d
<{^_^}> [nixpkgs] @Mic92 merged pull request #44664 → zerotierone: 1.2.10 -> 1.2.12 → https://git.io/fNyPL
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNyMv
Fare has quit [Ping timeout: 240 seconds]
trcc has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44671 → wesnoth: 1.14.3 -> 1.14.4 → https://git.io/fNyMc
worldofpeace_ has joined #nixos
akaWolf has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44672 → utf8proc: 2.1.1 -> 2.2.0 → https://git.io/fNyMR
<mbrgm> hey! is someone running ejabberd on nixos? I'm having a hard time setting it up... the ExecStart= of the service always fails with Failed 'RPC connection to the node ejabberd@localhost: nodedown', although I'm using the default configuration file.
<typetetris> I would like all the machines in a company to use a central nix store. How could I achieve that?
reinzelmann has joined #nixos
hyper_ch2 has joined #nixos
<joepie91> typetetris: a central nix store or a central binary cache?
techtangents has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44655 → Add costrouc to maintainer list → https://git.io/fNywF
<{^_^}> [nixpkgs] @xeji pushed commit from @costrouc to master « Add costrouc to maintainer list (#44655) »: https://git.io/fNyMp
<techtangents> Hi all! My team is hoping that Ansible 2.6 will come to Nix soon. Does anyone know if/when/how this could happen?
<joepie91> techtangents: 2.5 seems to have already been packaged on unstable, but not 2.6; the fastest way would be to submit a PR that adds 2.6 :)
mkoenig has quit [Ping timeout: 260 seconds]
mkoenig has joined #nixos
<adisbladis[m]> Seems useful. I'll add it now.
<{^_^}> [nixpkgs] @adisbladis opened pull request #44673 → ansible_2_6: init at 2.6.2 → https://git.io/fNyDM
<adisbladis[m]> techtangents: ^
<adisbladis[m]> Please try it out. I'm not an ansible user myself
leotaku has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @adisbladis merged pull request #44672 → utf8proc: 2.1.1 -> 2.2.0 → https://git.io/fNyMR
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNyDN
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNyyf
<{^_^}> [nixpkgs] @adisbladis merged pull request #44660 → zookeeper: 3.4.12 -> 3.4.13 → https://git.io/fNy67
hyper_ch2 has quit [Ping timeout: 252 seconds]
worldofpeace_ has quit [Ping timeout: 256 seconds]
Drakonis has quit [Remote host closed the connection]
ericsagnes has joined #nixos
thc202 has joined #nixos
Ariakenom_ has joined #nixos
ersran9 has joined #nixos
<dhess> Are NixOS modules derivations?
<dhess> i.e., is it possible to do systemd.services.foo.overrideAttrs (oldAttrs: ...) ?
worldofpeace_ has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @xeji opened pull request #44675 → spice-gtk: 0.34 -> 0.35 → https://git.io/fNyyd
<clever> dhess: you want mkForce, not overrideAttrs
<clever> dhess: systemd.services.foo.serviceConfig = lib.mkForce ...;
<dhess> clever: In this particular case, I don't think so. What I want to do is, add another service systemd.services.foo.wantedBy
mkoenig has quit [Ping timeout: 244 seconds]
<clever> wantedBy is a list, and nixos will just automatically concat all lists
<clever> so you dont have to do anything special at all, just set it to a list containing a new item
<dhess> ohhhhh right that will merge, won't it?
<clever> yep
<dhess> I forget that quite often about NixOS modules.
mkoenig has joined #nixos
<dhess> I was just thinking the other day about how composability is really NixOS's killer feature.
<ldlework> dhess++
<{^_^}> dhess's karma got increased to 2
evhan has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @yrashk opened pull request #44676 → nwjs: 0.23.6 -> 0.32.1 → https://git.io/fNySG
<{^_^}> [nixpkgs] @xeji closed pull request #39530 → nwjs: 0.23.6 -> 0.30.1 → https://git.io/vpCQc
<teto> is there already a merge functions (module related) to merge options true and false into false ?
<clever> teto: the types.bool in the module system will throw an error if the bools dont agree on a value
<clever> and if you dont set a type at all, it will prefer true when they conflict
<Guanin> Hi, is there anything I need to watch out for when configuring nixOS with xmonad? I wrote a few weeks ago that some apps only start on the second try, and the first one crashes due some libGL problems. I tested them on the live disk and they seem to work flawless
<Guanin> Or has anything libgl related change in the last few weeks (how can I find out?)
Leo` has quit [Ping timeout: 248 seconds]
Moredread has quit [Ping timeout: 248 seconds]
Leo` has joined #nixos
<teto> clever: ok thanks, I setup a simple merge function for false to win any is there
<teto> seems to work
alex`` has joined #nixos
<{^_^}> [nixpkgs] @regnat opened pull request #44677 → bazel: 0.15.2 -> 0.16.0 → https://git.io/fNySb
evhan has joined #nixos
<teto> nix-build stopped outputting the store path ? seemed it did it before
bennofs[m] has joined #nixos
Moredread has joined #nixos
bigvalen has joined #nixos
hamishmack has joined #nixos
<LnL> 'nix build' does not if that's what you mean
alex`` has quit [Quit: WeeChat 2.2]
alex`` has joined #nixos
alex`` has quit [Client Quit]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #44536 → crispy-doom: init at 5.2 → https://git.io/fNXj1
<{^_^}> [nixpkgs] @srhb pushed commit from @neonfuz to master « crispy-doom: init at 5.2 (#44536) »: https://git.io/fNy9M
<tobiasBora> Whoo, nixos takes quite a bit of space, I tried a very minimal install, and my 1Gb qemu partition was not enough. It's not possible to install a more minimal install?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44678 → gnome3.webkitgtk: 2.20.3 -> 2.20.4 → https://git.io/fNy9y
<joepie91> paging clever ^
ma27 has joined #nixos
<srhb> tobiasBora: You can start disabling modules you don't want. But yes, NixOS does take up a lot of space
<tobiasBora> srhb: oh, if I disable modules I can save space? Good to know, thanks!
<tobiasBora> srhb: also, any idea how big is a minimal install, so that I can design my raw image accordingly?
<ekleog> tobiasBora: for a more minimal os (but not nixos) you can try not-os by clever: https://github.com/cleverca22/not-os
<ekleog> for a standard install (ie. X11 etc.) you should expect something along the lines of a few GB, I guess, like other distributions
<ekleog> beware that not-os is really designed to be small, not really to be used on end-user devices, though
<ekleog> (I think)
<clever> not-os also lacks the ability to apply changes at runtime and nixos-rebuild
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44679 → sundials: 3.1.1 -> 3.1.2 → https://git.io/fNyHL
aarvar has quit [Ping timeout: 240 seconds]
<ekleog> hmm what am I doing wrong? nix-store --export $(readlink /run/current-system) | wc -c is quite obviously not giving me the right size for my closure (giving me 45M) (I know of nix path-info, just wonder why --export isn't doing what I'd expect)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44680 → webrtc-audio-processing: 0.3 -> 0.3.1 → https://git.io/fNyHE
<Dezgeg> maybe --export isn't recursive
<ekleog> tobiasBora: fwiw, the system I'm currently running (a full nixos not particularly tried to be reduced) fits in ~4G minimum (but for easy rebuilds etc. it's much better to have at least twice that)
<ekleog> Dezgeg: ooooh indeed, it's not recursive, I hadn't read the example in the docs well, recursion was handled by the -qR in the query
* ekleog stupid
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44681 → vcftools: 0.1.15 -> 0.1.16 → https://git.io/fNyHy
<tobiasBora> ekleog: I don't mind X11, it's for a qemu server that I can easily copy from one device to another
<tobiasBora> ekleog: clever : thanks for the not-os trick, I'll give it a look!
<tobiasBora> does it provide something like the great nixpkgs/nixos/lib/make-disk-image.nix ?
<clever> tobiasBora: nope, its just a bare kernel, initrd, and root.squashfs
<clever> there is support to boot it over ipxe+tftp
johanot has joined #nixos
<tobiasBora> clever: looks great. I can boot it up using qemu also?
<clever> tobiasBora: oh, will this be hosting qemu, or running within qemu?
<tobiasBora> clever: running with qemu
<clever> that makes things simpler
<clever> tobiasBora: this line runs not-os in qemu, no disk image required
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44682 → ttfautohint: 1.8.1 -> 1.8.2 → https://git.io/fNyQm
<clever> kernel&initrd are directly passed to qemu, root disk is passed as a virtual cdrom, becuase thats the only thing in qemu that supports read-only files
<tobiasBora> amazing
<tobiasBora> Can I still add a disk for apps that needs databases, or user accounts...?
<clever> yeah
<tobiasBora> perfect
<clever> just add another -drive param for a writable image, and modify the stage-1 script to mount it
<clever> hydra is running the boot.nix file every time a push happens to nixpkgs master
<clever> which generates a screenshot of it booting
hakujin has joined #nixos
<emily> clever: this not-os project is really cool!
<tobiasBora> ahah very funny
<tobiasBora> The wiki is the way to go?
<tobiasBora> (for doc)
<clever> and if you expand the + on the last folder in log.html, you can see the runit output
<clever> no wiki on the project, but your free to create pages in there
<tobiasBora> clever: so is there any documentation to learn at least how to deploy? Or maybe the test files can inspire me?
<clever> tobiasBora: oh, the kexec test stuff could also be used, and that has a full nixos, for only ~300mb
<tobiasBora> clever: what do you mean?
<clever> nix-build simple-test.nix -A legacy_sata
<clever> that will generate a pair of bash scripts in result/bin/
<clever> the first one is meant for testing the justdoit.nix script, but it boots a full nixos, so you could just repurpose it
regulus_ has quit [Ping timeout: 248 seconds]
<clever> tobiasBora: just copy the code from line 14-32 and you can boot nixos in qemu
hakujin has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44683 → vips: 8.6.4 -> 8.6.5 → https://git.io/fNyQy
<{^_^}> [nixpkgs] @xeji merged pull request #44656 → wal-g: 0.1.8pre240_966f3c5f4 -> 0.1.10 → https://git.io/fNyrd
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « wal-g: 0.1.8pre240_966f3c5f4 -> 0.1.10 (#44656) »: https://git.io/fNyQ5
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44684 → redis: 4.0.10 -> 4.0.11 → https://git.io/fNy7t
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44685 → rt: 4.4.2 -> 4.4.3 → https://git.io/fNy70
hamishmack has quit [Client Quit]
<{^_^}> [nixpkgs] @dotlambda merged pull request #44638 → pythonPackages.jupyterlab 0.32.1 -> 0.33.7 → https://git.io/fNyZK
<{^_^}> [nixpkgs] @dotlambda pushed commit from @costrouc to master « pythonPackages.jupyterlab: 0.32.1 -> 0.33.7 (#44638) »: https://git.io/fNy7D
regulus_ has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
hamishmack has joined #nixos
sigmundv has joined #nixos
sophiag has joined #nixos
colemickens has joined #nixos
<colemickens> So, I updated the keybase/keybasegui/kbfs pacakges and everything went fine and now the keybase/kbfs services are ... gone?
<colemickens> Did I do something wrong?
akaWolf has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44686 → sigil: 0.9.9 -> 0.9.10 → https://git.io/fNy56
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44687 → serd: 0.28.0 -> 0.30.0 → https://git.io/fNy59
<srhb> colemickens: How did you conclude they're gone?
<colemickens> [cole@xeep:~]$ sudo systemctl daemon-reload
<colemickens> [cole@xeep:~]$ sudo systemctl status keybase
<colemickens> Unit keybase.service could not be found.
<srhb> colemickens: Is it not a user service? pass --user to systemctl
<clever> no need to do daemon-reload, nixos does that for you
<colemickens> @srhb oh snap! wasn't before, is now.
<clever> at least for system units
<colemickens> I didn't really realize nixos managed systemd --user services too.
<colemickens> @clever I figured (it would have to) but since I was troubleshooting I was trying to be thorough. :)
<colemickens> anyway, thank you @srhb, probably just saved me a nice little chunk of frustrated time wasting. cheers.
<srhb> colemickens: No problem :)
kiloreux has joined #nixos
<kiloreux> How can I install python dependencies with requirements.txt in Nixpkgs ? The docs confused me on this.
<kiloreux> Should I install pip first and then run a postInstall script or how exactly ?
<clever> kiloreux: one min
<clever> 55 buildPythonPackage = makeOverridablePythonPackage ( makeOverridable (callPackage ../development/interpreters/python/build-python-package.nix {
<clever> kiloreux: hmmm, buildPythonPackage supports these 4 types, but its not clear which one is requirements.txt
<typetetris> joepie: Actually I am open to suggestions there, but what I want is: If Program P is installed at Computer C1 (build or substituted), and someone wants to install Program P at Computer C2 afterwards, it should not be built again and not be downloaded again from some third party cache, like the official nixos binary cache.
<FRidh> kiloreux: the supported way is writing expressions for individual packages. pip instlaling an env is not supported, however, some people do it using nix-shell.
<typetetris> joepie: I would take, whatever solution takes me there.
<joepie91> typetetris: you're missing two characters in my nickname, so it didn't highlight me :P but yeah, I don't know if there's any 'caching proxies' for binary caches
<kiloreux> FRidh, is there a way to generate a file from requirements.txt ? Something like bundix and go2nix ?
<joepie91> (yet)
<manveru> kiloreux: there's pypi2nix
<FRidh> kiloreux: you can give pypi2nix
<joepie91> typetetris: ah, there you go: https://github.com/nh2/nix-binary-cache-proxy
<FRidh> *a try
mayhewluke has quit [Ping timeout: 256 seconds]
alexteves has joined #nixos
<typetetris> joepie91: I take a look at it.
<srhb> typetetris: The "easy" way to achieve this is to ensure all builds are always done on some upstream machine.
mayhewluke has joined #nixos
<colemickens> Hm, is that easier than just doing `nixos-rebuild --build-host ...` ?
<srhb> I don't know of a trivial way to push all "incidental" local builds upstream
<srhb> It would be cool though
<kiloreux> pypi2nix didn't work out for me too well last time honestly.
<srhb> colemickens: Probably not.
fendor has joined #nixos
<colemickens> @typetetris can you stand to pull from the other machine directly? or do you need to push to a local central server that the local machines could pull from?
<colemickens> Actually, the `nixos-rebuild --build-host` was tricky to get right with the build user, etc, since I don't do root logins, so maybe that's not easier anyway.
hakujin has joined #nixos
<typetetris> colemickens: I don't understand what the benefit would be, if you talked to "other" machines directly. If you want to install Program P you would need a way to discover, which other machines already have it and from which to pull it. Sounds more complicated to me.
<colemickens> @typetetris Gotcha, I wasn't sure of the exact setup since I lost my scrollback somehow. In my case, I only have two machines so it works fine.
<colemickens> I'm not sure the binary package cache is what you need either, that's just for stuff pre-built on cache.nixos, may or may not include the other locally built package.
<typetetris> Here we have around 50 machines, that would possibly involved.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44688 → spectre-meltdown-checker: 0.37 -> 0.38 → https://git.io/fNyd6
Anton-Latukha has joined #nixos
<colemickens> If you're just wanting to cache upstream nixos cache, then that's almost surely the easiest option.
<{^_^}> [nixpkgs] @jtojnar opened pull request #44689 → GNOME2 cleanup → https://git.io/fNydD
<colemickens> I've not setup proper package signing and a local server yet, so I don't know which of the various options are best to suggest.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44690 → sord: 0.16.0 -> 0.16.2 → https://git.io/fNydy
<srhb> typetetris: With that sort of setup, I've done what I suggested before.
hakujin has quit [Ping timeout: 256 seconds]
<colemickens> @srhb do you sign your packages or do you have your downstream machines run with a trusted user to install unsigned packages? (just confirming that I understand correctly that those are the two options...)
<srhb> colemickens: I always sign.
<typetetris> srhb: I am not sure, I understood what you suggested. "Ensure all builds are always done on some upstream machine." Does that mean, setting up my own hydra server and using it to build nix expressions from some local git repo?
<srhb> typetetris: Not necessarily. You could just have all machines use the same remote builder that also acts as a cache
<srhb> So whenever user A builds something, it's sent to the server S, which also acts as a cache for everyone.
<srhb> It's a bit inconvenient if you _want_ to preserve local build functionality. In that case you probably want to wrap the necessary options up in some nice commands.
<{^_^}> [nixpkgs] @dotlambda merged pull request #44688 → spectre-meltdown-checker: 0.37 -> 0.38 → https://git.io/fNyd6
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « spectre-meltdown-checker: 0.37 -> 0.38 (#44688) »: https://git.io/fNyFv
<typetetris> That sounds like a good start, I need to look up, how it is done. It is the '--builders' Option to nix-build?
<typetetris> Actually a workflow like: "Ask if the cache has what I need, if not build locally and push to cache." would be better to distribute the build load, some synchronisation on top would be dope.
<typetetris> With synchronisation I mean, you know, wether someone else is building it already and you are able to wait for him.
<colemickens> Hm, it would be nice if you could have the best of both worlds, serve the build cache over HTTP with nix-serve but have it fallback to a remote build on the cache machine if the cache machine didn't have it pre-built. Though I think the latter part requires SSH access from a downstream machine to the cache server.
<kiloreux> FRidh, I am getting weird errors with it like this "pip can't proceed with requirements 'awscli==1.11.165 (from -r /tmp/pypi2nix/553e2445532c62395482049605e5684b/536f29a939ff66d44ff1cb5ecab40fae.txt (line 1))' due to a pre-existing build directory (/tmp/pypi2nix/553e2445532c62395482049605e5684b/build/awscli). This is likely due to a previous installation that failed. pip is being responsible and not assuming it can delete this. Please delete it and try
<kiloreux> again."
<typetetris> ssh access would be ok.
<clever> colemickens: you could just setup nix-serve on every machine in your LAN, and configure them all to read eachothers nix-serve url
<clever> colemickens: but there is a bug in nix that causes it to never give up when a given url is offline
<dhess> I agree with typetetris. This happens to me frequently with NixOps deployments. I deploy usually from my desktop, but sometimes from my laptop. The laptop is always behind and when I want to do a deployment from there (using the same nixpkgs, etc., they're all pinned), it spends a bunch of time building derivations that I know are already built on the desktop
<kiloreux> It doesn't seem like pypi2nixis working as expected.
<clever> dhess: add the desktop as a cache for the laptop?
<colemickens> @clever interesting. that would be really missy/noisy at first though right? but over time each machine would end up with the package. fun to think about.
<FRidh> kiloreux: can't help you with it; I don't use it.
<{^_^}> [nixpkgs] @dotlambda merged pull request #44665 → pythonPackages.docrep: init at 0.2.3 → https://git.io/fNyPO
<{^_^}> [nixpkgs] @dotlambda pushed commit from @costrouc to master « pythonPackages.docrep: init at 0.2.3 (#44665) »: https://git.io/fNyFW
<kiloreux> FRidh, Ahh I see. Thank you still :D .
<dhess> clever: sure for my case, but eventually this becomes an M-to-N problem.
<colemickens> dhess: if you're like me and you just have two machines in this scenario, you can use `nixos-rebuild --build-host` to get that more optimal.
<dhess> some kind of P2P service would be useful
<clever> dhess: this is something that i was planning to cover with https://github.com/cleverca22/cachecache
<dhess> colemickens: well i already have a fleet of build hosts that both machines use, neither actually does the builds locally
<colemickens> too bad the ipfs stuff hasn't panned out (yet?)
<dhess> they just cache the products locally before deploying them via NixOps.
fendor has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
<clever> dhess: basically, you configure all of the nix-serve's in one central place, that runs cachecache, and that then provides a single cache url, and will mux it out and cache the replies
<dhess> clever: I will take a look, sounds interesting.
<vandenoever> what is the best way to avoid long compile surprises on 18.03-release? I was thinking some script to update at night before going to bed
<clever> vandenoever: nixos-rebuild build, after updating the channel
<colemickens> @dhess I might be too weak in my Nix knowledge here to understand the distinction then. Is it just about having to rebuild the derivations themselves on the other machines?
<vandenoever> having to compile gcc, bash etc after a 18.03 release channel update is not uncommon
<clever> vandenoever: if your following channels properly, then gcc shouldnt rebuild
<vandenoever> clever: i'm following https://nixos.org/channels/nixos-18.03
fendor has joined #nixos
<clever> vandenoever: then it should just grab gcc and bash from the cache
<vandenoever> clever: and it's quite often that i need to rebuild gcc, binutils, perl etc
<dhess> colemickens: the laptop sees that they derivations aren't in its local /nix store, so it starts downloading things and asking the remote builders to build things. Most of the time the remote builder already has it and so it just gives back what's in *its* /nix store, but the round-trip time slows things down.
<{^_^}> [nixpkgs] @xeji merged pull request #44146 → tengine: init init at v2.2.2 → https://git.io/fNu5Z
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fNyFP
<vandenoever> clever: sometimes it does but not often, i'll check the cache setting in configuration.nix
<cocreature> vandenoever: have you maybe disabled the cache accidentally?
<colemickens> I guess I didn't realize there was that much downloading that happened on the initiating machine. Thanks for the explanation!
<vandenoever> nix.binaryCaches = []; nix.trustedBinaryCaches = [];
<vandenoever> that might be it
<dhess> I don't really have a good answer for how to speed it up. I guess what I really want the laptop to know is that, hey, the machines you're deploying to already have like 99% of the derivations that you're trying to deploy, so just build the handful of things that they don't
<dhess> because when the laptop is done copying everything into its /nix store, most of the time it doesn't even deploy anything!
<clever> vandenoever: yeah, you have no cache support and must build everything, gentoo style!
<dhess> so I guess I want a "catch-up" mode or something.
<clever> dhess: yeah, nixops wants a complete copy of the closure locally, before it even tries to update the machines
<dhess> clever: right
<dhess> I would also like it if NixOps told the machines in the deployment where to go to get the derivations, rather than pushing them itself.
<clever> dhess: there is a flag to allow the remote machines to use their own binary cache config to speed things up
<dhess> which would solve this problem and just be much faster in general.
<dhess> clever: huh, interesting.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44691 → setbfree: 0.8.5 -> 0.8.7 → https://git.io/fNyFF
qtoni has joined #nixos
<clever> dhess: deployment.hasFastConnection
<dhess> clever: does this require running nix-binary-cache on each one?
<dhess> oh yeah I think I have that turned on
<clever> dhess: https://nixos.org/nixops/manual/#opt-deployment.hasFastConnection
<dhess> yet the deployment host still insists on getting everything in its own /nix store first
<clever> then the remote machine will obey nix.conf and try to find a cache with things
<clever> yep
<dhess> that's a poorly-named option as it happens :)
<dhess> didn't know what that really did until months of using NixOps
<{^_^}> [nixpkgs] @dotlambda opened pull request #44692 → restic: 0.9.1 -> 0.9.2 → https://git.io/fNybf
<clever> it refers to a fast connection between the nixops box and the remote machines
<clever> relative to the remote machines and the caches
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44693 → shaarli: 0.9.7 -> 0.10.0 → https://git.io/fNybT
<clever> for example, when managing machines within my house, true would be best, since my gigabit trumps the modem
<dhess> wait so I should turn that off if I want the hosts to download directly?
<clever> correct
<clever> but also, my nixops machine is the laptop, with its cruddy 54mbit wifi
<dhess> ohhh. it's named even worse than I thought then
<clever> so setting it to false would make the slaves use the 300mbit fiber modem, and deploy faster
qtoni has quit [Quit: Leaving]
<clever> oh, and if you set it to false, nix-copy-closure will also gzip things
<dhess> right that's the bit I remember seeing
graphene has quit [Remote host closed the connection]
<dhess> I did not feel I needed that as I have a fast LAN for my Hydra builds and pretty decent ISP service.
<dhess> I think that's what led me to turn it on
graphene has joined #nixos
<clever> during the deploy, it will also tell you if its fetching from a cache or copying to the slave, for each storepath
<vandenoever> what are the right values for nix.binaryCaches and nix.trustedBinaryCaches? not setting them still lets nixos-rebuild compile all the basics
<dhess> ok I should play with that setting then. I might have configured it backwards.
<clever> vandenoever: not setting them is correct, but the change only takes effect after nixos-rebuild has finished
<vandenoever> clever: autch :-P
<vandenoever> clever: does gc-keep-outputs and gc-keep-derivations have an influence?
<clever> vandenoever: you can also `nixos-rebuild build --option substituters https://cache.nixos.org` to bypass the current config immediately
<clever> vandenoever: those only control what nix-collect-garbage can delete
qtoni has joined #nixos
<vandenoever> clever: ok, is substituters spelled ok? it's still compiling
<clever> i copy/pasted it because i dont trust myself with that word :P
<vandenoever> :-)
ma27 has quit [Quit: WeeChat 2.0]
<clever> oh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44694 → remmina: 1.2.30.1 -> 1.2.31.2 → https://git.io/fNybi
qtoni has quit [Client Quit]
<clever> vandenoever: try adding --fast
<vandenoever> clever: that seems to do it :-)
<clever> nixos-rebuild will first build nix itself
<clever> but it doesnt correctly pass all the flags to that nix-build
<clever> so that winds up ignoring --option
<clever> --fast skips it, and goes directly to the real nixos build
<vandenoever> clever: the environment and my ears (fan) thank you
<vandenoever> now i'm puzzled when I added that silly disabling of the caches, oh well, time to put configuration.nix in a git repo
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
<clever> :D
tusj has quit [Remote host closed the connection]
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44695 → sratom: 0.6.0 -> 0.6.2 → https://git.io/fNyNl
tusj has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #44446 → Make python{2,3} version explicit → https://git.io/fNPSS
<{^_^}> [nixpkgs] @dotlambda pushed 15 commits to master: https://git.io/fNyNB
tusj has quit [Remote host closed the connection]
tusj has joined #nixos
tusj has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @colemickens opened pull request #44696 → ipfs: 0.4.15 -> 0.4.17 → https://git.io/fNyAe
<{^_^}> [nixpkgs] @colemickens opened pull request #44697 → kbfs: 2.1.1 -> 2.5.0 → https://git.io/fNyAU
<{^_^}> [nixpkgs] @colemickens opened pull request #44698 → keybase: 2.1.0 -> 2.5.0 → https://git.io/fNyAI
phry has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
sophiag has quit [Ping timeout: 240 seconds]
graphene has joined #nixos
betaboon has joined #nixos
jgt has joined #nixos
<jgt> trying to build a Haskell package and running into: "This package indirectly depends on multiple versions of the same package. This is very likely to cause a compile failure."
<jgt> anyone know how I can get around that?
<srhb> jgt: Don't depend on multiple versions of the same package :P
<jgt> srhb: :(
<srhb> It should tell you which package is the culprit.
<jgt> srhb: I don't think I am though; or at least, I think I am somehow depending on the same versions, but compiled differently
<srhb> I think that's essentially the same thing.
<jgt> srhb: so they have the same version numbers, but different hashes
hakujin has joined #nixos
<srhb> I think they must be the exact same.
<srhb> That is, there should only be one of each (name) in the graph. :)
carlosdagos has quit [Quit: Connection closed for inactivity]
worldofpeace_ has quit [Ping timeout: 256 seconds]
<dhess> jgt: probably what's going on is that one of the Haskell packages your package is depending on is specifying a package override (in pkgs.haskellPackages)
<jgt> srhb: I can be more specific with my problem. I'm depending on a haskell package called 'cassava'
<dhess> so if you can figure out which one that is, you can override it yourself in an overlay or in your project
<dhess> assuming it builds with the override.
<jgt> srhb: dhess: cassava fails to build because 'Setup: Encountered missing dependencies: bytestring >=0.9.2 && <0.10.4, text-short ==0.1.*'
v0|d has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
<srhb> jgt: Jailbreak if you can?
<dhess> jgt: are you familiar with doJailbreak?
<srhb> Failing that, override the version.
<v0|d> hello, what might be the reason for having mount: No such file or directory in ecryptfs-mount-private, any ideas?
<jgt> srhb: dhess: yes, I'm familiar with overrideCabal and most of those options under pkgs.haskell.lib
<jgt> it might be that I'm overriding the wrong package
<{^_^}> [nixpkgs] @yrashk opened pull request #44699 → nodePackages.tiddlywiki: init at 5.1.17 → https://git.io/fNyxk
arahael1 is now known as ArahaelPi
<dhess> jgt: try doJailbreak on cassava, then.
<srhb> jgt: Which channel is this and what combination of packages is the problem?
tusj has joined #nixos
<dhess> I would start with that.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44700 → skim: 0.5.0 -> 0.5.1 → https://git.io/fNyxq
<jgt> dhess: srhb: Ok, I found the issue. I screwed up when doing the self/super dance
<srhb> jgt: Great. :)
<jgt> I had 'cassava = pkgs.haskell.lib.addBuildDepend (pkgs.haskell.lib.dontCheck (pkgs.haskell.lib.appendConfigureFlag pkgs.haskellPackages..cassava "-f-bytestring--LT-0_10_4")) self.text-short;', whereas I should have had 'cassava = pkgs.haskell.lib.addBuildDepend (pkgs.haskell.lib.dontCheck (pkgs.haskell.lib.appendConfigureFlag super.cassava "-f-bytestring--LT-0_10_4")) self.text-short;'
orivej has joined #nixos
<srhb> ugh how I miss (.) in those crazy stacks...
<jgt> ignore the '..' typo I made in the above snippet
<jgt> sorry for not describing the problem more clearly, and thanks both of you for rubber ducking
<srhb> quack.
<dhess> 🎉
<jgt> (not implying you weren't both helpful) :grimace_emoji:
<dhess> no worries of course
Maxdamantus has quit [Ping timeout: 268 seconds]
<srhb> Haha, not at all. :-)
<srhb> #nixos is great for rubber ducking, not to be underestimated.
ma27 has joined #nixos
Maxdamantus has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #39792 → WIP fwupd: 1.0.5 -> 1.1.0 → https://git.io/vp0VN
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fNypM
fendor has quit [Ping timeout: 240 seconds]
simukis has joined #nixos
<aminechikhaoui> is there an equivalent to nix-build --check with the new UI i.e `nix build` ?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44701 → qsynth: 0.5.1 -> 0.5.2 → https://git.io/fNyhl
<mikeplus64> i got a project to build and am now getting cabal2nix install fails that i can't explain... using this as default.nix, any ideas? https://lpaste.net/4186809041550311424
<mikeplus64> see paste for the error
<betaboon> qknight: did you succeed ? :D
<mikeplus64> oh, ?????, it works if i don't fix the version of nixpkgs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44702 → qtile: 0.11.1 -> 0.12.0 → https://git.io/fNyjn
ng0 has joined #nixos
ng0 has quit [Client Quit]
ng0 has joined #nixos
trcc has quit [Remote host closed the connection]
ng0 has quit [Client Quit]
ng0 has joined #nixos
Ridout has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44703 → libsForQt5.qtkeychain: 0.8.0 -> 0.9.0 → https://git.io/fNSeB
jgt has quit [Quit: WeeChat 2.1]
trcc has joined #nixos
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44704 → qjackctl: 0.5.2 -> 0.5.3 → https://git.io/fNSeQ
<{^_^}> [nixpkgs] @colemickens opened pull request #44705 → keybase-gui: 2.3.0 -> 2.5.0 → https://git.io/fNSva
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @utdemir opened pull request #44706 → kakoune: 2018-05-21 -> 2018-08-05 → https://git.io/fNSvM
graphene has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44707 → qsampler: 0.5.1 -> 0.5.2 → https://git.io/fNSvH
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
ma27 has quit [Quit: WeeChat 2.0]
trcc has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44708 → QmidiNet: 0.5.1 -> 0.5.2 → https://git.io/fNSfY
dvim has joined #nixos
afics has joined #nixos
hakujin has joined #nixos
<teto> dunno if it's haskell on nix or haskell in general but tried to install 4 programs and they all fail with different errors xD
<{^_^}> [nixpkgs] @Mic92 merged pull request #44692 → restic: 0.9.1 -> 0.9.2 → https://git.io/fNybf
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNSJT
<sigtrm> Sorry if this is a dumb question, but where can I find the rpi 3 aarch64 installation files from NixOS. All it says on the wiki is that it is recommended to use aarch64, but then mentions where to get the community supported version, not the upstream version
<colemickens> what's the process for adding to development/node-packages/* ? I tried to add something to the json and regenerate but the diff is rather huge
fendor has joined #nixos
hakujin has quit [Ping timeout: 265 seconds]
ma27 has joined #nixos
vidbina has joined #nixos
init_6 has joined #nixos
ma27 has quit [Client Quit]
ma27 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #44701 → qsynth: 0.5.1 -> 0.5.2 → https://git.io/fNyhl
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNSJK
<Mic92> colemickens: this is fine
<Mic92> just make one commit
ma27 has quit [Client Quit]
<init_6> is gVim available in nixos?
ma27 has joined #nixos
<joepie91> Mic92: is it bad that I can't read "this is fine" anymore without the picture of the dog in the burning room popping into my head?
<joepie91> :P
<symphorien> init_6: vimHugeX iirc
ma27 has quit [Client Quit]
ma27 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #44661 → xdg-desktop-portal-gtk: 0.11 -> 0.99 → https://git.io/fNyiz
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fNSJH
<{^_^}> [nixpkgs] @jtojnar merged pull request #44663 → xdg-desktop-portal: 0.11 -> 0.99 → https://git.io/fNyiy
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fNSJ7
<init_6> symphorien: thx
<{^_^}> [nixpkgs] @dywedir opened pull request #44709 → geekbench: 4.1.1 -> 4.2.3 → https://git.io/fNSJp
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
<sphalerite> gchristensen: the aarch64 ofborg builder (= aarch64.nixos.community right?) seems to have run out of space
<sphalerite> I've run a gc on it so the next few builds should work fine.
<sphalerite> But it would probably be good to set up autogc, and maybe also add some swap so we can put /nix/.rw-store on a bigger tmpfs?
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
rprije has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peterhoeg pushed to master « fio: 3.7 -> 3.8 »: https://git.io/fNSTL
rprije has joined #nixos
Lisanna has joined #nixos
<aminechikhaoui> hm I thought some packages such as glibc are always available in the build environments https://asciinema.org/a/8km2wUiVA6b9qD9LbhWlLOp1q
<aminechikhaoui> looks like that changed ?
Guanin has quit [Ping timeout: 256 seconds]
NinjaTrappeur has quit [Quit: WeeChat 2.2]
<aminechikhaoui> hm that's when I use runCommand I think, using stdenv.mkDerivation seems to work
NinjaTrappeur has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #44710 → fwupdate: 10 -> 12 → https://git.io/fNSTA
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44711 → qemu: 2.12.0 -> 2.12.1 → https://git.io/fNSkT
asymmetric_ has joined #nixos
tusj has quit [Remote host closed the connection]
tusj has joined #nixos
timokau has joined #nixos
timokau has left #nixos ["WeeChat 2.1"]
timokau has joined #nixos
<aminechikhaoui> ah I see that runCommand uses stdenvNoCc
<timokau> Where do I need to register my nick? My matrix nick timokau[m] is registered with freenodes NickServ but I'm still getting kicked here.
<srhb> timokau: Identified is key, not registered
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44712 → polygraph: 4.11.0 -> 4.12.0 → https://git.io/fNSkj
<srhb> Not sure if there's any gotchas with the bridge
<mikeplus64> anyone know why a build with pinned nixpkgs, using latest nixpkgs git as of a few minutes ago, might break, when one that just uses `import <nixpkgs>` doesn't, even though afaik it should be the same?
<mikeplus64> i don't understand how the two imports are different
graphene has quit [Remote host closed the connection]
<srhb> mikeplus64: And the two versions of nixpkgs are the same?
graphene has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #44713 → coqPackages.coq-ext-lib: 0.9.5 -> {0.9.7,0.9.8} → https://git.io/fNSLU
<timokau> srhb: Yeah I don't understand the NickSrv thing 100%. But when I tell NickSrv "INFO" it tells me my account name and the date I registered. Doesn't that mean I'm identified?
<mikeplus64> srhb: i think so? i don't know how to check what version <nixpkgs> is using... i guess trove around NIX_PATH to find it?
hamishmack has quit [Read error: Connection reset by peer]
<srhb> mikeplus64: nix-info should help
<teto> could someone share an example of nix overlay that jailbreak a haskellPackages ? I can't find it in nixpkgs manual (would be cool to add it there too)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44714 → plantuml: 1.2018.8 -> 1.2018.9 → https://git.io/fNSLs
timokau[m] has joined #nixos
<mikeplus64> srhb: nixpkgs-18.09pre147772.d1ae60cbad7 , apparently. i assume that's nixpkgs-${tag}${???}.${rev}
<srhb> timokau: Maybe listlogins?
<srhb> mikeplus64: I know that ${rev} is correct :)
<mikeplus64> well, i'll try find this from git, and see if pinning to it works...
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44715 → pony-stable: 0.1.4 -> 0.1.6 → https://git.io/fNSL0
<srhb> mikeplus64: d1ae60cbad7a49874310de91cd17708b042400c8
<mikeplus64> ta
<timokau[m]> srhb: re-identifying did the trick, thanks! No idea why I was logged out.
graphene has quit [Remote host closed the connection]
init_6 has quit []
gerschtli has joined #nixos
gerschtli has quit [Quit: WeeChat 2.0]
<srhb> timokau[m]: Gret :)
<srhb> ... great
graphene has joined #nixos
afics has quit [Ping timeout: 240 seconds]
hakujin has joined #nixos
asymmetric_ has quit [Quit: Leaving]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
gerschtli has joined #nixos
init_6 has joined #nixos
gerschtli has quit [Client Quit]
gerschtli has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
<mikeplus64> srhb: THANKS! although it's fixed my understanding probably isn't. is <nixpkgs> equivalent to nixpkgs HEAD at the time of the last 'nix-channel --update'?
fendor has quit [Remote host closed the connection]
<srhb> mikeplus64: No, it's equivalent to the channels repo branch HEAD corresponding to your channel
<srhb> mikeplus64: For instance, the head of channels/nixos-18.03
fendor has joined #nixos
<mikeplus64> ah, okay
<srhb> mikeplus64: HEAD of nixpkgs master gets promoted to channels/nixos-unstable and some other channels depending on certain hydra test jobs
<{^_^}> [nixpkgs] @dtzWill opened pull request #44716 → bloaty: 2018-06-15 -> 1.0 → https://git.io/fNSqZ
<srhb> channels/nixos-18.03 is a promotion of nixpkgs/release-18.03 depending on certain tests
Ridout has quit [Quit: Lost terminal]
silver has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #44680 → webrtc-audio-processing: 0.3 -> 0.3.1 → https://git.io/fNyHE
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fNSqb
hakujin has joined #nixos
gerschtli has quit [Quit: WeeChat 2.0]
<aminechikhaoui> is this wrong nix ?
<aminechikhaoui> with (import <nixpkgs> {});
<aminechikhaoui> let runCmd = runCommandCC or runCommand; in
<aminechikhaoui> runCmd "foo" {}
<aminechikhaoui> ''
<aminechikhaoui> ldd --version | tee $out
<aminechikhaoui> ''
<aminechikhaoui> I expected it to work on different nixpkgs versions
<srhb> Yes, you can't or without .
<srhb> Or
<srhb> Maybe I'm wrong :D
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fNSmU
<{^_^}> [nixpkgs] @jtojnar merged pull request #44678 → gnome3.webkitgtk: 2.20.3 -> 2.20.4 → https://git.io/fNy9y
<aminechikhaoui> srhb: hm what do you mean by whithout . ?
<aminechikhaoui> example ?
<srhb> foo or 42 is an error if foo is undefined
<aminechikhaoui> without *
<srhb> Not sure what you're really trying to achieve there though.
<aminechikhaoui> I want to make sure ldd is availble with the same expression but with different nixpkgs version which can go back to 15.09
gerschtli has joined #nixos
<srhb> And you're attempting to switch on whether or not runCommandCC exists
<srhb> ?
<srhb> The only thing you need to make it possible is to use let pkgs = import <nixpkgs> {}; in pkgs.runCommandCC or ...
<mikeplus64> srhb: ahhhh okay i think i get it. so each nixos version (e.g. 18.03) morally receives minor/non-breaking-change upgrades to all packages within, and nixpkgs branch release-18.03 acts as a staging area for nixpkgs-channels/nixos-18.03, and gets copied there if hydra tests pass
<aminechikhaoui> what I expected is that if it's not defined it'll use runCommand
<srhb> aminechikhaoui: That is, as far as I know, in order to use "or" it *must* be used on an attribute in an attrset. You can't use it on "bare variables"
<aminechikhaoui> ahh
<srhb> That is, foo.bar or 42 is valid, bar or 42 is not
<aminechikhaoui> lemme try that
<Dezgeg> you could skip runCommand and use stdenv.mkDerivation directly
<aminechikhaoui> nice it works now srhb
<srhb> aminechikhaoui: Good :)
mkoenig has quit [Ping timeout: 244 seconds]
abcrawf has quit [Remote host closed the connection]
iyzsong has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
yorick has joined #nixos
hakujin has joined #nixos
abcrawf has joined #nixos
noqqe has quit [Quit: WeeChat 1.9.1]
MP2E has quit [Remote host closed the connection]
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
mayhewluke has quit [Ping timeout: 260 seconds]
hakujin has joined #nixos
mkoenig has joined #nixos
rprije has quit [Ping timeout: 264 seconds]
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
ersran9 has quit [Ping timeout: 240 seconds]
hakujin has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
Ross has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #43534 → systemd: improve unit script drv naming → https://git.io/fNmMn
<{^_^}> [nixpkgs] @globin pushed commit from @lheckemann to master « systemd: improve unit script drv naming »: https://git.io/fNS3V
hakujin has quit [Ping timeout: 256 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<rauno> has anyone had issues with nixops when using none backend and with ssh keys? Somewhy they don't work :|
<adisbladis[m]> Whew. Just finished a presentation about Nix :)
reinzelmann has quit [Quit: Leaving]
hakujin has joined #nixos
vmandela has joined #nixos
mayhewluke has joined #nixos
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
ersran9 has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<dtz[m]> \o/
ma27 has quit [Quit: WeeChat 2.0]
<adisbladis[m]> dtz: 150 ppl :)
<dtz[m]> ooo
ma27 has joined #nixos
<dtz[m]> i expect them all in the channel within the hour! :P
<srhb> Show of hands :P
<adisbladis[m]> If only :)
<srk> rauno: it's quite common. did the deploy/switch fail?
__Sander__ has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
<srk> rauno: you can fix that manually by either exporting state or fiddling with ~/.nixops/deployments.nixops (sqlite db)
<rauno> with first run yep
<srk> or delete and re-create the deployment
<rauno> random error about activating
<srk> yeah, now it probably thinks the generated keys are deployed and ready to be used which might not be the case
<rauno> need to test this abit, doesnt seems stable with this first run :)
hakujin has joined #nixos
freeman42x]NixOS has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
semihonest has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
simukis has quit [Quit: simukis]
<{^_^}> [nixpkgs] @dtzWill opened pull request #44719 → utillinux: fix build w/ncurses, which is ncursesw → https://git.io/fNSZu
hakujin has quit [Ping timeout: 240 seconds]
<{^_^}> [cabal2nix] @peti merged pull request #367 → Update error message for unresolved constraints → https://git.io/fNDvT
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/fNSna
hakujin has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @hedning opened pull request #44720 → nixos/shells: Avoid overriding the environment for other child shells → https://git.io/fNSnN
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
ma27 has quit [Client Quit]
ma27 has joined #nixos
ma27 has quit [Client Quit]
<d1rewolf> guys, running i3 on a 4k laptop screen and the mouse cursor and fonts in certain apps (qutebrowser, alacritty) are very small. I createed an ~/.Xresources and set Xft.dpi to 220, and xrdb -query shows that the setting takes, but everything is still small.
hakujin has quit [Ping timeout: 256 seconds]
<d1rewolf> any ideas how to fix this?
hakujin has joined #nixos
ma27 has joined #nixos
vidbina has joined #nixos
jperras has joined #nixos
endformationage has joined #nixos
acowley has quit [Quit: ZNC - http://znc.in]
<{^_^}> [nixpkgs] @ryantm merged pull request #43991 → solaar: add unreleased but supported master branch version → https://git.io/fNl2P
<{^_^}> [nixpkgs] @ryantm pushed commit from @ysndr to master « solaar: 0.9.2 -> 2018-02-02 »: https://git.io/fNSCk
ma27 has quit [Client Quit]
<gchristensen> d1rewolf: I think I just had to do it with my modeline
kiloreux has quit [Ping timeout: 240 seconds]
ma27 has joined #nixos
<d1rewolf> gchristensen: i'll take a look at that. thanks!
<d1rewolf> gchristensen: how did you determine what your mode line should be?
<d1rewolf> ty
ma27 has quit [Client Quit]
ma27 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44668 → wcslib: 5.18 -> 5.19.1 → https://git.io/fNyXI
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « wcslib: 5.18 -> 5.19.1 (#44668) »: https://git.io/fNSC5
johanot has quit [Quit: Lost terminal]
Denommus has joined #nixos
<Denommus> hey
<Denommus> my NAT setup for one of my containers isn't working
<Denommus> how can I debug it?
<{^_^}> [nixpkgs] @xeji merged pull request #44685 → rt: 4.4.2 -> 4.4.3 → https://git.io/fNy70
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « rt: 4.4.2 -> 4.4.3 (#44685) »: https://git.io/fNSWn
<Denommus> the IP is the one I set
<Denommus> and I can ping it from my host
<Denommus> but the container can't access the internet
<{^_^}> [nixpkgs] @xeji merged pull request #44716 → bloaty: 2018-06-15 -> 1.0 → https://git.io/fNSqZ
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « bloaty: 2018-06-15 -> 1.0 (#44716) »: https://git.io/fNSWi
<d1rewolf> gchristensen: one thing which seems to work is to use xrandr too force resolution to 1080 instead of 4k. do you know if there's any harm or drawabacks from doing so?
<Denommus> wait, no, it can
<Denommus> ping 8.8.8.8 works
<Denommus> but ping google.com doesn't
<gchristensen> d1rewolf: no idea
kiloreux has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44709 → geekbench: 4.1.1 -> 4.2.3 → https://git.io/fNSJp
<{^_^}> [nixpkgs] @xeji pushed commit from @dywedir to master « geekbench: 4.1.1 -> 4.2.3 (#44709) »: https://git.io/fNSlI
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
Henson has joined #nixos
<Henson> Hi everyone, I'm trying to figure out how to use nix-build to build a default.nix file that is written in the "inputs" style like this: https://github.com/NixOS/nixpkgs/blob/56904d7c423f2b13b37fbd29f39bbb4b52bc7824/pkgs/applications/misc/hello/default.nix
<infinisil> ,callPackage Henson
<{^_^}> Henson: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<{^_^}> [nixpkgs] @ryantm merged pull request #44694 → remmina: 1.2.30.1 -> 1.2.31.2 → https://git.io/fNybi
<{^_^}> [nixpkgs] @ryantm pushed commit from R. RyanTM to master « remmina: 1.2.30.1 -> 1.2.31.2 »: https://git.io/fNSlz
ryanartecona has joined #nixos
hakujin has quit [Ping timeout: 265 seconds]
<Denommus> how do I set the DNS server of a container?
<Denommus> is it networking.nameservers?
<Henson> infinisil: I'm trying to build a Python package, and the callPackage example you gave above complains about "buildPythonPackage" not being present. But this package has the same inputs as mine https://github.com/NixOS/nixpkgs/blob/aec217852f228fd6f923c0d32b94d78dee4ae5dc/pkgs/development/python-modules/scandir/default.nix
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
<srk> Denommus: yup, should be
<infinisil> Henson: then it's pythonPackages.callPackage instead of just callPackage
andreabedini has joined #nixos
<andreabedini> I am trying to make nix build use s3 as a cache doing `nix build --store s3://my-bucket` but it seems to do ... nothing
vmandela has quit [Quit: Leaving]
<andreabedini> specifically, if I do `nix build -f '<nixpkgs>' hello --verbose --store s3://my-bucket` it looks like it's computing all the derivations and saving them on s3
<andreabedini> but then there's no build
pierron is now known as nbp
<Henson> infinisil: ahhh, thank you.
nbp is now known as pierron
<srk> andreabedini: --option substituters (might be better than --store, not sure)
selfsymmetric-pa has quit [Remote host closed the connection]
<andreabedini> srk: thanks, I'll try, I got the idea from https://arianvp.github.io/nixtalk/slides/slides.html#(47)
<srk> would say that --store will use remote store passed as an argument for building the derivation
<rauno> any examples or tips on using a python script as systemd service ?
<srk> but something like --substituters https://cachix.cachix.org --trusted-public-keys cachix.cachix.org-1:<hash>
<srk> will only tell nix build to look for binary caches there
<rauno> script with a shebangs #! /bin/env nix-shell
<rauno> #! nix-shell -i python3 -p python36Packages.libvirt works perfectly, but problably systemd service is more isolated and doesn't find nixpkgs path..
<betaboon> gchristensen: how is your nixops+teraform proposal going ?
<andreabedini> srk: how do I copy the paths back to the cache?
<srk> andreabedini: with nix copy
hakujin has joined #nixos
<srk> rauno: pass it via path = to service config
<andreabedini> srk: does nix copy copy only the single path or its closure?
<srk> andreabedini: closure
<andreabedini> srk: thanks!
<srk> andreabedini: you can even use it to copy your toplevel closure :))
<srk> yw!
<andreabedini> :thinking:
<andreabedini> I wonder if I should actually do that
<andreabedini> I'm setting up some CI/CD stuff
<andreabedini> and I'd rather not hit cache.nixos too much
<srk> if it doesn't contain any secrets it should be ok
<gchristensen> andreabedini: why not?
<srk> cloudfared anyway :)
<andreabedini> ok, it's all on AWS and there's a CDN, but maybe I don't need that extra traffic
<srk> is it possible to prioritise substituers?
<andreabedini> oh, important part, each build runs on a container so starts with an empty store
<srk> lets say you have fast cache on LAN which you would like to prioritize over internet
<andreabedini> so I would end up downloading a ton
<andreabedini> yeah, I think substituters are tried in order
<srk> hmm
<andreabedini> I still don't understand what nix build --store s3://my-bucket does
<gchristensen> andreabedini: you could put a simple http squid proxy between your builder and the cache
<gchristensen> to reduce bandwidth and improve locality
<rauno> srk, thx!
pierron is now known as nbp
hakujin has quit [Ping timeout: 265 seconds]
hakujin has joined #nixos
jD91mZM2 has joined #nixos
afics has joined #nixos
nuncanada has joined #nixos
Fare has joined #nixos
simukis has joined #nixos
orivej has joined #nixos
layus has joined #nixos
<layus> What are these {memory:83} -> ... in my nix-store --gc --print-root ?
alex`` has quit [Ping timeout: 248 seconds]
<symphorien> some running process has a store file mmaped
<symphorien> For examp'e
<layus> Ah... how does nix even know about that ?
<layus> I how can I track down that process ?
<symphorien> It's written in /proc
<symphorien> You can use fuser if you know the file
<symphorien> Or lsof if you know the process
<symphorien> The 83 might be the pid
<layus> It is not a pid. There is no such pid
hakujin has quit [Ping timeout: 240 seconds]
leotaku has joined #nixos
hakujin has joined #nixos
<leotaku> So... I seemingly have managed to lock myself out of my system... I did a nixos-rebuild with "--install-bootloader" which must have messed something up. What options do I have?
RetardedOnion has left #nixos ["http://quassel-irc.org - Chat comfortably. Anywhere."]
Sonarpulse has joined #nixos
<ajs124> leotaku, you can boot a live system from a USB stick.
<leotaku> Is this "https://nixos.wiki/wiki/Bootloader#Re-installing_the_bootloader" on the right path? I am not very knowledgeable about that kind of stuff...
iyzsong has quit [Ping timeout: 240 seconds]
fendor has quit [Ping timeout: 240 seconds]
Henson has quit [Ping timeout: 240 seconds]
<elvishjerricco> Something I don't understand about trust in nixpkgs: If untrusted users are allowed to do arbitrary builds, why can't they pull arbitrary, unsigned paths from binary caches?
<kiloreux> How can I override a package step ?
hakujin has quit [Ping timeout: 256 seconds]
<elvishjerricco> Derp, it's because we don't care about build processes; we only care that a build is actually the result of a particular `.drv`. Building the `.drv` yourself (even as an untrusted user), or getting the path signed are the two ways to ensure this.
hakujin has joined #nixos
erasmas has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #44722 → processing: 3.3.7 -> 3.4 → https://git.io/fNSzm
fresheyeball has joined #nixos
alex`` has joined #nixos
vmandela has joined #nixos
hyper_ch2 has joined #nixos
vidbina has quit [Ping timeout: 256 seconds]
<Taneb> Does stdenv.mkDerivation give a environment variable for the working directory, where the sources are unpacked to?
jperras has quit [Ping timeout: 240 seconds]
<Taneb> Will sourcesRoot be available?
<teto> Taneb: you can run some code in postUnpack so that the current folder is the unpacked source
vidbina has joined #nixos
jD91mZM2 has quit [Ping timeout: 240 seconds]
dbmikus__ has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #44723 → graalvm: fix dead url → https://git.io/fNS29
hyper_ch2 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @Infinisil merged pull request #42469 → zerotier: added option to customise the port used → https://git.io/f4S0J
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNSaT
<fresheyeball> this morning, for now decernable reason, I cannot deploy to virtual-box
vmandela has quit [Ping timeout: 264 seconds]
vmandela has joined #nixos
jperras has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
aarvar has joined #nixos
Mr_Keyser_Soze99 has joined #nixos
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
dbmikus has joined #nixos
dbmikus__ has quit [Ping timeout: 240 seconds]
vmandela_ has joined #nixos
vmandela has quit [Ping timeout: 244 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « nethack: remove debug symbols »: https://git.io/fNSo9
<typetetris> How is terminfo stuff handled in nix? Actually I am running into this https://github.com/tmux/tmux/issues/1264 with tmux,st,nvim with nix on debian8 (nixpkgs-master, nix-channel --update a few minutes ago). Seems to be a bug in terminfo entry for st.
<{^_^}> tmux/tmux#1264 (by module0x90, 24 weeks ago, closed): tmux 2.6-2 crashdumps when starting neovim 0.2.2-2
<infinisil> typetetris: I only know that some packages install some terminfo stuff into a terminfo output
<typetetris> But how do programs like tmux find those?
UNIcodeX_ has quit [Read error: Connection reset by peer]
UNIcodeX_ has joined #nixos
mayhewluke has quit [Ping timeout: 240 seconds]
Mic92 has quit [Ping timeout: 256 seconds]
pie__ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #44707 → qsampler: 0.5.1 -> 0.5.2 → https://git.io/fNSvH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNSKn
<rauno> when adding pkgs.python36Packages.lxml to service path then why it points to */bin directory of this package which even doesnt exist in nix store ?
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #26580 → Theano cleanup → https://git.io/vHFK7
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to master: https://git.io/fNSKE
pie_ has quit [Ping timeout: 256 seconds]
<leotaku> I am trying to restore my unbootable system. I tried to follow the guide here: , but running the last command results in the error "Could not prepare boot variable: no such file or directory".
<leotaku> What could I be doing wrong?
init_6 has quit [Ping timeout: 256 seconds]
dnovosel has joined #nixos
Drakonis[m] has quit [Changing host]
Drakonis[m] has joined #nixos
Drakonis[m] has joined #nixos
<samueldr> leotaku: basic question, but to reduce the questions tree: do you know if you booted in uefi mode, and have booted in uefi mode?
ma27 has quit [Quit: WeeChat 2.0]
<leotaku> samueldr: My installation (the one I am trying to fix) or the "rescue" live usb.
<leotaku> ?
<samueldr> the live usb
ma27 has joined #nixos
<leotaku> samueldr: no, I did not
<samueldr> and is your install a legacy install (if you booted the live system in legacy bios boot)
<samueldr> (basic checkup, but it's simpler if the live boot is booted in the same mode as the system will be)
selfsymmetric-pa has joined #nixos
ersran9 has quit [Ping timeout: 256 seconds]
<leotaku> I don't quit follow the question but basically if my install was efi i should also boot the live usb that way, correct?
<samueldr> yes
<samueldr> (makes things easier to debug, and some things are only possible that way)
<selfsymmetric-pa> I'm having trouble using `mbsync` service from `home-manager`. The `PassCmd` in my `.mbsyncrc` is `gpg2 -q --for-your-eyes-only --no-tty -d`, but it does not prompt me to decrypt.
<selfsymmetric-pa> If I run `mbsync` myself, then it prompts normally.
<leotaku> samueldr: should I first retry what I did with the live usb booted in efi mode and then get back to you if things still don't work?
<selfsymmetric-pa> `mbsync.service` fails with `sh: gpg2: command not found`
Drakonis has joined #nixos
selfsymmetric-pa has quit [Quit: Using Circe, the loveliest of all IRC clients]
selfsymmetric-pa has joined #nixos
<leotaku> samueldr: I retried the steps of the tutorial again (booted in efi mode) but unfortunately I got the same error.
selfsymmetric-pa has quit [Read error: Connection reset by peer]
selfsymmetric-pa has joined #nixos
revtintin has joined #nixos
Ariakenom_ has quit [Ping timeout: 244 seconds]
<samueldr> entirely possible, you may even have been booted using uefi beforehand
<samueldr> leotaku: what brand of laptop/tower/motherboard is this? (just to confirm suspiscions if others had a similar issue with any linux systems)
<leotaku> samueldr: lenovo thinkpad x220
fresheyeball has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @tobim opened pull request #44726 → cquery: 2018-05-01 -> 2018-08-08 → https://git.io/fNS1k
<leotaku> samueldr: any idea what i could try next?
<samueldr> leotaku: if you do `mount | grep efivar` and have a line "efivarfs on ..." your system is probably booted fine... but maybe has a weird UEFI implementation
<samueldr> couldn't find confirmation about your model
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.15.0 -> 1.15.3 »: https://git.io/fNS1c
<samueldr> but some EFI implementations can somehow "fill" their nvram and it causes similar issues
<samueldr> which I personally isn't qualified to help about :/
<samueldr> (solutions range from sketchy to scary at first glance)
<samueldr> temporarily (we all know what it means in computing terms) you could try using rEFInd as the default fallback bootloader in the ESP
<leotaku> samueldr: doing the grep shows two lines with efivarfs, on for the mounted drive and one for the usb
<samueldr> leotaku: that's entirely fine
<leotaku> samueldr: so the refind thing should not help, correct?
<samueldr> the main issue here is that efibootmgr (I assume) cannot write to the EFI vars (nvram) to set the bootloader
<samueldr> setting a default fallback bootloader *could* help if it is able to then chainload to another bootloader
<samueldr> I personally use rEFInd as a secondary bootloader on bad UEFI implementations
ma27 has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44727 → pkcs11helper: 1.24 -> 1.25 → https://git.io/fNSMJ
ma27 has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
<leotaku> samueldr: IIRC my bios has some option about "preloading" nvram, I might try toggling that.
ma27 has quit [Client Quit]
<samueldr> my diagnostic could be wrong or flawed, do keep this in mind!
selfsymmetric-pa has joined #nixos
ma27 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44728 → powerstat: 0.02.17 -> 0.02.18 → https://git.io/fNSM0
<selfsymmetric-pa> Hey #nixos, what's the right way to version-control my configuration? I have most of my configuration /etc/nixos, in a git repository where I have to type sudo a lot. I also have a home-manager configuration in ~/.config/nixpkgs/home.nix. This feels a little lopsided. How do you manager your config?
ma27 has quit [Client Quit]
<Dezgeg> you could symlink /etc/nixos/configuration.nix to your home directory
ma27 has joined #nixos
<gchristensen> or change the NIX_PATH to use a different nixos-configuration path: $ echo $NIX_PATH
<gchristensen> nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<selfsymmetric-pa> Oh okay, gchristensen that seems way better.
<typetetris> hmm, why does a change to ncurses trigger a rebuild of libX11 ?
<selfsymmetric-pa> gchristensen: I feel like NIX_PATH is very low-level though. Where should I specify it?
puck has quit [Quit: *eh*]
<selfsymmetric-pa> Or do I just put it anywhere before doing a `nixos rebuild switch`?
<gchristensen> I think you can set the nix.nixPath option to have it, like nix.nixPath = [ "nixos-config=/home/selfsymmetric-p/nixos-config/" ]; and then do a nixos-rebuild switch, and then move your config to your home dir
<Dezgeg> I'd guess the dependency chain is something like ncurses -> python -> libxml2 -> {some xml documentation thing} -> libX11
<selfsymmetric-pa> gchristensen: Great, I'll try that. Thank you!
<gchristensen> you'll probably need to log out and log bacrk in for the environment variable to be updated
<selfsymmetric-pa> Got it.
ma27 has quit [Client Quit]
Mr_Keyser_Soze99 has quit [Quit: Leaving]
<selfsymmetric-pa> Another question: what is the difference between "programs" and "services" in NixOS? Sometimes I have a hard time distinguishing between the configuration options of `services.foo` and `programs.foo`.
ma27 has joined #nixos
Mr_Keyser_Soze has joined #nixos
sigmundv has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #44729 → weechat-xmpp: create proper runtime environment → https://git.io/fNSDB
<selfsymmetric-pa> To unpack that a little, some services like `mbsync` are associated with an executable, also called `mbsync`. So how does package maintainer decide where to put a particular piece of functionality?
dvim has quit [Quit: WeeChat 2.2]
<gchristensen> a service usually means it has a systemd service or long-running process
<gchristensen> a `program` option is usually for a program you execute manually but needs a global thing configured first
puckipedia has joined #nixos
<selfsymmetric-pa> I see. In a well-maintained package is it possible for `service.foo` to be affected by `programs.foo`? Or does good practice mean that they are independent?
<gchristensen> most packages don't have a program or service module
<gchristensen> I don't know if there are guidelines about that specific question
<selfsymmetric-pa> Okay! No worries, I'm asking after nuances here. Thanks for the notes. :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44730 → pacman: 5.1.0 -> 5.1.1 → https://git.io/fNSyJ
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
ma27 has quit [Client Quit]
ma27 has joined #nixos
<leotaku> samueldr: Sorry to bother you again, but how would I go about installing an additional bootloader (such as refind) on my unbootable system?
selfsymmetric-pa has quit [Remote host closed the connection]
<samueldr> you will have to mount your ESP at an appropriate location and replace /boot/ESP/boot with the appropriate location in these instructions
<samueldr> it will replace a fallback bootloader if there is already one ($ESP/boot/bootx64.efi)
mkoenig has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44731 → openfst: 1.6.8 -> 1.6.9 → https://git.io/fNSyh
stanibanani has joined #nixos
stanibanani has left #nixos [#nixos]
mkoenig has joined #nixos
Ariakenom has joined #nixos
<leotaku> samueldr: what does "appropriate location" mean? Can I just mount the boot drive somewhere and supplement the path in the instructions with that path?
<samueldr> uh, appropriate could have been arbitrary too, juste mount the ESP to somewhere
<samueldr> and in those instructions the ESP is mounted at /boot
<leotaku> samueldr: and the refind binary is self-contained right? So I can run the build command from the live usb.
<samueldr> yeah
<samueldr> the nix-build command is basically to use the cached version that's already built by hydra for us
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44732 → opendht: 1.7.2 -> 1.7.4 → https://git.io/fNSSh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44733 → oprofile: 1.2.0 -> 1.3.0 → https://git.io/fNS9t
revtintin has quit [Quit: WeeChat 1.9.1]
hakujin1 has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
mkoenig has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « Revert "Revert "Revert "release: disallow aliases""" »: https://git.io/fNSHf
betaboon has quit [Quit: WeeChat 2.1]
<leotaku> Whooo, it booted!
<leotaku> thank you for your help samueldr, I honestly really apprechiate it!
<samueldr> leotaku: great to hear that the workaround is useful
<samueldr> do note that *it's not an actual fix* it adds a step during the boot process
<samueldr> but wooh, is rEFInd a useful thing sometimes when things go sour
<leotaku> samueldr: Yeah it's kind of strange. I could not boot from refind directly but rather booted from refind to grub, which then allowed me to boot my actual system.
ryanartecona has quit [Quit: ryanartecona]
<samueldr> oh yeah, that's the expected thing
<samueldr> nixos doesn't have rEFInd support (yet)
<leotaku> samueldr: oh, ok
<samueldr> you could also realistically change your settings to boot.loader.grub.efiInstallAsRemovable = true
<samueldr> which will set grub to be installed as bootx64.efi
<samueldr> https://nixos.org/nixos/options.html#boot.loader.grub.efiinstallasremovable
<samueldr> which would remove rEFInd from the equation
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44734 → obs-linuxbrowser: 0.4.0 -> 0.5.0 → https://git.io/fNSQ3
<samueldr> though, rEFInd has its uses if you boot more than only nixos on your machine
<samueldr> one feature I like of rEFInd is how it saves the last selected efi program
<gchristensen> ofborg's webhook is broken, working on a fix.
<{^_^}> [nixpkgs] @samueldr merged pull request #29441 → nixos: initrd/luks: allow to reuse passphrases, cleanup → https://git.io/v55Wp
<{^_^}> [nixpkgs] @samueldr pushed 7 commits to master: https://git.io/fNSQ2
semihonest has quit [Quit: WeeChat 2.1]
<typetetris> How can I determine, why a certain package is included in `/run/current-system/sw` ?
<symphorien> nix why-depends /run/current-system/sw /nix/store/...
<symphorien> it only works on already built things
vmandela_ has quit [Quit: Leaving]
endformationage has quit [Read error: Connection reset by peer]
<typetetris> nice
endformationage has joined #nixos
alex`` has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44735 → ocamlPackages.csv: 2.0 -> 2.1 → https://git.io/fNS7W
ntqz has joined #nixos
mkoenig has joined #nixos
<neonfuz> Anyone here use switchable graphics on nixos?
<neonfuz> IE a laptop with both intel and nvidia graphics for example
<neonfuz> I have one and have only been using the intel chip though
<neonfuz> I hope it's not wasting power for the nvidia chip at the very least lol
<{^_^}> [nixpkgs] @vbgl opened pull request #44736 → ocamlPackages.ocaml_extlib: 1.7.4 -> 1.7.5 → https://git.io/fNS5K
acowley has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44737 → nsd: 4.1.22 -> 4.1.23 → https://git.io/fNS5b
Mr_Keyser_Soze has quit [Ping timeout: 256 seconds]
simukis has quit [Ping timeout: 240 seconds]
johanot has joined #nixos
<tilpner> neonfuz - I am, 960M with HD Graphics 530
<tilpner> Look at hardware.nvidiaOptimus.disable and hardware.bumblebee.enable
<neonfuz> How do you switch, / configure nixos to use both, or whatever
<neonfuz> oh okay
<tilpner> neonfuz - I prefix a command with primusrun (which just sets some environment variables IIRC), and it will use the nvidia card
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44738 → nwjs: 0.23.6 -> 0.32.0 → https://git.io/fNSdx
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
hakujin2 has joined #nixos
hakujin1 has quit [Ping timeout: 256 seconds]
graphene has quit [Read error: Connection reset by peer]
silver has quit [Read error: Connection reset by peer]
silver_ has joined #nixos
<{^_^}> [nixpkgs] @oxij opened pull request #44739 → treewide: enable working, fix fixable, disable broken tests → https://git.io/fNSbL
jabranham has joined #nixos
sigmundv has joined #nixos
mog has quit [Ping timeout: 248 seconds]
Sonarpulse has quit [Ping timeout: 240 seconds]
<mikeplus64> anyone run nixops within debian? is this sane/possible/recommended?
<mikeplus64> i mean, on the server side
<gchristensen> you mighgt want nix-deploy
reinzelmann has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
FRidh has quit [Ping timeout: 244 seconds]
sir_guy_carleton has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<pie__> can anyone help me get Atom set up for working with haskell?
<pie__> I dont really know where to start
<pie__> tried to google but didnt really get anything relevant
reinzelmann has quit [Quit: Leaving]
selfsymmetric-pa has joined #nixos
<selfsymmetric-pa> What's the default $NIX_PATH?
<selfsymmetric-pa> I tried this: `nix.nixPath = ["nixos-config=/etc/nixos/" "nixpkgs=http://nixos.org/channels/nixos-18.03/nixexprs.tar.xz"];`
<selfsymmetric-pa> But then I get `error: file 'nixpkgs/nixos' was not found in the Nix search path`.
<selfsymmetric-pa> So my system is kind of wrecked.
vidbina has joined #nixos
Sonarpulse has joined #nixos
<selfsymmetric-pa> I don't suppose somebody would be willing to `echo $NIX_PATH` for me?
<srk> /etc:nixpkgs=/etc/nixpkgs:nixos-config=/etc/nixos/configuration.nix
<srk> (mine is a bit twisted tho)
<selfsymmetric-pa> Hm. Same error for me.
<selfsymmetric-pa> I don't have an /etc/nixpkgs.
<srk> that's why 'twisted', my system is built from git repo in /etc
<srk> nix-instantiate --find-file nixpkgs/nixos
<srk> that should work if set-up correctly
infty has quit [Quit: WeeChat 1.4]
<bgamari> How does one run a bash array-of-commands like installPhase?
<selfsymmetric-pa> srk: Hm, same error for me.
<bgamari> e.g. in a tree preserved by --keep-failed
<selfsymmetric-pa> Where is `nixos/nixpkgs` typically?
<srk> selfsymmetric-pa: subdir of the nixpkgs repo, normal system has it like this
<srk> [root@mon:~]# nix-instantiate --find-file nixpkgs/nixos
<srk> /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos
<pie__> ok so building ghc-mod is broken. ugh.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44740 → mysql57: 5.7.22 -> 5.7.23 → https://git.io/fNSjz
ashkitten has joined #nixos
<selfsymmetric-pa> Ah okay I found mine here: `/nix/store/04fiya0is10s6m2c895bqsb0w82n0abm-nixos-18.03/nixos/nixpkgs/nixos`
<selfsymmetric-pa> What do I do with it?
hakujin3 has joined #nixos
<srk> try with 'nixpkgs=/nix/store/04fiya0is10s6m2c895bqsb0w82n0abm-nixos-18.03/nixos/nixpkgs/'
hakujin2 has quit [Ping timeout: 256 seconds]
<selfsymmetric-pa> I tried `NIX_PATH="nixos-config=/etc/nixos/configuration.nix:nixpkgs=/nix/store/04fiya0is10s6m2c895bqsb0w82n0abm-nixos-18.03/nixos/nixpkgs/" sudo nixos-rebuild switch --upgrade`, but same error. :(
halfbit has joined #nixos
<selfsymmetric-pa> If I do `sudo nixos-rebuild switch --upgrade -I .` in the right directory I get `error: opening file '/home/self-sym/log/nixos/default.nix': No such file or directory.
Henson has joined #nixos
<clever> selfsymmetric-pa: try `sudo -i` then set NIX_PATH and run nixos-rebuild
<clever> sudo will mess with env vars
<Henson> if I wanted to have my own private list of Nix packages to use in development, what would be the best way to do that? Make my own nix-channel from a tar.xz file?
<selfsymmetric-pa> clever: That was it! Thank you!
<srk> ,overlay Henson
<{^_^}> Henson: 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
hakujin4 has joined #nixos
<selfsymmetric-pa> clever: How can I set those vars permanently now?
<clever> selfsymmetric-pa: nix.nixPath will control the defaults for NIX_PATH
<selfsymmetric-pa> clever: excellent
<clever> and it only takes effect after nixos-rebuild has finished
hakujin3 has quit [Ping timeout: 265 seconds]
selfsymmetric-pa has quit [Remote host closed the connection]
TolleLege has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44741 → mbedtls: 2.11.0 -> 2.12.0 → https://git.io/fN9v7
ma27 has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44742 → lsscsi: 0.29 -> 0.30 → https://git.io/fN9vd
selfsymmetric-pa has joined #nixos
<selfsymmetric-pa> Okay I've upgraded and now it's broken again. I need to somehow set `nixpkgs` in such a way that it doesn't keep moving around.
<selfsymmetric-pa> When I try to run haskell stack: `error: file 'nixpkgs' was not found in the Nix search path`
<selfsymmetric-pa> Hm. Maybe I should just roll back.
selfsymmetric-pa has quit [Remote host closed the connection]
<leotaku> Henson: Also https://cachix.org/ if you want to develop collaboratively or on different machines.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44743 → lilv: 0.24.2 -> 0.24.4 → https://git.io/fN9fg
Sonarpulse has quit [Quit: Leaving]
mayhewluke has quit [Ping timeout: 256 seconds]
Ericson2314 has joined #nixos
Ericson2314 is now known as Sonarpulse
<Henson> srk: can that be used to add additional packages to nixpkgs, or only override settings of existing packages?
Sonarpulse is now known as Ericson2314
<{^_^}> [nixpkgs] @volth opened pull request #44744 → scallion: use mono4 → https://git.io/fN9fh
selfsymmetric-pa has joined #nixos
<srk> Henson: yes, see the defining overlays section, there's an example using callPackage
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44745 → mate.mate-media: 1.20.1 -> 1.21.0 → https://git.io/fN9JU
<jabranham> what is the equivalent of ~/.xinitrc in nixos? In arch I had this file start my status bar and my WM but it seems to get ignored in nixos
oida has quit [Ping timeout: 250 seconds]
<leotaku> jabranham: do you use home-manager?
<selfsymmetric-pa> FYI the working NIX_PATH is `nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels`
<jabranham> leotaku: no, I'm just starting with nixos
<jabranham> leotaku: figured I should get acquainted with the OS before adding things on
Neo-- has joined #nixos
<infinisil> jabranham: What display manager are you using? Also what DE and/or WM?
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to staging: https://git.io/fN9J6
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #44517 → stdenv: simplify a bit using shadowing → https://git.io/fNXXz
<jabranham> infinisil: the DM is whatever the stock one is. SDDM? I don't use a DE/WM. I usually just call "exec emacs" from ~/.xinitrc when the X server starts
bshelden has joined #nixos
<Henson> srk: ok, thanks for the info. This gives me something to run with
<Henson> leotaku: thanks for the link, I'll look into that
<leotaku> jabranham: this could be what you want but I'm unsure: https://nixos.org/nixos/options.html#services.xserver.displaymanager.sessioncommands
hakujin has joined #nixos
hakujin4 has quit [Ping timeout: 256 seconds]
<leotaku> jabranham: the commands in here would be executed just before the wm starts, same structure as .xinitrc I suppose.
<jabranham> leotaku: doesn't that mean that whenever emacs starts, it'll start another WM (whatever the default is)?
<jabranham> I guess I'll try it and report back
<infinisil> An ~/.xsession file
simukis has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44746 → mpc-qt: 18.03 -> 18.08 → https://git.io/fN9UB
<infinisil> You can put whatever you want in there as your session, so e.g. an emacs start and a wait until that process terminates. As soon as this script ends your x session ends
<{^_^}> [nix] @bobvanderlinden opened pull request #2338 → mention `nix-store --query --roots` when a path cannot be deleted → https://git.io/fN9Ug
<leotaku> infinisil, jabranham: That method also allows dfferent users to have different WM/DEs etc.
<jabranham> infinisil: thanks, I think that's exactly what I want
<jabranham> infinisil: how did you find this?
dnovosel has quit [Ping timeout: 265 seconds]
<infinisil> jabranham: Have known this for a while, I think I just stumbled through the nixpkgs source code
<{^_^}> [nixpkgs] @pSub pushed 7 commits to add-missing-licenses: https://git.io/fN9US
johanot has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44747 → mdp: 1.0.12 -> 1.0.13 → https://git.io/fN9Tf
sophiag has joined #nixos
<jabranham> so since that ~/.xsession thing isn't in https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/desktop-managers/default.nix that means I can't use it (yet?) right?
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44748 → meson: 0.46.1 -> 0.47.1 → https://git.io/fN9TS
johanot has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « S3BinaryCacheStore: Don't use the transfer status callback »: https://git.io/fN9Tj
ryanartecona has joined #nixos
<leotaku> jabranham: oh that was a fork, I did not realize. Yeah I guess so. Unless you want to patch your nixpkgs source. (trust me you don't)
<jabranham> I think I might be able to do what I want by modifying services.xserver.displayManager.session
johanot has quit [Quit: Lost terminal]
<leotaku> jabranham: Oh whops, the thing actually is in the main source.
<leotaku> jabranham: you were looking at desktop-managers, while its under display-managers.
johanot has joined #nixos
<jabranham> leotaku: whoops! anyway, I think I got it set up with services.xserver.displayManager.session anyway
<jabranham> though now I wonder why just dropping ~/.xsession didn't work
<jabranham> oh, I bet it's not executable
<dtz[m]> my everything re:xserver/{display,desktop,window}Manager broke recently
<dtz[m]> one of those "wait why did this work in the first place" situations, in which I don't remember :)
<dtz[m]> (I use awesome-wm, and I haven't mucked with it for a while and don't rem what rigging was involved previously :))
<{^_^}> [nixpkgs] @jtojnar closed pull request #44748 → meson: 0.46.1 -> 0.47.1 → https://git.io/fN9TS
<{^_^}> [nixpkgs] @jtojnar reopened pull request #44748 → meson: 0.46.1 -> 0.47.1 → https://git.io/fN9TS
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44749 → libwps: 0.4.9 -> 0.4.10 → https://git.io/fN9IG
<Denommus> guys
<Denommus> anyone using amazon EC2 + RDS?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44750 → libbytesize: 1.3 -> 1.4 → https://git.io/fN9Iw
<{^_^}> [nixpkgs] @pSub pushed to add-missing-licenses « libertine: add license »: https://git.io/fN9IH
<sophiag> should i be wary of wqhd displays?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44751 → liferea: 1.12.3 -> 1.12.4 → https://git.io/fN9Ll
<sophiag> (i've had so much trouble getting weird hardware configured with nixos i guess i'm now screening purchases here...)
<{^_^}> [nixpkgs] @costrouc opened pull request #44752 → lammps: 16Feb16 -> patch_2Aug2018 → https://git.io/fN9LE
rauno has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
leotaku has quit [Quit: Leaving]
jperras has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44753 → librelp: 1.2.16 -> 1.2.17 → https://git.io/fN9Lh
<{^_^}> [nixpkgs] @dotlambda merged pull request #44653 → pythonPackages.sortedcontainers: 1.5.7 -> 2.0.4 → https://git.io/fNyws
<{^_^}> [nixpkgs] @dotlambda pushed commit from @costrouc to master « pythonPackages.sortedcontainers: 1.5.7 -> 2.0.4 (#44653) »: https://git.io/fN9tL
oida has joined #nixos
<neonfuz> I'm getting out of space errors on nixos-rebuild, I think my ramdisk / kernels are filling up /boot
<neonfuz> how are you supposed to clean these?
<neonfuz> manually?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44754 → lftp: 4.8.3 -> 4.8.4 → https://git.io/fN9tK
<clever> neonfuz: this controls how many generations nixos will keep in there, and it will auto-delete any extras
<neonfuz> okay so for now I should manually delete some old ones to make space so I can do a nixos-rebuild?
<clever> yeah
<neonfuz> alright
ng0 has quit [Quit: Alexa, when is the end of world?]
<{^_^}> [nixpkgs] @fpletz pushed to master « wpa_supplicant: add patch to fix CVE-2018-14526 »: https://git.io/fN9q4
<infinisil> ,bootfull
<infinisil> neonfuz: ^
<neonfuz> thanks
<neonfuz> wait I did collect garbage already though and that didn't work
<{^_^}> [nixpkgs] @fpletz pushed to release-18.03 « wpa_supplicant: add patch to fix CVE-2018-14526 »: https://git.io/fN9q1
<clever> neonfuz: garbage collection wont clean up /boot/
<clever> you have to nixos-rebuild to update /boot based on what GC has deleted
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44755 → librealsense: 2.13.0 -> 2.14.1 → https://git.io/fN9qh
puckipedia is now known as puck
<jtojnar> why do packages often have `somelibrary.dev` in buildInputs?
<clever> jtojnar: i think its either that somelibrary wasnt written right, or somebody didnt fully know how split-outputs works
<jtojnar> often next to `somelibrary`
<clever> jtojnar: see if it builds without .dev and then file a PR
<clever> the stdenv should pick the right thing for you with just somelibrary
<elvishjerricco> clever: How does it pick the right thing?
<clever> some people just throw things at the wall until it builds, and then dont try to remove the un-needed things
<elvishjerricco> I would expect it to use `.out` unless you specify, and sometimes you only need `.dev` (i.e. when you just need includes)
<clever> elvishjerricco: it will pick the first output in the list, which is generally .dev
<elvishjerricco> oh
<elvishjerricco> heh
<elvishjerricco> alright
<clever> and that will have propagated inputs to pull in others it needs
<clever> jtojnar: try removing gtk.dev and see if it still builds
<clever> > gtk.outputs
<{^_^}> undefined variable 'gtk' at (string):166:1
<{^_^}> [nixpkgs] @costrouc opened pull request #44756 → pythonPackages.pysrim: init at 0.5.8 → https://git.io/fN9ma
jperras has joined #nixos
<clever> > gnome2.gtk.outputs
<{^_^}> [ "out" "dev" "devdoc" ]
hph^ has quit [Ping timeout: 264 seconds]
<clever> jtojnar: aha, dev is not the first output on gtk, thats the problem
<clever> so technically gtk is broken here
<jtojnar> is dev ever the first output?
<clever> > curl.outputs
<{^_^}> [ "bin" "dev" "out" "man" "devdoc" "debug" ]
<clever> hmmm
<clever> i thought it was first in most
<jtojnar> I thought we use the one containing /bin first
<jtojnar> i.e. usually bin or out
<clever> it cant know which one contains /bin/ when at the nix level
<clever> the nix level has to know which output it needs, before the build has even ran
<elvishjerricco> It makes sense that bin is the default usually
<jtojnar> yeah, that is packager's responsibility
* clever looks
<jtojnar> but as I understand it, no matter what output you will add to buildInputs, all outputs will be made available
<elvishjerricco> If you depend on a package that has a bin output, I feel like it's most likely you wanted its executables
<clever> elvishjerricco: cross-compile complicates that
<elvishjerricco> clever: Eh. Then I guess my statement holds only for nativeBuildInputs
halfbit has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #44654 → pythonPackages.singledispatch: move expression → https://git.io/fNywK
<{^_^}> [nixpkgs] @dotlambda pushed commit from @costrouc to master « pythonPackages.singledispatch: move expression (#44654) »: https://git.io/fN9YL
<elvishjerricco> So maybe it'd be better if `dev` were default when used as a buildInput, and `bin` were default when used as a nativeBuildInput?
<clever> there is also a new strict flag, that stops anything from buildInput getting into PATH
<clever> to force you to do things in a cross-compile friendly way
<elvishjerricco> yea wtf does strictDeps really do?
<elvishjerricco> Is that it, or is there more?
<clever> i believe it forces only native inputs to get into PATH
SunWuKung has joined #nixos
<elvishjerricco> strictDeps doesn't not seem like a good name for that
halfbit has joined #nixos
<clever> ctrl+f for strictDeps here
<clever> lib.chooseDevOutputs ^^
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44757 → libx86emu: 1.14 -> 2.0 → https://git.io/fN9Y8
<clever> it will map a function over all inputs, that grabs the .dev output
<elvishjerricco> Oh man that is some complicated stuff...
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44758 → libsixel: 1.8.1 -> 1.8.2 → https://git.io/fN9Yz
<tobiasBora> clever: it looks a bit magic and I need to go, but I'll study it a bit later.
<tobiasBora> clever: thank you very much for the great help!
<clever> yep
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44759 → libdrm: 2.4.92 -> 2.4.93 → https://git.io/fN9Ya
<tobiasBora> (sorry to answer a few hours too late but I lost my connexion this morning)
<elvishjerricco> It's too bad we can't just.... rewrite nixpkgs from scratch with all this stuff in mind from the get-go :P
<clever> elvishjerricco: one min...
Fare has quit [Ping timeout: 240 seconds]
<Henson> is it possible in my overrides.nix file to make a derivation appear within another set? Say I'm building a package called "pipes" but I want it to appear as "python27Packages.pipes"
<srhb> (Sounds of rustling while clever rewrites nixpkgs from scratch with all this stuff in mind)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44760 → libressl: 2.7.4 -> 2.8.0 → https://git.io/fN9Y9
<srhb> Ah, not quite...
<clever> before stdenv.mkDerivation, there was builderDefs
<clever> nixpkgs has already gone thru one such rewrite :P
<elvishjerricco> Neat. How long ago was that?
<tobiasBora> Also, does anyone knows if it's possible to build a given .nix file with all the new dependencies created in the current folder? I need that because my / partition (with /nix) is pretty small, and I need temporary to create a big file (few Gb) containing a qcow virtual machine, and my /partition is too small for this file
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44761 → ipmiutil: 3.1.1 -> 3.1.2 → https://git.io/fN9YA
<clever> elvishjerricco: setup.sh is the core of stdenv, and it was made back in ~2003
<neonfuz> I keep on deleting files from /boot but no space is freeing up...
<neonfuz> wtf is happening
<elvishjerricco> tobiasBora: If you've got Nix 2.0 you can use chroot stores
<sir_guy_carleton> where can i find more information about pkgs.mkShell?
<neonfuz> I did sudo rm -f /boot/EFI/nixos/* and no files got deleted
<neonfuz> and no error was displayed
<neonfuz> and then I started manually deleting files and they disappear, but no space frees up
<clever> neonfuz: what does `ls -ltrh /boot/EFI/nixos` say?
<clever> when ran without root
<neonfuz> it shows kernels and initrds, even ones I deleted
<neonfuz> or tried to delete
<clever> what does dmesg say near the end?
<neonfuz> is this mounted in some weird forced read only way?
<neonfuz> some acpi errors, and other unrelated looking things
<clever> neonfuz: can you pastebin the output from the above ls command?
<neonfuz> oh you know what
<neonfuz> I think nixos-rebuild is putting all the kernels back into /boot and running out of space
<clever> yes, it will do that
<neonfuz> I don't have enough space for all the stuff it wants to put in there
<neonfuz> okay, so how can I solve this?
<clever> you need to set configurationLimit to limit how many it puts there
<neonfuz> I probably should have made a bigger /boot partition, I just used the one that windows created
<neonfuz> also I'm not using grub
<neonfuz> is grub.configurationLimit still the way to go?
<clever> systemd-boot doesnt have this option
<neonfuz> okay...
<neonfuz> well that's what I'm using
<clever> in that case, your only option is to delete old system generations with `sudo nix-collect-garbage --delete-older-then 30d` and then nixos-rebuild again
<neonfuz> oh yeah... I never ran a GC as root
<neonfuz> only as user
<neonfuz> I didn't think of that
<clever> it needs root to delete system profiles
<neonfuz> makes sense
halfbit has quit [Ping timeout: 244 seconds]
<tobiasBora> elvishjerricco: for this do I need user namespace? And also, will it continue to fetch the existing binaries in the original /nix?
<clever> tobiasBora: you need to configure it to use /nix as a cache
<clever> tobiasBora: let me find an example...
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jb55 has quit [Remote host closed the connection]
<clever> [clever@amd-nixos:~]$ nix-build '<nixpkgs>' -A hello --store local?root=/home/clever/fakeroot --option substituters 'daemon https://cache.nixos.org'
<clever> tobiasBora: i think this will do what you want
<clever> it will treat the local nix-daemon as a binary cache, and then fall back to the normal when the daemon lacks things
<clever> and write everything to fakeroot
<clever> and it will auto-create its own namespaces as needed
<clever> and you dont need sudo to delete fakeroot, `chmod -R +w fakeroot ; rm -rf fakeroot`
<elvishjerricco> clever: --substituters daemon was not something I knew you could do :P
<clever> rm -rf is too dumb to +w things itself
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44762 → jimtcl: 0.77 -> 0.78 → https://git.io/fN9Od
<clever> elvishjerricco: with nix 2, you can use URI's for both --store and substituters
<clever> daemon, local, s3, ssh, ssh-ng, and a few other protocols are supported
<elvishjerricco> tobiasBora: I believe chroot stores work via libseccomp, which I believe does not need any special privileges
<tobiasBora> clever: interesting… So I don't even need user namespace enabled?
<tobiasBora> amazing
<clever> tobiasBora: it will need the kernel to allow you to make namespaces dynamically
<clever> debian doesnt allow that by default
<elvishjerricco> oh, my bad :P
<clever> either enable it with sysctl, or just sudo the nix-build
<tobiasBora> oh yes, too bad. But it's very interesting, because most of the time I've root access. And when namespace are not enabled, do I have any solution? (just curious)
<clever> not sure what will happen then
<elvishjerricco> tobiasBora: You can make sure /nix exists on a different disk
<elvishjerricco> No idea how to do that in a way that nix likes
<tobiasBora> and also, the daemon works even if it's debian and not nix-os? (I didn't know that a daemon was run for a simple nix install)
<elvishjerricco> but it would work around your disk space issue
<clever> tobiasBora: it may need local instead of daemon then
<tobiasBora> clever: ok I'll give it a try as soon as I'm back on my linux !
<elvishjerricco> tobiasBora: You can install nix with the daemon on any systemd based linux by passing `--daemon` to the installer. If you didn't do this, you'll need local. But auto selects between the two automatically, doesn't it clever?
<clever> elvishjerricco: oh yeah, i forget about auto
<nek0> hi folks, I'm trying to use arduino ide on nixos, but it fails every time at compiling, because it can't find libstdc++. Is there some magic nix-shell invocation I forgot?
<tobiasBora> you're amazing, thanks a lot?
<tobiasBora> !*
<clever> neonfuz: nix-shell should have libstdc++ in its search path by default
<clever> nek0: ^^
<tobiasBora> elvishjerricco: and if on a usb stick (say) I've a /nix, I can still do something without root access ???
<clever> tobiasBora: you would need somebody to mount the usb to /nix for you
<nek0> clever: well, if it hshould have, why doesn't mine?
<clever> nek0: how are you trying to compile it?
<nek0> I have installed it through nix-env. When I try to cimpile a project with it, it can't compile.
<clever> nek0: ahh, then it wants the avr libstdc++, not the x86 one
<clever> nix-shell only provides the x86 one
<clever> it sounds like the arduino package is broken
<tobiasBora> clever: ok, so same problem. And if I don't mind to recompile, the new deps, can I do something?
<{^_^}> [nixpkgs] @xeji merged pull request #44744 → scallion: use mono4 → https://git.io/fN9fh
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « scallion: use mono4 (#44744) »: https://git.io/fN93d
smolboye has quit [Quit: WeeChat 2.2]
<nek0> clever: can I do something to fix it?
<clever> tobiasBora: if user namespaces are disabled, you dont really have very many options, your only real choice is to change the /nix path, and that involves rebuilding EVERYTHING
<clever> nek0: you would need to find the right libstdc++, and then override the nix expression to fix things
smolboye has joined #nixos
Ariakenom has quit [Quit: Leaving]
<elvishjerricco> tobiasBora: How did you get the same problem? It should have done the build wherever you needed, i.e. on a drive with more space
<elvishjerricco> Or do you mean you couldn't get the namespace thing working?
<{^_^}> [nixpkgs] @leenaars opened pull request #44763 → wireguard-tools: 0.0.20180708 -> 0.0.20180802 → https://git.io/fN9sU
worldofpeace_ has joined #nixos
<{^_^}> [nixpkgs] @danbst opened pull request #44764 → teamviewer service: fix PID file warning → https://git.io/fN9sc
<tobiasBora> elvishjerricco: I mean, if I need root to mount the usb on /nix, I could also run directly sudo nix-build ...
<tobiasBora> clever: ok too bad. Thank you ;)
<{^_^}> [nixpkgs] @xeji merged pull request #44731 → openfst: 1.6.8 -> 1.6.9 → https://git.io/fNSyh
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « openfst: 1.6.8 -> 1.6.9 (#44731) »: https://git.io/fN9sK
MP2E has joined #nixos
<clever> tobiasBora: dont you have another machine you could run this on, one you have root on?
<elvishjerricco> tobiasBora: I'm confused... Did nix refuse to use your `--store` argument, or did you just not have the privileges for namespaces?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44765 → knot-dns: 2.6.8 -> 2.7.0 → https://git.io/fN9Ge
<{^_^}> [nixpkgs] @xeji merged pull request #44704 → qjackctl: 0.5.2 -> 0.5.3 → https://git.io/fNSeQ
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « qjackctl: 0.5.2 -> 0.5.3 (#44704) »: https://git.io/fN9Gq
johanot has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44766 → kotlin: 1.2.51 -> 1.2.60 → https://git.io/fN9G9
<{^_^}> [nixpkgs] @xeji merged pull request #44733 → oprofile: 1.2.0 -> 1.3.0 → https://git.io/fNS9t
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « oprofile: 1.2.0 -> 1.3.0 (#44733) »: https://git.io/fN9GF
CrystalGamma[m] has left #nixos ["User left"]
<{^_^}> [nixpkgs] @xeji merged pull request #44730 → pacman: 5.1.0 -> 5.1.1 → https://git.io/fNSyJ
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pacman: 5.1.0 -> 5.1.1 (#44730) »: https://git.io/fN9Zv
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pkcs11helper: 1.24 -> 1.25 (#44727) »: https://git.io/fN9Zt
<{^_^}> [nixpkgs] @xeji merged pull request #44727 → pkcs11helper: 1.24 -> 1.25 → https://git.io/fNSMJ
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #44767 → *-wrapper, ghc, libgcc: Define wrapper env vars as full paths → https://git.io/fN9ZY
<{^_^}> [nixpkgs] @xeji merged pull request #44682 → ttfautohint: 1.8.1 -> 1.8.2 → https://git.io/fNyQm
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « ttfautohint: 1.8.1 -> 1.8.2 (#44682) »: https://git.io/fN9ZC
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44768 → insomnia: 5.16.6 -> 6.0.2 → https://git.io/fN9Zr
Mateon3 has joined #nixos
<{^_^}> [nixpkgs] @bobvanderlinden opened pull request #44769 → zopfli: 1.0.1 -> 1.0.2 → https://git.io/fN9Z1
sviteri_ has joined #nixos
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon3 is now known as Mateon1
<sviteri_> Hello
<sviteri_> How should I diagnose when a successfully run *.nix file does not add the imports that I am expecting it to
<sviteri_> My nix file:
<{^_^}> [nixpkgs] @xeji merged pull request #44670 → usbredir: 0.7.1 -> 0.8.0 → https://git.io/fNyXF
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « usbredir: 0.7.1 -> 0.8.0 (#44670) »: https://git.io/fN9Zj
<sviteri_> I took the following steps:
<sviteri_> <sviteri> Created this nix file --
<sviteri_> <sviteri> with import <nixpkgs> {};
<sviteri_> <sviteri> stdenv.mkDerivation {
<sviteri_> <sviteri> name = "env";
<sviteri_> <sviteri> buildInputs = ([
<sviteri_> <sviteri> ghc
<sviteri_> <sviteri> ] ++ (with haskellPackages;
sviteri_ has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<{^_^}> [nixpkgs] @xeji merged pull request #44732 → opendht: 1.7.2 -> 1.7.4 → https://git.io/fNSSh
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « opendht: 1.7.2 -> 1.7.4 (#44732) »: https://git.io/fN9nU
<gchristensen> ^ down side to having Sigyn here
<clever> gchristensen: i did notice it had warned me at 17:43, but i didnt notice the warning until 20mins later
<gchristensen> (I've removed their k-line)
Fare has joined #nixos
<clever> the warning also mentioned how long i had been in the channel
simukis has quit [Quit: simukis]
dbmikus has quit [Ping timeout: 256 seconds]
<gchristensen> finally I have ofborg updates to post... first time in months
<mikky> hi, does nixos somehow embeds any configuration to grubx64.efi in any way or is it (supposed to be) just a static, stateless file? because for two different builds I get two different files which is something I didn't expect
<Dezgeg> probably nixos does nothing special, it's all grub-install's responsibility
<mikky> the builds are on the same machine with shared EFI partition but everything else is isolated, including dedicated /boot
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mpc-qt: 18.03 -> 18.08 (#44746) »: https://git.io/fN9n9
<{^_^}> [nixpkgs] @xeji merged pull request #44746 → mpc-qt: 18.03 -> 18.08 → https://git.io/fN9UB
<mikky> Dezgeg: that's what I think but where comes the difference from then? the binary should always be the same
<clever> i suspect grub-install will bake in the partition uuid of where to find the config, and maybe the fs drivers for that partition
<clever> if it differs from the efi system partition
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ad664942690 (from 24 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<clever> mikky: can you run `hexdump -C` over both, then diff the 2 hexdumps?
<clever> and pastebin that resul
<clever> t
<Dezgeg> yup, grub-install does it's own magic when generating the binary
<{^_^}> [nixpkgs] @xeji merged pull request #44728 → powerstat: 0.02.17 -> 0.02.18 → https://git.io/fNSM0
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « powerstat: 0.02.17 -> 0.02.18 (#44728) »: https://git.io/fN9nb
<mikky> so much for autodetection then, no dualboot :/ it makes sense though, guess I was just too spoiled by refind
vidbina has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #44766 → kotlin: 1.2.51 -> 1.2.60 → https://git.io/fN9G9
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from R. RyanTM to master « kotlin: 1.2.51 -> 1.2.60 »: https://git.io/fN9cI
SunWuKung has quit [Quit: Sleeping in 武當山]
<mikky> this is one of the reasons I dislike grub
<{^_^}> [nixpkgs] @bobvanderlinden opened pull request #44770 → lsyncd: 2.2.2 -> 2.2.3 → https://git.io/fN9cl
<mikky> or better, grub2
ryanartecona has quit [Quit: ryanartecona]
<{^_^}> [nixpkgs] @xeji merged pull request #44769 → zopfli: 1.0.1 -> 1.0.2 → https://git.io/fN9Z1
<{^_^}> [nixpkgs] @xeji pushed commit from @bobvanderlinden to master « zopfli: 1.0.1 -> 1.0.2 (#44769) »: https://git.io/fN9c2
Mr_Keyser_Soze has joined #nixos
alexteves has quit [Remote host closed the connection]
Lisanna has quit [Ping timeout: 244 seconds]
<jabranham> I'm trying to declare what packages I want in ~/.config/nixpkgs/config.nix like it suggests here https://nixos.org/nixpkgs/manual/#sec-declarative-package-management, but when I run nix-env -iA nixpkgs.myPackages I get the error "attribute 'nixpkgs' in selection path 'nixpkgs.myPackages' not found". Do I need to tell nix to consult that file somehow?
<LnL> are you using nixos?
<jabranham> yes
<jabranham> in a VM, if that matters
<clever> jabranham: then you want `nix-env -iA nixos.myPackages`
<jabranham> well now I feel silly for struggling with this for the past half hour
<jabranham> thanks :-)
<clever> the name there comes from `nix-channel --list`
Dedalo has joined #nixos
Drakonis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44771 → ibus-engines.hangul: 1.5.0 -> 1.5.1 → https://git.io/fN9Cs
dbmikus has joined #nixos
halfbit has joined #nixos
<mikky> speaking of declarative package management, I'm using something similar on system level but I was wondering if it would be possible to just include the package list from a file so that the packages could be declared just by, say, "echo pkg >> /etc/../packages"
dbmikus has quit [Ping timeout: 256 seconds]
<symphorien> <mikky> so much for autodetection then, no dualboot :/ it makes sense though, guess I was just too spoiled by refind << use os-prober ?
<{^_^}> [nixpkgs] @xeji merged pull request #44722 → processing: 3.3.7 -> 3.4 → https://git.io/fNSzm
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « processing: 3.3.7 -> 3.4 (#44722) »: https://git.io/fN9WU
DigitalKiwi has quit [Quit: DigitalKiwi]
<mikky> symphorien: this is what a bootloader should be able to handle, os-prober is just ubuntu's workaround of grub2's tragic implementation. And it wouldn't well with multiple /boot's
<mikky> s/wouldn't/doesn't work/ ^
<clever> mikky: when using efi, each OS should add its own entry to the efi vars
<clever> mikky: then you just pick one from the firmware
<mikky> clever: except multiple nixoses - they keep overwriting the same efi binary
<clever> mikky: one min
<Dezgeg> they can all have their own efi partitions, no?
<{^_^}> [nixpkgs] @xeji merged pull request #44702 → qtile: 0.11.1 -> 0.12.0 → https://git.io/fNyjn
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « qtile: 0.11.1 -> 0.12.0 (#44702) »: https://git.io/fN9WX
<clever> mikky: grub or systemd-boot?
<mikky> clever: grub, but don't waste your time, this was a one-off problem :)
<mikky> Dezgeg: multiple efi partitions? Not sure how UEFI would handle it...
<clever> mikky: the uuid of the efi partition is in the efi vars
<clever> mikky: each os will put the set of efi partition uuid, and path to .efi, into the efi vars
<{^_^}> [nixpkgs] @xeji closed pull request #44763 → wireguard-tools: 0.0.20180708 -> 0.0.20180802 → https://git.io/fN9sU
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44772 → hwdata: 0.313 -> 0.314 → https://git.io/fN9le
<Dezgeg> I guess passing different --bootloader-id would also work
<mikky> just to avoid confusion: by "EFI" I mean "ESP" partition, i.e. the FAT32-formatted partition that firmware scans for efi binaries
<mikky> not the "/boot" partition where kernel and initrd resides
<clever> mikky: line 4 says my current os is config #3 from the efi vars, line 10 shows config #3, which has a uuid and a path, and line 14 shows the uuid of partition #1
<clever> -rwxr-xr-x 1 root root 119K Oct 29 2017 /boot/EFI/BOOT/BOOTX64.EFI
<clever> and at that path within the partition, is the file it named
<Dezgeg> but I haven't actually tried though (and I just personally avoid EFI anyway given it's overcomplicated crap)
<clever> Dezgeg: nvme wont boot with legacy at all
<{^_^}> [nixpkgs] @xeji merged pull request #44770 → lsyncd: 2.2.2 -> 2.2.3 → https://git.io/fN9cl
<{^_^}> [nixpkgs] @xeji pushed commit from @bobvanderlinden to master « lsyncd: 2.2.2 -> 2.2.3 (#44770) »: https://git.io/fN9lt
<Dezgeg> doesn't that depend on your bios?
<clever> i dont think any bios provides legacy wrappers for nvme
<clever> grub techncially also doesnt support nvme, it relies on the bios to provide the drivers
worldofpeace_ has quit [Ping timeout: 256 seconds]
<Dezgeg> well, that sucks if they don't, given they already have all the code to do it anyway...
<clever> i have seen some systems that lack nvme drivers in the firmware, so you just cant boot from nvme, end of story
<clever> windows somehow detects that, and refuses to even install
<Dezgeg> good old PCI option roms with bios would have had no problem with that!
<mikky> Dezgeg: UEFI (not EFI ;) ) is actually very simple. Until you start considering secure boot that is.
<clever> Dezgeg: an option rom can probably still extend uefi the same way
johnw has joined #nixos
<clever> mikky: it sounds like all modern macs now have secure boot enabled, and you must register the 1st user before you even have the choice to turn it off
<mikky> clever: still, overcomplicated and not very transparent. This just would not happen with refind or probably not even with systemd-boot
<clever> so if you have a setup that requires imaging all new macs, you have to partially configure the mac, turn off secure boot, re-image it, then configure it all over!
<mikky> clever: ^ about efibootmgr, etc, not the secureboot
<clever> mikky: systemd-boot still adds itself to the efi vars listed by efibootmgr
<clever> mikky: try listing it on your machine if your on systemd-boot
<Dezgeg> the uefi spec is like 2500 pages, that's quite far from my definition of "simple"
worldofpeace_ has joined #nixos
<mikky> clever: every bootloader does, that's not the issue here. The idea was not to duplicate functionality and make things simple. Like "have one efi and one grub, boot multiple linuxes hassle-free" - which nearly impossible to achieve...with grub
carlosdagos has joined #nixos
<clever> mikky: i have something like a ~5 line entry in configuration.nix to boot windows via grub
<mikky> Dezgeg: most of it is not relevant if you're just interested in booting your favorite OS (without secure boot)
goodwill has quit [Read error: Connection reset by peer]
<mikky> clever: I take it it's just a chainload of widnows's own efi loader. Or do you actually *boot* windows from grub?
goodwill_ has joined #nixos
goodwill_ is now known as goodwill
<clever> mikky: currently, it chainloads the legacy MBR for windows, but grub also supports ntldr
<clever> mikky: https://wiki.gentoo.org/wiki/GRUB2/Chainloading#Windows_.28MSDOS_based_boot_loaders.29
<clever> add the block they show to boot.loader.grub.extraEntries = '' ... '';
<clever> mikky: the very end also shows an efi chainload method
<mikky> clever: the problem with grub2 is that it doesn't support "multitennancy", so to speak. You always must configure the entire grub's universe from already running linux and that runnig linux must have access to other OS's to some extent just for the grub (or os-prober, or whatever) to be able to pick them up
<clever> yeah
<mikky> I consider this approach utterly wrong.
erasmas has quit [Quit: leaving]
<Dezgeg> well, they had that approach implemented before the entire EFI spec even existed
<{^_^}> [nixpkgs] @xeji merged pull request #44757 → libx86emu: 1.14 -> 2.0 → https://git.io/fN9Y8
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libx86emu: 1.14 -> 2.0 (#44757) »: https://git.io/fN98G
<clever> mikky: you are free to create a custom grub module that can probe things at boot-time and mutate the menu: https://wiki.osdev.org/Writing_GRUB_Modules
<clever> then you just need to do boot.loader.grub.extraEntries = "insmod os-prober";
<clever> nothing stops grub from gaining those features
<mikky> clever: and nothing stops me from using different approach where all this is non-issue. Enter refind.
<mikky> I'd much rather implement support for refind to nixos then implementing anything for grub2 ;)
<clever> mikky: to start with, create an refind.nix in a similar path, based on https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/loader/grub/grub.nix
<Dezgeg> I think systemd-boot can already do that
<clever> mikky: it would define the options under options.boot.loader.refind = { ...
<mikky> Dezgeg: systemd-boot is fine as long as you don't have dedicated /boot
<Dezgeg> or at least I hear it is capable of autodetecting windows, so I presume it can detect efi bootloaders of other linuxen
<clever> mikky: make note of line 563-565
<mikky> Dezgeg: systemd-boot is basically just a chainloader for other efi bineries, windows bootloader is one such binary
<clever> mikky: and line 545 must point to an executable that will scan /nix/var/nix/profiles/system*, generate the rollback options for nixos, and install the bootloader
<Dezgeg> so why isn't that enough?
oida has quit [Ping timeout: 250 seconds]
oida has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44706 → kakoune: 2018-05-21 -> 2018-08-05 → https://git.io/fNSvM
<{^_^}> [nixpkgs] @xeji pushed commit from @utdemir to master « kakoune: 2018-05-21 -> 2018-08-05 (#44706) »: https://git.io/fN94f
<mikky> Dezgeg: again, systemd-boot can only boot what it finds in ESP, it doesn't understand other filesystems and/or partitions. I prefer not to keep my kernel and ramdisk on error-prone FAT
<jtojnar> trying to fix mysql-workbench and got stuck on https://paste.gnome.org/pnzqiue2t
<jtojnar> any idea how to fix that?
<clever> mikky: nixos allows the kernels and grub.efi to be on seperate partitions
<Dezgeg> if you just used bios boot you wouldn't have to use a fat partition at all x)
<mikky> clever:I know, this is just for Dezgeg ;)
<mikky> Dezgeg: for once I actually want to go with secure boot one day :)
<mikky> Dezgeg: and bios boot really doesn't work well with >2TB drives
<{^_^}> [nixpkgs] @dotlambda merged pull request #44756 → pythonPackages.pysrim: init at 0.5.8 → https://git.io/fN9ma
<{^_^}> [nixpkgs] @dotlambda pushed commit from @costrouc to master « pythonPackages.pysrim: init at 0.5.8 (#44756) »: https://git.io/fN94c
<clever> mikky: i think bios-boot can work if the /boot is before that 2tb point
<pikajude> cabal2nix doesn't build on master, oh noey
<Dezgeg> I don't see why not if the biosen just knows about gpt partitioning
Fare has quit [Ping timeout: 256 seconds]
Fare has joined #nixos
Smithx10_ is now known as smithx10
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libsForQt5.qtkeychain: 0.8.0 -> 0.9.0 (#44703) »: https://git.io/fN94E
<{^_^}> [nixpkgs] @xeji merged pull request #44703 → libsForQt5.qtkeychain: 0.8.0 -> 0.9.0 → https://git.io/fNSeB
<clever> mikky: secure-boot is bsically imposible with nixos, due to needing to re-sign the kernel and initrd constantly at every rebuild
<clever> mikky: the keys must exist on the hdd, and then an attacker could just steal them and sign his own kernels
<mikky> clever: perhaps, I had this problem many years ago when it just emerged. There were problems, UEFI solved them rather simply so I never went back :)
<{^_^}> [nixpkgs] @bjornfor pushed commit from R. RyanTM to master « lftp: 4.8.3 -> 4.8.4 »: https://git.io/fN94i
<mikky> clever: resigning isn't an issue, it can be achieved in may ways and storing keys on HDD isn't a problem either as long as you have your disks encrypted. Which you have, because it wouldn't make much sense to go for secure boot if you hadn't in the first place ;)
<{^_^}> [nixpkgs] @bjornfor closed pull request #44754 → lftp: 4.8.3 -> 4.8.4 → https://git.io/fN9tK
<clever> mikky: but nothing stops me from just replacing the motherboard with another one that has secureboot disabled, then putting some malware into your /boot partition to save the luks password
<clever> mikky: it is trivial to lie to the OS and claim secureboot is still on, once you are running your own code in ring0
<Dezgeg> I think in secure boot you have the EFI/bios/motherboard/TPM calculate the encryption key for /boot itself
<mikky> clever: enter TPM, LUKS passphrase can be stored in a TPM.
<clever> mikky: measured boot will break every time you nixos-rebuild
<mikky> clever: and if your adversary is really this good, you have a whole lot of a different problem :)
<mikky> clever: measured boot?
<clever> mikky: thats when the TPM records the hashes of every blob (bootloader, kernel, initrd, kernel params)
oida has quit [Remote host closed the connection]
<clever> mikky: and only if the same series of recordings are fed to it, will the TPM unlock and allow decrypting the hdd
<clever> mikky: it prevents an attacker from just booting his own os, if he somehow bypassed secure-boot
oida has joined #nixos
<clever> it also relies on each executable stage (firmware, bootloader, kernel) reporting the hash of the next, before it hands over control
jabranham has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @bjornfor pushed commit from R. RyanTM to release-18.03 « lftp: 4.8.3 -> 4.8.4 »: https://git.io/fN9Bv
<Dezgeg> why would it break nixos-rebuild? certainly it's the same case as updating the kernel+initrd on other distros as well?
<clever> Dezgeg: most distros have a static kernel cmdline, and they dont change the init= at every single boot
<clever> Dezgeg: but all it takes is rdinit=/bin/sh and i now have a shell inside your signed initrd, which would have had permission to decrypt the hdd via TPM
<clever> so the kernel cmdline must be part of the TPM measurements
Ridout has joined #nixos
<Dezgeg> you can have a grub and/or bios password
<clever> you would have to also tell grub to not report the kernel cmdline to the TPM, and trust that the grub pw lock is secure
<clever> Dezgeg: oh yeah, and is /boot encrypted??, i can just edit the grub cfg
<clever> and give up on having the TPM hash that, nixos-rebuild
mayhewluke has quit [Ping timeout: 248 seconds]
<mikky> you got me there
<Dezgeg> yes, it would have to be crypted
<clever> you would need to encrypt /boot with its own TPM entries, based on the measurements of the firmware+grub.efi, and then have a seperate /boot/EFI partition that secureboot monitors
<clever> and then have 2 TPM entires for encrypted hdds
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @bjornfor pushed commit from R. RyanTM to master « plantuml: 1.2018.8 -> 1.2018.9 »: https://git.io/fN9BK
<{^_^}> [nixpkgs] @bjornfor closed pull request #44714 → plantuml: 1.2018.8 -> 1.2018.9 → https://git.io/fNSLs
ryanartecona has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44735 → ocamlPackages.csv: 2.0 -> 2.1 → https://git.io/fNS7W
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « ocamlPackages.csv: 2.0 -> 2.1 (#44735) »: https://git.io/fN9Bb
<{^_^}> [nixpkgs] @xeji merged pull request #44490 → wireguard: 0.0.20180708 -> 0.0.20180802 → https://git.io/fNXCn
<{^_^}> [nixpkgs] @xeji pushed commit from @dywedir to master « wireguard: 0.0.20180708 -> 0.0.20180802 (#44490) »: https://git.io/fN9Rq
bmpvieira_ has joined #nixos
amosbird_ has joined #nixos
ZeDestructor_ has joined #nixos
tylerjl has joined #nixos
Piece_Maker has joined #nixos
slyfox_ has joined #nixos
ashkitte1 has joined #nixos
deni- has joined #nixos
nocoolna- has joined #nixos
Effilry has joined #nixos
Xal_ has joined #nixos
blahdodo_ has joined #nixos
Sigma[Mtp] has joined #nixos
alfiepates has joined #nixos
ldleworker has joined #nixos
ashkitten has quit [*.net *.split]
sigmundv has quit [*.net *.split]
Xal has quit [*.net *.split]
nocoolnametom_ has quit [*.net *.split]
greymalkin has quit [*.net *.split]
hiroshi has quit [*.net *.split]
ArahaelPi has quit [*.net *.split]
blahdodo has quit [*.net *.split]
slyfox has quit [*.net *.split]
alfie has quit [*.net *.split]
ZeDestructor has quit [*.net *.split]
Acou_Bass has quit [*.net *.split]
leothrix has quit [*.net *.split]
deni_ has quit [*.net *.split]
ben has quit [*.net *.split]
amosbird has quit [*.net *.split]
chrrles has quit [*.net *.split]
mk-fg has quit [*.net *.split]
Sufixx has quit [*.net *.split]
seanparsons has quit [*.net *.split]
ggVGc has quit [*.net *.split]
mtjmullen has quit [*.net *.split]
coconnor has quit [*.net *.split]
nikivi has quit [*.net *.split]
alpha_sh has quit [*.net *.split]
jonasem_ has quit [*.net *.split]
andrewrk has quit [*.net *.split]
orbekk has quit [*.net *.split]
Yaniel has quit [*.net *.split]
cransom has quit [*.net *.split]
tnks has quit [*.net *.split]
electrocat has quit [*.net *.split]
waynr has quit [*.net *.split]
WizBright has quit [*.net *.split]
ToxicFrog has quit [*.net *.split]
fgaz has quit [*.net *.split]
ldlework has quit [*.net *.split]
bmpvieira has quit [*.net *.split]
FireFly has quit [*.net *.split]
Sigma has quit [*.net *.split]
Piece_Maker is now known as Acou_Bass
ZeDestructor_ is now known as ZeDestructor
bmpvieira_ is now known as bmpvieira
alfiepates is now known as alfie
blahdodo_ is now known as blahdodo
Sigma[Mtp] is now known as Sigma
hiroshi has joined #nixos
<{^_^}> [nixpkgs] @bjornfor pushed to master « cgit: 1.1 -> 1.2.1 »: https://git.io/fN9RH
deni- has quit [Ping timeout: 240 seconds]
Ericson2314 has quit [Ping timeout: 268 seconds]
greymalkin has joined #nixos
deni_ has joined #nixos
Denommus has quit [Remote host closed the connection]
Yaniel has joined #nixos
justanotherus3r has joined #nixos
ToxicFrog has joined #nixos
<{^_^}> [nixpkgs] @orivej opened pull request #44773 → qhull: 2012.1 -> 2016.1 → https://git.io/fN903
waynr has joined #nixos
sigmundv has joined #nixos
cransom has joined #nixos
johnw has quit [Ping timeout: 256 seconds]
ArahaelPi has joined #nixos
justan0theruser has quit [Ping timeout: 240 seconds]
ldleworker is now known as ldlework
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44775 → hashcat: 4.1.0 -> 4.2.1 → https://git.io/fN909
mahalel_ has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @andrestylianos opened pull request #44776 → joker: 0.9.4 -> 0.9.5 → https://git.io/fN9EB
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « gdal_1_11: 1.11.3 -> 1.11.5 »: https://git.io/fN9Eu
Fare has quit [Ping timeout: 256 seconds]
rouma has joined #nixos
worldofpeace_ has quit [Ping timeout: 256 seconds]
rprije has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44726 → cquery: 2018-05-01 -> 2018-08-08 → https://git.io/fNS1k
<{^_^}> [nixpkgs] @xeji pushed commit from @tobim to master « cquery: 2018-05-01 -> 2018-08-08 (#44726) »: https://git.io/fN9EQ
roblabla has quit [Remote host closed the connection]
leotaku has joined #nixos
roblabla has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44777 → fwts: 18.06.02 -> 18.07.00 → https://git.io/fN9uU
nuncanada has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #44723 → graalvm: fix dead url → https://git.io/fNS29
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « graalvm: fix dead url (#44723) »: https://git.io/fN9uY
<{^_^}> [nixpkgs] @jmettes opened pull request #44778 → ncview: init at 2.1.8 → https://git.io/fN9u3
jperras has joined #nixos
worldofpeace_ has joined #nixos
<colemickens> Hm, after the conversation last night, it really does seem like it ought to be easier to build a system configuration and push it remotely. Something like nix-deploy or nix-employ? I guess they're already out there, but something officially sanctioned would be nice too.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #44779 → freeciv: 2.5.11 -> 2.6.0 → https://git.io/fN9uK
<gchristensen> `nix copy`?
jperras has quit [Ping timeout: 256 seconds]
<colemickens> it's so hard to keep track of "nix <command>" and "nix-commands". I don't think I stumbled across any discussions of using it last night. Maybe that will help.
<gchristensen> I agree
<gchristensen> nix copy is the new version of nix-copy-closure
<colemickens> is it also unstable like nix build? (not that I care, I guess :) )
<wak-work[m]> It’s a little annoying that the new nix build dry run won’t write drvs to be store
hakujin has quit [Ping timeout: 256 seconds]
<wak-work[m]> So you have to instantiate them before doing a dry run
<wak-work[m]> Unless I’m missing something
<gchristensen> colemickens: it is
<{^_^}> [nixpkgs] @bjornfor pushed to release-18.03 « cgit: 1.1 -> 1.2.1 »: https://git.io/fN9zT
__monty__ has quit [Quit: leaving]
jperras has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
sigmundv has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/fN9zl