worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<{^_^}> [nixpkgs] @ryantm merged pull request #72814 → tmuxPlugins.tmux-plumb: init at 0.1.1 → https://git.io/Je2DD
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeKJv
CMCDragonkai has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<lovesegfault> Does this look right?
<clever> lovesegfault: also of note, you can run the 32bit version on a 64bit os without trouble, 99% of the time
<clever> lovesegfault: so you could just ignore the 64bit version
<lovesegfault> clever: Yes, but that's nasty :P
erictapen has quit [Ping timeout: 240 seconds]
<CMCDragonkai> What could be the reason that on boot, TTY1 is blank and unresponsive, but TTY2/3...etc all work and I'm able to login to single-user mode?
<lovesegfault> clever: error: undefined variable 'arch_table' at /home/bemeurer/src/nixpkgs/pkgs/tools/audio/essentia-extractor/default.nix:16:10
<lovesegfault> huh
<lovesegfault> it's defined right there
<clever> lovesegfault: it must be in a let block, above stdenv.mkDerivation
<lovesegfault> Ah, makes sense
erictapen has joined #nixos
Rusty1 has quit [Remote host closed the connection]
<lovesegfault> clever: error: undefined variable 'version' at /home/bemeurer/src/nixpkgs/pkgs/tools/audio/essentia-extractor/default.nix:23:78
<lovesegfault> Huh
<lovesegfault> That one is right there too
<clever> lovesegfault: rec {
<lovesegfault> Ooooh
<lovesegfault> I need to specify when it's recursive
ddellacosta has joined #nixos
<lovesegfault> How can I tell nix-build to build for i686
<clever> lovesegfault: --argstr system i686-linux
<lovesegfault> :D
<lovesegfault> IT WORK
drewr has quit [Ping timeout: 252 seconds]
<CMCDragonkai> Could it be that I've only set the videoDrivers to `nvidia` but I'm actually displaying through VGA and thus onboard intel graphics, but why would TTY2..TTY6 would work?
kleisli has joined #nixos
travelion7 has quit [Remote host closed the connection]
irl25519 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @lovesegfault opened pull request #73589 → essentia-extractor: init at 2.1_beta2 → https://git.io/JeKJm
irl25519 has joined #nixos
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
bvdw has quit [Quit: bvdw]
<{^_^}> [nixpkgs] @risicle opened pull request #73590 → [r19.09] ghostscript: add patches for CVE-2019-3835, CVE-2019-3838, CVE-2019-14869 → https://git.io/JeKJG
bvdw has joined #nixos
gyroninja has quit [Ping timeout: 276 seconds]
lovesegfault has quit [Ping timeout: 240 seconds]
noudle has quit []
irl25519 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
irl25519 has joined #nixos
gyroninja has joined #nixos
sheenobu has joined #nixos
<{^_^}> [nixpkgs] @MilesBreslin opened pull request #73591 → nixos/pam: Add option to set pam-u2f appid → https://git.io/JeKJC
<sheenobu> hoping to start bootstraping back onto nixos. hydra search isn't working but hey i was able to guesswork my way to the url for nixos:release-19.09:nixos.containerTarball.x86_64-linux
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm has joined #nixos
irl25519 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @lilyball opened pull request #73592 → macvim: Add -headerpad_max_install_names → https://git.io/JeKJu
<bdju> neither gdm nor sddm display sway in the session list or are able to start it. also I've tried to disable gdm but it keeps starting anyway
<bdju> services.xserver.displayManager.gdm.enable = false;
<bdju> is this not enough?
lassulus has quit [Ping timeout: 250 seconds]
Rusty1 has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
erictapen has quit [Ping timeout: 276 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
fendor__ has joined #nixos
<lordcirth__> Could someone point out why this fails? https://gist.github.com/lordcirth/e655d791ab6b0209f25a6d222f007e09 Thanks!
justanotheruser has joined #nixos
fendor_ has quit [Ping timeout: 265 seconds]
<clever> lordcirth__: rather then importing top-level, you want to import the default.nix in the root dir
<clever> just import ./nixpkgs {]
<clever> {}
<{^_^}> [nixpkgs] @jonringer merged pull request #73576 → cargo-fuzz: 0.5.3 -> 0.5.4 → https://git.io/JeoAu
<{^_^}> [nixpkgs] @jonringer pushed commit from @killercup to master « cargo-fuzz: 0.5.3 -> 0.5.4 »: https://git.io/JeKJK
<clever> lordcirth__: there is also nothing special to the name config.system.build.laptop, you can just shorten that out
<clever> you probably want to load nixpkgs/nixos instead, and pass this in as a config file
<lordcirth__> clever, thanks! Not sure what you mean by that
<lordcirth__> As a nix-build arg?
<clever> lordcirth__: and then nix-build '<nixpkgs/nixos>' --arg configuration ./example.nix
<lordcirth__> ahah, I will try this
<clever> dont remember the exact difference between disk-image-tests and example
genesis has quit [Ping timeout: 252 seconds]
<sheenobu> weird. i keep getting sigpipe importing nixos-system via "/usr/lib/systemd/systemd-import tar ./nixos-system-x86_64-linux.tar talos"
<{^_^}> [nixpkgs] @veprbl merged pull request #73592 → macvim: Add -headerpad_max_install_names → https://git.io/JeKJu
<{^_^}> [nixpkgs] @veprbl pushed commit from @lilyball to master « macvim: Add -headerpad_max_install_names (#73592) »: https://git.io/JeKJD
<{^_^}> [nixpkgs] @veprbl pushed commit from @lilyball to release-19.09 « macvim: Add -headerpad_max_install_names (#73592) »: https://git.io/JeKJQ
lassulus has joined #nixos
<sheenobu> ah selinux nonsense
<lordcirth__> clever, thanks!! I copied your example.nix exactly and it's building. Once it's done I'll start hacking on it
domogled has quit [Quit: domogled]
<pie__> hey sheenobu havent seen you in a while :3
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/JeKJb
<pie__> sheenobu: dunno if you remember me struggling with packaging minizinc, now im fighting with stuff like https://github.com/deliciouslytyped/nix-rer https://github.com/deliciouslytyped/nix-metasearx-prototype https://github.com/deliciouslytyped/nix-rootedoverlay :D
<drakonis> got so many goods.
<{^_^}> [nixpkgs] @ahiaao opened pull request #73593 → Fix MySQL Include Path → https://git.io/JeKJA
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeKJh
<{^_^}> [nixpkgs] @redvers opened pull request #73594 → ponyc: 0.32.0 -> 0.33.0 → https://git.io/JeKUv
thc202 has quit [Ping timeout: 250 seconds]
red[evilred] has joined #nixos
<red[evilred]> Thanks fpletz (IRC) / fpletz[m] (IRC) (for the nixos-manual fix)
<sheenobu> pie__: i do rememember minizinc.
<sheenobu> i haven't been on a nixos system in like 2 years so i'm not sure i can help with those
<sheenobu> how are you doing pie__ ?
<red[evilred]> Okay - so I apparently broke a whole bunch of things on my PR
<red[evilred]> oh wait, -dev
lopsided98_ is now known as lopsided98
reallymemorable has quit [Quit: reallymemorable]
veleiro` has joined #nixos
<veleiro`> hello, anyone having problems with the lastest steam update? seems it says i'm missing 32 bit libraries of libva and libva-x11
<clever> 2019-11-15 22:11:51-{^_^}:#nixos- [nixpkgs] @jonringer opened pull request #73481 → steam: use 32bit version of libva → https://git.io/JeoZN
<{^_^}> https://github.com/NixOS/nixpkgs/pull/73481 (by jonringer, 1 day ago, merged): steam: use 32bit version of libva
<veleiro`> ohhh thanks!
<pie__> sheenobu: oh man has it been two years ;_; anyway that was just to show that i made some progress :p
<pie__> (I wrote/am writing those)
<red[evilred]> (I just told my story of git-woe on #nixos-dev - any git geniuses able to give me advice would be welcomed)
<red[evilred]> even if that advice is "burn it to the ground and start again)
<red[evilred]> * even if that advice is "burn it to the ground and start again"
<sheenobu> nice!
<{^_^}> [nixpkgs] @ryantm merged pull request #73094 → zulip: init at 4.0.0 → https://git.io/JeVz3
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeKU0
<sheenobu> alright i've got nixos in an nspawn container. now to rebuild up my config and then see if i can 'swap' it as my main system
wolfshappen has quit [Quit: bye]
kleisli has quit [Ping timeout: 265 seconds]
h0m1 has quit [Ping timeout: 246 seconds]
h0m1 has joined #nixos
selfsymmetric-mu has joined #nixos
slack1256 has joined #nixos
<pie__> sheenobu: nixos-assimilate or what was it?
<pie__> unless i misunderstood what youre trying to do
rople has joined #nixos
fusion809 has quit [Remote host closed the connection]
<nahamu> If someone has the ability to close out abandoned PRs, #67631 can probably be closed rather than merged (see my comment in the PR)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67631 (by dasJ, 11 weeks ago, open): displaylink: Update to 5.2.14
wolfshappen has joined #nixos
LnL has joined #nixos
LnL has joined #nixos
LnL has quit [Changing host]
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo28 has joined #nixos
fooker has joined #nixos
jluttine has quit [Ping timeout: 245 seconds]
alexherbo28 has quit [Ping timeout: 240 seconds]
lovesegfault has joined #nixos
<lovesegfault> Anyone I can nag for a PR review? cc. ryantm, andi-
qubasa has joined #nixos
<__red__> what's the PR lovesegfault
<__red__> ?
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> #73589 (by lovesegfault, 2 hours ago, open): essentia-extractor: init at 2.1_beta2
justan0theruser has joined #nixos
<__red__> looking
qubasa_ has quit [Ping timeout: 240 seconds]
<lovesegfault> <3
bvdw has joined #nixos
<__red__> "all my attempts to package it have left me depressed" -- I know this feeling well ;-)
<gyroninja> https://github.com/NixOS/nixpkgs/pull/53854 forgotten PR which fixes broken packages on release-19.09 and master. I applied it to release-19.09 and both packages built fine.
<{^_^}> #53854 (by evhan, 44 weeks ago, open): ugarit: fix build by using chicken-4.x
<lovesegfault> __red__: It uses bloody waf
justanotheruser has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #73587 → croc: 6.2.0 -> 6.2.3 → https://git.io/JeKfI
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeKUh
drakonis has quit [Quit: WeeChat 2.6]
<__red__> honestly - I think someone is going to ask you to slay the waf beast
<lovesegfault> __red__: I've spent weeks trying to package essentia before
<__red__> I don't doubt it :-(
<lovesegfault> I tried to package it for Gentoo first since I know ebuilds really well
<__red__> was anyone able to help you with it?>
<lovesegfault> And I failed
<lovesegfault> I tried Nix and failed too
<lovesegfault> The issue is the build system is _broken_
<lovesegfault> docs are broken
<lovesegfault> it's a broken mess of code
<lovesegfault> and then MusicBrainz asks that you _don't_ compile it and use the static binary so that they can keep the data source consistent
<__red__> I would add the answer to the FAQ question: "Q: Why does AcousticBrainz prefer that people use the provided static extractor builds, rather than letting others build their own versions?" to your PR to explain
<lovesegfault> __red__: Good idea, doing it
<lovesegfault> __red__: done :)
felixfoertsch23 has joined #nixos
<{^_^}> [nixpkgs] @lovesegfault opened pull request #73598 → network-manager: 1.20.4 -> 1.20.6 → https://git.io/JeKTI
felixfoertsch has quit [Ping timeout: 240 seconds]
<__red__> since that shows there's an actual reason for prefering their binary blob
<lovesegfault> Yeah
selfsymmetric-mu has quit [Ping timeout: 240 seconds]
<andi-> lovesegfault: in a bit or ping me tomorrow
<lovesegfault> andi-: did you get back well?
<{^_^}> [nixpkgs] @ahiaao opened pull request #73599 → python37Packages.PyLD: fix behavior to terminate generators → https://git.io/JeKTY
<andi-> lovesegfault: besides the f*cked up sleep schedule I think so... I haven't done much but sleep
<lovesegfault> andi-: At least you slept on the plane!
<andi-> ~4h or so ;-)
<lovesegfault> Sounds like a healthy amount for me :P
<lovesegfault> I bumped network-manager and am now rebuilding 800 pkgs :^)
<__red__> yeah - some packages are like walking through a museum. If you're not careful where you're looking you start a chain reaction that breaks everything...
<lovesegfault> It's rebuilding gimp for... reasons?
<__red__> I am going to say nothing
<lovesegfault> And like all of KDE
chiefgoat has joined #nixos
fendor__ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #73600 → postgresqlPackages.pgroonga: 2.2.1 -> 2.2.2 → https://git.io/JeKTc
<{^_^}> [nixpkgs] @marsam opened pull request #73601 → postgresqlPackages.pg_hll: 2.12 -> 2.14 → https://git.io/JeKTW
<{^_^}> [nixpkgs] @ahiaao opened pull request #73602 → python37Packages.blist: fix compatibility for python 3.7 → https://git.io/JeKTl
<{^_^}> [nixpkgs] @ahiaao opened pull request #73603 → python37Packages.blist: fix compatibility for python 3.7 → https://git.io/JeKTB
<{^_^}> [nixpkgs] @marsam opened pull request #73604 → postgresqlPackages.pg_auto_failover: 1.0.4 -> 1.0.5 → https://git.io/JeKTR
<{^_^}> [nixpkgs] @marsam opened pull request #73605 → postgresqlPackages.timescaledb: 1.5.0 -> 1.5.1 → https://git.io/JeKTa
<{^_^}> [nixpkgs] @samueldr opened pull request #73606 → valgrind: Add perl as a native build input → https://git.io/JeKTw
<mog> anyone have much experience packaging qt stuff? im trying to package https://github.com/jahnf/Projecteur
<mog> but cant get past this error by cmake Could not find a package configuration file provided by "Qt5Quick" with any
selfsymmetric-mu has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
<mog> ahh was just missing the right library
<mog> got it going now
spacefrogg has joined #nixos
<{^_^}> [mobile-nixos] @samueldr merged pull request #46 → initrd: add fbterm module → https://git.io/JeKTi
<{^_^}> [mobile-nixos] @samueldr pushed 2 commits to master: https://git.io/JeKTP
<{^_^}> [nixpkgs] @ahiaao opened pull request #73607 → pythonPackages.cartopy: fix tests 19.09 backport → https://git.io/JeKT1
<bdju> is there not a deluge 2.x package yet?
andi- has joined #nixos
<lovesegfault> bdju: Doesn't look like it
<ryantm> lovesegfault: I reviewed it.
<lovesegfault> ryantm: <3
mexisme has quit [Ping timeout: 250 seconds]
<{^_^}> #64542 (by dtzWill, 18 weeks ago, open): deluge: 1.1.11 -> 2.0.3
<infinisil> s/and//
mexisme has joined #nixos
<bdju> infinisil: cool, thanks for linking. guess it's almost ready then
kleisli has joined #nixos
<lovesegfault> ryantm: addressed :)
nexgen has joined #nixos
orivej has joined #nixos
<lovesegfault> How does nix-build figure out the compilation order?
<lovesegfault> The optimal solution sounds like the sort of thing that would be NP-Complete
<infinisil> I think it's just alphabetical or so
<clever> plus a topo-sort
<slack1256> ^ CS vs soft-development in a nutshell
<infinisil> lovesegfault: It gets even more complicated if you take --cores and --max-jobs into account
<infinisil> Like many times more complicated
<infinisil> Because different derivations can take advantage of parallelism to different degrees
<clever> one weird thing i discovered in the garbage collection code, is that it intentionally random-sorts the entire list of garbage, before deleting things
<clever> so it doesnt delete the A packages every single time
<lovesegfault> infinisil: Yes, that makes it even harder
<lovesegfault> I wonder how much benefit we would get from trying some heuristic solution
<lovesegfault> specially for big rebuilds
<lovesegfault> (like bumping GCC)
jluttine has joined #nixos
<clever> lovesegfault: the topo-sort forces it to build gcc first, before it can do anything else
<lovesegfault> clever: Sure, but that still doesn't guarantee an optimal solution
<clever> what could be optimized more?
<lovesegfault> IIRC an optimal solution requires some awareness of the 'cost' of building a package
<lovesegfault> where cost is time
<clever> ah
<clever> thats where system features like big-parallel and preferLocalBuild come into play
<lovesegfault> Things like Hydra, however, do have that knowledge
<clever> > linux.requiredSystemFeatures
<{^_^}> [ "big-parallel" ]
<lovesegfault> What's that?
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<clever> the kernel is specially flagged to only run on build machines that have the "big-parallel" feature
<clever> so nix wont allocate it to weaker machines
<lovesegfault> Ah, I assume chromium is like that too
<lovesegfault> > chromium.requiredSystemFeatures
<{^_^}> attribute 'requiredSystemFeatures' missing, at (string):271:1
<clever> > chromium.browser.requiredSystemFeatures
<{^_^}> [ "big-parallel" ]
captn3m0- has joined #nixos
<lovesegfault> Ah
<clever> chromium is a wrapper script, that sets env vars
<lovesegfault> Right
<clever> > removeReferencesTo.preferLocalBuild
<{^_^}> true
<clever> you also have the reverse
<clever> this build will try to skip the remote build machines, and build on the local instead
<infinisil> Ah yes, multiple builders make this even more complex
<clever> thats for things where copying is more expensive then building
<lovesegfault> infinisil: I think with remote builders you just need to keep comptime-histories separate
<lovesegfault> Does take special care
<clever> lovesegfault: with remote builders, you also have a speed factor, which tells nix the relative speed difference between machines
captn3m0 has quit [Ping timeout: 276 seconds]
<clever> so it will put jobs on a certain machine first
<lovesegfault> clever: I see
<wedens[m]> if I use channels with pinned revisions, how do I keep them in sync on multiple machines? how do I set them up during nixos-install?
<lovesegfault> Another thing is that the absolute compilation time doesn't matter, what matters is that times are relatively-consistent (to one another)
slack1256 has quit [Remote host closed the connection]
<infinisil> wedens[m]: I'd not use channels but set your nixpkgs directly in NIX_PATH
<clever> infinisil: main issue ive seen with that, is the change wont take effect until you reload all shells
<clever> infinisil: it is possible to point nix-channel to a single rev i believe
<wedens[m]> infinisil: that's what I did, but it caused other inconsistencies
<clever> 2019-11-17 03:49:22< clever> wedens[m]: if you `nix-channel --add https://githib.com/nixos/nixpkgs/archive/REV.tar.gz nixos`, and then `nix-channel --update nixos`, it will fetch the given rev
<clever> infinisil: i think this will fetch a given rev, and add it to the channels list
<infinisil> I'm doing this, working well
<infinisil> wedens[m]: How did it cause inconsistencies?
<clever> infinisil: ah, thats similar to what i do
<clever> infinisil: if you put the url right into NIX_PATH, it wont get the new url till you reopen the shell
<wedens[m]> infinisil: for example, nixos-rebuild doesn't use nix_path
<wedens[m]> and you have to re-type it in `-I a = b` form
<clever> wedens[m]: it does use $NIX_PATH, it will search for <nixpkgs>
mexisme has quit [Ping timeout: 252 seconds]
<wedens[m]> clever: but it doesn't use other paths
<clever> other paths?
<infinisil> Do you mean than that the initial nixos-rebuild won't use the one set in nix.nixPath
<infinisil> ?
<wedens[m]> yes
<wedens[m]> that's also a problem
<wedens[m]> and it's a wider issue
<wedens[m]> it won't use substitutes, builders, etc
<infinisil> I personally use a wrapper for nixos-rebuild that sets this correctly
<wedens[m]> I was about to do just thatbut decided to give pinned channels a try
<infinisil> Hm, I guess it would be possible to set NIX_CONF_DIR in the wrapper to `nix-build '<nixpkgs/nixos>' -A 'config.environment.etc."nix.conf".text'` or so to make it apply all settings immediately
<wedens[m]> the problem is that you can't reuse nix daemon configuration from nixos to build with the same configuration
<infinisil> Well except builders
<mog> what is the proper way to add udev rules to nix as part of a package
<infinisil> mog: Put them in $out/etc/udev/rules.d
<clever> mog: and then add that package to services.udev.packages
<wedens[m]> if I add some package and a binary cache with the package to nixos configuration, I'll have to do it in 2 steps to avoid building the package. on all machines
<wedens[m]> which doesn't sound right
<infinisil> wedens[m]: With what I described earlier you could do it
<infinisil> The NIX_CONF_DIR thing
<wedens[m]> is it universally respected?
<infinisil> It is what Nix uses to read the configuration so yes
<wedens[m]> by all nix commands
<lovesegfault> building webkitgtk-2.26.2 (buildPhase): See the help page for details.
<lovesegfault> Oh god
<infinisil> wedens[m]: Oh and it could work for remote builders too: If you set `builders = @/some/file` in nix.conf it uses that file instead of the default /etc/nix/machines
hr[m] has joined #nixos
<infinisil> (and nix.conf can be passed with an env var)
<infinisil> s/an env var/NIX_CONF
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<wedens[m]> infinisil: yeah, that looks promisisng
* hr[m] sent a long message: < >
<wedens[m]> remove /nix/store/gp78c3dj8awxd85s0vr8wqgd9ny2plvv-source.drv and add the file via `nix-store --add `
<hr[m]> I have tried copying using `nix-store --add ./path-to-nerdfonts.tar.gz`
infinisil-m has joined #nixos
infinisil-m is now known as infinisil[m]
<{^_^}> [nixpkgs] @ryantm merged pull request #73589 → essentia-extractor: init at 2.1_beta2 → https://git.io/JeKJm
<{^_^}> [nixpkgs] @ryantm pushed 3 commits to master: https://git.io/JeKkK
nixy3 has joined #nixos
infinisil[m] is now known as infinisil-m
<hr[m]> It still attempts to download the repo
<clever> hr[m]: i cant even see the question!
Acou_Bass has quit [Ping timeout: 240 seconds]
<clever> 2019-11-18 01:03:58 * hr[m] sent a long message: < >
<hr[m]> Thats a riot -> irc issue
<hr[m]> I think it usually attaches a png image of the long message
<wedens[m]> have you checked the hash?
<wedens[m]> does it match the hash in nixpkgs?
<clever> hr[m]: can you pastebin the output of `nix show-derivation /nix/store/gp78c3dj8awxd85s0vr8wqgd9ny2plvv-source.drv` ?
eraserhd has quit [Quit: WeeChat 2.6]
endformationage has quit [Ping timeout: 240 seconds]
eraserhd has joined #nixos
<{^_^}> [nixpkgs] @lovesegfault opened pull request #73608 → beets: fix absubmit deps → https://git.io/JeKkX
<clever> "outputHashMode": "recursive",
<clever> hr[m]: this is the result of pkgs.fetchzip
eraserhd2 has joined #nixos
<clever> hr[m]: so you must nix-store --add a directory, after you unpack the tar file
<clever> hr[m]: or use `nix-prefetch-url --unpack`
eraserhd2 has quit [Client Quit]
<hr[m]> Ahh ok, I added the folder extracted from the tar, however nix-rebuild switch is still attempting to download the repo
<clever> try the cmd i gave above
<clever> hr[m]: if it results in anything other then /nix/store/zjwrdr9wz0dacqximknidpf27sfbw762-source, then it failed
<hr[m]> When I use prefetch-url it attempts to download the file again, the issue is that the download fails because of a failure to begin the download again if it is interupted due to a slow connection.
<clever> hr[m]: try nix-prefetch-url --unpack file:///path/to/file ?
Acou_Bass has joined #nixos
<hr[m]> Ahh thats amateur from me, did not think to append file://
<hr[m]> It returns `path is '/nix/store/smfiz15d4yxq6ixwwpzk20zmr45d3mvr-nerd-fonts-2.0.0.tar.gz'`
<hr[m]> `09i467hyskvzj2wn5sj6shvc9pb0a0rx5iknjkkkbg1ng3bla7nm`
<clever> did you include --unpack ?
<hr[m]> yes
<clever> hr[m]: try adding `--name source` as well
<hr[m]> `nix-prefetch-url --unpack file:///home/user/Downloads/nerd-fonts-2.0.0.tar.gz`
<clever> "outputHash": "09i467hyskvzj2wn5sj6shvc9pb0a0rx5iknjkkkbg1ng3bla7nm",
<clever> the hash matches the drv file
<clever> so you just need the name to also match
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
<hr[m]> That succeeded, nixos-rebuild switch completed. Thanks for helping me solve this, I've been working on it over the past few days but its good to understand you can use `nix-prefetch-url --unpack --name VAR` with a dir to copy it into the store.
<hr[m]> My nerdfonts are back and terminal looks great again
LarryTheCow has joined #nixos
<LarryTheCow> Hi everyone, I've got a question. My systemd-boot doesn't seem to show previous generations anymore
<LarryTheCow> Why?
<clever> LarryTheCow: is /boot mounted?
<LarryTheCow> clever: ye
veleiro` has quit [Remote host closed the connection]
<clever> LarryTheCow: what does systemd-boot show?
<LarryTheCow> Nothing. It just straight up boots into the OS
<LarryTheCow> It used to give a screen where I picked the previous generations
<infinisil> LarryTheCow: What did you do that changed this?
<LarryTheCow> infinisil: I don't know...
<LarryTheCow> It's been like this for a while
<infinisil> Well it's most likely a nixpkgs update
inkbottle has joined #nixos
<clever> LarryTheCow: what does `efibootmgr -v` print out?
zebrag has quit [Ping timeout: 240 seconds]
<infinisil> LarryTheCow: clever: This looks very relevant: https://github.com/NixOS/nixpkgs/commit/cfd507d581815ae6b99ef9565ed9c4d52b402af8
<LarryTheCow> clever: https://pastebin.com/LMvavLnv
<clever> LarryTheCow: i see evidence of 2 previous ESP's, which may or may not exist anymore
<LarryTheCow> clever: Should I remove them?
<infinisil> Never mind, null is actually the correct value there
<clever> LarryTheCow: i dont think they are the problem, but it cant hurt to clean them up
<LarryTheCow> lol true
<clever> LarryTheCow: the man page should explain how to remove entries
<LarryTheCow> Yeah efibootmgr will do the trick
<clever> Boot0001 is the important one
<clever> LarryTheCow: does `ls /sys/firmware/efi/efivars/ | grep -i system` find anything related to systemd?
<LarryTheCow> LenovoSystemConfig, LoaderSystemToken, and System
<LarryTheCow> no systemd
<clever> not sure then
<LarryTheCow> Thanks for the help anyways
<LarryTheCow> I'm gonna try infinisil's idea
<LarryTheCow> I know null's supposed to be no limit, but changing it might help
LarryTheCow has quit [Quit: ERC (IRC client for Emacs 26.3)]
<infinisil> ,tell LarryTheCow Having looked at the code, I really don't think it's gonna help, but it's not a bad idea to limit the number of entries anyways
<{^_^}> infinisil: I'll pass that on to LarryTheCow
Rusty1 has quit [Quit: Konversation terminated!]
<wedens[m]> infinisil: is `nix-build '<nixpkgs/nixos>' -A 'config.environment.etc."nix.conf".text'` supposed to produce nix.conf content from unbuilt configuration?
LysergicDreams has quit [Ping timeout: 276 seconds]
<infinisil> wedens[m]: Ah you need to use .source instead of .text I think
<infinisil> .source contains a buildable derivation, .text only a string
<infinisil> Should at least
<infinisil> Lemme see, not quite correct after trying it out..
LysergicDreams has joined #nixos
<infinisil> wedens[m]: Ah this works: nix-build '<nixpkgs/nixos>' -A 'config.environment.etc."nix/nix.conf".source'
Okinan has joined #nixos
Acou_Bass has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
<wedens[m]> thanks. and for builders it's, appraently, `nix-build '<nixpkgs/nixos>' -A 'config.environment.etc."machines".text'`
Acou_Bass has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.6]
lovesegfault has joined #nixos
<lovesegfault> So, my PR is failing
<{^_^}> #73608 (by lovesegfault, 51 minutes ago, open): beets: fix absubmit deps
<lovesegfault> I think it's because I introduced a dep that is x86_64/i686 only
<lovesegfault> cc. domenkozar[m]
ddellacosta has quit [Ping timeout: 252 seconds]
<infinisil> lovesegfault: I can't find the essentia-extractor package at all
<lovesegfault> infinisil: Just got merged
<infinisil> lovesegfault: Ah then you should rebase your branch on master
<lovesegfault> infinisil: On it
<lovesegfault> derp
<lovesegfault> done :)
Diagon has joined #nixos
<lovesegfault> I'm also pretty sure imagemagick should be propagated too
<lovesegfault> ImageMagick version check failed: [Errno 2] No such file or directory: 'magick': 'magick'
<lovesegfault> infinisil: Can I make a dep be conditionally propa... yes I can
* lovesegfault goes try
mexisme has joined #nixos
<lovesegfault> infinisil: ^
<lovesegfault> Still failing
erictapen has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
Acou_Bass has quit [Ping timeout: 246 seconds]
dansho has quit [Quit: Leaving]
<infinisil> lovesegfault: Something like `enableAbsubmit ? lib.elem stdenv.hostPlatform.system essentia-extractor.meta.platforms`
<lovesegfault> infinisil: woah
<infinisil> (totally knew this without looking it up or anything)
erictapen has quit [Ping timeout: 240 seconds]
<lovesegfault> like this?
Sigma has quit [Ping timeout: 276 seconds]
Diagon has quit [Quit: Leaving]
<infinisil> Probably gotta bring lib in scope first though
<clever> or stdenv.lib
Acou_Bass has joined #nixos
<lovesegfault> clever: That sounds nicer
Sigma has joined #nixos
<lovesegfault> Can I split that line somehow?
<lovesegfault> it's yuge
* infinisil is not a fan of stdenv.lib, lib doesn't have anything to do with stdenv
<clever> ive seen bigger
<clever> infinisil: its more of just a shortcut, you basically always need stdenv, saves you from adding another arg to callPackage inputs
<infinisil> Except it causes more confusing than worth
<infinisil> Like it's just 4 chars you need to add to get lib in scope next to stdenv
<infinisil> Before I knew about it being a shortcut i kind of thought stdenv.lib was something different than lib
<infinisil> And then people also need to type stdenv.lib.* everywhere instead of just lib.* which would be shorter and less annoying the more you use things from lib
Diagon has joined #nixos
<infinisil> All that trouble just to save 4 chars!
<lovesegfault> infinisil: it's tabs v spaces all over again!
rauno has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #73607 → pythonPackages.cartopy: fix tests 19.09 backport → https://git.io/JeKT1
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to release-19.09: https://git.io/JeKIF
CMCDragonkai has quit [Quit: Connection closed for inactivity]
<lovesegfault> infinisil: what does lib.elem do?
<clever> lovesegfault: tells you if something is an element in a list
<lovesegfault> :O
palo1 has joined #nixos
gxt has joined #nixos
hmpffff has joined #nixos
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
rtjure has joined #nixos
Acou_Bass has joined #nixos
<lovesegfault> ^ lol, cc. clever infinisil
<lovesegfault> BEETS BEETS BEETS
maxdevjs has quit [Ping timeout: 276 seconds]
hmpffff has quit [Quit: nchrrrr…]
mexisme has joined #nixos
zupo has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
zupo has quit [Client Quit]
mexisme has quit [Ping timeout: 276 seconds]
sweep has joined #nixos
sweep has quit [Changing host]
sweep has joined #nixos
sweep is now known as genesis
palo has quit [Quit: WeeChat 2.6]
Thra11 has quit [Ping timeout: 252 seconds]
reallymemorable has joined #nixos
palo has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @bjornfor pushed to master « treewide: include missing package names in deprecation/removal messages »: https://git.io/JeKLR
magneticduck has joined #nixos
cyraxjoe has quit [Ping timeout: 250 seconds]
fresheyeball has joined #nixos
<fresheyeball> howdy
<fresheyeball> anyone using APL on nixos?
<magneticduck> what kind of things can home-manager do that I can't do with NixOS-as-usual?
<fresheyeball> I want to do a tutorial, but I need a custom keyboard layout
<clever> magneticduck: i think about the only thing you really gain from home-manager, is the ability to modify things without having root
<MichaelRaskin> fresheyeball: well, J kind of misses the point re: notation, but you can do array programming practice there with plain ASCII
<fresheyeball> I looked here, but so far I just don't understand
<clever> magneticduck: everything else it does could be done with nixos
<magneticduck> huh. so, I guess it's irrelevant to most users on NixOS?
rtjure has quit [Quit: rtjure]
<clever> magneticduck: about its only major value, in my eyes, is multi-user nixos machines, or getting the same setup on a non-nixos machine
<dminuoso> magneticduck: Not necessarily.
<clever> magneticduck: oh, and the ability to nixos-rebuild, without non-system stuff blocking the update
<clever> for example, plex-media-player doesnt build on master, so i cant nixos-rebuild at all
<clever> i have to give up plex (or move it to nix-env) if i want to rebuild
Thra11 has joined #nixos
<magneticduck> I don't understand that. can't you just load it from a channel where it does build?
<lovesegfault> magneticduck: It also gives you some additional functionality (that you could implement by hand in NixOS!)
<fresheyeball> MichaelRaskin: I would rather just setup an APL dev env
<MichaelRaskin> fresheyeball: and print keycap stickers manually?
<fresheyeball> MichaelRaskin: I printed out a cheat sheet
<clever> magneticduck: yeah, i could also use another channel to pull plex in from stable
DigitalKiwi has joined #nixos
<clever> magneticduck: its more a question of, do you want to download 2gig of apps to update 1 config file, or split it into 2 groups?
<clever> magneticduck: or, why did you update the channel and then not nixos rebuild immediately to save yourself that problem a week later :P
<MichaelRaskin> fresheyeball: do you use X11 or Wayland, by the way?
<dminuoso> magneticduck: home-manager lets you describe part of your user environment in ways that nixos cant.
<lovesegfault> magneticduck: `nixos-rebuild switch --upgrade` is your friend :P
<clever> dminuoso: but a nixos module to configure those things could easily be made
<lovesegfault> Although I always to boot, not switch since I'm on unstable
<MichaelRaskin> I have some xmodmap scripts like xmodmap -e 'keycode 27 = r R Cyrillic_ka Cyrillic_KA 0x10025C7 0x10025A1 Greek_rho Greek_RHO'
<magneticduck> lovesegfault, that updates the channel along with it?
<lovesegfault> clever: italics on "could"
<lovesegfault> magneticduck: Yep
<clever> lovesegfault: the same way such modules got written for home-manager (which duplicates some nixos stuff)
<lovesegfault> it updates channels & rebuilds
<MichaelRaskin> (this is three language layout, lang1 lang2 l3shift-lang1 lang3)
<clever> lovesegfault: the only real benefit home-manager has, is for non-nixos users that want the same benefit
<{^_^}> [nixpkgs] @Dema opened pull request #73610 → vscode 1.40.0 -> 1.40.1 → https://git.io/JeKL1
<lovesegfault> clever: Yeah, absolutely, just saying it's work that needs to be done whereas in HM it's already done
<fresheyeball> MichaelRaskin: are you saying if I want an APL keyboard layout, the best option you know of, is to write a pile of xmodmap?
<fresheyeball> MichaelRaskin: I am on xserver
<MichaelRaskin> Not the best, but the easiest to debug.
<fresheyeball> lame
<fresheyeball> ok
<MichaelRaskin> You can apply and revert the effects key-by-key!
<fresheyeball> can I have script?
<MichaelRaskin> I never had an APL layout
<{^_^}> [nixpkgs] @timokau opened pull request #73611 → home-manager: 2019-10-29 -> 2019-11-17 → https://git.io/JeKLS
<MichaelRaskin> I use it just for maths layout
<fresheyeball> hmm, then I still have some hope there is a less labor intensive solution
aveltras has joined #nixos
<{^_^}> [nixpkgs] @bjornfor pushed to master « treewide: improve more deprecation/removal messages »: https://git.io/JeKL7
<MichaelRaskin> Hmm. Did you try just adding APL as a language?
<fresheyeball> MichaelRaskin: I don't see how to do that
<fresheyeball> cat /nix/store/i07sybkiy85k9w21vvmhmpya2xjrbqkz-xkeyboard-config-2.24/etc/X11/xkb/rules/base.lst | rg APL
<fresheyeball> no results
<MichaelRaskin> ls /nix/store/4sn5ll5v25k40j9jx5ck5hixlp0iyf2z-xkeyboard-config-2.27/share/X11/xkb/symbols/
<MichaelRaskin> Has many languages, and APL
<fresheyeball> MichaelRaskin: mine doesn't
<clever> fresheyeball: your on version 2.24
<fresheyeball> clever: oh what?
nexgen has quit [Quit: Leaving]
chloekek has joined #nixos
<clever> fresheyeball: check the storepath you and MichaelRaskin pasted
cyraxjoe has joined #nixos
<fresheyeball> oic
<MichaelRaskin> fresheyeball: note that _your_ test also doesn't find APL for me
<MichaelRaskin> Please check the files in symbols
<fresheyeball> MichaelRaskin: Well I don't _see_ it, and I don't understand why grep wouldn't either.
<fresheyeball> let me try the version thing
<{^_^}> [nixpkgs] @jojosch opened pull request #73612 → dbeaver: 6.2.4 -> 6.2.5 → https://git.io/JeKLA
Heirlung has quit [Quit: ZNC - http://znc.in]
<MichaelRaskin> Would be funny if it were a really recent addition
Heirlung has joined #nixos
<fresheyeball> oop I see it
<fresheyeball> lower case
<fresheyeball> ok
<fresheyeball> how can I use this thing?
<fresheyeball> is there a way to set my language?
<MichaelRaskin> What is the list of layouts you use and how did you set it?
<fresheyeball> I guess the layout setting, since it's default is 'us'
<fresheyeball> and 'ui' is in this list
lord| has quit [Read error: Connection reset by peer]
<fresheyeball> oh it looks like I can have more than one
lord| has joined #nixos
<magneticduck> is it possible to nixos-rebuild with the nifty new `nix build` monitor?
<magneticduck> point `nix build` to the system expression?
m0rphism has joined #nixos
<clever> magneticduck: nix build -f '<nixpkgs/nixos>' -A system
<fresheyeball> MichaelRaskin: do you know how to switch languages? It would be nice to have "us,apl"
<clever> that will build it with the new ui, but not apply, so you still need to follow it up with a nixos-rebuild switch
<fresheyeball> ○∆ ⊤○⌶
<fresheyeball> ⎕○⎕
<fresheyeball> ok I escaped apl layout
<fresheyeball> wowzers
<fresheyeball> unforunately it looks like setting the layout to apl, doesn't do the nice Alt-gr thing
lord| has quit [Read error: Connection reset by peer]
<fresheyeball> but just takes over the whole keyboard
hyper_ch has quit [Ping timeout: 276 seconds]
<fresheyeball> ah I see
<fresheyeball> I got it from here
<fresheyeball> MichaelRaskin++
<{^_^}> MichaelRaskin's karma got increased to 16
lord| has joined #nixos
philr has joined #nixos
noudle has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.6]
lovesegfault has joined #nixos
gxt has quit [Remote host closed the connection]
<wedens[m]> TIL there is `lib.fakeSha256`
<{^_^}> [nixpkgs] @timokau merged pull request #73611 → home-manager: 2019-10-29 -> 2019-11-17 → https://git.io/JeKLS
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JeKtY
Thra11 has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
<etu> oh
<etu> > lib.fakeSha256
<{^_^}> "0000000000000000000000000000000000000000000000000000000000000000"
<etu> Very nice!
<{^_^}> [nixpkgs] @markuskowa merged pull request #73582 → slurm: 19.05.3.2 -> 19.05.4.1 → https://git.io/Jeohe
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JeKtO
<clever> in vim, you can just 52i0<escape>
<clever> that will insert 52 0's
<etu> And emacs: C-u 52 0
* niso was hoping for lib.random
<etu> I just never remember how many numbers there is
<clever> etu: same as the number of cards in a deck i believe
<wedens[m]> no. in emacs it's also 52i0<esc> :trollface:
<etu> clever: Oh, yes there is. Now I will remember that.
<etu> wedens[m]: If using evil-mode yes? ;)
m0rphism has quit [Ping timeout: 240 seconds]
<wedens[m]> yeah :)
<wedens[m]> I made a elisp function `nix/tofu` so that I don't have to remember the number
<etu> oh, "C-u 52 0" actually dosen't work. Because the zero becomes part of the number. :D
<clever> chessai made a vim function that runs nix-prefetch-url, i still need to see how it works
<niso> .nix-defexpr/channels/<channel-name> should update with nix-channel --update right?
<etu> "C-u 52 a" works though and it should be fine with 52 a's :)
<clever> niso: yeah
<clever> niso: and channels_root/ will update if you run update as root
<wedens[m]> https://github.com/jwiegley/nix-update-el doesn't work that well in most cases, unfortunately
Okinan has quit [Quit: Konversation terminated!]
<clever> the function i mentioned
<wedens[m]> and if you have something like version substitution in url, you're fooked
* clever heads to bed
m0rphism has joined #nixos
<niso> thanks, assuming it doesn't, how could i trace that problem?
<niso> i've got a hydra instance running which should have 2 packages on channel/latest, however the second one seems to get ignored by the client (which building fine on the server
<niso> )
<niso> *while
<wedens[m]> niso: are you sure you're running update as the same user?
<niso> wedens[m]: yes, i removed the .nix-defexpr and it re-constructed
<niso> however it seems to contain old-state
<niso> is channel/latest tied to e.g. a release?
Okinan has joined #nixos
<wedens[m]> what do you mean "tied"?
<clever> niso: what does nix-channel --list report?
reallymemorable has quit [Quit: reallymemorable]
Thra11 has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
<niso> clever: wedens[m]: alright, i'm sorry. turns out i added the channel in question twice (and checked the wrong one.....)
<clever> i try to only use channels on root
* niso should have thought of that a couple of hours ago....
<clever> less confusing that way
<colemickens> Has anyone seen this when building Go programs in nixpkgs tree? verifying github.com/jiacfan/keyctl@v0.3.1: github.com/jiacfan/keyctl@v0.3.1: Get https://sum.golang.org/lookup/github.com/jiacfan/keyctl@v0.3.1: dial tcp: lookup sum.golang.org on [::1]:53: read udp [::1]:35113->[::1]:53: read: connection refused
civodul has joined #nixos
<clever> colemickens: the network is always disabled while building, nix must fetch the deps for you
<niso> clever: i'll consider that thanks. i'm currently trying to setup a repo for all project dependencies (e.g. formatter etc). I'm still torn if i should stick with the channles, or use flakes.
<niso> might aswell consider sticking with root channels
* clever tries to get to bed, lol
<colemickens> clever: I'm used to this working with buildGoModule though
<colemickens> in fact, this is branch that worked a while back that no longer works after a rebase (and admittedly a bugfix bump in the src too)
m0rphism1 has joined #nixos
erictapen has joined #nixos
lord| has quit [Read error: Connection reset by peer]
exfalso has joined #nixos
m0rphism1 has quit [Ping timeout: 245 seconds]
ckauhaus has joined #nixos
lord| has joined #nixos
<{^_^}> [nixpkgs] @colemickens opened pull request #73613 → HELP NEEDED: azcopy: v10.0.1 -> v10.3.2 → https://git.io/JeKta
noudle has quit []
<{^_^}> [nixpkgs] @roberth opened pull request #73614 → nixos/ids: Add types to allow overrides on static uids, gids → https://git.io/JeKtV
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> Mmm is there a way to have a more global way of doing nixos module overlays?
<dminuoso> I have the following issue
<dminuoso> I split my rspamd configuration into 20ish nixos modules, all of which tap into the rspamd nixos module.
<dminuoso> It's a bit tiring to always mark rspamd as disabledModules and then change it with my own module
lord| has quit [Read error: Connection reset by peer]
<dminuoso> I'd kind of prefer specifying once to disable that module and use my fixed one instead.
<{^_^}> [nixpkgs] @ilikeavocadoes opened pull request #73615 → yadm: add missing dependency on git → https://git.io/JeKt6
lord| has joined #nixos
<tilpner> dminuoso: Can your own module set disabledModules perhaps?
<eon`> dminuoso: I don't think taht's possible, maybe you could name your own module differently
<colemickens> is it possible to get nix-build to be a no-op if substitions exist for all derivations (aka, skip downloading everything)
<colemickens> (imagine nix in a CI scenario where everything is up to date)
<colemickens> in fact, a step further, only downloading what is needed to build derivations for which substitutions don't exist would be ideal.
<dminuoso> eon`: Mmm that sounds like the simplest option.
hmpffff has joined #nixos
jgt2 has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
lord| has quit [Ping timeout: 250 seconds]
lord| has joined #nixos
zupo has joined #nixos
Chiliparrot has joined #nixos
m0rphism1 has joined #nixos
gxt has joined #nixos
smatting_ has joined #nixos
lord| has quit [Read error: Connection reset by peer]
Makaveli7 has joined #nixos
lord| has joined #nixos
Fare has quit [Quit: Leaving]
m0rphism1 has quit [Ping timeout: 240 seconds]
logzet has joined #nixos
lord| has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed to master « obs-studio: package the missing ndi library to make the obs-ndi plug-in actually work »: https://git.io/JeKqW
domogled has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
m0rphism1 has joined #nixos
alexherbo28 has joined #nixos
smatting_ has quit [Quit: WeeChat 2.4]
smatting has joined #nixos
ckauhaus has quit [Ping timeout: 246 seconds]
hyper_ch has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b pushed to release-19.09 « skypeforlinux: 8.51.0.86 -> 8.51.0.92 »: https://git.io/JeKqg
ng0 has joined #nixos
genesis has quit [Ping timeout: 240 seconds]
markus1199 has quit [Ping timeout: 240 seconds]
thc202 has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @markuskowa merged pull request #73227 → mkl: add scalapack libraries to output → https://git.io/JewCS
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JeKq5
m0rphism1 has quit [Ping timeout: 240 seconds]
jgt2 is now known as jgt
lovesegfault has quit [Quit: WeeChat 2.6]
lord| has joined #nixos
lord| has quit [Client Quit]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
lord| has joined #nixos
markus1189 has joined #nixos
CMCDragonkai has joined #nixos
<CMCDragonkai> Hoping someone can answer my question about iPXE signatures https://ipxe.org/crypto
<CMCDragonkai> If I sign my kernel/initrd and I have these signature files.
<CMCDragonkai> Why are the signature files also loaded on the network? Shouldn't they be embedded in the iPXE binary so that it can verify if the images should be trusted?
<CMCDragonkai> If the signatures are also downloaded over the network, what's stopping an attacked from supplying a compromised image along with the compromised signature at the same time?
sigmundv has joined #nixos
<betaboon> CMCDragonkai: dont you have to build a ipxe.iso with the root-ca included ? if so, transfering the signatures via the network is secure.
<CMCDragonkai> betaboon: so we are relying on the fact that the signature would be signed with a root CA that the ipxe has embedded as well?
<betaboon> CMCDragonkai: sounds like it
chiefgoat has quit [Quit: ZNC 1.7.5 - https://znc.in]
oida has quit [Remote host closed the connection]
<betaboon> CMCDragonkai: look for "Embedded Certificates" in the documentation that you just linked
ckauhaus has joined #nixos
<{^_^}> [nixpkgs] @ckauhaus merged pull request #63696 → nixos/testing: remove leftover of virtualisation.qemu.program → https://git.io/fjw1t
<{^_^}> [nixpkgs] @ckauhaus pushed 2 commits to master: https://git.io/JeKmB
MinceR_ has joined #nixos
chiefgoat has joined #nixos
viric has joined #nixos
chiefgoat has quit [Client Quit]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging-next: https://git.io/JeKmP
<{^_^}> [nixpkgs] @vcunat merged pull request #73572 → darwin.CF: workaround intermittent CFRuntime.c failures → https://git.io/JeoFA
chiefgoat has joined #nixos
rauno has quit [Ping timeout: 245 seconds]
cfricke has joined #nixos
erictapen has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Lassulus merged pull request #73107 → dnsproxy: init at 0.20.0 → https://git.io/JeVad
<{^_^}> [nixpkgs] @Lassulus pushed 3 commits to master: https://git.io/JeKYU
<wedens[m]> how do I control substituters priority? order?
<tilpner> wedens[m]: There's a /nix-cache-info path with a Priority field
rauno has joined #nixos
<tilpner> wedens[m]: I _think_ lower priority takes precedence, but don't rely on that
<tilpner> wedens[m]: And of course this is useless if you don't control at least one of the caches
kleisli has quit [Ping timeout: 240 seconds]
<tilpner> (Unless you want to set up a local proxy which shadows /nix-cache-info with a different priority, which would be ridiculous)
<wedens[m]> hm. how do I set the priority when I use `nix.sshServe` then?
darthdeus has quit [Quit: WeeChat 2.6]
<tilpner> I have no idea
<tilpner> What issue are you having?
<tilpner> In rare cases I've found it helpful to restart the nix-daemon or even wipe /root/.cache/nix
<wedens[m]> nixos cache is being used instead of local one
<wedens[m]> that's a bit weird that severt controls the priority, not a client
<wedens[m]> * server
<dminuoso> Im losing my mind here, why doesn't disabledModules work here? https://gist.github.com/dminuoso/c4f0056f71e75798dd6212743b57eac7
m0rphism1 has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
<wedens[m]> dminuoso: what if you set disabledModules inside config? (I don't really know much about nixops)
m0rphism1 has quit [Ping timeout: 240 seconds]
cosimone has joined #nixos
m0rphism1 has joined #nixos
Thra11 has quit [Read error: Connection reset by peer]
fendor__ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gagbo has quit [Ping timeout: 250 seconds]
gagbo has joined #nixos
fendor__ is now known as fendor
Ariakenom has joined #nixos
erictapen has joined #nixos
<niso> is nix-serve ment to run alongside of hydra?
cfricke has quit [Quit: WeeChat 2.6]
cfricke has joined #nixos
sondr3 has joined #nixos
<ivan> niso: I run it alongside hydra, with hydra configured to store things in /nix
<ivan> store_uri = daemon
Thra11 has joined #nixos
<niso> ivan: alright, thanks! will the package be signed automatically or do i have to specify it in the jobset?
<ivan> niso: nix-serve is responsible for signing everything on the fly
mexisme has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<niso> ivan: sweet, thanks! another question: i've read that using nixpkgs within a private repo is possible with some kind of hack in the NIX_PATH -> what could that be?
<ivan> your nixpkgs is private, or the sources for your packages are private?
<niso> ivan: both (but asking because if the first)
<niso> ivan: i got it to build in hydra, however uppon trying to integrate it via channel nix complains that it doesn't know about stdenv
<ivan> I just set a hydra input to have value /home/at/repos/nixpkgs.git prime where prime is my branch
<ivan> then push to the server with the hydra
<ivan> I don't know about channels, sorry
darthdeus has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<niso> ivan: hmm alright, thanks!
Ariakenom has quit [Quit: WeeChat 2.6]
lopsided98 has quit [Ping timeout: 250 seconds]
cfricke has quit [Quit: WeeChat 2.6]
<raboof> been using nixos for a couple of weeks now, mostly really liking it.
m0rphism1 has quit [Ping timeout: 265 seconds]
lopsided98 has joined #nixos
<DigitalKiwi> well if that's not ominous i don't know what is
<raboof> the main weird thing to me is the split between /etc/nixos and nix-env, since this is a laptop so there is no practical difference. I've been preferring editing /etc/nixos over using nix-env but it's a bit weird. Any recommendations on how to handle that?
<symphorien> avoid nix-env if you can :)
ingenieroariel has joined #nixos
<symphorien> if you prefer not using sudo to edit the configuration, home-manager is better than nix-env
<qyliss> symphorien++
<{^_^}> symphorien's karma got increased to 25
<raboof> also I'm running a nixpkgs fork in ~/nixpkgs so I find myself adding "-I nixpkgs=/home/aengelen/nixpkgs" all the time - looks like I can add that to NIX_PATH, but I wonder if it's possible to make this an even more global default?
<raboof> symphorien: i'm fine with sudo'ing, but it's slightly weird to see nix-env all over the docs all the time ;)
<adisbladis> raboof: nix.nixPath
<DigitalKiwi> i'm a heathen that uses nix-env for temporary things that i may only want to try for a few days and/or don't want to rebuild because it would be inconvenient.later i put them in configuration.nix if i want to keep them and remove them
<qyliss> Isn't that what nix-shell / nix run is for?
knupfer has joined #nixos
<DigitalKiwi> yeah but i don't want to type nix-shell every time i want to try a program and i can't launch it with gmrun and i'll forge the name. nix-env -q will remind me
<DigitalKiwi> forget, even
ingenieroariel has quit [Client Quit]
<DigitalKiwi> nixos-rebuild switch has a tendency to break my desktop environment and kill my mouse and internet
<DigitalKiwi> and takes a long time
gagbo has quit [Ping timeout: 265 seconds]
cosimone has quit [Quit: Terminated!]
<{^_^}> [nixpkgs] @primeos pushed to master « html-proofer: 3.14.0 -> 3.14.1 »: https://git.io/JeKOF
<DigitalKiwi> usually when i do it it's like "oh i've never heard of this program/haven't used it in a while/don't know if i like it, let's try it for a few days" if i stash it in my configuration i'm less likely to get rid of it >.>
<DigitalKiwi> (for the same reason, i'll forget about it)
m0rphism1 has joined #nixos
gagbo has joined #nixos
Thra11 has quit [Ping timeout: 240 seconds]
<DigitalKiwi> symphorien: what do you mean you don't include a git repo from your home in your configuration.nix? >.>
<symphorien> /etc/nixos is a git repo
cosimone has joined #nixos
<symphorien> but yes I could push the logic further
<raboof> adisbladis: neat, thx
<DigitalKiwi> /etc/nixos needs sudo ya?
cfricke has joined #nixos
cfricke has quit [Client Quit]
<{^_^}> [nixpkgs] @marsam merged pull request #73600 → postgresqlPackages.pgroonga: 2.2.1 -> 2.2.2 → https://git.io/JeKTc
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeKOx
<DigitalKiwi> 12:00:51 [kiwi@mvp-nixos ~]$ grep kiwi /etc/nixos/configuration.nix
<DigitalKiwi> /home/kiwi/projects/github/nix-configs/hosts/mvp-nixos
<etu> DigitalKiwi: Not if you chown the directory :p
<DigitalKiwi> plz don't hack me
<dminuoso> wedens[m]: It's not configuration
cosimone has quit [Client Quit]
cfricke has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 276 seconds]
knupfer1 is now known as knupfer
<Izorkin> etu: checked php 7.4?
<etu> Izorkin: Sorry, didn't have time during the weekend. But I look into it tonight (in about 3 hours) when I get to the computer club :)
<Izorkin> ok
sweep has joined #nixos
exfalso has quit [Quit: Lost terminal]
Thra11 has joined #nixos
<eyJhb> Anyone know how to remove previous TLP settings the right way? I have disabled tlp, but I still cannot charge above 72% ...
<raboof> is there something like https://nixos.org/nixos/packages.html but for the commandline? "nix-env -qa '.*foo.*' is a mouthful and still only searches/shows the package names afaics
<eyJhb> raboof: nix search pkgname
<eyJhb> ?
<raboof> lol yup thx :D
<dminuoso> Anyone else have an idea regarding my earlier question?
<dminuoso> 11:51:46 dminuoso | Im losing my mind here, why doesn't disabledModules work here? https://gist.github.com/dminuoso/c4f0056f71e75798dd6212743b57eac7
<etu> eyJhb: Maybe you need tlp to change the thresholds in firmware
sweep has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @mhaselsteiner opened pull request #73688 → pythonPackages.wrf-python : 1.3.1.1 -> 1.3.2 → https://git.io/JeK3a
<tilpner> dminuoso: Uh oh, that might be because rspamd imports a generated module which defined socketActivation
<tilpner> dminuoso: You should read the source on how disabledModules works, to answer the question of whether it can block imports of blocked modules
<eyJhb> etu: maybe, not sure! It just annoyts me... :/
<eyJhb> Nobody else having this issue I assume
<tilpner> eyJhb: With or without a reboot?
<eyJhb> Without reboot atm, but I have rebooted in-between disabling it
<eyJhb> Now I just set my thres to like.. start charge below 99, stop at 100%
<eyJhb> START_CHARGE_THRESH_BAT0=99
<eyJhb> STOP_CHARGE_THRESH_BAT0=100
<eyJhb> But that is quite hackish
<tilpner> eyJhb: So during this boot there never was a tlp process?
<eyJhb> It's just, tlp messes up my battery over time. It will drop from 72% to 1% in 5 minutes, and then when charging up to 72% again
<eyJhb> But if I charge it using another computer, it can last for hours
<eyJhb> I did not check that
<eyJhb> But I thik it modifies some kernel stuff
<tilpner> Which shouldn't persist past a reboot
<eyJhb> I think this is quite hackish, so could easily
<eyJhb> But do we store a TLP config file?
<eyJhb> TLP doens't even run now, if it is called TLP (process)
rople has quit [Ping timeout: 245 seconds]
m0rphism1 has quit [Ping timeout: 265 seconds]
__monty__ has joined #nixos
Chiliparrot has joined #nixos
pareidolia has quit [Read error: Connection reset by peer]
pareidolia has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #73560 → qownnotes: 19.10.10 -> 19.11.4 → https://git.io/Jeo7q
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/JeKsv
<dminuoso> tilpner: Argh that is truly disgusting.
<dminuoso> tilpner: I mean luckily in my case I can modify my module accordingly...
<dminuoso> But for the more general case, this is not satisfying.
<dminuoso> Anyhow, thanks for the pointer - I just didnt know where to look anymore.
<higherorder> Hi! How can I install a particular version of GHC on my system with Nix? The default version seems to be 8.6.5 (as given by `nix-instantiate --eval --expr '(import <nixpkgs> { }).ghc.version'`)
<higherorder> I would like to install 8.8.1, which I can see here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/ghc/8.8.1.nix
knupfer has quit [Ping timeout: 245 seconds]
Neo-- has joined #nixos
<wedens[m]> haskell.compiler.ghc865
<wedens[m]> haskell.compiler.ghc881 etc
<higherorder> wedens[m]: and at the risk of sounding like a complete noob, hwo can I install that version, e.g. like ` nix-env -i ghc`
<wedens[m]> nix-env -i haskell.compiler.ghc881
<higherorder> `error: selector 'haskell.compiler.ghc881' matches no derivations`
zupo has joined #nixos
<higherorder> Also... just so I learn something from this, how did you know that https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/ghc/8.8.1.nix would be under `haskell.compiler`? I can't find a reference to that "namespace" in the nix file
fusion809 has joined #nixos
<wedens[m]> not nixos? try nix-env -iA haskell.compiler.ghc881
<higherorder> Ah yep I am on os x
<higherorder> `error: attribute 'haskell' in selection path 'haskell.compiler.ghc881' not found`
<higherorder> and thanks!
<wedens[m]> wtf. nix-env -f '<nixpkgs>' -iA haskell.compiler.ghc881
<{^_^}> [nixos-homepage] @raboof opened pull request #319 → Mention 'nix search' on search page → https://git.io/JeKss
<higherorder> wedens[m]: that worked!
virusdave has joined #nixos
<virusdave> hey folks! I'm running into an... interesting nix scenario. For $REASONS, i've installed nix on my chromeos chromebook, which if unfamiliar is basically a SELinux-hardened linux box
hyper_ch has quit [Quit: ZNC 1.7.5 - https://znc.in]
<virusdave> this works ok-ish, except that the coreutils `mv` command often fails due to a failure to create a new security context object on the new file. However, when this happens, `cp` basically succeeds instead
<{^_^}> [nixpkgs] @marsam pushed 6 commits to staging: https://git.io/JeKsl
<{^_^}> [nixpkgs] @marsam merged pull request #73436 → postgresql: 9.5.19 -> 9.5.20, 9.6.15 -> 9.6.16, 10.10 -> 10.11, 11.5 -> 11.6, 12.0 -> 12.1 → https://git.io/JerF8
domogled has quit [Remote host closed the connection]
<virusdave> alas, large numbers of derivations rely on `mv` working, often during their build or install phases
<__monty__> higherorder: Note that that's not a very useful command. Usually you don't want to install ghc without any packages.
domogled has joined #nixos
<higherorder> __monty__: ah; well here I just want to install ghc 8.8.1 globally on my system (os x); is that the right command?
<virusdave> any suggestions here? I've started down the road of 'for package X, so a patch all configure and makefiles to replace `mv` with `cp`, but that doesn't seem scalable
<__monty__> higherorder: Not really, cause you can't add packages to it.
<virusdave> alternatively, i'm considering patching the `coreutils` package to replace `mv` with `cp`, and use this patched coreutils when installing stuff
<__monty__> Unless you want a GHC without any extra packages.
<higherorder> __monty__: ah; what would be the ideal way to do this? it doesn't need to be installed globally per se, I just need to be able to compile my project using cabal in a ghc 8.8.1 environment
<virusdave> but i can't help feel that i'm attempting to address symptoms instead of the problem itself
<virusdave> would love advice
Chiliparrot has quit [Ping timeout: 245 seconds]
hyper_ch has joined #nixos
<__monty__> higherorder: A shell.nix using ghcWithPackages as a buildInput. (Check out direnv and especially lorri to make this ergonomic.)
<higherorder> __monty__: I use direnv (but not for nix); how can it help there?
<__monty__> Normally you'd have to enter a nix-shell to access cabal/ghc etc. With direnv you can store the environment nix-shell creates, so whenever you change to the directory you can use cabal without running a nix-shell.
Chiliparrot has joined #nixos
<higherorder> __monty__: oh that sounds super nice; do you have an example of it?
<__monty__> Lorri automatically updates your environment if you change the shell.nix and pins the latest successful evaluation so it doesn't get garbage-collected (basically a necessity if you expect to be able to do any dev work when connected to the internet less than 100% of the time, imo)
<higherorder> __monty__: ok I'll check that outk, thanks. And do you have an example of a shell.nix file with a specific version of GHC specified please?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dminuoso opened pull request #73689 → Specify correct type for fuzzy worker → https://git.io/JeKsz
psyanticy has joined #nixos
<__monty__> higherorder: Here's what I actually use: https://gist.github.com/toonn/80378b4f174527270af9180706e4f65d I'll try adding something like what you want.
virusdave has quit [Remote host closed the connection]
Thra11 has quit [Ping timeout: 240 seconds]
<higherorder> __monty__: ty!
Makaveli7 has quit [Quit: WeeChat 2.6]
<higherorder> hmm youir file just introduced me to https://input-output-hk.github.io/haskell.nix/
<higherorder> is it any good?
<higherorder> __monty__: 6
<higherorder> ^*
<__monty__> Yes, has its own quirks though. As you can see from my shell.nix, so I'm not sure I'd recommend it to someone unfamiliar with nix and haskell.
<higherorder> Ah ok. And re ghcWithPackages I was thinking of using cabal2nix
<wedens[m]> cabal2nix is fine if you're prepared to stick with haskell packages version in specific nixpkgs revision or if you're prepared to add version overrides
<__monty__> higherorder: Added my best guess for what you might want to do to the gist.
<higherorder> __monty__: great, thanks! would you recommend using cabal2nix, or just giving up on a .cabal file and listing the pckages in the nix file directly?
<__monty__> Oh, you have to have a .cabal file, this shell.nix doesn't build your package, that's why I have cabal-install in the shell.
<wedens[m]> you don't really want to build using nix during development...
<__monty__> I agree, cabal's incremental builds are a lot more fine-grained.
<__monty__> And if you use v2-* commands you're getting all the nixy goodness anyway.
Thra11 has joined #nixos
domogled has quit [Quit: domogled]
<__monty__> Thing about cabal2nix is it makes it a bit harder to add tools of your own choosing to a development shell. Like ghcid and fast-tags in my example.
<higherorder> __monty__: ah, so I don't need to run my proejct's dependencies (from build-depends in the cabal file) in shell.nix?
<higherorder> and I use the v2 commands
<__monty__> I understand not wanting to specify deps twice but it doesn't bother me much so I keep it simple.
<__monty__> You do need to add those.
<higherorder> ah ok, so I need to keep those lists in sync
<higherorder> that's fine yeah
<higherorder> not a big deal
ggpeti has joined #nixos
<__monty__> You can always explore the alternatives and haskell.nix when you get more comfortable with nix.
<wedens[m]> you can use nix just for system dependencies
<ggpeti> yo anyone run nixos tests on the reg? how long should the first time take? I've been running it in Virtualbox for ~2h now, it's still building stuff with no end in sight
<{^_^}> [nixpkgs] @flokli merged pull request #73074 → python3Packages.apache-airflow init 1.10.5 → https://git.io/JeV8f
<{^_^}> [nixpkgs] @flokli pushed 21 commits to master: https://git.io/JeKGU
<{^_^}> [nixpkgs] @peti merged pull request #73689 → rspamd: Specify correct type for fuzzy worker → https://git.io/JeKsz
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/JeKGm
ggpeti has quit [Ping timeout: 260 seconds]
sweep has joined #nixos
sweep is now known as genesis
genesis has quit [Changing host]
genesis has joined #nixos
NinjaTrappeur has joined #nixos
gagbo has quit [Ping timeout: 250 seconds]
gagbo has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos
rauno has quit [Ping timeout: 240 seconds]
cfricke has quit [Quit: WeeChat 2.6]
Ariakenom has joined #nixos
orivej has joined #nixos
<Ariakenom> I am playing around with fonts. But the docs seem to assume knowledge about how font names connect to fonts and such. Is there anyplace I can read up on that?
m0rphism1 has joined #nixos
philr has quit [Ping timeout: 245 seconds]
Rusty1 has joined #nixos
<sshow> I have never quite understood fonts in Linux. But are you talking about console fonts or fontconfig?
<sshow> Ariakenom: ^
<inf> Hey. I'm working on automated (pull-style) nixos configuration management for our project... Is there a way to set nix-channel version indempotently, or specify nix channel version when running nixos-rebuild?
Ariakenom_ has joined #nixos
LysergicDreams has quit [Ping timeout: 265 seconds]
Ariakenom has quit [Ping timeout: 240 seconds]
LysergicDreams has joined #nixos
cfricke has joined #nixos
cfricke has quit [Client Quit]
LysergicDreams has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
<manveru> inf: it should respect NIX_PATH
sondr3 has quit [Quit: WeeChat 2.6]
LysergicDreams has joined #nixos
ggpeti has joined #nixos
ddellacosta has joined #nixos
iyzsong has quit [Ping timeout: 245 seconds]
<evanjs> Anybody know if there's any progress in making a jupyterWith module?
<{^_^}> [nixpkgs] @dasJ opened pull request #73690 → displaylink: Disable free space check → https://git.io/JeKZO
<{^_^}> [nixpkgs] @dasJ closed pull request #67631 → displaylink: Update to 5.2.14 → https://git.io/fjxqg
ultranix has joined #nixos
gagbo has quit [Ping timeout: 240 seconds]
m0rphism1 has quit [Ping timeout: 240 seconds]
gagbo has joined #nixos
cosimone has joined #nixos
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos
evanjs has quit [Client Quit]
evanjs has joined #nixos
<adisbladis> evanjs: Except for https://github.com/tweag/jupyterWith ?
<evanjs> adisbladis: right I meant like anything like a hm module or something I can do as a module vs a nix-shell
<{^_^}> [nixpkgs] @worldofpeace closed pull request #72321 → [WIP] iwd: 0.22 -> 1.0 → https://git.io/JezcE
<evanjs> Also, great... `terminate called after throwing an instance of 'nix::Exit'`
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73598 → network-manager: 1.20.4 -> 1.20.6 → https://git.io/JeKTI
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/JeKZ9
<evanjs> I locked my nix version to 2.2 (stable) but it looks like 2.3 is on 19.09 and nixos-option is broken again 🙃
<evanjs> I'd open an issue, but want to make sure it's nothing on my end, first
lassulus has quit [Quit: WeeChat 2.6]
lassulus has joined #nixos
<higherorder> __monty__: wedens[m]: just got back; quick follow-up question: why do I need to specify haskell packages in the .nix? What role does it play? (since cabal has a way to fetch dependencies)
mmlb has joined #nixos
<wedens[m]> you don't need to
cinimod has joined #nixos
<wedens[m]> as I said, you can use nix just for system deps and tools (ghc,cabal-install,ghcid,stack, native libs, etc)
<higherorder> ah; what do I gain by listing them there then?
ckauhaus has quit [Quit: WeeChat 2.6]
<higherorder> wedens[m]: ^
<__monty__> You do have to afaik.
<wedens[m]> if you don't use nix to do the build, not much
<__monty__> Doesn't GHC need to know where to locate packages? Which is set at install time.
<{^_^}> [nixpkgs] @eraserhd opened pull request #73691 → tasksh: enable on Darwin → https://git.io/JeKnL
<wedens[m]> if it was the case, stack wouldn't work, I think
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
ggpeti has quit [Ping timeout: 260 seconds]
<Izorkin> How to fix thios error - /nix/store/whpnlfj79vd8p175rp1bwg0x7wz5lmj1-stdenv-linux/setup: line 95: ./configure go --go=/nix/store/sym79yykwjsvcx1swdzn62kzd1qx5m05-go-1.13.4/bin/go --go-path=/build/unit_go: No such file or directory
ng0 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @PombeirP closed pull request #59018 → gomobile: init at 20190319-167ebed → https://git.io/fjLgg
sigmundv has quit [Ping timeout: 276 seconds]
orivej has quit [Ping timeout: 245 seconds]
fresheyeball has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #71917 → nixos/eternal-terminal: add firewall information → https://git.io/Je0P5
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @pingiun to master « nixos/eternal-terminal: add firewall information »: https://git.io/JeKnr
reallymemorable has joined #nixos
endformationage has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
<evanjs> Looks like https://github.com/NixOS/nix/pull/3205 solves my nix commands not working issue... Now do I wait or patch that into my current config? 🤔
<{^_^}> nix#3205 (by edolstra, 2 weeks ago, open): Recursive Nix support
hmpffff has joined #nixos
<infinisil> evanjs: I wouldn't rely on that just yet
Diagon has quit [Ping timeout: 240 seconds]
sigmundv has joined #nixos
domogled has joined #nixos
ggpeti has joined #nixos
<higherorder> __monty__: Hey! on your gist https://gist.github.com/toonn/80378b4f174527270af9180706e4f65d#file-shell-using-nixpkgs-ghc881-nix, when trying to run `nix-shell` I get `error: cannot coerce a function to a string, at shell.nix:6:3`
<Ariakenom_> sddm.autoNumlock isn't working for me. I wonder if it's because of sddm.autoLogin
ggpeti has quit [Ping timeout: 260 seconds]
Diagon has joined #nixos
<__monty__> higherorder: Forgot some parens. Try again?
gagbo has quit [Remote host closed the connection]
<higherorder> __monty__: that works, thanks!
gagbo has joined #nixos
chloekek has quit [Quit: WeeChat 2.6]
inkbottle is now known as zebrag
<{^_^}> [nixpkgs] @Infinisil merged pull request #73614 → nixos/ids: Add types to allow overrides on static uids, gids → https://git.io/JeKtV
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JeKcT
<higherorder> +__monty__ hmm. the derivation failed to build
<higherorder> __monty__: *
<__monty__> Error?
<higherorder> I guess I don't need fast-tags so I could get rid of it but I am curious as to why it fails
sigmundv has quit [Ping timeout: 240 seconds]
<__monty__> Hmm, probably related to the bounds on fast-tags.
<higherorder> ok I just got rid of it
<higherorder> ain't no emacs/vim user
gxt has quit [Ping timeout: 260 seconds]
<__monty__> Hmm, the bounds look fine actually.
cosimone has quit [Quit: Terminated!]
dconnolly has joined #nixos
<evanjs> infinisil: but `nix` is broken on my machine lol
DanC has quit [Ping timeout: 240 seconds]
<infinisil> Huh what's the problem exactly?
steevveen has joined #nixos
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @mmilata opened pull request #73692 → nixos/matomo: backport module fix → https://git.io/JeKcy
steevveen has quit [Remote host closed the connection]
<evanjs> Well, currently, it looks like https://github.com/NixOS/nix/issues/3140 again
<{^_^}> nix#3140 (by Ninlives, 5 weeks ago, closed): `nix run` crash in 2.3.1
ardumont has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
drakonis_ has joined #nixos
drakonis has quit [Quit: WeeChat 2.6]
evanjs has joined #nixos
<evanjs> That, and e.g. `nixos-option` works from root but not from my user, etc 🤔
<infinisil> Okay nixos-option is kind of messed up anyways, I usually just do `nix-instantiate --eval '<nixpkgs/nixos>' -A config.foo.bar` to inspect option values
drakonis has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #73183 → monero: 0.14.1.0 -> 0.15.0.0 [backport] → https://git.io/JewUA
<{^_^}> [nixpkgs] @Lassulus pushed 5 commits to release-19.09: https://git.io/JeKCI
domogled has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @toonn opened pull request #73693 → alex: drop patch → https://git.io/JeKCm
<__monty__> higherorder: That failure because of alex was because of a patch that's no longer needed, just PR'd the fix ^
drakonis_ has quit [Ping timeout: 240 seconds]
Dyraton01 has joined #nixos
noudle has joined #nixos
<higherorder> __monty__: ah!
ddellacosta has quit [Quit: WeeChat 2.2]
dredozubov has joined #nixos
drakonis_ has joined #nixos
ddellacosta has joined #nixos
pbogdan has joined #nixos
<aranea> Is there a way to use an existing nix installation to bootstrap new one in a different location? i.e. I'm setting up nix on a new partition; I could just unpack a binary nix distribution and chroot into it, but I'm wondering if that first step can be replaced by some nix incantation.
<aranea> Basically, I'm looking for nixos-install --root, but just for nix (& nixpkgs) itself.
Ariakenom_ has quit [Ping timeout: 265 seconds]
<clever> aranea: nix copy --to local?root=/mnt /nix/store/hash-nix
<clever> aranea: that will copy a given storepath to /mnt/nix/store
genesis has quit [Ping timeout: 265 seconds]
<clever> but none of the profiles are setup, so youll need to manually run `/nix/store/hash-nix/bin/nix-env -i /nix/store/hash-nix` after you boot the system, and fix permisions and such
Neo-- has quit [Ping timeout: 245 seconds]
<aranea> Thanks! I'll have a look.
<brnzz> how can I see the path where a package is installed?
<aranea> Btw, the reason why I'm not using nixos here is that while I want to set up a system that's fully based on nixpkgs, I want to substitute my own init system & service manager instead of using systemd with the services provided by nixos.
<brnzz> I'm not install any binaries so i can't use the readlink method
<brnzz> installing*
<aranea> Am I right to assume that this is easier to achieve if I just completely ignore nixos for now and use the "raw" nixpkgs?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @B4dM4n opened pull request #73695 → nixos/zsh-syntax-highlighting: backport Fix highlighting when ohMyZsh is enabled → https://git.io/JeKCj
<aranea> I mean, it'd be great to eventually write my own nix derivations to handle all this inside nixos, but I don't think I can pull that off until I learn more about nix.
<{^_^}> [nixpkgs] @jonringer opened pull request #73696 → conan: 1.12.0 -> 1.12.3 → https://git.io/JeKWT
jgt has quit [Ping timeout: 252 seconds]
<brnzz> found it, it's the --out-path flag
fendor has quit [Ping timeout: 276 seconds]
<clever> aranea: probably simplest to just use the curl script
reallymemorable has quit [Quit: reallymemorable]
<aranea> Sure, I was just curious how to do it this way, because it seems conceptually nicer. :)
reallymemorable has joined #nixos
gagbo has quit [Ping timeout: 240 seconds]
gagbo has joined #nixos
reallymemorable has quit [Client Quit]
zebrag has quit [Quit: Konversation terminated!]
hmpffff has quit [Quit: nchrrrr…]
zebrag has joined #nixos
knupfer has joined #nixos
Chiliparrot has joined #nixos
hmpffff has joined #nixos
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @veprbl merged pull request #73610 → vscode 1.40.0 -> 1.40.1 → https://git.io/JeKL1
<{^_^}> [nixpkgs] @veprbl pushed commit from @Dema to master « vscode 1.40.0 -> 1.40.1 (#73610) »: https://git.io/JeKWc
Neo-- has joined #nixos
<evanjs> infinisil++
<{^_^}> infinisil's karma got increased to 161
<evanjs> whoah, nix-instantiate is _way_ faster than nixos-option
hlolli has joined #nixos
hmpffff has quit [Client Quit]
knupfer has joined #nixos
Dyraton01 has quit [Quit: Leaving]
sigmundv has quit [Ping timeout: 240 seconds]
hmpffff has joined #nixos
m0rphism has quit [Ping timeout: 252 seconds]
m0rphism has joined #nixos
m0rphism1 has joined #nixos
chloekek_ has joined #nixos
gagbo has quit [Ping timeout: 265 seconds]
gagbo has joined #nixos
Synthetica has joined #nixos
<infinisil> :)
mexisme has joined #nixos
sweep has joined #nixos
sweep has quit [Changing host]
sweep has joined #nixos
sweep is now known as genesis
mexisme has quit [Ping timeout: 252 seconds]
kleisli has joined #nixos
jgt has joined #nixos
<johnw> wedens[m]: can you give me an example?
m0rphism1 has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @disassembler pushed commit from @manveru to release-19.09 « nginx: add map_hash_*_size options »: https://git.io/JeKlt
virus_dave has joined #nixos
gxt has joined #nixos
<clever> evanjs: nixos-option is just a shell script that runs nix-instantiate several times
<clever> evanjs: you can also use nix repl, and then it can cache the results over many options
jumper149 has joined #nixos
<mmlb> is there an established procedure for updating at least 1 package in ruby-packages.nix?
<virus_dave> is there a nix stdlib function that is the nix-lang equivalent to `substituteInPlace` ?
<virus_dave> use case: I'm overriding a derivation that uses patch files to a slightly later commit sha. The patch files no longer cleanly apply because the corresponding source files were modified before the patch point. I want to modify the patch file _itself_ to now refer to the correct spot
mexisme has joined #nixos
<clever> > pkgs.substituteInPlace
<{^_^}> attribute 'substituteInPlace' missing, at (string):271:1
<clever> > pkgs.substituteAll
<{^_^}> { __functionArgs = <CODE>; __functor = <CODE>; override = <CODE>; }
<clever> virus_dave: check nixpkgs for uses of that, and you should find some examples
maxdevjs has joined #nixos
<evanjs> clever: yah I use the repl quite often.
<virus_dave> ~clever perfect, thanks!
<evanjs> Welp. Thanks guys, just seeing infinisil's example with <nixpkgs/nixos> answered my other question on how to use the moz-overlay from my config in shell.nix
<evanjs> .... Just import <nixpkgs/nixos> as well.... derp lol
<evanjs> and clever++
<{^_^}> clever's karma got increased to 244
fendor has joined #nixos
<johnw> cleer++
<johnw> clever++
<{^_^}> clever's karma got increased to 245
cosimone has joined #nixos
cosimone has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
werner291 has joined #nixos
evanjs has joined #nixos
domogled has joined #nixos
Ariakenom has joined #nixos
nschoe has joined #nixos
<virus_dave> clever: that actually looks like it only works on environment variables
noudle has quit [Read error: Connection reset by peer]
noudle has joined #nixos
noudle has quit [Client Quit]
<clever> virus_dave: pkgs.substituteAll will take its own vars (which are part of the set you give it), and replace the @var@'s in the file you point it to
<heath> he👋 I was attempting to build the examples for haskell-miso using "nix-build --arg examples true" and the resbuild fails like so: https://gist.github.com/heath/7edfe17fa15ac322cbab9c4947360ebc#file-gistfile1-txt-L19
<heath> I tried again just now and got the same error: https://gist.github.com/heath/0257628ebaa46bc72178f7148e3166cf
<virus_dave> Hmm, maybe i'm misreading the implementation then. Specifically i'm trying to turn "@@ -4175,23 +4175,9 @@" -> "@@ -5801,23 +5801,9 @@" in the patch file.
<heath> apparently I somehow added /nix/store/pdsw56avjwjqdj0q9dz6lfvzikc69j18-Xcode.app though it wants /nix/store/qgv5pfrjsi5vyffk0kwqibg403z3cdiw-Xcode.app
<clever> heath: line 50, you must download xcode yourself
hmpffff has quit [Quit: nchrrrr…]
<heath> I did
<clever> heath: and it must be the exact version nixpkgs is asking for
<evanjs> Ahhh and then I can just use e.g. `nix-env -f \<nixpkgs/nixos\> -iA pkgs.latest.rustChannels.stable.rust` if I want to test stuff that's available from my system configuration. Sweeet
erictapen has quit [Ping timeout: 240 seconds]
<heath> yeah, so I have no clue which version to use because I simply followed that link
<heath> twice now
<clever> heath: the link says 8.2
<heath> yep, 8.2 is what was downloaded
<clever> no idea then
<clever> blame apple for making things complicated!
<heath> Xcode_8.2.xip
gagbo has quit [Remote host closed the connection]
hlolli has quit [Ping timeout: 276 seconds]
<heath> well poo
gagbo has joined #nixos
domogled has quit [Quit: domogled]
ddima has joined #nixos
smatting has quit [Ping timeout: 240 seconds]
aveltras has joined #nixos
<chloekek_> How feasible would it be to ptrace a process (outside of Nix), record its HTTP calls, then generate a derivation that replays said process but with fetchurl substituted for the HTTP calls inside a Nix builder?
<chloekek_> That would make it easy to work with obtrusive third-party package managers without rewriting their logic in Nix.
<clever> chloekek_: https would like to ruin your day
<adisbladis> chloekek_: That would (probably) not work very well
<chloekek_> Probably not fun in any way since socket syscalls are globals instead of dependency-injected into main.
<chloekek_> Could enter a network namespace with unshare and then set up a local server and iptables. :þ
<{^_^}> [nixpkgs] @NinjaTrappeur opened pull request #73699 → tests/systemd-networkd-wireguard: migrate to python test runner → https://git.io/JeKl1
<adisbladis> chloekek_: In the case of Python for example it will depend on your interpreter version and platform what's actually pulled down
<chloekek_> Ah! Replicate the package repositories, not the package managers.
shibboleth has joined #nixos
<qyliss> chloekek_: Nix is cross-platform ;)
<chloekek_> Yeah but I only use Linux so that’s fine. :P
<clever> chloekek_: for maven/gradle, i replicate the cache directory, and tell it to not touch the network, so it thinks its acting on an old ~/.gradle/caches/
<clever> chloekek_: but i still have the issue of knowing what it wants in the cache
<adisbladis> chloekek_: It may be fine for you personally, but it wont work for upstream nixpkgs.
<clever> with the sandbox on, it will at least fail if i miss something
<chloekek_> clever: yeah, I tried that before and it was a pain indeed
<clever> then you need tools like yarn2nix, that understand the package manager, and can generate an expr to pre-download things
<{^_^}> [nixpkgs] @jtojnar opened pull request #73700 → fwupd: 1.2.10 → 1.3.2 → https://git.io/JeKlH
<chloekek_> adisbladis: one thing I really like about Nix is how easy it is to depend on things outside Nixpkgs; you can just fetchTarball and import from it. No need to update global config files.
<clever> bbl
twk has joined #nixos
ng0 has joined #nixos
eraserhd2 has joined #nixos
eraserhd has quit [Ping timeout: 250 seconds]
<wedens[m]> how do I proceed with the following task: I'd like to have a regular graphical nixos iso that also contains all buildtime and runtime dependencies of specific nixos configuration
<wedens[m]> basically I need to bootstrap machine from the image, but I don't know things like parition ids at the time of building the image
<virus_dave> ok, i think what i want is a nix wrapper around `substituteInPlace --replace $1 $2`, which doesn't currently exist afaict. Shouldn't be too hard to write, but :(
<infinisil> wedens[m]: You can build such derivations without internet
<aleph-> Question, anyone see what I'm doing wrong? Attempting an install of nixOS on a new server, and I'm getting an error while trying to install the bootloader.
<aleph-> Inside that I have the error, my small config.nix, and what boot system I'm on
<infinisil> wedens[m]: Perhaps using nesting.clone or nesting.children would work best to do this kind of thing
<samueldr> aleph-: your server boots in bios mode
<samueldr> aleph-: your disk is partitioned as GPT
<aleph-> And crap
* aleph- sighs
<samueldr> aleph-: when booting in legacy mode, and partitioned as GPT, grub needs an additional partition
<samueldr> IIRC, 2MB is enough
<samueldr> relevant details here, aleph-, https://en.wikipedia.org/wiki/BIOS_boot_partition
<samueldr> and no, you don't need to switch out of GPT, GPT is fine
gagbo has quit [Ping timeout: 276 seconds]
<wedens[m]> infinisil: I don't need to boot into this configuration from iso. it should mostly serve as a binary cache
gagbo has joined #nixos
<infinisil> For a long time nesting.* didn't put stuff in the boot loader at least
<infinisil> And it only does it for grub now
<infinisil> wedens[m]: But you can use something very much like it still
<wedens[m]> so, I'll use `nesting` as a way to populate the store?
<dmj`> heath: can you call md5sum on it for me, I can cross ref it with mine
<infinisil> wedens[m]: It works by doing something like `(import <nixpkgs/nixos> { configuration = { ... }; }).config.build.system.toplevel` and then you can link that result in config.system.extraSystemBuilderCmds to $out/extra
<dmj`> heath: I do doubt apple changed the contents of that Xip
<infinisil> where $out will end up as /run/current-system
<dmj`> but apple is also trying to destroy nix so ....
<infinisil> wedens[m]: Although, this would only get you the runtime deps, not the build time deps hmm..
Mic92 has quit [Quit: WeeChat 2.6]
<gentauro> I tried to build FF to play with my Nokia 800 Tough (KaiOS) and somebody wrote this on /r/haskell -> http://matthewbauer.us/blog/all-the-versions.html
<gentauro> :o
<gentauro> why build if you can run cached bins ;)
Jackneill has quit [Remote host closed the connection]
<wedens[m]> infinisil: is there some way other than build-hook to copy build time deps?
Ralith_ has joined #nixos
<gchristensen> I wonder if the closure info tooling works on a .drv
wildtrees has joined #nixos
<niksnut> what tooling?
<aleph-> Weird, can't even enter the bios on this machine. That's odd
<gchristensen> niksnut: if https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/closure-info.nix can be used on the nixos system's `.drv` attribute, to get the build-time closure
<niksnut> hm, good question
gagbo has quit [Ping timeout: 240 seconds]
gagbo has joined #nixos
<{^_^}> [nixpkgs] @kylesferrazza opened pull request #73702 → mongodb-compass: add wrapGAppsHook → https://git.io/JeK8y
<aleph-> Okay there we go, just installed in bios mode. That was annoying
not_a_frenchman_ has joined #nixos
<not_a_frenchman_> Does anyone know how to build firefox (unwrapped) with debug symbols?
<not_a_frenchman_> I have tried nix-build -E 'with import <nixpkgs> {}; enableDebugging firefox-unwrapped'
* ultranix just upgraded nixos to unstable, and hopes pc doesn't catch fire
<not_a_frenchman_> libxul.so gets stripped which is not what I want.
erictapen has joined #nixos
virus_dave has quit [Remote host closed the connection]
mudrion[m] has joined #nixos
ixxie has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
<steveeJ> any chance someone has snippet laying around which shows how to build the kernel from a custom repo?
MinceR_ is now known as MinceR
ultranix has quit [Remote host closed the connection]
reallymemorable has joined #nixos
domogled has joined #nixos
red[evilred] has joined #nixos
<red[evilred]> @ultranix - all my production systems are on unstable, so meh ;-)
<betaboon> whats the best approach if i have multiple PRs that build on each other ?
<infinisil> gchristensen: Build time dependencies aren't as clear as runtime deps
oscarvarto has joined #nixos
<infinisil> If you can't substitute stdenv, you'll have to get the bootstrapping tools
selfsymmetric-pa has joined #nixos
<oscarvarto> Hi! Is there a way to make vscode live share work in Nixos?
<infinisil> gchristensen: And the same for the whole dependency closure
<infinisil> Hm wait no
<infinisil> Just the inputs to the .drv should be enough actually
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
lovesegfault has joined #nixos
<slabity> Can you use NixOps to setup and deploy nixos containers? If so, what do I need for `deployment.targetEnv`?
<slabity> Unfortunately I do not see anything in the NixOps manual about this
<betaboon> slabity: https://github.com/PsyanticY/nixops-container does that help ?
gagbo has quit [Ping timeout: 240 seconds]
<slabity> Thanks betaboon++
<{^_^}> betaboon's karma got increased to 3
gagbo has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
shibboleth has quit [Quit: shibboleth]
<steveeJ> s/aren't/are
endforma1 has joined #nixos
<aminechikhaoui> steveeJ it probably converts those to something the kernel config understands
endformationage has quit [Ping timeout: 240 seconds]
<steveeJ> aminechikhaoui: my vim yells at me if I try to save a file like that
<lordcirth> I'd guess that 'yes' is a variable
<gchristensen> they're coming from the `with` at the top
<lordcirth> Ah, right. Can't use bools because the kernel uses y,n,m
<steveeJ> so to satisfy my vim I can just use these strings, right?
<gchristensen> no, you should get the `yes`, `no`, and `module` values from lib.kernel
<{^_^}> [nixpkgs] @romildo opened pull request #73704 → freeoffice: 971 -> 973 → https://git.io/JeK4F
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
gagbo has quit [Ping timeout: 265 seconds]
kisonecat has joined #nixos
gagbo has joined #nixos
<steveeJ> gchristensen: do you see a way to access these through an imported nixpkgs?
<tilpner> steveeJ: Impossible in restricted mode
<tilpner> steveeJ: Otherwise you can just with import <nixpkgs/lib/kernel.nix> { inherit lib; version = null; };
<tilpner> steveeJ: I ended up copying that file into my tree :(
noudle has joined #nixos
<steveeJ> tilpner: dang, thanks. I think that workaround should do it for me
wildtrees has quit [Ping timeout: 276 seconds]
<tilpner> (Actually, might be possible with restricted mode, but not in a NIX_PATH-independent way)
<{^_^}> [nixpkgs] @matthewbauer pushed to release-19.09 « ledger-udev-rules: update to 2019-05-30 »: https://git.io/JeKBC
not_a_frenchman_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer pushed to release-19.03 « ledger-udev-rules: update to 2019-05-30 »: https://git.io/JeKB8
gagbo has quit [Ping timeout: 276 seconds]
gagbo has joined #nixos
<Thra11> It's probably frowned upon, but is it possible to package a file which is simply included alongside the package's default.nix (as opposed to fetching sources from elsewhere)?
fendor_ has joined #nixos
zebrag has quit [Ping timeout: 240 seconds]
inkbottle has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
<Yaniel> that is sometimes done with helper scripts
<Yaniel> also patches
<Yaniel> so yes it is possible
<Thra11> I tried putting `srcs = [ ./File1 ./File2 ];`, but they don't show up in the build directory
gxt has joined #nixos
<Yaniel> your package has to copy them to $out
oscarvarto has quit [Quit: oscarvarto]
[Leary] has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Lassulus merged pull request #72284 → tinyfecvpn: init → https://git.io/JeKBo
<{^_^}> [nixpkgs] @Lassulus pushed commit from @petabyteboy to master « tinyfecvpn: init at 20180820.0 »: https://git.io/JeKBK
<Yaniel> nvm build directory
jimmyeatworld has joined #nixos
<Thra11> I something like `installPhase = ''install File1 $out/path/'';`, but it complains that it cannot stat File1
kisoneca1 has joined #nixos
<Thra11> If I run with --keep-failed, /tmp/nix-build-* only contains env-vars, not the "sources"
lounge-user22 has joined #nixos
<{^_^}> [nixpkgs] @bjornfor pushed to master « Revert "gnomeExtension.system-monitor-applet: mark as broken" »: https://git.io/JeKB9
jimmyeatworld has quit [Quit: leaving]
Lears has joined #nixos
lounge-user22 has quit [Client Quit]
jimmyeatworld has joined #nixos
<Thra11> I also have `dontUnpack = true;` I wonder if that means it does nothing with the sources (as opposed to unpacking them or copying them into the build directory)
hmpffff has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
kisoneca1 has quit [Quit: leaving]
<{^_^}> [nixpkgs] @romildo opened pull request #73705 → ocamlPackages.printbox: 0.2 -> 0.3 → https://git.io/JeKRe
domogled has quit [Ping timeout: 265 seconds]
fendor_ has quit [Ping timeout: 240 seconds]
<Thra11> Ah. Looks like if I skip the srcs completely and just refer to ${./File1} in the installPhase, it works
lovesegfault has quit [Quit: WeeChat 2.6]
Neo-- has quit [Ping timeout: 245 seconds]
<selfsymmetric-pa> I have a weird issue where if I type `nix-shell` and then `pipenv install`, everything installs correctly, but if I run `nix-shell --run 'pipenv install'` in the same directory then everything fails with e.g. `An error occurred while installing sqlalchemy==1.3.8`. Any idea why that would be the case?
cosimone has quit [Quit: Quit.]
<selfsymmetric-pa> I have the same problem if I use `--command` instead of `--run`.
domogled has joined #nixos
<selfsymmetric-pa> Running `nix-shell --command 'pipenv --rm'` works fine.
fendor_ has joined #nixos
<selfsymmetric-pa> I am using an old pin of nixpkgs because I want python 3.7.2 explicitly. Anyone know how to fix the patch version in my `shell.nix`?
<infinisil> > python37
<{^_^}> "<derivation /nix/store/r18w4q63ffh9yvnd09w3lclyr2ngyvw7-python3-3.7.5.drv>"
<infinisil> > python3.name
<{^_^}> "python3-3.7.5"
domogled has quit [Client Quit]
<{^_^}> [nixpkgs] @romildo opened pull request #73706 → enlightenment.terminology: 1.5.0 -> 1.6.0 → https://git.io/JeKRs
<infinisil> python 3.7 seems to be the default
irl25519 has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #73707 → fribidi: add patch for CVE-2019-18397 → https://git.io/JeKRZ
kisonecat has quit [Ping timeout: 276 seconds]
<infinisil> Oh, you mean including the minor version .2
<infinisil> s/minor/patch
<infinisil> That is very specific
sondr3 has joined #nixos
<selfsymmetric-pa> Indeed it is, no argument there; I have a specific operating environment that does not permit upgrading the patch.
<selfsymmetric-pa> Under most circumstances updating the patch version would be viable and recommended but it is not an option here.
zupo has joined #nixos
<infinisil> selfsymmetric-pa: What if you run nix-shell with --pure?
<selfsymmetric-pa> infinisil: I'll give that a shot, thank you.
<sondr3> anyone here change the $NIX_PATH variable? Looking to move from symlinking my configuration.nix, but unsure if I can just copy over the defaults and change the `nixos-config` in $NIX_PATH
<selfsymmetric-pa> infinisil: No dice. :(
domogled has joined #nixos
<selfsymmetric-pa> sondr3: Yep, I've done that.
<infinisil> selfsymmetric-pa: I want to know whether it leads to the same behavior with nix-shell vs nix-shell --run
<sondr3> selfsymmetric-pa: sweet, do you have your configuration public so I can take a look? Or did you just change the `nixos-config` part?
<selfsymmetric-pa> infinisil: No, `nix-shell` interactively works. `nix-shell --run`, `nix-shell --pure --run`, and `nix-shell --command` all break.
<selfsymmetric-pa> In the same way.
<infinisil> selfsymmetric-pa: What's the full error?
<selfsymmetric-pa> sondr3: Yeah, I set `nix.nixPath = ["/nix/var/nix/profiles/per-user/root/channels" "nixos-config=/home/<me>/my/config/path/configuration.nix"]`
<selfsymmetric-pa> And then I run it twice to bootstrap XD
<selfsymmetric-pa> infinisil: You know what, I've not cranked up the verbosity on the pipenv command. I should try that first.
<sondr3> alright, sweet, thanks!
<selfsymmetric-pa> Thanks for humoring me here.
<selfsymmetric-pa> sondr3: Good luck!
<sondr3> if I disconnect and never return I'm blaming you
<selfsymmetric-pa> sondr3: lol I'll keep that in mind. Hoping to see you again.
<{^_^}> [nixpkgs] @timokau merged pull request #73448 → elixir_1_9: 1.9.2 -> 1.9.4 → https://git.io/Jerpq
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JeKRu
<sondr3> also, I mistakenly did `nixos-rebuild build` in my dotfiles folder and now I can't get rid of the `result` folder
<selfsymmetric-pa> infinisil: They're all of the form `ModuleNotFoundError: No module named 'pip._internal.main'`.
<selfsymmetric-pa> infinisil: I think I saw this one on GitHub somewhere, gonna take a look.
<{^_^}> #39558 (by das-g, 1 year ago, closed): in nix-shell, 'pipenv install' etc. fail with "ModuleNotFoundError: No module named 'pip._internal'"
<infinisil> Ah yup seen that too
<selfsymmetric-pa> Looks like some work has happened here, so I think what I want to do is try and use a more recent version of nixpkgs. However to do that I'll need to figure out how to override the patch version of python.
<selfsymmetric-pa> Right now I use `552d8a70d4c47a6e52a8e0b26e3a2e33d5b94ca6` because it happens to have python 3.7.2.
<infinisil> Yeah that's the best course of action i think
mounty has quit [Ping timeout: 240 seconds]
mounty has joined #nixos
<sondr3> followup, is there a way to make a variable accessible across my .nix files? I'd like to be able to access a hostname variable to set some paths
<mdash> sondr3: pass it as an argument
<wucke13> How does one use a module froma local nixpkgs checkout in his system configuration (/etc/nixos/configuration.nix) without fully switching to the local nixpkgs checkout?
<sondr3> mdash: so I'd do something like `imports = [ ../../blah { hostname } ]`?
<mdash> sondr3: oh, modules, not derivations
<mdash> for that just add some stuff to your config and you can access it in any other module
civodul has joined #nixos
<sondr3> mdash: is it enough with a `let blah = "blah"` at the top of my configuration file to be able to access it in files imported in it?
<mdash> no, that won't help
<{^_^}> [nixpkgs] @jonringer merged pull request #73688 → pythonPackages.wrf-python : 1.3.1.1 -> 1.3.2 → https://git.io/JeK3a
<{^_^}> [nixpkgs] @jonringer pushed commit from @mhaselsteiner to master « python: wrf-python : 1.3.1.1 -> 1.3.2 »: https://git.io/JeKRK
<sondr3> mdash: I found https://discourse.nixos.org/t/variables-for-a-system/2342/7, I think I'll be able to work something out from it
<sondr3> thanks though!
noudle has quit []
<mdash> yeah it's irritating how modules and the package tree are so different sometimes
<{^_^}> [nixpkgs] @B4dM4n opened pull request #73709 → cargo-generate: 0.4.0 -> 0.5.0 → https://git.io/JeKR5
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @Lassulus merged pull request #72881 → nixos/bitcoind: remove PermissionsStartOnly → https://git.io/Jean8
<{^_^}> [nixpkgs] @Lassulus pushed commit from @erikarvstedt to master « nixos/bitcoind: remove PermissionsStartOnly »: https://git.io/JeKRA
domogled has joined #nixos
<{^_^}> [nixpkgs] @Moredread opened pull request #73710 → jellyfin: use FFmpeg 4 as recommended → https://git.io/JeKRp
<selfsymmetric-pa> What `-I ""` arg should I use for e.g. `nix edit` to get my `pkgs` into scope on NixOS?
<selfsymmetric-pa> The result of `nix-channel --list` is `nixpkgs https://nixos.org/channels/nixos-19.09`.
<{^_^}> [nixpkgs] @jonringer merged pull request #72957 → python3Packages.cliff: fix build and add tests → https://git.io/Jeaol
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.cliff: fix build and add tests »: https://git.io/JeK0J
<selfsymmetric-pa> Something like `-I "<nixpkgs>"`?
<selfsymmetric-pa> I dunno, it's hard to Google.
<tilpner> -f '<nixpkgs>'
<selfsymmetric-pa> THAT was it. Thank you.
<selfsymmetric-pa> tilpner++
<{^_^}> tilpner's karma got increased to 54
<selfsymmetric-pa> Okay I'll actually write it down this time...
<tilpner> Make an alias
<selfsymmetric-pa> Better, I'll make an Emacs function for nix files.
cosimone has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
<selfsymmetric-pa> Okay, what's strange is that `${patch}` appears in the python37 default.nix, but the definition is nowher to be found. It's not in the package parameters either.
<selfsymmetric-pa> Where do `major`, `minor`, and `patch` come from??
<{^_^}> [nixpkgs] @B4dM4n opened pull request #73711 → cargo-crev: init at 0.11.0 → https://git.io/JeK0I
domogled has quit [Quit: domogled]
lovesegfault has joined #nixos
<selfsymmetric-pa> Oh, I think it's gotten from `with sourceVersion;`. Cool.
<selfsymmetric-pa> I should be able to just make an override, wish me luck.
domogled has joined #nixos
<{^_^}> [nixpkgs] @virusdave opened pull request #73712 → substitute: init at 0 → https://git.io/JeK03
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<lovesegfault> domenkozar[m], aszlig: any of you around?
<aszlig> aszlig: busy, but somewhat[TM] around
troydm has joined #nixos
<Thra11> Is it possible for an sd-image config (or /etc/nixos/configuration.nix) to *append* a package to hardware.firmware?
<buckley310> at this point, nix.useSandbox is set to TRUE unless I disable it in my config, right?
<buckley310> at one point i remember enabling it manually, but it seems like its on by default now
<{^_^}> [nixpkgs] @rixed opened pull request #73713 → ocaml-sodium: init at 0.6.0 → https://git.io/JeK04
stzsch has quit [Ping timeout: 252 seconds]
isHavvyGhosting has joined #nixos
mexisme has joined #nixos
isHavvy has quit [Ping timeout: 250 seconds]
otulp has joined #nixos
sondr3 has quit [Quit: WeeChat 2.6]
sondr3 has joined #nixos
sondr3 has quit [Client Quit]
sondr3 has joined #nixos
<sondr3> whoop, everything worked after some $NIXOS_CONFIG wrangling
<sondr3> oh, I have created a recursive symlink in my dotfiles, fun
<samueldr> Thra11: hardware.firmware is a "list of packages", so it will not be overriden if you set it in a configuration, but merged with the other values set
<samueldr> Thra11: so depending on what is desired out of "appending" a firmware, it's likely doing what you want already
<Thra11> samueldr: ah cool. Thanks
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
philr has joined #nixos
<thoughtpolice> domenkozar[m]: thanks for the update on the multi-user thing, in theory i think i know how to fix the mac builder (and might try) though it would be a huge hack
wildtrees has joined #nixos
<sondr3> can someone take a look at this portion of my configuration.nix and see why it creates two symlinks? I get a symlink in ~/.emacs.d and a `emacs` symlink in the directory of the file
<sondr3> I think it's because the `ln` line reads the first word `emacs` on the next line... but that doesn't make sen
<sondr3> se
<clever> sondr3: is ~/.emacs.d supposed to be a dir or symlink?
<sondr3> symlink
<{^_^}> [nixpkgs] @buckley310 opened pull request #73714 → gnomeExtensions.dash-to-panel: 23 -> 26 → https://git.io/JeK0d
<clever> sondr3: drop the / at the end then
<clever> sondr3: ~/.emacs.d/ says to create a symlink in an existing directory by that name
zupo has joined #nixos
<gchristensen> any recommendations for the most trivial way to get a trivial wsgi application running under nixos?
gagbo has quit [Ping timeout: 246 seconds]
<clever> gchristensen: is that python?
<sondr3> clever: thanks, but that still made a symlink in `config/home/emacs/emacs` which is where I'm confused... it creates the ~/.emacs.d symlink fine but then I get a second symlink out of nowhere
<gchristensen> clever: yeah
<clever> cgi.assign = ( ".py" => "/usr/bin/python"
<clever> gchristensen: ack, my example isnt wsgi anymore, its just plain cgi, lol
<gchristensen> it needs a persistent process
gagbo has joined #nixos
<clever> maybe the old apache config...
<clever> nope, not sure where that went to
<gchristensen> tbh I'm tempted to just run flask's development server :D
<clever> sondr3: what if you manually run `ln -svf /etc/nixos/config/home/emacs/ ~/.emacs.d` ?
<clever> what does it output?
knupfer has quit [Ping timeout: 250 seconds]
<sondr3> clever: oh wait that also creates another symlink
<sondr3> okay now I'm properly confused
<clever> what does it output?
<{^_^}> [nixpkgs] @1000101 opened pull request #73715 → unifiStable: 5.11.39 -> 5.12.22 → https://git.io/JeKET
<lovesegfault> aszlig: Oh, just saw you responded, you tagged yourself instead of me :P
<sondr3> it's just another symbolic link to my emacs config, so it's emacs all the way down
<sondr3> after reading the manpage and doing `ln -sfT` it seems to work fine
<aszlig> haha
<lovesegfault> aszlig: Wanted to nag you for a review: https://github.com/NixOS/nixpkgs/pull/73608
<{^_^}> #73608 (by lovesegfault, 16 hours ago, open): beets: fix absubmit deps
<aszlig> lovesegfault: sorry
<lovesegfault> When you have time
<lovesegfault> No worries :D
<clever> sondr3: if a directory is in the way, it will put a symlink inside the dir, rather then replacing it
<sondr3> clever: huh, I though the `-f` would remove it first, but I guess it only works on files: "-f/--force remove existing destination files"
<sondr3> but thanks regardless, you're a great rubber duck, clever++
<{^_^}> clever's karma got increased to 246
ng0 has quit [Ping timeout: 260 seconds]
<lovesegfault> Thanks aszlig :)
alexherbo28 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @veprbl opened pull request #73716 → fastjet-contrib: init at 1.042 → https://git.io/JeKEq
<lovesegfault> aszlig++
<{^_^}> aszlig's karma got increased to -666
<lovesegfault> wat
<lovesegfault> :P
<tilpner> gchristensen: prometheus-mq-notifier or something more public?
<sondr3> wat
<sondr3> can you do <person>--?
<gchristensen> no, sondr3
<clever> sondr3: if you try to upvote yourself, you loose points
<sondr3> so he has upvoted himself a ton of times? oO
<clever> yeah
inkbottle is now known as zebrag
<gchristensen> aszlig++
<cransom> i've never seen a 0 sum karma bot before, that would be interesting.
<{^_^}> aszlig's karma got increased to -666
<clever> 2019-11-18 17:44:17 -!- aszlig [~aszlig@orz.headcounter.org] has joined #bottest
<clever> 2019-11-18 17:44:21 < aszlig> aszlig++
<{^_^}> aszlig's karma got increased to -665
<clever> sondr3: i think he has a bot to do it
<qyliss> there's no bot
<qyliss> he does it himself
<clever> ah
<lovesegfault> lol
<lovesegfault> There was someone else who had negative karma, but I don't remember who
<lovesegfault> but they liked it at exactly -1
ng0 has joined #nixos
NoctisLabs has quit [Quit: WeeChat 2.6]
NoctisLabs has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #73717 → elasticsearch-curator: move out of python-packages → https://git.io/JeKE8
nexgen has joined #nixos
alexherbo2 is now known as alex```
<{^_^}> [nixpkgs] @Lassulus merged pull request #72851 → vcv-rack: 1.1.5 -> 1.1.6 → https://git.io/JeaeF
<{^_^}> [nixpkgs] @Lassulus pushed commit from @Moredread to master « vcv-rack: 1.1.5 -> 1.1.6 »: https://git.io/JeKER
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #72829 → signal-cli: enable dbus functionality → https://git.io/Je2d5
<{^_^}> [nixpkgs] @Lassulus pushed 3 commits to master: https://git.io/JeKEa
tobiasBora has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #72719 → nixos/nginx: update comment → https://git.io/JegjJ
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JeKEi
mexisme has quit [Ping timeout: 240 seconds]
<selfsymmetric-pa> `.override { foo = "blah" }` works, but what is the equivalent of `.override { foo.bar = "blah" }` that leaves the rest of `foo` alone?
drakonis_ has quit [Ping timeout: 245 seconds]
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
Ariakenom has quit [Read error: Connection reset by peer]
<infinisil> selfsymmetric-pa: .override (old: { foo = old.foo // { bar = "blah"; }; })
<infinisil> Or you can use lib.recursiveUpdate for this
<selfsymmetric-pa> aha, thank you
<selfsymmetric-pa> Hm. Unfortunately `pkgs.python37.override (attrs: { sourceVersion = attrs.sourceVersion // { patch = 2; }; });` did not work.
<selfsymmetric-pa> I still have `python --version` showing up as 3.7.5, not 3.7.2 like I wanted.
<selfsymmetric-pa> What's that about?
<selfsymmetric-pa> Also I'd expect a sha failure.
eacameron has joined #nixos
fendor_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Lassulus merged pull request #72192 → Allow ffmpeg attributes to be overridden → https://git.io/JeuE9
<{^_^}> [nixpkgs] @Lassulus pushed commit from @Thra11 to master « Allow ffmpeg attributes to be overridden »: https://git.io/JeKEF
<infinisil> selfsymmetric-pa: You need to override src probably
<infinisil> Usually such version overrides don't get propagated to the src attribute because it's declared with a `rec { version = ...; src = ...; }`
<selfsymmetric-pa> oh, can I compute the new fixed point?
<infinisil> Nah
<selfsymmetric-pa> I have to override every dependent attribute?
<{^_^}> [nixpkgs] @Lassulus merged pull request #72259 → gpscorrelate: unstable-2019-09-03 -> 2.0 → https://git.io/Jeu7I
<{^_^}> [nixpkgs] @Lassulus pushed commit from @sikmir to master « gpscorrelate: unstable-2019-09-03 -> 2.0 »: https://git.io/JeKue
<infinisil> Every one that depends on the version, but src is probably enough
<selfsymmetric-pa> Okay, I'll try that.
<{^_^}> [nixpkgs] @LnL7 merged pull request #73457 → erlangR22: 22.0.4 -> 22.1.7 → https://git.io/Jeovd
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/JeKuJ
drakonis_ has joined #nixos
sondr3 has quit [Quit: WeeChat 2.6]
<selfsymmetric-pa> So I need an override for sourceVersion and an overrideAttrs for the rest?
<{^_^}> [nixpkgs] @risicle opened pull request #73718 → [r19.03] fribidi: add patch for CVE-2019-18397 → https://git.io/JeKuq
<{^_^}> [nixpkgs] @willghatch opened pull request #73719 → endless-sky: 0.9.8 -> 0.9.10 → https://git.io/JeKuY
chloekek_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #71710 → elastix: 4.9.0 -> 5.0.0 (and mark unbroken) → https://git.io/JeRFp
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeKu3
<{^_^}> [nixpkgs] @c0bw3b pushed to master « nixos/nginx: correct header »: https://git.io/JeKuG
cinimod has quit [Ping timeout: 265 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
growpotkin has joined #nixos
kisonecat has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
<eacameron> I'm doing `let nixos = import (pkgs.path + /nixos); in nixos { system = ...; configuration = ... }` However I want to override some of the packages used by this new system. How do you do that? `configuration` doesn't expect a `nixpkgsOverlay` or `config`...
hmpffff has quit [Quit: nchrrrr…]
irl25519 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
Jackneill has quit [Remote host closed the connection]
kisonecat has quit [Ping timeout: 246 seconds]
<clever> eacameron: configuration itself, contains a nixpkgs.overlays option
shibboleth has joined #nixos
<eacameron> clever: ^ sorry like this?
<clever> eacameron: what error does it give when you do that?
<{^_^}> [nixpkgs] @ggPeti opened pull request #73720 → pgsidekick: init at unstable-2014-11-23 → https://git.io/JeKuy
<eacameron> clever: error: value is a string with context while a set was expected, at /home/elliot/obsidian/tezos-token-dashboard-deploy-client--staging/src/.obelisk/impl/default.nix:311:23
<clever> eacameron: can you paste a more complete example?
ggpeti has joined #nixos
<eacameron> clever: Oh. No that was an issue with nixos1909
<ggpeti> sup. any maintainers around who dabble in postgresql related packages?
kisonecat has joined #nixos
<ggpeti> just submitted a PR, would appreciate a review and/or merge https://github.com/NixOS/nixpkgs/pull/73720
<{^_^}> #73720 (by ggPeti, 1 minute ago, open): pgsidekick: init at unstable-2014-11-23
<eacameron> This looks like what I need. the ACME v1 EOL just went into affect .... :/
nschoe has quit [Ping timeout: 240 seconds]
<eacameron> clever: related question: `import (pkgs.path + /nixos); in nixos ....` <- doesn't this throw away any particular overrides/configs that `pkgs` has when building the new `nixos` system?
<clever> eacameron: yes
<eacameron> clever: That's what I thought. That's probably not exactly what we had in mind...
<eacameron> clever: Anyway it's working now so thank you!!
<clever> there is also the nixpkgs.pkgs option
<clever> which you can just set to an entire pkgs set
<eacameron> oh interesting.
<clever> then it will ignore nixpkgs.config and nixpkgs.overlays
domogled has quit [Remote host closed the connection]
<eacameron> I see. That makes sense... that's cool. So you can at least recover the behavior easily.
domogled has joined #nixos
philr has quit [Ping timeout: 276 seconds]
<eacameron> But that begs the question: Why even import a path like this? Isn't there a pkgs.buildNixos or something to do what you'd expect?
<eacameron> I didn't write this code so maybe that's already a thing...
drakonis_ has quit [Read error: Connection reset by peer]
LysergicDreams has quit [Ping timeout: 240 seconds]
<clever> eacameron: nixos is its own function, in nixpkgs/nixos/default.nix, that normally imports its own nixpkgs, based on the config in configuration.nix
LysergicDreams has joined #nixos
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
drakonis_ has joined #nixos
domogled has quit [Ping timeout: 276 seconds]
<spacekookie> Does anyone know why mount a zfs root fs would fail after luks with "mounting zroot on /mnt-zroot/ failed: no such device or directory" ?
<spacekookie> The weird thing is that basically the same setup works fine on my laptop
<{^_^}> [nixpkgs] @virusdave opened pull request #73721 → darwin.cctools: 895 -> 927.0.2 → https://git.io/JeKze
<gchristensen> hm /mnt-zroot seems fishy
<{^_^}> [nixpkgs] @timokau opened pull request #73722 → [WIP] pynac: switch to python3 → https://git.io/JeKzv
<gchristensen> timokau[m]: if you wanted, git is probably easy to switch to py3 too :)
<das-g[m]> Can nix-shell be used / tested in a nixos test? If so, how?
<das-g[m]> machine# error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13
<clever> das-g[m]: what if you nix-shell ${(import ./shell.nix).drvPath} ?
<clever> then it will eval it before booting the test, and use the host nixpkgs
growpotk- has joined #nixos
<das-g[m]> where would that go?
<ggpeti> or add it using $NIX_PATH or -I, as the error message says
<das-g[m]> (not inside the test script perl code, I suppose?)
<{^_^}> [nixpkgs] @aanderse merged pull request #73692 → nixos/matomo: backport module fix (19.09) → https://git.io/JeKcy
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to release-19.09: https://git.io/JeKzL
<clever> das-g[m]: in the script where your running nix-shell
<ggpeti> btw use python
leotaku has joined #nixos
<ggpeti> all tests are being ported to python
<ggpeti> so use import ./make-test-python.nix
<ggpeti> and then just machine.succeed and so on
<das-g[m]> actually, I'm trying to make a test that would have caught this regression here: https://github.com/NixOS/nixpkgs/issues/56481
<{^_^}> #56481 (by dgarzon, 37 weeks ago, closed): [regression] pipenv fails to create virtualenv in nix-shell.
<das-g[m]> oh, wait, you mean use python instead of perl?
<das-g[m]> (not instead of pipenv)
civodul has quit [Remote host closed the connection]
hyper_ch has quit [Quit: ZNC 1.7.5 - https://znc.in]
<aleph-> Hmm there's not a certbot module is there? Just acme?
hyper_ch has joined #nixos
<aleph-> Was looking for something I could use a cloudflare dns plugini with
<{^_^}> [nixpkgs] @davidtwco opened pull request #73723 → sycl-info: init at efbe6d5 → https://git.io/JeKzq
<das-g[m]> Is there a manual for using make-test-python.nix, similar to https://nixos.org/nixos/manual/#sec-writing-nixos-tests ?
<ggpeti> you can use the same functions
<ggpeti> and see some tests that are already python
growpotk- has quit [Quit: ZNC 1.7.5 - https://znc.in]
<spacekookie> gchristensen: sorry I think it might just be /mnt-root
shibboleth has quit [Quit: shibboleth]
drakonis_ has quit [Read error: Connection reset by peer]
<eacameron> Sigh... I need to effectively backport the entire acme module to get acme working again. Is there a way to "override" an entire module?
<ggpeti> what kind of override would that be?
<qyliss> disabledModules and import the new one
<gchristensen> eacameron: backport to what?
<eacameron> ggpeti: Yeah I guess what qyliss said. Delete the old version and import my own copy from 19.09--possibly with tweaks.
<eacameron> gchristensen: 18.09 or thereabouts
<gchristensen> ouch
<eacameron> yeah... :(
<eacameron> Actually there's no way I'm gonna do that. I'd have to backport changes to nginx too
shabius has quit [Quit: Leaving]
domogled has joined #nixos
<eacameron> Is there a way to *force* a value that isn't in an option's enum?
<eacameron> I'm hoping that might get me by...
dansho has joined #nixos
Acou_Bass has quit [Ping timeout: 250 seconds]
shabius has joined #nixos
ambro718 has joined #nixos
<ambro718> I want to make a pure nix-shell but add extra packages. I don't understand why this does not work: nice -n19 nix-shell /etc/nixos/nixpkgs -A firefox-unwrapped --pure -p git
<ambro718> error: attribute 'firefox-unwrapped' in selection path 'firefox-unwrapped' not found
<ambro718> it works without the -p git
Acou_Bass has joined #nixos
<eacameron> gchristensen: qyliss: clever: is there a way to force my way around this? `error: The option value `security.acme.certs.token-dashboard.tezos.internal.obsidian.systems.plugins.[definition 1-entry 5]' in `<unknown-file>' is not of type `one of "cert.der", "cert.pem", "chain.pem", "external.sh", "fullchain.pem", "full.pem", "key.der", "key.pem", "account_key.json"'.`
<eacameron> I've upgrade `simp_le` manually in this pkgset but now it won't let me specify that I want the plugins that I need
<qyliss> Did you try mkForce? (I have no idea if it does this, but it'd be my first guess)
<ggpeti> ambro718: have you tried shuffling the attributes around?
<ggpeti> arguments*
<eacameron> qyliss: Yes
<eacameron> ggpeti: eh?
<{^_^}> [nixpkgs] @chkno opened pull request #73724 → nixos/tlp: Say what TLP is → https://git.io/JeKzV
<ggpeti> idk, maybe -p before --pure works
domogled has quit [Quit: domogled]
<qyliss> ambro718: I'm not sure you can do that
<eacameron> qyliss: Is there a `mkReallyDarkForce`?
<qyliss> But you could do nix-shell /etc/nixos/nixpkgs -A firefox-unwrapped, and then do nix-shell /etc/nixos/nixpkgs --pure -p git inside that
<qyliss> eacameron: none that has been revealed to me :P
<ambro718> qyliss: not sure about that, wouldn't the second nix-shell get rid of most things prepared by the first?
<ggpeti> eacameron: regarding your problem, where do the module options get loaded from? maybe you could make a derivation from nixpkgs, with only the option enum patched, but then how do we put that patched nixpkgs to the module-loading-place
<qyliss> ambro718: Oh, maybe
<qyliss> You could put the --pure on the outer one
<qyliss> As long as you could still access nix-shell inside...
<ambro718> yeah but I'm pretty sure the result is going to be a mess
<ggpeti> a purification filter, eh eh
mexisme has joined #nixos
<eacameron> ggpeti: I see. Yeah I could possibly just patch that one part of the original module
<eacameron> I mean... even in Haskell I can `unsafeCoerce` through this. Nix has even fewer back doors than haskell??? wat
<eacameron> :P
<ambro718> well, I guess it might work assuming you only need the outer shell for path stuff
<ggpeti> legend has it, the ones who use pure-eval walk a few centimeters above the ground, never touching it
<ambro718> anyway I'm trying non-pure firefox build for now
<qyliss> eacameron: it has a lot of backdoors -- it just may not have any that are useful for this purpose
waleee-cl has quit [Quit: Connection closed for inactivity]
<ggpeti> I never contributed a module yet. But isn't there like an all-modules.nix where you link your freshly made module?
<ggpeti> do modules just get loaded by virtue of residing in nixos/modules?
<gchristensen> they need to be imported
<ggpeti> then there you have it eacameron? derive from nixpkgs, patch the module in question, import it
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
Acou_Bass has joined #nixos
<eacameron> So, if I add this module to `disabledModules` and then provide my own with the exact same interface, with the existing users of `acme` (like nginx) use *my* version and not the one I disabled?
<eacameron> *will
<das-g[m]> clever: What file in should `./shell.nix` point to in
<das-g[m]> machine.succeed("nix-shell ${(import ./shell.nix).drvPath} -p pipenv --run 'pipenv run pip --version'")
<das-g[m]> ?
<ggpeti> quick intermezzo for bored maintainers: would dearly appreciate a review/merge on https://github.com/NixOS/nixpkgs/pull/73720
<{^_^}> #73720 (by ggPeti, 45 minutes ago, open): pgsidekick: init at unstable-2014-11-23
<clever> das-g[m]: the expr you want to nix-shell into
<das-g[m]> What would that expression be in the case of https://github.com/NixOS/nixpkgs/issues/56481 ?
<{^_^}> #56481 (by dgarzon, 37 weeks ago, closed): [regression] pipenv fails to create virtualenv in nix-shell.
<ggpeti> eacameron: looks like it since you disable by filename
<eacameron> oh I found the docs on disabledModules. Appears to be what I want...
<ggpeti> yayy
<ggpeti> ╰(◕ᗜ◕)╯
irl25519 has joined #nixos
logzet has quit [Ping timeout: 245 seconds]
<asymmetric> where's the code for nixos-rebuild?
<ggpeti> gimme gimme gimme your review at midnight https://github.com/NixOS/nixpkgs/pull/73720 ₍₍ ᕕ༼.◕ヮ◕.༽ᕗ⁾⁾
<{^_^}> #73720 (by ggPeti, 54 minutes ago, open): pgsidekick: init at unstable-2014-11-23
kisonecat has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
drakonis has quit [Read error: Connection reset by peer]
domogled has joined #nixos
<eacameron> ggpeti: clever: gchristensen Thank you guys! I was able to get acme working again without even forking nixpkgs! :D
<eacameron> I merely had to upgrade simp_le and swap out the acme module with one that let me specify the new default plugins.
<eacameron> It was just realizing how to do all that which was hard :D
bvdw has quit [Quit: bvdw]
bvdw has joined #nixos
ambro718 has quit [Ping timeout: 240 seconds]
gagbo has quit [Ping timeout: 240 seconds]
gagbo has joined #nixos
v0|d has joined #nixos