andi- 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/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<{^_^}> [nixpkgs] @drewrisinger closed pull request #85413 → [20.03] python3Packages.cirq: fix test failures (ZHF) → https://git.io/Jffyh
pbogdan has quit [Ping timeout: 256 seconds]
justanotheruser has quit [Ping timeout: 264 seconds]
<freeman42x[m]> is this not how I am supposed to be able to use fish under nix-shell? `nix-shell -p zlib.dev zlib.out --run fish`
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JffSd
pinkieval has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #85414 → skopeo: cleanup → https://git.io/JffSb
<{^_^}> [nixpkgs] @drewrisinger opened pull request #85415 → [20.03] python3Packages.cirq: fix test failures (ZHF) → https://git.io/JffSA
<freeman42x[m]> I thought this will be correct: https://i.imgur.com/XtWyDsV.png
zacts has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
<freeman42x[m]> it's not, not only it does not replace the value of `$nix_shell_info` in/outise of nix-shell but there is also no prompt change when entering a `nix-shell`
<{^_^}> [nixpkgs] @xrelkd opened pull request #85416 → go-ethereum: 1.9.12 -> 1.9.13 → https://git.io/Jff9L
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/34104aa360e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
justanotheruser has joined #nixos
pinkieval has joined #nixos
<freeman42x[m]> I asked on SO: https://stackoverflow.com/q/61262216/750216
captjakk has quit [Quit: Leaving...]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #85403 → haskell simple-affine-space: Disable test suite → https://git.io/JffiQ
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Jff9G
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to auto-update/pidgin-carbons: https://git.io/Jff9Z
sigmundv__ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @nh2 pushed 0 commits to auto-update/pidgin-carbons: https://git.io/Jff9n
numkem has joined #nixos
m0rphism has quit [Ping timeout: 258 seconds]
numkem has left #nixos [#nixos]
<{^_^}> [nixpkgs] @nh2 merged pull request #85276 → pidgin-carbons: 0.1.3 -> 0.2.
<{^_^}> [nixpkgs] @nh2 pushed 3 commits to master: https://git.io/Jff98
<zeta_0> stack-to-nix generated a default.nix that is throwing an error when i try to g into a nix-shell: error: attempt to call something which is not a function but a set, at /home/zeta/TaskLite/default.nix:5:10 , https://dpaste.org/42E4
<zeta_0> i'm trying to use stack-to-nix in a stack project of a git repo that i cloned, but i guess the nix-tools have a couple of rough edges
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jff9w
<zeta_0> when i copy and paste the default.nix from the haskell.nix stack documentation, it throws another error: nix-shell requires a single derivation, https://dpaste.org/jHHM, https://input-output-hk.github.io/haskell.nix/user-guide/stack-projects/
<DigitalKiwi> can anyone help them https://twitter.com/mikrfe/status/1250941064384569349?s=20 is the answer nix-shell?
ris has quit [Ping timeout: 258 seconds]
morgrimm has joined #nixos
<qy[m]1> you should never nix-env -i a library
<qy[m]1> so yes, nix-shell
<cole-h> ,libraries
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<cole-h> ^ even says so
<DigitalKiwi> thanks
drakonis has joined #nixos
<morgrimm> Does anyone know if ndrp's flake config repo is supposed to be a template repo on GH?
<jtojnar> freeman42x I use --run fish (when not using direnv)
<morgrimm> nrdxp*'s repo
<qy[m]1> that's why the brnach is called "template" :p
drakonis1 has quit [Quit: WeeChat 2.8]
drakonis_ has quit [Ping timeout: 265 seconds]
<morgrimm> qy[m]1 That's what I figured :P But shouldn't there be a 'use template' button or something near the finder to actually use it?
<morgrimm> Do I need to opt into a feature preview for it or something?
<qy[m]1> Jan Tojnar: you should check out any-nix-shell. then you can just use fish for your nix-shells
<qy[m]1> everyone seemed to think that was impossible but it was already done :p
<cole-h> morgrimm: It's not a GitHub template.
<qy[m]1> morgrimm: it's not a github template, just clone/fork it and customize it
<gchristensen> it is impossible and preserve the semantics / behavior of nix-shell
thc202 has quit [Ping timeout: 252 seconds]
<morgrimm> Ahhh
<morgrimm> Yup, fair enough lol
<jtojnar> freeman42x the fish wiki page is not well written
<morgrimm> Do you just rebase your template branch on his to keep up to date? and re-integrate with live?
<zeta_0> that sucks that the default.nix that stack-to-nix generates does not work, what a bummer
<gchristensen> zeta_0: sounds like you're trying to vampire your way to some support here
CrazyMind102 has joined #nixos
<zeta_0> gchristensen: no, i never directly asked anyone for help, just seeing if anyone has ran into the same problems with stack-to-nix, and i tried to paste bin as much info as i could, for if someone wanted to take a look
pamplemousse has quit [Ping timeout: 250 seconds]
peelz has joined #nixos
Wulfsta has joined #nixos
<zeta_0> gchristensen: sometimes when i post my questions on reddit, it takes a long time for people to respond, what other question and answer websites would you recommend for anything nix related?
<cole-h> jtojnar: Heh, single quotes prevents shell expansion (re your answer to the fish nix-shell prompt)
<cole-h> freeman42x[m]: If you change the single quotes to double quotes in `echo -n -s ' ...'`, it should work as you want it to
<cole-h> zeta_0: Discourse
drakonis_ has joined #nixos
<Wulfsta> Can someone explain the situation with neovim and vim-plug? I wanted to pull my config over from Arch but can't seem to figure out how NixOS's vim plugin system works
<DigitalKiwi> cole-h: yeah that's what we do here is have discourse
<cole-h> DigitalKiwi: x)
<cole-h> discourse.nixos.org/ for the uninitiated
<jtojnar> cole-h++
<{^_^}> cole-h's karma got increased to 25
mael has joined #nixos
mael has left #nixos [#nixos]
<Wulfsta> I don't understand how I can pull something like deoplete into neovim and install msgpack-python: https://github.com/Shougo/deoplete.nvim
<jtojnar> not sure what to do about the wiki page, since fish_prompt.fish is usually pretty gnarly so just saying to add the snippet is not very helpful
dhkl has joined #nixos
bastion-- has quit [Quit: ZNC 1.7.4 - https://znc.in]
iyzsong has joined #nixos
CrazyMind-102 has joined #nixos
<DigitalKiwi> followup for the rust https://twitter.com/mikrfe/status/1250950408211750912?s=20 is the answer direnv
bastion-tester has joined #nixos
CrazyMind102 has quit [Ping timeout: 252 seconds]
bastion-tester has quit [Client Quit]
<zeta_0> cole-h: thanks, i just signed into the nixos discourse link that you pasted with my github account, does it charge a subscription?
<cole-h> jtojnar: That's why I run https://github.com/rafaelrinaldi/pure and have the following in my config.fish: https://gist.github.com/cole-h/ef184aad462a64920bf4205521a5112e
<cole-h> Easy as pie
<cole-h> zeta_0: Discourse is free.
<energizer> DigitalKiwi: lorri+direnv is <3
* DigitalKiwi can't live without it
<zeta_0> cole-h: that's great, this other link had a pricing page, so i was confused, https://www.discourse.org/pricing
<zeta_0> so how does discourse compare to reddit and stackoverflow and others?
jkachmar has joined #nixos
<cole-h> That's if you want to host it yourself AFAICT
<zeta_0> oh i see
reallymemorable has quit [Quit: reallymemorable]
<jbox> How can I do something like systemd.services.minecraft@test = {}; ?
<jbox> Nix doesn't like the @
<gchristensen> ."minecraft@test" = { ...}
<jbox> DUH thank you lol :)
<gchristensen> no worries, it isn't so obvious sometimes :)
Wulfsta has quit [Ping timeout: 240 seconds]
Wulfsta has joined #nixos
reallymemorable has joined #nixos
markus1199 has joined #nixos
markus1189 has quit [Ping timeout: 258 seconds]
<zeta_0> i've been using nix/nixos for about 6 months now, when will i get to the point where nix starts to make more sense? how long did it take all of you to get proficient at nix?
<zeta_0> well, i guess i should ask this on reddit instead
<cole-h> (Or Discourse...)
<zeta_0> ya, that too
<DigitalKiwi> have you read nix-1p? nix pills?
<atemu12[m]> zeta_0: Took a few months for it to make sense, which parts don't in your case?
<{^_^}> [rfc-steering-committee] @worldofpeace opened pull request #35 → slight ✨ → https://git.io/JffH3
<DigitalKiwi> i got a lot better at it by packaging stuff that didn't exist or updating or fixing broken stuff in NixOS/nixpkgs
<cole-h> ^
<cole-h> I've been at it since February and I think I'm reasonably competent in Nix-as-a-packaging-language
<gchristensen> and debugging stuff, searching code, experimenting, learning
<zeta_0> i read the nix-pills a couple of months ago, but only some of it stuck, ya i think i'm eventually going to have to start packaging stuff for it to make more sense
Henson has joined #nixos
<Henson> is there a way I can build multiple Haskell executables in a cabal file with Nix? I'm using the haskell mkDerivation function.
<{^_^}> [nixpkgs] @worldofpeace pushed to treewide-broken-20.03 « treewide: mark broken wip »: https://git.io/JffHl
reallymemorable has quit [Quit: reallymemorable]
<zeta_0> i just joined this open source project, packaging it as a nix pkg should be a good way to learn nix better: https://github.com/ad-si/tasklite
<zeta_0> [zeta starts digging through the nix documentation]
<gchristensen> I love the logo
reallymemorable has joined #nixos
matthuszagh has joined #nixos
<matthuszagh> hello. I'm getting localhost connection errors when attempting to use syncthing
<matthuszagh> I've configured the service to run from my user (not root)
<matthuszagh> I get a curl: connection refused error. when i run sudo netstat --tnlp it seems that the local server is never created
<matthuszagh> when i run this as root i don't get any such error
<matthuszagh> has anyone else experienced this?
<atemu12[m]> zeta_0: Yeah, definitely start working with Nixpkgs if you want to learn Nix; practical experience is the best way IMO.
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/be4a41d0621 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
CrazyMind-102 has left #nixos ["Leaving"]
<{^_^}> [nixpkgs] @jonringer merged pull request #85412 → python3Packages.cirq: fix test failures (ZHF) → https://git.io/JffyM
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to master « python3Packages.cirq: fix test failures (ZHF) »: https://git.io/JffHw
dansho has joined #nixos
evertedsphere has joined #nixos
Wulfsta has quit [Remote host closed the connection]
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<matthuszagh> nvm figured it out. needed permissions to access /var/lib/syncthing
CMCDragonkai has quit [Remote host closed the connection]
<gchristensen> cool, how'd you debug it, matthuszagh?
CMCDragonkai has joined #nixos
<matthuszagh> gchristensen: ran the execstart command manually, which should have been the first thing i did...
<gchristensen> ahh nice idea
ilikeheaps has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85331 → treewide: mark broken packages for 20.03 → https://git.io/Jfv7x
ilikeheaps has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-20.03: https://git.io/JffH5
<{^_^}> [nixpkgs] @worldofpeace pushed 0 commits to treewide-broken-20.03: https://git.io/JffHd
<gchristensen> <3 worldofpeace
h0m1 has quit [Ping timeout: 272 seconds]
h0m1 has joined #nixos
matthuszagh has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
felixfoertsch has quit [Ping timeout: 240 seconds]
morgrimm has quit [Ping timeout: 256 seconds]
felixfoertsch has joined #nixos
<worldofpeace> always ✨ gchristensen
Darkmatter66_ has joined #nixos
morgrimm has joined #nixos
troydm has quit [Ping timeout: 256 seconds]
Darkmatter66 has quit [Ping timeout: 256 seconds]
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #85417 → Mark broken master → https://git.io/JffQO
morgrimm has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85249 → vscode, vscodium: 1.44.0 -> 1.44.1 → https://git.io/JfexB
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JffQl
nwspk has quit [Quit: nwspk]
nwspk has joined #nixos
<energizer> is there a shorter way to write this? `nix-build -E '(import <nixpkgs> {}).callPackage ./. {}'`?
mexisme has quit [Quit: WeeChat 2.7.1]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
bqv has quit [Quit: WeeChat 2.8]
aw has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
Kyndig has joined #nixos
spacefrogg has joined #nixos
<Kyndig> does anyone know if there is an equivalent of gentoo's KERNEL_DIR for nix?
<{^_^}> [nixpkgs] @lopsided98 opened pull request #85418 → nixos/grub: support initrd secrets → https://git.io/JffQb
Havvy has joined #nixos
<drakonis_> the kernel is in the store
<Kyndig> well, a kernel is
<Kyndig> not the one i'm running on
<Kyndig> for user build in homedir
teto has quit [Ping timeout: 240 seconds]
<drakonis_> wait what?
<Kyndig> i suspect something isn't working right because packages may need to know about my local host's kernel config
<drakonis_> uh
<drakonis_> what are you doing?
<Kyndig> I'm running nix in my homedir on an old red hat machine that I don't own
<Kyndig> don't control the kernel
morgrimm has joined #nixos
<drakonis_> what are you trying to build?
<Kyndig> so I'm wondering if there's something I can set in the nix env to point to the kernel source dir
<drakonis_> and why would they need to know about your kernel's config?
<Kyndig> for packages to use
<drakonis_> they don't consume that for builds?
<Kyndig> for the same reasons as KERNEL_DIR exists for gentoo
<Kyndig> any packages that need to know kernel config I assume
<Kyndig> the running kernel's config
<drakonis_> there aren't any that do?
<Kyndig> there are in gentoo
<Kyndig> I guess what I'm asking is do any nixpkgs look at the kernel that's built by nix for any info?
<Kyndig> if so, then I need to make them look at my actual runtime kernel instead
<simpson> Which packages are you worried about? When Nix isn't managing the bootloader, this isn't a worry; I think that we normally push kernel feature detection to runtime, while pushing kernel module requirements to NixOS configuration.
<Kyndig> yeah; i don't think it's just for management
<Kyndig> it's for compile parameters
blaggacao has joined #nixos
morgrimm has quit [Ping timeout: 264 seconds]
<Kyndig> maybe i should find a good example from gentoo
<energizer> is it possible to get the nixos-generate-config before nixos is running?
reallymemorable has quit [Quit: reallymemorable]
<energizer> i just want to generate the hardware-configuration.nix
<Kyndig> wireguard is an exmaple
<hyper_ch> Kyndig: until 5.6
<Kyndig> right
<simpson> Kyndig: The package named `wireguard-tools` can be built and installed regardless of whether the running kernel supports it.
<drakonis_> no and why would it need?
<Kyndig> I can't say I'm familiar with all the reasons that KERNEL_DIR exists; but I just figured if I'm building everything from scratch, just like gentoo, then an equivalent parameter may need to be set
<drakonis_> but why?
<hyper_ch> wireguard <3
<Kyndig> not for wireguard
<Kyndig> that was just an example of a package which used it
<Kyndig> at one point
<Kyndig> my gentoo install is old
<simpson> Kyndig: As a hint, I tested out not just `wireguard-tools`, but /nix/store/7l4j4671x81k7w520mqj5m1sgr7pij6h-wireguard-tools-0.0.20190123, and I didn't build it myself, but summoned it from cache.
<simpson> Nix isn't Portage; it's a fair amount smarter about what's in a package, and about how packages are built. This does lead to some things that Gentoo might consider not great, because some optional features are enabled at compile-time, but the tradeoff is that packages decompose along the same lines as their dynamic linkage, including along kernel interfaces!
<infinisil> #cached /nix/store/7l4j4671x81k7w520mqj5m1sgr7pij6h-wireguard-tools-0.0.20190123
<simpson> $(nix-shell -p /nix/store/7l4j4671x81k7w520mqj5m1sgr7pij6h-wireguard-tools-0.0.20190123) works and is mind-expanding.
<infinisil> srk's bot doesn't appear to be here yet
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2355d9d545f (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<peelz> I set `programs.wireshark.enable = true` in my config yet there's no `wireshark` derivation in my `environment.systemPackages`
<peelz> tested in a repl like so: pkgs.lib.filter ({ pname ? "", ... }: pname == "wireshark") config.environment.systemPackages
<peelz> okay I just realized wireshark's pname is "wireshark-${variant}"
<peelz> but still, I don't have wireshark in my PATH
kleisli_ has quit [Ping timeout: 265 seconds]
<peelz> hmm it's installing wireshark-cli
<peelz> yet it's installing wireshark with no Qt support
<cole-h> It's because the module defaults to wireguard-cli
<cole-h> Err, wireshark
<peelz> OH my bad, didn't catch that :P
<peelz> cole-h++ thank you!
<{^_^}> cole-h's karma got increased to 26
<cole-h> Happy to help :)
<peelz> :D
<cole-h> (Because it's a rarity when I do actually help)
<peelz> haha
<cole-h> gchristensen: ^ I believe I am owed a sticker >:D
ddellacosta has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @wesnel opened pull request #85419 → colobot: init at 0.1.12-alpha → https://git.io/Jff7o
abathur has quit [Quit: abathur]
<{^_^}> [nixpkgs] @jonringer merged pull request #85389 → mpc-qt: 18.08 -> 2019-06-09 → https://git.io/Jffr2
<{^_^}> [nixpkgs] @jonringer pushed commit from @romildo to master « mpc-qt: 18.08 -> 2019-06-09 »: https://git.io/Jff71
<drakonis_> Kyndig, the question is, why are you rebuilding everything?
<{^_^}> [nixpkgs] @jonringer merged pull request #85392 → ipe: fix Qt wrapping → https://git.io/JffoT
<{^_^}> [nixpkgs] @jonringer pushed commit from @cgevans to master « ipe: fix Qt wrapping »: https://git.io/Jff7D
<Kyndig> ahh; that's easy, because this old kernel does not support user namespaces, henc have to recompile
<Kyndig> bootstrapped
<Kyndig> with my home dir as prefix
<drakonis_> right
<Kyndig> ~/nix
<drakonis_> but uh
<Kyndig> ~/nix/store
<drakonis_> you have to boot onto the kernel to do that
<peelz> cole-h: having `wireshark` in a let statement at the top is really sneaky. I'm used to seeing `with pkgs; [ wireshark ]` for example... lol
<drakonis_> to have access to those thigns
<peelz> cole-h: I would've prefered `[ cfg.package ]` here... /shrug
<Kyndig> i'm not following
<Kyndig> i'm in a running kernel
<cole-h> peelz: A fair complaint. But it's not that sneaky when the file is only 42 lines long :P
<drakonis_> uh
<drakonis_> you have to recompile everything because you're changing the store location
<peelz> cole-h: true lol... sneaky at a first glance though :)
<simpson> drakonis_: Kyndig doesn't own the machine that they're working on.
<Kyndig> right
<drakonis_> aight
<simpson> But I guess that you've got permission to spend a lot of CPU rebuilding everything~
<Kyndig> the more standard option is to use proot or the builtin version of it for nix
<Kyndig> but I can't due to the old kernel with no user namespace
<drakonis_> i've done that, yes.
xO1 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
kleisli_ has joined #nixos
<Kyndig> i did the same with gentoo, setting KERNEL_DIR=/usr/src/kernels/blah and I did notice some parts of the build process looking at that dir
<Kyndig> my gentoo zsh works fine; but I'm having issues with my nix-compiled one
<Kyndig> was just making a wild guess
<Kyndig> that the KERNEL_DIR was relevant
troydm has joined #nixos
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<simpson> Aha, the actual problem. What sorts of issues?
<jbox> can I set a umask for a certain user? I have a system user account and would like the files it creates to be g+rw
waleee-cl has quit [Quit: Connection closed for inactivity]
morgrimm has joined #nixos
morgrimm has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bcdarwin opened pull request #85420 → python3Packages.neo: init at 0.8.0 → https://git.io/Jff5k
<Kyndig> random core dumps and ulimit reports all zeros
<Kyndig> I did enable debug info in my zsh overlay and looked looked at various core files
<Kyndig> seemed to be inconsistent where it failed
<Kyndig> always something to do with memory though
<hyper_ch> is it possible to install nixos with bios and uefi at the same time? Like the live isos can boot up from either?
orivej has joined #nixos
<Kyndig> i also have a number of doCheck=false overrides due to not wanting to spend the time trying to figure out why various checks fail, but now I'm commenting those out and rebuilding.
<Kyndig> i'll try to deal with them as they may be the cause of my zsh issues
<Kyndig> one in particular is llvm
<{^_^}> [nixpkgs] @marsam opened pull request #85421 → postgresqlPackages.timescaledb: 1.6.1 -> 1.7.0 → https://git.io/Jff5c
<{^_^}> [nixpkgs] @marsam opened pull request #85422 → lxc: 4.0.1 -> 4.0.2 → https://git.io/Jff5l
<samueldr> hyper_ch: it should be possible, but I don't think NixOS is setup to handle updating both sides of the equation at the same time as it is
<samueldr> for best results you'd have to use grub, which can use the same configuration file to load the menu
<samueldr> so at least the menu would be updated
<samueldr> but the bootloader itself I don't think both can be updated as it is
<hyper_ch> samueldr: well, I don't need updating... al I need it create base system and then be able to dd stuff
<samueldr> for the iso we're not relying on the nixos modules, and it actually is an issue, it should probably rely on the modules so one can reproduce the same results on an installed system
<hyper_ch> it's for a friend's small company. He wants to encrypt now all notebooks (7 of them)
<hyper_ch> so I'd just thought I could have a 5TB external usb
<hyper_ch> add nixos to it with both uefi and bios
<hyper_ch> and just dd the harddisks onto the usb drive
<hyper_ch> so in case something goes wrong with the system
<hyper_ch> you can just boot up the xternal usb again and write it back
<hyper_ch> but it's a mix of bios and uefi notebooks
<samueldr> in that case, you could probably set it up for UEFI, and then rebuild for MBR afterwards using grub, ensuring you have a bios boot partition in your GPT for mbr grub
<samueldr> without testing and checking, I thinkg it should work
<hyper_ch> how would I go about this?
<samueldr> about the bios boot partition: https://en.wikipedia.org/wiki/BIOS_boot_partition
<hyper_ch> I'd need a bios boot partiton, a /boot partition and then the actual partition for nixos
<{^_^}> [nixpkgs] @marsam opened pull request #85423 → flow: 0.122.0 -> 0.123.0 → https://git.io/Jff5R
<samueldr> I don't know exactly, but the way I would try is to do a normal install on the usb drive, as UEFI, making sure to have a bios boot partition, an ESP partition, a /boot, the nixos partition
<hyper_ch> esp and bios boot are different?
<samueldr> yes
<samueldr> the bios boot partition is used by grub on GPT disks to embed the bigger parts of grub, on MBR it (ab)uses the "empty" space between the partition table and the first partition
<samueldr> there is no such "empty" space on a GPT formatted disk
<hyper_ch> ah ok
<samueldr> that would be the most tricky part of the setup I think, again without having tested it
<hyper_ch> I think I see what you're doing
<samueldr> and now you know about it
<hyper_ch> beause uefi would be able to locate the esp
<samueldr> yes, and it loads the grub program in the ESP
<samueldr> while a legacy bios boot would read it from the protective mbr of the GPT
<hyper_ch> and if it's bios, then it would ignore the esb and just but legacy
<samueldr> yep
<hyper_ch> awesome :) I'll give it a try
<samueldr> good luck :)
<hyper_ch> I mean that's what weekends are for, right?
<samueldr> oh, and hyper_ch, --install-bootloader, it's a flag for nixos-rebuild
<samueldr> not sure you will need it, but it may end up being useful
<hyper_ch> :)
<hyper_ch> samueldr: and pondering to add some bash script with newt) that will make it easy for him to take new images or restore them
<samueldr> now that's not related to the boot process :)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e61c924adba (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<freeman42x[m]> are NixOS versions completely defined by nixpkgs?
<samueldr> what do you mean?
<{^_^}> [nixpkgs] @orivej opened pull request #85424 → [release-20.03] muse: 3.1pre1 -> 3.1.0 → https://git.io/Jff5M
<samueldr> or want to know?
<freeman42x[m]> samueldr: under 20.03 Beta NixOS Alt + F2 shortcut is broken even though it is set https://i.imgur.com/pyOtGs7.png
<freeman42x[m]> I would like to know what I could do to help fix this issue, and where the fix would be applied. Sounds like fix would be in nixpkgs probably
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<samueldr> all the work for NixOS indeed is contained in the nixpkgs repo
<samueldr> though, sorry, I don't know what can be done to fix this
<freeman42x[m]> samueldr: should I open an Issue on nixpkgs GitHub? I could not find anyone encountering this yet
<freeman42x[m]> *anyone else
<samueldr> it is an option, yes
<freeman42x[m]> I know it's an option, asking for your opinion whether I should or not
<samueldr> sorry, I have no strong opinion, but in case of doubt, I'd tend to go with opening an issue to at least have a trace for the next people having the issue
Kyndig has quit [Remote host closed the connection]
geekthattweaks has joined #nixos
<energizer> why did nixos get pulled into the nixpkgs repo?
palo1 has joined #nixos
<hyper_ch> nixos get pulled into the nixpkgs repo?
endformationage has quit [Quit: WeeChat 2.6]
<energizer> there used to be https://github.com/NixOS/nixos
<cole-h> Yes. Yes it did.
<cole-h> Probably to ease maintenance burden.
<cole-h> It also makes it easier to contribute new modules as part of a new package, rather than having to go back and forth
<Emantor> Mono-repo usually avoids synchronization issues.
<cole-h> Especially if package introduces breaking changes that the module needs to be prepared for
<hyper_ch> hasn't it been in there for a long time?
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
<cole-h> Since ~2013, I think?
<hyper_ch> thought it was always in there every since I started using nixos
<energizer> > 5c1f8cbc70c - (7 years ago) Move all of NixOS to nixos/ in preparation of the repository merge - Eelco Dolstra
<hyper_ch> so that was an eternity ag
<hyper_ch> ago
<cole-h> Looks like I was right -- 2013 :)
<hyper_ch> good memory
<cole-h> I just remember git blaming a module and seeing that commit
koleesch has joined #nixos
lopsided98 has quit [*.net *.split]
andi- has quit [*.net *.split]
dhess has quit [*.net *.split]
aswanson has quit [*.net *.split]
lordcirth has quit [*.net *.split]
Dagger has quit [*.net *.split]
Shados has quit [*.net *.split]
sonercirit[m] has quit [*.net *.split]
petersjt014[m] has quit [*.net *.split]
rsynnest[m] has quit [*.net *.split]
kdedev[m] has quit [*.net *.split]
korrosive[m] has quit [*.net *.split]
kriteus[m] has quit [*.net *.split]
jonreeve[m] has quit [*.net *.split]
dyon[m] has quit [*.net *.split]
aniketd[m] has quit [*.net *.split]
i_run_out_of_use has quit [*.net *.split]
Gaz[m]1 has quit [*.net *.split]
chvp has quit [*.net *.split]
leonardp has quit [*.net *.split]
qy[m]1 has quit [*.net *.split]
philipp[m] has quit [*.net *.split]
NickHu has quit [*.net *.split]
aparkerdavid has quit [*.net *.split]
alienpirate5 has quit [*.net *.split]
aterius has quit [*.net *.split]
mica[m] has quit [*.net *.split]
MilkManzJourDadd has quit [*.net *.split]
alexarice[m] has quit [*.net *.split]
simbergm has quit [*.net *.split]
mt[m] has quit [*.net *.split]
leons has quit [*.net *.split]
domenkozar[m] has quit [*.net *.split]
{^_^} has quit [*.net *.split]
CustosLimen has quit [*.net *.split]
manveru has quit [*.net *.split]
mkaito has quit [*.net *.split]
sphalerite has quit [*.net *.split]
joshmeredith has quit [*.net *.split]
zgrep has quit [*.net *.split]
alanz_ has quit [*.net *.split]
leah2 has quit [*.net *.split]
litschi has quit [*.net *.split]
jeaye has quit [*.net *.split]
bandali has quit [*.net *.split]
turq has quit [*.net *.split]
Serus has quit [*.net *.split]
Streetwalrus has quit [*.net *.split]
edcragg has quit [*.net *.split]
copy has quit [*.net *.split]
mdash has quit [*.net *.split]
<cole-h> I actually wonder how the repository merge happened, now that you brough5 it up... It appears to have retained git history
<cole-h> Maybe it was just a simple git merge
codygman has quit [Ping timeout: 264 seconds]
Vikingman has joined #nixos
Dagger has joined #nixos
lordcirth has joined #nixos
andi- has joined #nixos
Shados has joined #nixos
lopsided98 has joined #nixos
kdedev[m] has joined #nixos
mt[m] has joined #nixos
NickHu has joined #nixos
aswanson has joined #nixos
sonercirit[m] has joined #nixos
simbergm has joined #nixos
kriteus[m] has joined #nixos
qy[m]1 has joined #nixos
alanz_ has joined #nixos
zgrep has joined #nixos
rsynnest[m] has joined #nixos
Gaz[m]1 has joined #nixos
aniketd[m] has joined #nixos
turq has joined #nixos
Serus has joined #nixos
copy has joined #nixos
jeaye has joined #nixos
alexarice[m] has joined #nixos
bandali has joined #nixos
Streetwalrus has joined #nixos
litschi has joined #nixos
joshmeredith has joined #nixos
sphalerite has joined #nixos
leonardp has joined #nixos
jonreeve[m] has joined #nixos
petersjt014[m] has joined #nixos
leons has joined #nixos
manveru has joined #nixos
dyon[m] has joined #nixos
MilkManzJourDadd has joined #nixos
i_run_out_of_use has joined #nixos
dhess has joined #nixos
mdash has joined #nixos
mica[m] has joined #nixos
{^_^} has joined #nixos
mkaito has joined #nixos
edcragg has joined #nixos
aparkerdavid has joined #nixos
korrosive[m] has joined #nixos
philipp[m] has joined #nixos
aterius has joined #nixos
alienpirate5 has joined #nixos
chvp has joined #nixos
leah2 has joined #nixos
domenkozar[m] has joined #nixos
CustosLimen has joined #nixos
CustosLimen has quit [Max SendQ exceeded]
leah2 has quit [Max SendQ exceeded]
Serus has quit [Max SendQ exceeded]
codygman has joined #nixos
CustosLimen has joined #nixos
leah2 has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<energizer> where is mkForce defined?
<cole-h> > pkgs.lib.mkForce
<{^_^}> <LAMBDA>
<cole-h> > :p pkgs.lib.mkForce
<{^_^}> <LAMBDA>
<cole-h> ree
<cole-h> nixpkgs/lib/modules.nix:565
<cole-h> > :v pkgs.lib.mkForce
<{^_^}> pkgs.lib.mkForce = pkgs.lib.mkForce is not defined
<peelz> > builtins.unsafeGetAttrPos "mkForce" lib
<{^_^}> { column = 22; file = "/var/lib/nixbot/nixpkgs/master/repo/lib/default.nix"; line = 112; }
<peelz> ^ cole-h :P
<energizer> > pkgs.lib.mkForce.path
<{^_^}> value is a function while a set was expected, at (string):304:1
koleesch has quit [Ping timeout: 258 seconds]
<peelz> but then again lib/default.nix imports from a bunch of other files
<cole-h> Yeah, that doesn't help ;)
<peelz> I mean
<sphalerite> should be in lib/modules.nix or something
<sphalerite> let me double-check…
<cole-h> nixpkgs/lib/modules.nix:565
<peelz> > builtins.unsafeGetAttrPos "mkForce" lib.modules
<cole-h> It is
<{^_^}> { column = 3; file = "/var/lib/nixbot/nixpkgs/master/repo/lib/modules.nix"; line = 572; }
<peelz> ^
drakonis_ has quit [Read error: Connection reset by peer]
datakurre has joined #nixos
<cole-h> btw, easiest way to find these things is just `nix repl '<nixpkgs>'` -- all I did was run `lib.mkForce` it and showed me exactly where :P
<energizer> coool
<cole-h> Placing words where they belong left as an exercise to the reader
<srhb> "lib.mkForce it" sounds like a NixOS fast food item.
<srhb> Not a good one.
<peelz> I like to have a shell open on the nixpkgs repo, so that I can `ag` and `fd` to find stuff faster
<cole-h> "Badaba ba baaaa, just package it."
<srhb> cole-h: Exactly ;-)
<peelz> srhb: lmao
<{^_^}> [nixpkgs] @lheckemann merged pull request #85307 → firefox-wrapper: remove dead npapi plugin code → https://git.io/JfvoH
<{^_^}> [nixpkgs] @lheckemann pushed 3 commits to master: https://git.io/JffdS
Serus has joined #nixos
<energizer> srhb: At NixOS, with lib; mkOrder mkWith mkValue ™
<srhb> :P
noudle has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #85354 → kubernetes: 1.18.0 -> 1.18.1 → https://git.io/JffJu
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JffFL
jakobrs has joined #nixos
jakobrs has quit [Quit: WeeChat 2.8]
<peelz> uhh I ran these commands and it deleted the nvidia drivers derivations
<peelz> `sudo nix-env -p /nix/var/nix/profiles/system --delete-generations old`
<peelz> then `nix-collect-garbage --delete-old`
<peelz> why is that?
<sphalerite> You'll still have a newer version in your store probably
<sphalerite> unless you removed it from your config at some point
<peelz> sphalerite: I don't think the version's changed. Lemme check the hashes
<srhb> peelz: They don't need to, any dependency of the drivers count as well.
<sphalerite> nix-collect-garbage --delete-old deletes older generations of your profile, then gc's the store — i.e. deletes anything that isn't in use by a profile or running process anytmore.
<srhb> peelz: (eg. say libc got bumped, the drivers will change)
<peelz> but the nvidia drivers are still referenced in my active system
<peelz> oh
<peelz> srhb: gotcha
<peelz> srhb: why does it need to redownload binary blobs though??
<srhb> It's all transitive, which is why nixpkgs packages change so much more often than other distros
<srhb> peelz: You probably garbage collected the source because nothing was referencing it
<srhb> peelz: (Your system likely does not depend on them at runtime)
<peelz> hmm
<peelz> that's annoying
<srhb> peelz: You can add the src to your systemPackages if you like.
<srhb> It's not like you don't have control of this :)
<peelz> srhb: true, but I'm not sure how to do that for binary blobs :P
<srhb> peelz: config.kernelPackages.nvidia_x11.src probably
<peelz> srhb: that seems a bit hacky... am I wrong?
<srhb> peelz: Why does it seem hacky to you?
<sphalerite> it also doesn't redownload them unless you've gc'd between updates.
<peelz> right
<sphalerite> Just re-unpacks, patches and builds
<srhb> peelz: The linux package set is configurable, so the source _might_ be different for different versions of it. Therefore, it's good to refer to the dynamic one (config.linuxPackages) instead of hardcoding pkgs.linuxPackages.nvidia_x11? :)
<srhb> peelz: Or at least that's my argument
<peelz> srhb: I guess it's the only way. Is there no side effect to putting the src into my system packages?
<srhb> peelz: It's not the only way but it's an easy way.
<srhb> peelz: Your system just has to refer to the path in _some_ way, it doesn't matter how. :)
<sphalerite> config.boot.linuxPackages* :)
<srhb> sphalerite: Thanks :)
<sphalerite> err wait
<srhb> boot.kernelPackages :P
<sphalerite> config.boot.kernelPackages?
<sphalerite> hehe
<srhb> peelz: Consider that /run/current-system "looks like a normal distro root partition" if you squint really hard
<srhb> peelz: On these, it would be relatively normal to have sources lying around.
<peelz> srhb: HMMMMM haha *squints harder*
<sphalerite> well /run/current-system/sw even mroe :P
<srhb> yeah :P
<peelz> what does sw stand for?
<srhb> software I guess?
<energizer> systemwide
<peelz> ahh
<srhb> sandwich!
<srhb> Never thought about it :P
<energizer> (i think)
<peelz> srhb: where would the sources end up?
<sphalerite> might not actually work since it's a file, so it can't really be linked in?
<sphalerite> system.extraDependencies might be more suitable
<srhb> peelz: Well, you can decide that for yourself. If you wanted them in eg. share, you'd make a tiny derivation (runCommand is probably easy) to create an $out/share/nvidia-drivers that links to the source
<srhb> Or that ^ :)
<peelz> oh huh
<sphalerite> for creating symlinks, I'm a big fan of linkFarm myself :D
<srhb> Definitely.
<srhb> peelz: However, I too think you should embrace "gc less often or never" ;-)
<srhb> Much nicer experience.
<peelz> oh?
<peelz> but then whenever I review PRs or stuff that's unrelated to my system, I end up with a bunch of junk that I'm never gonna use
<srhb> Well, only if you desperately need the space and already have reclaimed what you can via store optimization etc.
chagra has joined #nixos
<srhb> peelz: Yes, but with gc you might end up with the same junk more than twice. Without gc, you will only end up with it twice.
<srhb> peelz: What I'm saying is: It usually makes sense to optimize for redownloads and writes as long as you have enough space. Why care what /nix/store has lying around that is completely isolated from you? :)
<peelz> srhb: I don't follow
<srhb> It's only a pet peeve of mine, if you like garbage collecting, don't let me stop you. ;-)
<srhb> I can see that it has a certain undefinable cathartic element.
<peelz> hmm fair enough
<peelz> btw "A list of packages that should be included in the system closure but not otherwise made available to users. This is primarily used by the installation tests."
<MichaelRaskin> But generally Nix zeitgeist seems to be «we spend storage to save on thinking about irrelevant things»
<peelz> system.extraDependencies sounds like exactly what I need :D
chagra_ has quit [Ping timeout: 258 seconds]
<peelz> <3 sphalerite srhb
<{^_^}> sphalerite's karma got increased to 83
<peelz> <3 srhb
<{^_^}> srhb's karma got increased to 102
morgrimm has joined #nixos
<sphalerite> yeah my free space generally bounces between 100G and 10G every few weeks as I accumulate stuff and gc
<{^_^}> [nixpkgs] @srhb opened pull request #85425 → k8s: 1.18.1 -> 1.18.2 → https://git.io/JffFy
<srhb> Yeah, same. My work laptop does not have as much disk space as I'd like though. But hooray for auto-optimize.
alexherbo2 has joined #nixos
<srhb> (But yeah, I certainly wouldn't mind if our closure were smaller by default, but meh)
drakonis_ has joined #nixos
<peelz> srhb: `services.xserver.videoDrivers = [ "nvidia" ]` is the only nvidia-related thing in my config. How can I find out what derivations this option is pulling in?
<srhb> peelz: I'd just cd into /nixos/modules in a checkout and grep for videoDrivers and see how it treats that string.
<srhb> "videoDrivers =" probably
<peelz> hmm
morgrimm has quit [Ping timeout: 258 seconds]
<srhb> peelz: nixos/modules/hardware/video/nvidia.nix
<srhb> peelz: morally it says: if elem "nvidia" config.services.xserver.videoDrivers then kernelPackages.nvidia_x11
drakonis has quit [Ping timeout: 256 seconds]
drakonis1 has joined #nixos
ent has joined #nixos
<srhb> And as said earlier, your kernelPackages are configured via boot.kernelPackages, so you can refer to it with: config.boot.kernelPackages.nvidia_x11
mallox has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
<peelz> srhb: aha: https://0x0.st/iQ0Z.png
<peelz> I guess I should depend on that rather than explicitly reference `config.boot.kernelPackages.nvidia_x11` (since that could change?)
<srhb> peelz: You want the src, not the output
<srhb> (The output is what's changing on you, while you expect the source to change less often)
<peelz> srhb: can I not get the src from that?
asheshambasta has joined #nixos
<srhb> Hm, I guess you can. Seems a bit complicated though.
<srhb> (compared to just config.kernelPackages.nvidia_x11.src)
linarcx has joined #nixos
<srhb> config.boot.kernelPackages.nvidia_x11.src, dammit. :P
<peelz> :P
<peelz> so including that in `system.extraDependencies` should prevent it from gc'ing the binary blobs?
<srhb> peelz: Well, what if the order of that list changes
<peelz> srhb: I'll just include everything in that list lol
<srhb> ah ok. That'll work
cole-h has quit [Quit: Goodbye]
linarcx has quit [Quit: WeeChat 2.8]
<jbox> I'm able to use rsync, but bash says the command isn't found
<hyper_ch> bash is right
<jbox> then why can I use rsync?
<hyper_ch> how did you use it in bash?
<jbox> as "rsync"
<hyper_ch> and the shebang line?
<jbox> gives me the help output
<jbox> No, interactively
<hyper_ch> so how can you use rsync then?=
<jbox> That's what I'm asking lol
<hyper_ch> I fail to comprehend what works and what doesn't
<srhb> I also read this as "rsync works and it doesn't" :-P Perhaps some examples of the commands that work and the commands that don't would help.
Maxdamantus has quit [Ping timeout: 250 seconds]
seku has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
Maxdamantus has joined #nixos
nixuser has joined #nixos
<hyper_ch> and what does not work?
<peelz> is `map` an operator? why can I do both `map` and `builtins.map`?
<srhb> jbox: Isn't that just because you didn't specify a command?
<nixuser> Hi guys. I am facing some issues with hydra, is anyone willing to help?
<srhb> Oh, the second one is weird.
<jbox> srhb: yes, that's the usage output. I just sent that to show that it's installed
<srhb> nixuser: If you explain your issue, someone might be able to help. Hard to tell beforehand :)
<hyper_ch> rsync atlas@35.209.123.211:/home/atlas ./
<srhb> ah.
<srhb> Has it always been this uninformative / low level-errory? Seems weird
<jbox> ./ in place of the . yields the same output
<hyper_ch> does the remote server also have rsync installed?
<hyper_ch> my guess is it doesn't
<hyper_ch> you need to have rsync on both ends
<hyper_ch> IIRC
<jbox> that's correct lol thank you
<jbox> I forgot about that
<jbox> How would I do the same thing without rsync?
<jbox> I guess scp works, right?
<peelz> srhb: https://0x0.st/iQ0m.png :D
<hyper_ch> scp can be used recursively
Ariakenom has joined #nixos
<nixuser> srhb: I am using hydra on a debian VM. hydra fetches a project from a private gitlab repository. The first fetch of the project threw an error "nix hydra memory allocation of x bytes failed". jobset failed due to signal 6 (aborting)
<hyper_ch> but rsync is better if you already have a batch of files on the receiving end
<hyper_ch> (or one might just use zfs)
<nixuser> Afterwards the error "failed due to signal 11 (Segmentation fault)" is thrown for every retry
zacts has quit [Quit: WeeChat 2.7.1]
<srhb> peelz: I see you're a fan of lisp :P
<peelz> srhb: I've actually never done any lisp, but that's exactly what I was thinking haha (it looks like lisp!)
<hyper_ch> jbox: i'd use rsync over scp... can't you install rsync on the remote server?
<etu> peelz: That could almost work in guix I guess ;)
<srhb> I so want an $ operator.
<peelz> ^ that would be great
<srhb> I just end up making useless names in let bindings instead.
<jbox> hyper_ch: I just did that. Everything's working fine now :)
<peelz> etu: I didn't actually know about guix until I switched to nix. Is guix basicaly nix but in lisp?
<hyper_ch> jbox: :)
<hyper_ch> there's a difference if you use . or ./ - just use what you prefer
<JJJollyjim> I think I've seen a non-broken version of http://howoldis.herokuapp.com/ before, anyone have the link?
<JJJollyjim> Ah it's in the GitHub readme nvm
<{^_^}> [rfc-steering-committee] @Mic92 merged pull request #35 → Update comittee workflow → https://git.io/JffH3
<{^_^}> [rfc-steering-committee] @Mic92 pushed commit from @worldofpeace to master « Update comittee workflow »: https://git.io/JffAI
<nixuser> Does anyone know how to troubleshoot this issue? (hydra tries to build a project and throws a segmentation fault error)
relaxmax has joined #nixos
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @Emantor opened pull request #85426 → linux config: SND_HDA_CODEC_CA0132_DSP for <5.7 → https://git.io/Jffxe
<etu> peelz: It started off like that, they used nix-deamon and such. But they have moved on from that.
rauno has joined #nixos
<peelz> etu: oh so they branched from nix?
<etu> peelz: Nah, they have their own packages
<peelz> gotcha
<{^_^}> [nixpkgs] @etu opened pull request #85427 → php: 7.4.4 -> 7.4.5, 7.3.16 -> 7.3.17 → https://git.io/Jffxw
Havvy has quit [Ping timeout: 264 seconds]
Havvy has joined #nixos
zeenk has joined #nixos
gulplante has joined #nixos
evertedsphere has quit [Ping timeout: 260 seconds]
_viz_ has joined #nixos
dansho has quit [Ping timeout: 260 seconds]
_viz_ has quit [Quit: Lost terminal]
_viz_ has joined #nixos
_viz_ has quit [Client Quit]
opthomasprime has joined #nixos
drakonis has joined #nixos
opthomasprime has left #nixos [#nixos]
vidbina_ has joined #nixos
drakonis1 has quit [Ping timeout: 250 seconds]
maddo has joined #nixos
Naptra has joined #nixos
hmpffff has joined #nixos
dermetfan has joined #nixos
evertedsphere has joined #nixos
<{^_^}> [nixpkgs] @kirelagin opened pull request #85428 → systemd: Simplify unit script names → https://git.io/JffjR
noudle has quit []
hmpffff has quit [Quit: nchrrrr…]
mallox has joined #nixos
<betaboon> Profpatsch: i think i found a solution for the controlpersist problem
cr4y1 has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @zaninime opened pull request #85429 → [19.09] nexus: 3.18.1-01 -> 3.22.0-02 (backport) → https://git.io/JfJel
drakonis_ has joined #nixos
Vikingman has quit [Ping timeout: 265 seconds]
drakonis has quit [Ping timeout: 252 seconds]
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
<{^_^}> tweag/terraform-nixos#29 (by betaboon, 51 seconds ago, open): deploy_nixos/nixos-deploy.sh: fix ControlPersist timeout
euank has joined #nixos
zupo has joined #nixos
smatting has joined #nixos
rardiol has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @kuznero opened pull request #85430 → vscode, vscodium: 1.44.0 -> 1.44.1 → https://git.io/JfJvT
turion has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #85431 → vapoursynth: R48 -> R49 → https://git.io/JfJvB
morgrimm has quit [Ping timeout: 256 seconds]
morgrimm has joined #nixos
snicket has joined #nixos
thc202 has joined #nixos
relaxmax has quit [Ping timeout: 265 seconds]
iqubic has joined #nixos
morgrimm has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @manveru opened pull request #85432 → crystal: 0.31 -> 0.34 → https://git.io/JfJvi
rauno has quit [Remote host closed the connection]
_viz_ has joined #nixos
melling has joined #nixos
Darkmatter66 has joined #nixos
__monty__ has joined #nixos
Darkmatter66_ has quit [Ping timeout: 250 seconds]
sigmundv__ has joined #nixos
_viz_ has quit [Quit: Lost terminal]
_viz_ has joined #nixos
fusion809 has quit [Remote host closed the connection]
_viz_ has quit [Client Quit]
vidbina_ has quit [Ping timeout: 256 seconds]
voidcontext has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
voidcontext has joined #nixos
<{^_^}> [nixpkgs] @mikesperber opened pull request #85433 → Unbreak Tensorflow Haskell bindings #2 → https://git.io/JfJfB
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #85434 → [nixpkgs-19.09]: neomutt: 20180716 -> 2019-10-25 → https://git.io/JfJfR
swapgs has quit [Quit: .]
evertedsphere has quit [Ping timeout: 250 seconds]
never_released has quit [Ping timeout: 264 seconds]
relaxmax has joined #nixos
never_released has joined #nixos
xO1 has quit [Ping timeout: 256 seconds]
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
cfricke has joined #nixos
pbogdan has joined #nixos
pkmxtw[m] is now known as PkmX[m]
markus1199 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Lucus16 opened pull request #85435 → python3Packages.simpleaudio: init at 1.0.4 → https://git.io/JfJJ2
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/0f920b05cbc (from 27 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4f86f06bf9e (from 19 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
_viz_ has joined #nixos
<siers> has anyone written a systemd service that'd create a swapfile once before swapfile mount has started?
<siers> I bet you can do that with systemd's WantedBy
<siers> oh, but I'm reading swap.nix – maybe it does that already
<srhb> siers: It does, and it's implemented exactly as you'd expect, with wantedBy and before
_viz_ has quit [Client Quit]
<srhb> (wantedBy does not impose ordering, just dependency)
<siers> what other than ordering can a dependency change?
<srhb> siers: It's all parallel really, in systemd land. b wantedBy a, just means that starting a will start b, too.
<siers> damn, that is not the right copypaste
<siers> I added "swapDevices = [ { device = "/var/swapfile"; } ];" and switched and it failed. :D
<siers> srhb, ah
<srhb> siers: Try looking at size :)
<siers> me is a fool
<siers> I will define it in GB, not GiB >:D hahaha, so evil.
<siers> srhb, anyhow, thanks!
<srhb> Sure thing
hmpffff has joined #nixos
komasa has quit [Ping timeout: 272 seconds]
_viz_ has joined #nixos
_viz_ has quit [Client Quit]
m0rphism has joined #nixos
_viz_ has joined #nixos
_viz_ has quit [Client Quit]
waleee-cl has joined #nixos
_viz_ has joined #nixos
_viz_ has quit [Client Quit]
fendor has joined #nixos
_viz_ has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #85176 → python.pkgs.zimports: init at 0.2.0 → https://git.io/JfeJ6
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JfJU2
_viz_ has quit [Client Quit]
_viz_ has joined #nixos
_viz_ has quit [Client Quit]
jmeredith has quit [Quit: Connection closed for inactivity]
_viz_ has joined #nixos
stteevveen has joined #nixos
<stteevveen> Hi! it is not clear for me the difference between nativeBuildInputs vs buildInputs . When do you choose to use nativeBuildINputs ?
<symphorien> for things which are executed during build
<symphorien> as opposed to things which are executed after installation
<symphorien> the distinction is only sensible for cross compilation
<symphorien> cmake and pkg-config go to nativeBuildInputs whereas usually libfoo goes to buildInputs
<stteevveen> symphorien thanks, that makes sense.
<siers> what does native mean there?
<Profpatsch> betaboon: oh wow, this is great!
vidbina_ has joined #nixos
<stteevveen> @siers after symphorien explanation I would say: native as in "used during a nix build" . anyone confirm ?
<betaboon> Profpatsch: i wrote some reasoning in the issue. i think this is the right way to go about it
<Profpatsch> betaboon: Now I wonder how I should test it.
<Profpatsch> I don’t want to destroy our staging instance :)
<Profpatsch> Well, I guess I might as well.
<Profpatsch> taint the ec2 instance, reapply
<Profpatsch> see if it still hangs
<symphorien> siers: native is the opposite of cross iirc. in autoconf parlance
oida has quit [Quit: byez]
<symphorien> because these inputs are not cross compiled
<betaboon> Profpatsch: i dont think it will destroy it. if i understand it correctly, it would just create a new ssh-connection when there is no multiplex-master-process
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9eeef58642e (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<siers> symphorien, ah! I bet most people have no idea what that means, so no one can remember
<siers> I think I will now
<siers> but wouldn't something like compileBuildInputs/runtimeBuildInputs make more sense?
<symphorien> ahah there is a more complex and more precise taxonomy
<symphorien> depsBuildBuild, depsBuildHost etc.
<siers> or that
<{^_^}> [nixpkgs] @symphorien opened pull request #85436 → paperwork: unmark as broken → https://git.io/JfJTO
oida has joined #nixos
gulplante has quit [Ping timeout: 265 seconds]
morgrimm has joined #nixos
c0c0 has quit [Quit: WeeChat 2.6]
morgrimm has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed to master « python38.pkgs.python-jsonrpc-server: disable for python38 »: https://git.io/JfJkO
<vika_nezrimaya> I just deleted my nixops files
<vika_nezrimaya> they weren't in git sadly
reallymemorable has joined #nixos
<vika_nezrimaya> I deleted like the whole directory with all the expressions
<{^_^}> [nixpkgs] @Mic92 pushed to release-20.03 « python38.pkgs.python-jsonrpc-server: disable for python38 »: https://git.io/JfJku
<vika_nezrimaya> good thing I updated my RPi recently
<vika_nezrimaya> lol
arjen-jonathan has quit [Ping timeout: 272 seconds]
<stteevveen> Trying to do my first nix derivation for c/c++. My result directory is empty after I use nix-build. What should I add in the Makefile install rule ? I've tried cp myApp out and cp myApp result , but that doesnt work
<vika_nezrimaya> Assuming a standard GNU build system, your PREFIX should be equal to $out when you call make and make install
<vika_nezrimaya> and you should install it to $PREFIX/bin/
<vika_nezrimaya> that way it'll work on both FHS and Nix
stigo is now known as sgo
sgo is now known as stigo
<{^_^}> [nixpkgs] @aszlig pushed to master « pcsc-cyberjack: 3.99.5_SP12 -> 3.99.5_SP13 »: https://git.io/JfJkh
<Profpatsch> betaboon: if you taint something, it’s destroyed and rebuilt
<betaboon> Profpatsch: ah ok
<{^_^}> [nixpkgs] @aszlig closed pull request #84749 → pcsc-cyberjack: 3.99.5_SP12 -> 3.99.5_SP13 → https://git.io/JvxDx
<Profpatsch> betaboon: at least for ec2 instances that’s the case.
<Profpatsch> If I taint the nixos_deploy thing, it will probably just run nixos-rebuild again
<{^_^}> [nixpkgs] @Mic92 merged pull request #84190 → platformio: 4.1.0 -> 4.3.1 → https://git.io/JvbeE
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfJIU
<betaboon> Profpatsch: yeah thats what i think happends.
<betaboon> just trying to write nomad-jobs in nix with nomad-provider and json job-specs. super-phun-thyme
xO1 has joined #nixos
<stteevveen> vika_nezrimaya Not sure I understand. It's nix-build that is calling make install, not me. In the Makefile for install : I have writen cp myApp ${PREFIX}/bin/ but it seems PREFIX is empty in that case, since it tries to copy to /bin/myApp when I execute nix-build.
<vika_nezrimaya> $(PREFIX) maybe?
<vika_nezrimaya> you might be confusing Make's syntax with Nix's one
arjen-jonathan has joined #nixos
relaxmax has quit [Ping timeout: 256 seconds]
_viz_ has quit [Ping timeout: 258 seconds]
pause123 has joined #nixos
<pause123> Hey, anybody having issues with alacritty using nix? It crashes during start
<pause123> Searched the issue threads but wasn't able to find a solution
<pause123> It shows mostly fontconfig error
<vika_nezrimaya> Are you by any chance used Noto Mono for your terminal?
<pause123> I don't think so, I am using default ubuntu font
<{^_^}> [nixpkgs] @jappeace opened pull request #85438 → cut-the-crap: init at 1.0.0 → https://git.io/JfJIB
<vika_nezrimaya> Change it to something else. It might help, I've encountered the same after *somebody* broke the Noto font package by moving stuff to a subdirectory. Might've been an impurity in my system that made it search for the font in the default directory, but I doubt it
cosimone has joined #nixos
<vika_nezrimaya> too lazy to actually git blame it
<{^_^}> [nixpkgs] @jappeace closed pull request #75794 → cut-the-crap: init at 1.0.0 → https://git.io/Je7Ol
<pause123> I need to change the alacritty config font right?
<pause123> It's monospace
<pause123> It's probably something to do with how nix alacritty resolves fontconfig
<{^_^}> [nixpkgs] @marsam merged pull request #85347 → megatools: 1.10.2 -> 1.10.3 → https://git.io/Jfvhu
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfJI2
morgrimm has joined #nixos
vidbina_ has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5fe104de46a (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
morgrimm has quit [Ping timeout: 240 seconds]
cosimone has quit [Quit: Terminated!]
<aanderse> is there any reasonable way to have a declarative nixos container and pin the nixpkgs version in just that container?
<aanderse> my actual goal is to be able to take a users configuration.nix and boil it down to a minimal reproducible container so i can reproduce a crash this user is having
cosimone has joined #nixos
mvnetbiz_ has quit [Quit: Bye!]
mvnetbiz_ has joined #nixos
cosimone has quit [Remote host closed the connection]
pause123 has quit [Remote host closed the connection]
<jtojnar> aaron I just build the repro configurations using `nixos-rebuild build-vm -I nixpkgs=… -I nixos-config=…`
<aanderse> Jan Tojnar: oh yeah, build-vm... i have never actually used that and forgot it existed >_<
<{^_^}> [nixpkgs] @flokli merged pull request #85385 → racket: use --enable-useprefix configure flag. → https://git.io/JffVc
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfJLq
<aanderse> ha ha ha don't i feel stupid now
<aanderse> thanks!
<aanderse> jtojnar++
<{^_^}> jtojnar's karma got increased to 40
<jtojnar> it is great, makes me love Nix even more
<{^_^}> [nixpkgs] @arcz opened pull request #85439 → echidna: init at 1.5.0 → https://git.io/JfJLY
<gchristensen> has anyone gotten v4lloopback working on 20.03? I gave it a go a few weeks ago, it didn't work, and I'm trying again to see whathapens.
<ikwildrpepper> gchristensen: I tried and failed
<ikwildrpepper> 2 weeks ago
<aanderse> i'm so used to just deploying remote vms (via nixops) i guess that slipped my mind!
emptyflag has joined #nixos
zupo has quit [Ping timeout: 256 seconds]
emptyflag is now known as mcrx`
<betaboon> Profpatsch: any results to your test yet ?
mcrx` is now known as emptyflag
xO1 has quit [Ping timeout: 265 seconds]
johnjay has quit [Ping timeout: 256 seconds]
johnjay has joined #nixos
cfricke has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @primeos merged pull request #85405 → [19.09] chromium: 81.0.4044.92 -> 81.0.4044.113 (backport) → https://git.io/JffPh
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-19.09: https://git.io/JfJL6
<Profpatsch> betaboon: I will come around to it in a bit
xO1 has joined #nixos
alexherbo20 has joined #nixos
alexherbo2 has quit [Ping timeout: 250 seconds]
alexherbo20 is now known as alexherbo2
<{^_^}> [nixpkgs] @primeos pushed to master « chromium{Beta,Dev}: M81 -> M83 -> M84 »: https://git.io/JfJtv
xelxebar has quit [Ping timeout: 240 seconds]
xelxebar has joined #nixos
CptCaptain has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « alsaTools: 1.1.7 -> 1.2.2 »: https://git.io/JfJtY
teto has joined #nixos
Diogo has quit [Quit: The Lounge - https://thelounge.chat]
stteevveen has quit [Remote host closed the connection]
Diogo has joined #nixos
knupfer has joined #nixos
Dav1d23 has joined #nixos
Diogo has quit [Client Quit]
cfricke has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
Diogo has joined #nixos
<gchristensen> ikwildrpepper: it works!
<gchristensen> ikwildrpepper: https://meet.jit.si/UnnecessaryBarriersCarryPossibly with chromakey!
reallymemorable has joined #nixos
<noonien> hmm, does `gnomecast` work? i get `gi.repository.GLib.Error: gdk-pixbuf-error-quark: Unrecognized image file format (3)` whenever trying to run it.
<noonien> i've tried the several ways of fixing gdx-pixbuf to load svg images, but none worked
Diogo has quit [Quit: The Lounge - https://thelounge.chat]
Diogo has joined #nixos
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 260 seconds]
Jackneill has quit [Ping timeout: 250 seconds]
reallymemorable has quit [Quit: reallymemorable]
Diogo has quit [Quit: The Lounge - https://thelounge.chat]
morgrimm has joined #nixos
Diogo has joined #nixos
komasa has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #84153 → obs-v4l2sink: init at unstable-20181012 → https://git.io/JvF6r
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JfJqz
koleesch has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/JfJqg
zebrag has quit [Ping timeout: 250 seconds]
zebrag has joined #nixos
felixfoertsch23 has joined #nixos
morgrimm has quit [Ping timeout: 264 seconds]
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 is now known as felixfoertsch
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @mdorman opened pull request #85440 → cabal-install-parsers: update Cabal dependency → https://git.io/JfJqK
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/JfJqP
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-19.09: https://git.io/JfJqM
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-20.03: https://git.io/JfJqS
cosimone has joined #nixos
ArdaXi has quit [Ping timeout: 260 seconds]
bqv has joined #nixos
turion has quit [Ping timeout: 246 seconds]
ArdaXi has joined #nixos
Diogo has quit [Quit: The Lounge - https://thelounge.chat]
morgrimm has joined #nixos
zebrag has quit [Ping timeout: 256 seconds]
Diogo has joined #nixos
Diogo has quit [Quit: The Lounge - https://thelounge.chat]
Diogo has joined #nixos
tabasko_ has joined #nixos
tabasko has quit [Ping timeout: 258 seconds]
realrokka_ has joined #nixos
realrokka has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #85432 → crystal: 0.31 -> 0.34 → https://git.io/JfJvi
<{^_^}> [nixpkgs] @peterhoeg pushed commit from @manveru to master « crystal: 0.31 -> 0.34 (#85432) »: https://git.io/JfJYB
bukkitgerman8608 has quit [Ping timeout: 256 seconds]
Ariakenom has quit [Ping timeout: 264 seconds]
Ariakenom has joined #nixos
realrokka_ has quit [Ping timeout: 264 seconds]
nobrak``` has joined #nixos
jmeredith has joined #nixos
nobrak`` has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #85367 → nix-prefetch: 0.3.0 -> 0.3.1 → https://git.io/Jff3H
<{^_^}> [nixpkgs] @peterhoeg pushed to master « nix-prefetch: 0.3.0 -> 0.3.1 (#85367) »: https://git.io/JfJYP
evertedsphere has joined #nixos
bukkitgerman8608 has joined #nixos
chagra has quit [Ping timeout: 260 seconds]
chagra has joined #nixos
Diogo has quit [Quit: The Lounge - https://thelounge.chat]
dhkl has quit [Ping timeout: 258 seconds]
ebopp has joined #nixos
dhkl has joined #nixos
zebrag has joined #nixos
realrokka has joined #nixos
Diogo has joined #nixos
noudle has joined #nixos
drakonis has joined #nixos
dhkl has quit [Ping timeout: 240 seconds]
reallymemorable has joined #nixos
<ikwildrpepper> gchristensen: anything you had to do to get it to work or just works now?
dhkl has joined #nixos
<siers> what could be making changes to the typing rate? "xset r rate"
<siers> I have to reset it all the time
drakonis_ has quit [Ping timeout: 264 seconds]
Diogo has quit [Quit: The Lounge - https://thelounge.chat]
<JJJollyjim> i've had issues before where gnome frequently resets setxkbmap settings
<gchristensen> ikwildrpepper: https://github.com/NixOS/nixpkgs/pull/84153 I wrote up my exact steps here
<{^_^}> #84153 (by colemickens, 2 weeks ago, merged): obs-v4l2sink: init at unstable-20181012
<JJJollyjim> xset might be the same
<immae> JJJollyjim: just curious, how did you fix the setxkbmap issue? (I have it randomly too, it’s annoying and I have no clue what provokes that)
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<JJJollyjim> nah, it was a computer i was borrowing for a few hours, i don't use gnome myself
<immae> oh (me neither, but it still happens, so I think it’s gtk rather than gnome)
<sphalerite> gtk shouldn't do that I believe, but if you have gnome-settings-daemon running that might do it
Diogo has joined #nixos
<immae> sphalerite: no such thing (only gnome-related process is /usr/lib/at-spi2-registryd --use-gnome-session)
<immae> Don’t bother, it doesn’t happen *that* often (once a week), so I can redefine my setxkbmap when it happens
bukkitgerman8608 has quit [Quit: Ping timeout (120 seconds)]
acarrico has joined #nixos
bukkitgerman8608 has joined #nixos
stepcut has joined #nixos
Diogo has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83782 → krita: disable parallel building #35359 → https://git.io/Jv7Mo
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfJ3k
xfix has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<stepcut> I am using nixops to deploy to a server and I have enableRollback enabled. But eventually the hard drive fills up. I could set, nix.gc.automatic = true; but I do not think that will help because the generation roots will still be active. How do I configure nixops so that I only keep the last 2-3 generations around on the server?
xfix has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #82651 → mopidy: Create a mopidyPackages set → https://git.io/JviSL
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to master: https://git.io/JfJ3O
realrokka_ has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8262ecd369c (from 23 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
realrokka has quit [Ping timeout: 260 seconds]
Diogo has joined #nixos
<immae> stepcut: you gc automatic will remove lingering objects, but they’s not lingering: you need to remove them first from /nix/var/nix/profiles/system (in the remote system)
<{^_^}> [nixpkgs] @fgaz opened pull request #85442 → castor: init at 0.5.0 → https://git.io/JfJ3l
<immae> for instance: `nix-env -p /nix/var/nix/profiles/system --delete-generations +3`
<stepcut> immae: right.. but I just want to run 'nixops deploy' and not have to run other things as well
<immae> It’s not supported currently
<immae> You may add that as activation script if you want (might not be a good idea)
<immae> (Also note that the command above concerns remote, not the local one from which you’re running the command)
<stepcut> I kind of wish it was an option to `nix.gc`
<immae> in my nixops configuration I have a `make cleanup` which cleans up local and remote, I don’t think you can do better for now saddly (profiles defined via nix-env are quite stateful actually I think, it never get removed automatically)
<b42> enableRollback keeps the old generations on the local machine where nixops is executed, right?
<immae> b42: both
<immae> both local and remote have the generation
<immae> (remote has his own, local has all the machines ones)
<hyper_ch> I think I figured out why my new ECC setup isn't working - I have no gpu
<b42> right, but without enableRollback the remote still keeps the old profiles?
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #85443 → st: copy config file in 'prePatch' instead of 'preBuild' → https://git.io/JfJ3D
nschoe has joined #nixos
<immae> b42: you’re right, it does (as far as I see from the code, don’t take my word for it)
<{^_^}> [nixpkgs] @Mic92 closed pull request #85055 → st: copy config file in 'prePatch' instead of 'preBuild' → https://git.io/JvjkD
<{^_^}> [nixpkgs] @Mic92 merged pull request #85443 → st: copy config file in 'prePatch' instead of 'preBuild' → https://git.io/JfJ3D
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfJ39
Peter_Peter has joined #nixos
drakonis has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed commit from @nschoe to release-20.03 « st: copy config file in 'prePatch' instead of 'preBuild' »: https://git.io/JfJ3N
<b42> stepcut: would something like nix.gc.options = "--delete-older-than 14d"; help your case?
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
nschoe has quit [Client Quit]
nschoe has joined #nixos
<{^_^}> [nixops] @adisbladis pushed 8 commits to xml-to-json: https://git.io/JfJsT
<{^_^}> [nixops] @adisbladis pushed 0 commits to xml-to-json: https://git.io/JfJsI
<stepcut> b42: oh.. that is probably exactly what I want. I read the spec too fast and thought I could only use that to set the --max-freed flag
drakonis1 has joined #nixos
ixxie has joined #nixos
<immae> Oh nice indeed
cosimone has quit [Remote host closed the connection]
Peter_Peter has quit [Quit: Textual IRC Client: www.textualapp.com]
cosimone has joined #nixos
<stepcut> well, close to what I'd like. It would be nice if I could use the syntax like `nix-env --delete-generations +5` instead of just a time period.
<stepcut> Also, I normally have to use the -p flag to remove the generations that nixops creates, `nix-env --delete-generations old -p /nix/var/nix/profiles/system`
drakonis_ has quit [Ping timeout: 264 seconds]
<stepcut> I think the activation script is probably the approach that will work for me.
<stepcut> I don't really need a cron job, since nixops deploy is the only thing that changes the garbage on that machine anyway
<nschoe> Hi, has anyone else an issue with KiCad? Adding `kicad` to my `systemPackages` fails with "No space left on device" (I still have 44GB on `/`). When I use kicad.override {with3d = false'} it builds fine, though. I now there are a lot of 3d model packges, but it's a few GB at most. Should not be an issue.
<gchristensen> stepcut: maybe open an issue on the NixOps repository describing the problem, and the problem with the available solutions? if you're having this problem, many people are -- and it'd be nice to have a good fix
jeromelanteri has joined #nixos
<immae> (this reminded me that I was very late in my cleanup too... `104229.18 MiB freed`)
<stepcut> gchristensen: an issue about needing `-p`? or about automatic generation deletion?
zupo has joined #nixos
<gchristensen> stepcut: the awkwardness of having it fill up with profiles an no clear/coherent way to deal with it
noudle has quit []
<srk> nschoe: is that nixos system?
<nschoe> srk: yes, I'm on 20.03
<srk> weird, maybe check df while nix is working? I've seen /run/user tmpfs filled few times - but haven't had this problem with kicad
<{^_^}> [nixops] @mmilata opened pull request #1286 → doc: clarify enableRollback → https://git.io/JfJsS
<nschoe> srk: ohhhh: `df -h` gave me: "tmpfs 1.9G 6.9M 1.9G 0% /run" So `/run` is only 1.9G This is clearly not enough.
<fgaz> How do I know when wrapGAppsHook is needed?
<srk> nschoe: might not be an issue - it shouldn't be used by default I think, btw I also have a script to clone all the kicads packages if you want
<{^_^}> [nixpkgs] @cdepillabout merged pull request #85438 → cut-the-crap: init at 1.0.0 → https://git.io/JfJIB
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfJsh
<b42> afaik it's an issue when boot.tmpOnTmpfs = true otherwise it shouldn't build in ram?
nixuser has quit [Remote host closed the connection]
Dav1d23 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #85440 → cabal-install-parsers: update Cabal dependency → https://git.io/JfJqK
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfJGt
<qy[m]1> cole-h: r.e. https://github.com/NixOS/nixpkgs/pull/84004 - it works! i'm currently running `guix environment -C guix --ad-hoc bash vim guile-json` and it's actually working!
<{^_^}> #84004 (by bqv, 2 weeks ago, open): guix: init at 1.1.0
<symphorien> fgaz: anything that provides something in $out/bin and depends on gtk more or less
<qy[m]1> obviously i had to create a systemd service for the daemon and all, but generally it seems to be fine with how it's packaged!
<fgaz> symphorien: why isn't it added automatically by GTK then?
<symphorien> no idea
<{^_^}> [nixpkgs] @Mic92 merged pull request #68171 → nodePackages.postcss-cli: init at 7.1.0 → https://git.io/fjjnD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfJGn
<nschoe> b42: ah! I did enable `boot.tmpOnTmps` in my configuration.nix. Does that mean I have to remove it?
phreedom has quit [Ping timeout: 240 seconds]
<nschoe> srk: well I'd like to understand what is going on :/ And preferably don't use any hack.
phreedom has joined #nixos
pbogdan has quit [Remote host closed the connection]
<srk> nschoe: sure, I've switched to local library for different reasons (fp-lib-table changes)
<srk> nschoe: it could use nix! :D
<nschoe> srk: I used to do this too: I had the symbols, footprints and packages3D cloned manualyl in my home dir and set the correct paths inside KiCad.
cfricke has quit [Quit: WeeChat 2.8]
<nschoe> But this is a fresh install and wanted to start vanilla.
<nschoe> I don't understand why it cannot download, nor why my /run is only 1.9G.
<srk> size is probably fine, mine is 1.6G on a desktop a only 400Mb laptop
chagra has quit [Ping timeout: 240 seconds]
<srk> you can try remounting it a bit larger
stepcut has quit []
vidbina_ has joined #nixos
cosimone has quit [Remote host closed the connection]
jco has joined #nixos
cosimone has joined #nixos
acarrico has quit [Quit: Leaving.]
_viz_ has joined #nixos
pbogdan has joined #nixos
<pbogdan> it
pbogdan has quit [Client Quit]
<nschoe> Ok.
<nschoe> if you say it's enough, then it should do it. So... I'm wondering why it fails with no space left then :/
pbogdan has joined #nixos
relaxmax has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #84783 → nixos/k3s: add initial k3s service → https://git.io/Jvpfb
<{^_^}> [nixpkgs] @nlewo pushed commit from @euank to master « nixos/k3s: add initial k3s service »: https://git.io/JfJGF
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/919293492b7 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ultranix has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/36586a92d39 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5eb6f1ed448 (from 22 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<srk> pff building '/nix/store/m3rfklrjn0gpgkg6r36j0w8nqm3202k6-packages3d.drv'...
<{^_^}> [nixpkgs] @manveru opened pull request #85445 → crystal: use llvm 10 exclusively → https://git.io/JfJZC
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
najib has joined #nixos
erasmas has joined #nixos
cosimone has quit [Excess Flood]
cosimone has joined #nixos
lsix has joined #nixos
<najib> Hi, I am looking for OMR (optical mark recognition) software. I am not found any when search in nixos packages. FormScanner (www.formscanner.org) look nice. Hope there will be some OMR software in nixos.
<gchristensen> anyone here have that there XPS 7390 and happy with it?
rardiol has joined #nixos
<ultranix> does anyone know how I can include androidsdk_9_0 like so in a shell.nix: ANDROID_HOME = "${androidsdk_9_0}/libexec/android-sdk"; and set 'android_sdk.accept_license = true' for that derivation in the Shell ?
<jluttine> Would it be ok if packages contain debug?false argument so that debugging can then be enabled easily without needing to figure out how to do it for that particular package? Definitely, most packages wouldn't have this argument, but would it be considered ok/good if such is added if someone just does the effort of figuring out how to enable debugging for the package?
<{^_^}> [nixpkgs] @cdepillabout merged pull request #85433 → Unbreak Tensorflow Haskell bindings #2 → https://git.io/JfJfB
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfJZx
<jluttine> Just thinking if I'd make a pull request for one package where I did this
vidbina_ has quit [Ping timeout: 265 seconds]
<ultranix> i think the value is actually ' config.android_sdk.accept_license = true; ', i'm still trying to understand how config works
growpotkin has joined #nixos
najibpuchong has joined #nixos
<najibpuchong> Hi, I am looking for OMR (optical mark recognition) software. I am not found any when search in nixos packages. FormScanner (www.formscanner.org) look nice. Hope there will be some OMR software in nixos.
najib has left #nixos ["Leaving"]
<infinisil> jluttine: Sounds reasonable to me
relaxmax has quit [Quit: Leaving]
seku has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9094d359253 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
chagra has joined #nixos
<srk> ,tell nschoe can reproduce (kicad) but I'm running out of disk space for real - it quickly eats 10G during download/unpack
<{^_^}> srk: I'll pass that on to nschoe
<reactormonk> How do y'all do iterative debugging? Whenever I run `:l default.nix` nix repl segfaults soon after
<srk> import ./. {}
<srk> :l sometimes segfaults for me as well when doing :l <nixpkgs> *after* other stuff
<{^_^}> [nixpkgs] @guibou opened pull request #85446 → haskellPackages.ghcWithPackages: fix for GHC 8.10 → https://git.io/JfJnr
pbogdan has quit [Remote host closed the connection]
Izorkin has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peti pushed 375 commits to haskell-updates: https://git.io/JfJnX
<srk> hm, kicads packages3d repo is now 6.2G
drakonis has joined #nixos
ATuin has joined #nixos
mallox has quit [Ping timeout: 256 seconds]
owenowen has joined #nixos
mallox has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfJnM
justanotheruser has quit [Ping timeout: 246 seconds]
drakonis1 has quit [Ping timeout: 256 seconds]
reallymemorable has quit [Quit: reallymemorable]
mallox_ has joined #nixos
owenowen has quit [Ping timeout: 265 seconds]
mallox has quit [Ping timeout: 256 seconds]
<infinisil> reactormonk: nix-instantiate --eval / nix-instantiate / nix-build
<infinisil> Which I have aliased to `ne`, `ni` and `nb`
<{^_^}> [nixpkgs] @bhipple opened pull request #85448 → mesa-glu: use HTTPS instead of FTP → https://git.io/JfJck
pamplemousse has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #81307 → R: Update R, CRAN, & Bioconductor → https://git.io/Jvgvb
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/JfJc3
o1lo01ol1o has quit [Remote host closed the connection]
Ariakenom has quit [Ping timeout: 256 seconds]
mallox_ has quit [Ping timeout: 265 seconds]
justanotheruser has joined #nixos
zeenk has quit [Quit: Konversation terminated!]
o1lo01ol1o has joined #nixos
<duckfullstop> super dumb question: if I have a systemd unit that's being instantiated by a derivation in nixpkgs, and I want to add some packages to its path, is my only choice to override the package?
<infinisil> duckfullstop: systemd.services.*.path can be used instead
mallox_ has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #85446 → haskellPackages.ghcWithPackages: fix for GHC 8.10 → https://git.io/JfJnr
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JfJcB
<duckfullstop> I'll PR it back in to unstable but I need it for 20.03
<duckfullstop> infinisil: guessing that's an override?
<infinisil> You can just set that option in your configuration.nix
<infinisil> Multiple assignments get merged together
<duckfullstop> Alrighty, neat, cheers
drakonis_ has joined #nixos
cole-h has joined #nixos
arjen-jonathan has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
* duckfullstop regrets everything as kube-proxy get into a panic lock
drakonis has quit [Ping timeout: 272 seconds]
jakobrs has joined #nixos
teto has quit [Ping timeout: 246 seconds]
<jakobrs> Is it possible to add a .patch that uses the out path inside the patch?
<jakobrs> As in, the patch itself would reference the out path.
reallymemorable has joined #nixos
<qy[m]1> oh, it's just occured to me that github dedups forked repositories
<qy[m]1> cause i can commit to my fork and fetch the commit from the original
<qy[m]1> that's interesting
<jakobrs> whaa
<qy[m]1> i haven't even made a PR for that or anything, but somehow the original repo can see it
<cole-h> jakobrs: Yes, by using `substituteAll` and putting a placeholder in the patch itself
<jakobrs> So I'd use substituteAll _after_ applying the patch?
<cole-h> Here's an example I just found in nixpkgs
<jakobrs> oh
<cole-h> And here's the patch it substitutes based on
<cole-h> (or one of othem)
<jakobrs> didn't know you could use substituteall as a function
emacsomancer has quit [Read error: Connection reset by peer]
<cole-h> :)
<jtojnar> if nothing changed, placeholder will not work in substituteall
<cole-h> Really?
<jtojnar> there are actually two reasons IIRC
<jtojnar> - substituteAll is a different derivation so even if it worked, ${placeholder "out"} would point to the patch
<jtojnar> - placeholders do (did?) not work in passAsFile
<cole-h> That... kinda sucks.
<cole-h> Well, then I think the alternative is to just `sed` it manually in postPatch
<jakobrs> Also, what to do if I want to apply the patch in a folder that is different from `sourceRoot`?
<jtojnar> the first issue was fixed recently https://github.com/NixOS/nix/pull/3463
<{^_^}> nix#3463 (by Ninlives, 2 weeks ago, merged): fix placeholder not substituted in passAsFile
emacsomancer has joined #nixos
<cole-h> `sed -i "s|@out@|${placeholder "out"}| file-that-was-patched` should work then
<gchristensen> make the patch to put @OUTDIR@ where you want the $out to be, and then after patches are applied, substiteInPlace
<cole-h> That works too
teto has joined #nixos
<jakobrs> In this case the "nothing changed" part probably won't apply, so it shouldn't be a problem.
drakonis_ has quit [Ping timeout: 256 seconds]
xfix has quit [Ping timeout: 240 seconds]
<cole-h> jakobrs: You mean the patch is in e.g. `~/patches/0001-some-patch.patch`?
<jakobrs> Say the patch is a standard patch generated by git format-patch,
chagra has quit [Ping timeout: 256 seconds]
<jakobrs> but sourceRoot is "source/folder"
drakonis_ has joined #nixos
<jakobrs> then `patches` will fail to apply because the patches are created relative to the repository root.
<jakobrs> But mkDerivation uses `git apply` from sourceRoot, which is different
Ariakenom has quit [Quit: WeeChat 2.7]
<cole-h> If you've created the patch yourself, why not just `format-patch` from sourceRoot?
<jakobrs> I could do that
<jakobrs> honestly, I don't remember why I needed to do this
cosimone has quit [Remote host closed the connection]
<jakobrs> I only remember that I needed to do this at some point, but can't remember why
cosimone has joined #nixos
<cole-h> You could use `fetchpatch` on the patch file (yes, it works) and use the `extraPrefix` attribute
<ajs124> flokli: did you get a chance to look at #43607 recently?
<{^_^}> https://github.com/NixOS/nixpkgs/issues/43607 (by xastor, 1 year ago, open): Host lookup fails when using wins nss plugin.
<jakobrs> I'll try to remember to try that when I figure out why I needed to do it in the first place, and on what
pbogdan has joined #nixos
pbogdan has quit [Remote host closed the connection]
<cole-h> lol
pbogdan has joined #nixos
pbogdan has quit [Remote host closed the connection]
pbogdan has joined #nixos
ris has joined #nixos
<jluttine> does nix strip debug symbols? my meson build doesn't contain debug symbols although i built it with mesonBuildType="debug" and i can see that this indeed gets passed to the meson builder
<jluttine> if nix does strip debug symbols, can i somehow avoid that?
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #85431 → vapoursynth: R48 -> R49 → https://git.io/JfJvB
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JfJWk
<Taneb> jluttine: there's a way, let me find it
<qy[m]1> it does, yeah
<qy[m]1> dontStrip = true; in the derivation
<jluttine> qy[m]1: oh! cool, thanks!
mananamenos has joined #nixos
jakobrs has quit [Quit: WeeChat 2.8]
luna has joined #nixos
fenedor has joined #nixos
<{^_^}> [nixpkgs] @Elyhaka opened pull request #85451 → teams: fixing a pulseaudio access → https://git.io/JfJW2
drakonis has joined #nixos
buckley310 has quit [Read error: Connection reset by peer]
buckley310 has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b61999e4ad6 (from 28 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
is_null has quit [Ping timeout: 256 seconds]
Ralith_ has quit [Ping timeout: 256 seconds]
stew has quit [Ping timeout: 256 seconds]
is_null has joined #nixos
Ralith_ has joined #nixos
stew has joined #nixos
tjg1 has quit [Ping timeout: 256 seconds]
jtobin has quit [Ping timeout: 256 seconds]
jtobin has joined #nixos
fendor has quit [Ping timeout: 256 seconds]
tjg1 has joined #nixos
arjen-jonathan has joined #nixos
lsix has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85395 → [20.03] flashplayer: 32.0.0.330 -> 32.0.0.363 → https://git.io/Jff6e
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JfJlv
o1lo01ol1o has quit [Remote host closed the connection]
melling has quit [Quit: WeeChat 2.7.1]
fenedor is now known as fendor
drakonis has quit [Quit: WeeChat 2.8]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #81955 → poppler: 0.85.0 -> 0.86.1 → https://git.io/JvwQP
<{^_^}> [nixpkgs] @jtojnar pushed 6 commits to master: https://git.io/JfJln
drakonis has joined #nixos
Izorkin has joined #nixos
<{^_^}> [nix] @Mic92 opened pull request #3511 → [RFC] libstore: remove static initialisation → https://git.io/JfJlW
o1lo01ol1o has quit [Ping timeout: 265 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
chloekek has joined #nixos
nschoe has joined #nixos
<maddo> rnhmjoj thanks!
opticnerve has joined #nixos
dhkl has quit [Quit: WeeChat 2.8]
<nschoe> Hi all, I'm looking at the libinput nixos option (https://github.com/NixOS/nixpkgs/blob/release-19.09/nixos/modules/services/x11/hardware/libinput.nix) and it only talks about touchpad for laptops. Is there a way to pass options for mouse?
<{^_^}> nschoe: 1 hour, 33 minutes ago <srk> can reproduce (kicad) but I'm running out of disk space for real - it quickly eats 10G during download/unpack
duckfullstop has quit [Quit: Why do you need...?]
<nschoe> srk: hi again. I've just received your email. 10GB? Wow that's huge. Is the unpack done in /run ?
<nschoe> Regarding libinput: I've enabled natural scrolling (because that's how I like it for trackpad), but it __also__ enabled it for th emouse, which ... sucks. I know it's possible to disable it with xinput, but is there a way to do it via option?
knupfer has quit [Quit: knupfer]
pluppens has joined #nixos
knupfer1 has joined #nixos
dansho has joined #nixos
_viz_ has quit [Quit: Lost terminal]
_viz_ has joined #nixos
knupfer1 is now known as knupfer
cosimone has quit [Quit: Terminated!]
<srk> nschoe: no, it's happening in /nix/store (I've asked whether you were on nixos as I've seen this problem with /run/user with nix on other $distro)
<nschoe> srk: hi back. Ah ok. No no I'm running full NixOS (and won't go back !)
<srk> nschoe: checked-out repo is 6.2G tho! hydra won't cache stuff larger than >2G iirc
<nschoe> srk: hum.... that is a huge repo :/
knupfer has quit [Quit: knupfer]
jco has quit [Ping timeout: 252 seconds]
knupfer has joined #nixos
<srk> indeed, it means you need at least ~12G to install :D
<b42> i think the unpack is done on /tmp and later installPhase copies it to /nix/store?
<ajs124> just skip the unpackPhase
<nschoe> b42: that would certainly explain my issue then: my /tmp is 3.8G only
<b42> right, sources are downloaded to /nix/store, unpacked to /tmp, and installed to /nix/store so i guess you need 12G in /nix/store and 6G in /tmp
<sphalerite> nschoe: add an entry to services.xserver.inputClassSections
duckfullstop has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1d20b2872ff (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/edd58cf4a7b (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5f814bf9cc4 (from 23 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @doronbehar opened pull request #85452 → pistol: 0.0.5 -> 0.1 → https://git.io/JfJ8j
linarcx has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.7.1]
<nschoe> sphalerite: oh nice! I wnated to use additionalOptions but it is included in the section with MatchIsTouchpad. I did not know about services.xserver.inputClassSections thanks
LambdaDuck has joined #nixos
<nschoe> sphalerite: just to double check: setting services.xserver.inputClassSections won't erase what's in there already?
<LambdaDuck> Is there a way to look at the logs for the last failed build of a specific package on hydra?
<emily> when using flakes, can a NIX_PATH entry point to a flake?
<sphalerite> nschoe: no, it won't — the only other thing that seems to set that option is the trackpoint module
<emily> NIX_PATH="nixpkgs=flake:nixpkgs:..." breaks on the :
<emily> (needed to get some legacy stuff to work... like nix-shell :') )
<nschoe> sphalerite: awesome, thanks.
<sphalerite> nschoe: and even that sets it at regular priority, so it would only be added if you were using it
<nschoe> Now I have to figure out what goes into this section input ^^
<nschoe> Thanks
<LambdaDuck> For example, haskellPackages.free-theorems is marked as broken and I want to find out why it failed.
<sphalerite> LambdaDuck: packages marked as broken won't get built by hydra, your best bet is to try building it yourself (you can use the NIXPKGS_ALLOW_BROKEN environment variable to bypass the error)
<snicket> can I use 'gcc -L/some/path/with/library' in nixos, or is it neutered somehow so that I don't do sth stupid? I am not packaging anything, just playing around. and trying to figure out if I'm doing sth wrong or is it nixos blocking me
<sphalerite> snicket: should work,
<sphalerite> snicket: though if you're running your gcc after installing it with nix-env…
<sphalerite> ,library
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<sphalerite> (also goes for some compilers)
<LambdaDuck> sphalerite: Ooh, nice I didn't know about the environment variable. I just assumed that the old logs from before it was marked is available
<emily> LambdaDuck: that's from 2016 though, so it's been broken for a long time
<sphalerite> emily: oh neat!
<LambdaDuck> emily: Thanks!
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85436 → paperwork: unmark as broken → https://git.io/JfJTO
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JfJ4I
<emily> LambdaDuck: (and I don't know if there's an easy way to go through the entire "propagated from ..." chain when there's a bunch of them, which is my usual problem)
<emily> LambdaDuck: np, hydra UI is pretty arcane ^^
<ajs124> emily: arcane? this https://i.imgur.com/1dqmlpt.png is peak design, please
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<emily> ajs124: haha, I'd never seen that
<emily> supports like 8x more languages when it's offline
<ajs124> the best part is the austrian localization
<flokli> ajs124: about #43607, no, I didn't further dig into it. If there was an example config with some samba server, so I could easily tinker around, it'd be easier
<{^_^}> https://github.com/NixOS/nixpkgs/issues/43607 (by xastor, 1 year ago, open): Host lookup fails when using wins nss plugin.
<flokli> We could even then make this a nixos vm test to ensure it doesn't break in the future
<ajs124> flokli: I'm 99% sure this is bigger than samba
<ajs124> The systemd example you posted only works because it's run in "systemd's context" (for lack of a better description).
mananamenos has quit [Remote host closed the connection]
<flokli> ajs124: yes, but the samba example would be a real-world example in how this breaks
<flokli> it's just the server config missing, isn't it?
<ajs124> So is the systemd example. getent passwd shows systemd dynamic users if it can find the nss plugin.
seku has joined #nixos
<ajs124> Idk what's missing. What I'm observing is that glibc isn't trying to connect to the nscd socket or trying to read any config files that seem relevant to nscd.
jco has joined #nixos
bqv has quit [Ping timeout: 246 seconds]
bqv has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « neomutt: 20200320 -> 20200417 »: https://git.io/JfJ4u
evertedsphere has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JfJ4o
incognito9999 has quit [Quit: ZNC 1.7.2+deb3~bpo9+1 - https://znc.in]
incognito9999 has joined #nixos
domogled has joined #nixos
tdeo has quit [Remote host closed the connection]
drakonis1 has joined #nixos
sigmundv__ has quit [Read error: Connection reset by peer]
tdeo has joined #nixos
tdeo has joined #nixos
tdeo has quit [Changing host]
sigmundv__ has joined #nixos
chagra has joined #nixos
asheshambasta has quit [Ping timeout: 246 seconds]
philr_ has quit [Ping timeout: 265 seconds]
drakonis_ has quit [Ping timeout: 258 seconds]
cosimone has joined #nixos
webstrand has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/36586a92d39 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<LambdaDuck> How do I disable notifications from -{^_^}:#nixos- in irssi?
maddo has quit [Quit: See ya]
<sphalerite> LambdaDuck: something with /ignore probably :)
maddo has joined #nixos
jco has quit [Quit: WeeChat 2.7]
drakonis_ has joined #nixos
<webstrand> I've installed nix on gentoo, how do I get the various nixos install utilities, e.g. nixos-generate-config?
<webstrand> I've tried: nix-env -f '<nixpkgs/nixos>' -iA config.system.build.nixos-{generate-config,install,enter}
<webstrand> But it needs nixos-config, which I don't have
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a68f099e182 (from 87 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
nuncanada has joined #nixos
o1lo01ol1o has joined #nixos
<colemickens> Going to try to get the pipewire patched firefox building today.
owenowen has joined #nixos
<colemickens> Might be time to actually execute the build phases by hand, rebuilding it all on failure is painful
owenowen has left #nixos [#nixos]
drakonis1 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @bqv opened pull request #85453 → sv-kalendar: fix meta → https://git.io/JfJBk
<qy[m]1> Cole Mickens: is pipewire the replacement for pulseaudio?
<qy[m]1> is it now usable?
<gchristensen> colemickens: did you see the good news?
<drakonis> it is usable, yes.
<drakonis> it is also a replacement for JACK
<qy[m]1> awesome
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<qy[m]1> https://www.pipewire.org/ 404 :')
fendor has quit [Read error: Connection reset by peer]
<colemickens> bqv: that feels like trick questions sorta :P
<colemickens> I don't really know. But I know pipewire is how screen/surface sharing in wayland/webrtc/browsery apps works
<colemickens> so if you want to test the latest Sway / screen share stuff, you need a pipewire-enabled-webrtc-enabled-firefox, and because of deficits in Firefox's build system, it requires patching to enable... phew.
<colemickens> so anyway, I'm trying to get a patch from fedora or somewhere else working, I don't think it ought to be hard.
<qy[m]1> ah, i see
<colemickens> gchristensen: you merged the obs PR? or more than that :)
<gchristensen> well, it works :)
<colemickens> (i was still sorta trying to tell if it was actually working properly for you or not, I couldn't decipher the screenshot)
<colemickens> haha, good
<gchristensen> I was chromakey'ing my way to Art
_viz_ has quit [Quit: Lost terminal]
_viz_ has joined #nixos
<qy[m]1> gchristensen: 85453 is a trivial fix if you're free
<gchristensen> #85453
<{^_^}> https://github.com/NixOS/nixpkgs/pull/85453 (by bqv, 11 minutes ago, open): sv-kalendar: fix meta
<gchristensen> ehh that is strange, how did that get in to master
<{^_^}> [nixpkgs] @grahamc merged pull request #85453 → sv-kalendar: fix meta → https://git.io/JfJBk
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JfJBa
<gchristensen> thanks!
Darkmatter66_ has joined #nixos
<qy[m]1> cheers, no worries
<srhb> webstrand: You can probably build with something like `nix-build -E 'with import <nixpkgs> {}; (nixos {}).nixos-generate-config'
Darkmatter66 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages »: https://git.io/JfJBQ
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @orivej opened pull request #85454 → hydrogen-unstable: init at 1.0.0-beta2 → https://git.io/JfJBb
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfJBx
dermetfan has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
luna has quit [Ping timeout: 256 seconds]
fusion809 has joined #nixos
kaliumxyz has joined #nixos
<kaliumxyz> my arduino (digispark attiny85) doesnt register as a serial device when plugged in, udev rules are set.
<kaliumxyz> have been debugging for a while, any way I can set udev rules without rebuilding?
<kaliumxyz> cause this is driving me nuts
<srk> udevadm control reload
<srk> udevadm control --reload
<srk> that
<srk> also check dmesg
<kaliumxyz> I am, the thing is reconnecting constantly for some reason.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-ghc-lib-parser-ex: fix build with GHC versions prior to 8.8.x »: https://git.io/JfJRV
<kaliumxyz> Its not registering as a serial device at all.
<srk> bad USB cable? :)
<srk> usb hub? try non usb 3 port?
<srk> yeah, garbage
<kaliumxyz> I've tried several USB cables and chips includings ones that plug into USB directly
<srk> also ports? with/without hub?
<kaliumxyz> also on several different machines running nixos (latest, 20.03)
<kaliumxyz> Yea tried different ports.
<kaliumxyz> other arduino works fine.
<kaliumxyz> other type*
<kaliumxyz> nodeMCU (esp8266)
<kaliumxyz> it registers and works nominally, digispark doesn't for no apparant reason.
<srk> what chip it uses?
<kaliumxyz> For serial?
<srk> is it ftdi? ftdi clone? cp2302?
<kaliumxyz> I think the microprocessor itself handles it.
<srk> it doesn't matter if it fails to enumerate I think
<srk> yeah, that matters, is it V-USB? :)
<kaliumxyz> V-USB?
<srk> software emulated usb
<kaliumxyz> it probably is, first result is atmel.
<srk> usb is hard and flaky, better use chip with USB periph
<kaliumxyz> but I wana use this chip.
<srk> well :)
<kaliumxyz> yes.
<kaliumxyz> Time to flash from a raspberry pi
<kaliumxyz> Actually more research first, I can't sleep at night with this unresolved.
<{^_^}> [nixpkgs] @peti pushed 23 commits to haskell-updates: https://git.io/JfJRi
numkem has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed 14 commits to haskell-updates: https://git.io/JfJRS
sarcasticadmin has joined #nixos
o1lo01ol1o has joined #nixos
Vikingman has joined #nixos
numkem has quit [Ping timeout: 258 seconds]
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2020-04-17T17:47:53Z »: https://git.io/JfJ0v
<raboof> what is the webpage where I can find a channel history again?
_viz_ has quit [Quit: Lost terminal]
<gchristensen> channels.nix.gsc.io/ and status.nixos.org
knupfer has quit [Remote host closed the connection]
<gchristensen> might be what you're thinking
knupfer has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #74310 → mesa-demos: init at 8.4.0 → https://git.io/JeXGL
<raboof> gchristensen: ah, https://channels.nix.gsc.io/ was what I was looking for, indeed
<gchristensen> hah also interesting hadn't considered (irc) channel history
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @andersk to master « mesa-demos: init at 8.4.0 (#74310) »: https://git.io/JfJ0q
<samueldr> overloaded terms!
<gchristensen> samueldr: gotta give all the terms uuids
<{^_^}> [nixpkgs] @teto merged pull request #69637 → add pdfrw and pagelabels → https://git.io/JeZJH
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/JfJ0m
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @peti merged pull request #85178 → Update Haskell package set to LTS 15.8 (plus other fixes) → https://git.io/JfeUn
<{^_^}> [nixpkgs] @peti pushed 16 commits to master: https://git.io/JfJ0s
_d0t has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
<_d0t> ohai! Is there any quick way to convert YAML into a nix set? Ideally, something similar to lib.fromJSON.
alexherbo23 has joined #nixos
<pie_[bnc]> _d0t: i do believe ive seen mentions of such things?
<srk> win 78
<_d0t> pie_[bnc]: me too, but I can't find anything.
<srk> one is a superset of the other
<pie_[bnc]> _d0t: maybe it was generation though
<srk> not sure which one is which :)
<srk> you can use toJSON and it is a valid yaml I think
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo23 is now known as alexherbo2
<_d0t> I need to read yaml from file and make a set from it.
<{^_^}> [nixpkgs] @arcz closed pull request #85439 → echidna: init at 1.5.0 → https://git.io/JfJLY
linarcx has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @arcz opened pull request #85455 → ghidra: 1.9 -> 1.9.2 → https://git.io/JfJ0E
knupfer has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
ixxie has quit [Ping timeout: 265 seconds]
ixxie has joined #nixos
zupo has joined #nixos
ixxie_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/JfJ06
<Cadey> I think https://github.com/NixOS/nixpkgs/pull/85183 should be ready to merge, the maintainer had already approved it before a nixpkgs maintainer suggested a fix
<{^_^}> #85183 (by Xe, 3 days ago, open): zig: upgrade to 0.6.0
<{^_^}> [nixpkgs] @matthuszagh opened pull request #85456 → kicad: add option to override footprint, symbol and 3d model locations → https://git.io/JfJ0y
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/JfJ0S
<{^_^}> [nixpkgs] @grahamc pushed 4 commits to master: https://git.io/JfJ09
<{^_^}> [nixpkgs] @grahamc merged pull request #85183 → zig: upgrade to 0.6.0 → https://git.io/JfemT
<{^_^}> [nixpkgs] @peti closed pull request #84980 → compilers/ghc: grooming various versions → https://git.io/Jvhrm
o1lo01ol1o has quit [Remote host closed the connection]
dermetfan has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<Cadey> thanks gchristensen!
knupfer1 is now known as knupfer
<kaliumxyz> srk I was just being stupid
<kaliumxyz> its not supposed to show up at all, you can only flash it from arduino IDE not see it status
<kaliumxyz> Also I spent the last half hour patching every single binary arduino pulls in.
<kaliumxyz> lol
luc65r has joined #nixos
reallymemorable has joined #nixos
arjen-jonathan has quit [Ping timeout: 265 seconds]
mr_sm1th has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
<aterius> Anyone gotten nvidia-docker working/tried it on nix 20.03 yet?
codygman has joined #nixos
cosimone has quit [Quit: Quit.]
<energizer> on nixos, is my user supposed to have `nix-channel`s or not?
<luc65r> energizer Your user can have nix-channels
<energizer> luc65r: when are they relevant?
<gchristensen> by default you should be subscribed to the root channels
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<luc65r> energizer unless you want a different channel that the root one, no
<energizer> luc65r: that wasn't a yes-or-no question :)
<energizer> like, if i `nix-channel --remove` all of my channels, when will i notice?
<aterius> I follow the latest stable release in my root channel, I add nixpkgs-unstable in my user channel, such that when I use home-manager or nix-shell, my userspace packages are kept up to date with nixpkgs-unstable
<euank> iiuc, they'd let you install a package from a different channel for your user if you wanted. i.e. if you wanted to install `nixos.foo` vs `my-channel.foo`
<euank> So you'd only notice if you tried to install packages from a removed channel (which I guess could happen from a few different operations)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e341107367f (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
zarel has quit [Quit: ZNC 1.7.4 - https://znc.in]
zarel has joined #nixos
zupo has joined #nixos
<energizer> ok
vidbina_ has joined #nixos
o1lo01ol1o has joined #nixos
magnetophon has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @globin pushed 12 commits to structured-attrs: https://git.io/JfJuf
o1lo01ol1o has quit [Ping timeout: 256 seconds]
turion has joined #nixos
emptyflag has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #85423 → flow: 0.122.0 -> 0.123.0 → https://git.io/Jff5R
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « flow: 0.122.0 -> 0.123.0 »: https://git.io/JfJuG
<drakonis> bqv: don't you need guile 3 for guix 1.1.0?
<{^_^}> [nixpkgs] @Ma27 pushed to master « grocy: 2.7.0 -> 2.7.1 »: https://git.io/JfJul
<drakonis> but i suppose the standalone install will default to that after a upgrade
drakonis_ has quit [Ping timeout: 240 seconds]
<hr[m]> Hi all, I have a PR, https://github.com/NixOS/nixpkgs/pull/85248 with only one reviewer assigned, but the reviewer has been inactive on GitHub for > 1 month. Are there any other reviewers able to take a look at it.
<{^_^}> #85248 (by HugoReeves, 2 days ago, open): joplin-desktop: 1.0.179 -> 1.0.200
drakonis_ has joined #nixos
bbarker has joined #nixos
<JJJollyjim> Hi all, I just set up a hydra instance to build my repo, which in turn has nixpkgs pinned with niv
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « grocy: 2.7.0 -> 2.7.1 »: https://git.io/JfJuQ
<JJJollyjim> but i get 'error: "access to URI 'https://github.com/NixOS/nixpkgs-channels/archive/xxx.tar.gz' is forbidden in restricted mode"', when hydra evaluates it
<JJJollyjim> am i going about something the wrong way here?
<qy[m]1> drakonis: actually no!
<qy[m]1> it expects 2..2 (or higher) by the looks of it
<kaliumxyz> ok arduino cant do at all what I want anyways
<kaliumxyz> we need to go deeper
<qy[m]1> arduiyes
<JJJollyjim> hm okay i've whitelisted some trusted-uris
<JJJollyjim> i guess this is to prevent eval of untrusted expressions being used for SSRI or DDOS?
<gchristensen> or being used to, say, read /etc/passwd or whatever
<JJJollyjim> uh not SSRI that's an antidepressant :P
<JJJollyjim> the other thing
<JJJollyjim> i'm tired
<JJJollyjim> hmm right
<gchristensen> untrusted expressions shouldn't be used as an SSRI either
ATuin has quit [Quit: WeeChat 2.8]
luc65r has quit [Remote host closed the connection]
<drakonis> bqv: i'm having a segfault when running flake check on your config
<drakonis> idgi
<bqv> ah, matrix bridge is just slow
<qy[m]1> who saids that?
<bqv> drakonis:
<bqv> are you using emacs?
<drakonis> no
<drakonis> not yet at least
<bqv> then i'm not sure...
<JJJollyjim> :P
<bqv> i guess you're using nixFlakes and you've restarted the daemon since switching to it
Naptra has quit [Remote host closed the connection]
<bqv> drakonis: my exact config, or the one you've build around it?
<bqv> if it's my exact one, i'd be interested to see if you could git-bisect and see what broke it :p
<bqv> shit, i think i just deleted my nixpkgs repo...
<drakonis> rip
<bqv> aaaah, you can't undo that
<drakonis> from github?
jco has joined #nixos
<bqv> yeah
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e3354dfc8c3 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<pinkieval> builds are acting weird on my machine
<pinkieval> there's a derivation that worked multiple times, and suddenly, in the middle of the build, it fails with:
<pinkieval> Unable to run process '/nix/store/rncwpzsm9wzg9y3srq7nxsgr4gjapr9n-mrustc/bin/mrustc' - No such file or directory
<pinkieval> but it used this compiler like a hundred time already in the same serivation...
<bqv> ok, that's bizarre, my PRs are still up, even though the repo's deleted... guess that's not so bad
<pinkieval> does this ring any bell?
<drakonis> well, ask github's support to restore it
<bqv> sent a request, hopefully they can
<bqv> not awful if they can't, but i wonder what would happen if i just fork again... would the PRs link up?
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @bqv closed pull request #84466 → pythonPackages.psycopg2cffi: init at 2.8.1 → https://git.io/JvNNL
<bqv> can i pester anyone with https://github.com/NixOS/nixpkgs/pull/84949 ?
<{^_^}> #84949 (by bqv, 6 days ago, open): nixos/nat: substitute iptables for compat under nftables
hsiktas[m] has joined #nixos
captjakk has joined #nixos
<bqv> andi-: you were the last person to merge a pr into that module ^
<andi-> bqv: mhm, I ditched our firewalling module entirely so far
<bqv> me too, but i needed this to do that
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #85458 → mitmproxy: 4.0.4 -> 5.1.1 → https://git.io/JfJzA
o1lo01ol1o has joined #nixos
dermetfan has quit [Ping timeout: 272 seconds]
<bqv> drakonis: ack. the worst part is, in my local nixpkgs repo, i don't keep branches
<bqv> so if i had to recreate it i'd be relying on reflog :D
<energizer> if i have a config with `x = {...}: a = 1;` and `x = {...}: y = 2;` those don't get merged, right?
<energizer> er. if i have a config with `x = {...}: {a = 1};` and `x = {...}: {y = 2};` that's an error, right? they won't get merged?
<infinisil> energizer: Too little information to tell
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<energizer> infinisil: i thought functions don't get merged
<infinisil> It depends on the type of the option whether things get merged
<infinisil> But I don't think there's many function merging options in nixpkgs as of now (unfortunately), see https://github.com/NixOS/nixpkgs/pull/44601 too
<{^_^}> #44601 (by basvandijk, 1 year ago, open): lib/types: add the selectorFunction type
<infinisil> (why "unfortunately"? Because it's needed as per above PR)
<{^_^}> [nixpkgs] @peti pushed to master « ghc-8.10.x: add plenty of overrides to fix builds »: https://git.io/JfJgk
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/JfJgL
zupo has joined #nixos
gxt has quit [Ping timeout: 240 seconds]
<bqv> infinisil: i don't suppose you'd do the honours
<infinisil> bqv: Of getting that PR merged?
<bqv> up
<bqv> s/^/y/
<infinisil> Not right now, but maybe in the future :)
<infinisil> It is in my interestd
<infinisil> s/d$//
<bqv> is there something i should be doing that i'm not to get the right person to look at it?
gxt has joined #nixos
<bqv> everyone seems too scared to go near it >_>
opticnerve has quit [Quit: Leaving]
captjakk is now known as proofofkeags
<infinisil> I mean it is not really trivial and needs some knowledge about the module system and such
<infinisil> The last couple comments have some points
<infinisil> Also, if such a type is merged, people might be more encouraged to use functions for option types
<infinisil> Which might actually be not optimal
<bqv> oh, we're talking about different PRs
<{^_^}> #84949 (by bqv, 6 days ago, open): nixos/nat: substitute iptables for compat under nftables
<bqv> which is less nontrivial :p
<gchristensen> bqv: maybe take that to #nixos-on-your-router
<bqv> ah, ok
WilliButz has quit [Remote host closed the connection]
<infinisil> Oh lol
<bqv> i also very much hope there's no more comments on the two PRs i have open because apparently i can no longer edit them
dansho has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #85429 → [19.09] nexus: 3.18.1-01 -> 3.22.0-02 (backport) → https://git.io/JfJel
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-19.09: https://git.io/JfJgE
<{^_^}> [nix] @edolstra pushed to flakes « Use a more space/time-efficient representation for the eval cache »: https://git.io/JfJgz
<chloekek> I got a weird case where fetchurl succeeds when sha256 is all zeroes.
<{^_^}> [nixpkgs] @chkno opened pull request #85460 → k3d: Fix build: Use the same GCC version for boost dependency → https://git.io/JfJgr
<chloekek> Nevermind.
<{^_^}> [nixpkgs] @adisbladis opened pull request #85461 → systemfd: init at 0.3.0 → https://git.io/JfJg6
WilliButz has joined #nixos
vidbina_ has quit [Ping timeout: 260 seconds]
proofofkeags has quit [Quit: Leaving...]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj pushed to release-20.03 « mitmproxy: fix build »: https://git.io/JfJgP
seku has quit [Quit: Connection closed]
<bqv> gchristensen: is it possible to change the branch a PR is taken from?
<gchristensen> no, you'll have to close it and make a new PR. you can only changethe branch it is to be merged in to
hsiktas[m] has quit [Quit: authenticating]
<bqv> damn.
turion has quit [Ping timeout: 246 seconds]
__monty__ has quit [Quit: leaving]
<{^_^}> [nix] @edolstra pushed to flakes « Wrap eval cache creation in a giant transaction »: https://git.io/JfJgN
<energizer> does nixpkgs have a preference for either fetchFromGitHub or fetchPypi?
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/42f2d370a53 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
hsiktas[m] has joined #nixos
<{^_^}> [nixpkgs] @bqv opened pull request #85462 → nixos/nat: substitute iptables for compat under nftables → https://git.io/JfJ2q
<{^_^}> [nixpkgs] @bqv closed pull request #84949 → nixos/nat: substitute iptables for compat under nftables → https://git.io/JvhlV
<bqv> pay no attention to the man behind the curtain
xelxebar has quit [Ping timeout: 240 seconds]
<misuzu> arianvp: could you please take a look at this pull request? i think you'd be interested: https://github.com/NixOS/nixpkgs/pull/84139
<{^_^}> #84139 (by misuzu, 2 weeks ago, open): nixos/gitlab-runner: support multiple services
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @bqv opened pull request #85463 → guix: init at 1.1.0 → https://git.io/JfJ2Y
<{^_^}> [nixpkgs] @bqv closed pull request #84004 → guix: init at 1.1.0 → https://git.io/Jvdg2
<bqv> pay no attention to the man behind the curtain
Baughn has quit [Ping timeout: 256 seconds]
Baughn has joined #nixos
<cole-h> bqv: I think you should document why `assert stdenv.cc.isGNU` is present only in `guile-json` -- and why it's necessary at all
morgrimm has quit [Ping timeout: 260 seconds]
<qy[m]1> good point, in all honesty i'm not sure why it is, i haven't even tried building this on clang but i'd quite expect it wouldn't
<qy[m]1> i think it's there because some other guile module i used as a template has it
captn3m0- has quit [Ping timeout: 260 seconds]
captn3m0 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}> [nixpkgs] @adisbladis merged pull request #85461 → systemfd: init at 0.3.0 → https://git.io/JfJg6
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfJ22
<{^_^}> [nixpkgs] @loewenheim opened pull request #85464 → nixos/services/samba: install samba when nixos module is enabled → https://git.io/JfJ2w
<{^_^}> [nixpkgs] @bqv opened pull request #85465 → next-gtk-webkit: init at 1.5.0 → https://git.io/JfJ26
jkachmar has quit [Quit: Connection closed for inactivity]
<qy[m]1> cole-h: updated, thanks
cr4y1 has quit [Ping timeout: 265 seconds]
<cole-h> (:
_d0t has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @wamserma opened pull request #85466 → add myself (wamserma) to maintainer list → https://git.io/JfJ2F
<Raito_Bezarius> Is there any way to debug pypi2nix package?
<Raito_Bezarius> More specifically
<Raito_Bezarius> I have a produced requirements.nix
<Raito_Bezarius> I'm trying to nix-shell into it
<Raito_Bezarius> But some pipInstallPhase is failing
<Raito_Bezarius> I would like to debug it and see what's the state of the shell when it's computing this specific derivation
<Raito_Bezarius> Is there any other way than extracting by hand everything and running nix-shell separately?
morgrimm has joined #nixos
jco has quit [Quit: WeeChat 2.7]
ixxie_ has quit [Quit: leaving]
ixxie_ has joined #nixos
ixxie_ has quit [Client Quit]
knupfer has quit [Ping timeout: 246 seconds]
ixxie_ has joined #nixos
ixxie_ has quit [Client Quit]
morgrimm has quit [Ping timeout: 240 seconds]
ixxie_ has joined #nixos
mallox_ has quit [Quit: WeeChat 2.8]
alexherbo2 has quit [Ping timeout: 258 seconds]
<Raito_Bezarius> Also, I'm trying to read about the setuptoolsInstallPhase that I apparently see in pypi2nix
<Raito_Bezarius> I just updated all my nixpkgs using nix-channel --update && nix-env -u '*'
<bqv> This is a paste of nix-diff's output between nixpkgs-unstable and what i have from my config: https://gateway.ipfs.io/ipfs/QmdGvaU3R63diYjUKmAx6A5ynm9enZxjUTnaqSWxCsSUqo - Can anyone decipher what exactly is different here? It looks like it's saying i've made a completely new stdenv or something, just for this package
<bqv> (which is patently not true, cause otherwise everything else would be missing cache and rebuilding too)
<Raito_Bezarius> Sounds like I ran into https://github.com/jaraco/zipp/issues/31
<{^_^}> jaraco/zipp#31 (by ohimors, 12 weeks ago, closed): Pypi egg_info incorrect
koleesch has quit [Ping timeout: 256 seconds]
<pbogdan> bqv: not terribly helpful but that looks like clangStdenv not the default gcc based one
o1lo01ol1o has quit [Remote host closed the connection]
<pbogdan> could be why you're not rebuilding the world
o1lo01ol1o has joined #nixos
penguwin has quit [Quit: NO CARRIER]
gustavderdrache has quit [Quit: Leaving.]
<bqv> i'm still not sure where i even touch that
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bqv> yeah, i don't even touch clang anywhere as far as i'm aware
<pbogdan> what nixpkgs-unstable are you comparing against?
<pbogdan> nixpkgs-unstable commit that is
<bqv> er, latest
<bqv> i just fetched using channel:nixpkgs-unstable a few minutes ago
<{^_^}> [nixpkgs] @adisbladis pushed to master « emacsPackages.pod-mode: Fix platforms meta »: https://git.io/JfJad
develCuy has quit [Ping timeout: 260 seconds]
penguwin has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
develCuy has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #83888 → Add BLAS/LAPACK switching mechanism → https://git.io/Jv5yW
<{^_^}> [nixpkgs] @Ericson2314 pushed 9 commits to master: https://git.io/JfJVU
o1lo01ol1o has joined #nixos
<energizer> what is the difference between nixos-rebuild --builders and --build-host ?
<Raito_Bezarius> i don't understand how to use poetry2nix from nixpkgs
<Raito_Bezarius> adisbladis, is there a path? nixpkgs.???.poetry2nix
<{^_^}> [nixpkgs] @Ericson2314 pushed 133 commits to staging: https://git.io/JfJVL
<infinisil> Raito_Bezarius: Just pkgs.poetry2nix
<Raito_Bezarius> oh
<Raito_Bezarius> error: attribute 'poetry2nix' missing, at (string):1:1
mr_sm1th has quit [Remote host closed the connection]
<infinisil> > pkgs.poetry2nix
<{^_^}> { cleanPythonSources = <CODE>; cli = <CODE>; defaultPoetryOverrides = <CODE>; mkPoetryApplication = <CODE>; mkPoetryEnv = <CODE>; mkPoetryPackages = <CODE>; override = <CODE>; overrideDerivation = <CO...
<energizer> Raito_Bezarius: poetry2nix is new, you might have an old version
<energizer> of nixpkgs
<Raito_Bezarius> and I nix-channel --update'd
<Raito_Bezarius> did I forget something?
<energizer> sudo nix-channel --update?
<Raito_Bezarius> … most likely
<NobbZ[m]> How do you build the derivation?
<Raito_Bezarius> it just works
chloekek has quit [Ping timeout: 258 seconds]
drakonis_ has quit [Ping timeout: 256 seconds]
<bqv> drakonis: oh, hey
<bqv> you had a segfault right?
<bqv> try running whatever command you're running with env GC_DONT_GC=1
<Raito_Bezarius> energizer: is poetry2nix supposed to work on dependencies which are themselves supporting poetry?
morgrimm has joined #nixos
<energizer> Raito_Bezarius: what is it that you're trying to do?
<Raito_Bezarius> I'm just packaging a library
<Raito_Bezarius> but I'm having errors with a poetry.lock on some not-really-maintained library
<Raito_Bezarius> > list index 0 is out of bounds, at /nix/store/ji0i27arn83r3251is7hx10hwlvnig1h-nixpkgs-20.09pre221715.5f814bf9cc4/nixpkgs/pkgs/development/tools/poetry2nix/poetry2nix/mk-poetry-dep.nix:67:25
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):304:30
<{^_^}> [nixpkgs] @adisbladis merged pull request #85448 → mesa-glu: use HTTPS instead of FTP → https://git.io/JfJck
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfJVq
<Raito_Bezarius> (this library in particular is part of my poetry.lock https://github.com/ibayer/fastFM and is in the traceback)
<Raito_Bezarius> moreover, it's an optional dependency
morgrimm has quit [Ping timeout: 256 seconds]
<bqv> gchristensen: does webkitgtk just not build on hydra intentionally?
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #85190 → fwupdate: Clean up -I flags → https://git.io/JfeZa
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JfJVO
<bqv> trying to find it in the webui, but i don't see it at all
<{^_^}> [nixpkgs] @zowoq opened pull request #85467 → yq-go: 3.2.1 -> 3.3.0 → https://git.io/JfJVG
<{^_^}> [nixpkgs] @Ericson2314 pushed 5 commits to staging: https://git.io/JfJVZ
<bqv> huh, yeah it's just disabled
<bqv> no wonder
<bqv> well that's irritating
<bqv> my system will crash if i try and build it
<gchristensen> nix-build . -A webkitgtk fetches from hydra ,which are you trying to get?
<bqv> for me, it builds from source?
<drakonis> bqv: yes
<energizer> i just made a local patch on nixpkgs, and i want to try it out in my system. what should i do?
<bqv> drakonis: check context
<drakonis> yes i have
<bqv> > pkgs.webkitgtk
<gchristensen> energizer: nixos-rebuild switch -I nixpkgs=$(pwd)
<bqv> ah ok
<{^_^}> "<derivation /nix/store/yyfmccisab0add2sjl7n3wi6vbg6d00c-webkitgtk-2.28.0.drv>"
<drakonis> also i'm not sure why it isnt fetching kde from hydra with your config
erasmas has quit [Quit: leaving]
<energizer> gchristensen: i tried that but it started compiling chrome
<drakonis> its trying to build almost everything
<energizer> (i think)
<gchristensen> it sounds like you changed something low enough in the system closure to cause rebuilds :)
<bqv> kde is probably just borked by the iptables override
<Raito_Bezarius> okay the error sounds like due to the fact that in the poetry.lock there is no wheel for the Python version
<drakonis> oh good.
<energizer> gchristensen: it's a window manager, so i kinda doubt it
<bqv> drakonis: delete overlays/nftables-compat.nix
<bqv> you probably don't need it anyway
<drakonis> you're overriding systemd
<gchristensen> energizer: maybe try applying your patch on top of the commit you're already running
<bqv> in my defence, overriding it back to normal!
<gchristensen> drakonis: check out nixpkgs at the revision shown by nixos-version --hash
dingenskirchen has quit [Remote host closed the connection]
<gchristensen> oops, energizer ^
<bqv> gchristensen: so if i'm in a nixpkgs repo, and i do `nix-build . -A webkitgtk`, regardless of my system it should fetch from hydra, right?
<drakonis> bqv: all these overrides
<drakonis> now it was quick
<bqv> yeah, sorry about those
<gchristensen> bqv: assuming you haven't turned off the binary cache, it would check the cache for a pre-built version
<drakonis> eh its ok
<bqv> gchristensen: right, so i have cache enabled for cache.nixos.org, but it's still not fetching it from hydra
<bqv> and cache definitely works for almost every other package
<gchristensen> what revision nixpkgs?
<bqv> head of my guix branch
<bqv> which i think i just rebased
<bqv> so fairly frehs
<gchristensen> in that case itis fairly likely that master just hasn't had webkitgtk built yet for that revision
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #85468 → treewide: Get rid of -dumpmachine in favor of static info → https://git.io/JfJVK
<bqv> is it visible in hydra somehow?
<bqv> i assumed it was disabled because i can't see it in the webui, and the derivation has meta.hydraPlatforms set to an empty list
drakonis_ has joined #nixos
<gchristensen> bqv: 43873351ffed36b52170571839e26b57c9f15920 / #83888 caused webkitgtk to rebuild. hydra willbuild it
<{^_^}> https://github.com/NixOS/nixpkgs/pull/83888 (by matthewbauer, 2 weeks ago, merged): Add BLAS/LAPACK switching mechanism
<bqv> i have no idea what any of that does but i'll take your word for it :D
<bqv> that looks likely the problem
reallymemorable has quit [Quit: reallymemorable]
drakonis has quit [Quit: WeeChat 2.8]
reallymemorable has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
reallymemorable has quit [Client Quit]
<energizer> gchristensen: that worked great, thanks
reallymemorable has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
zeta_0 has joined #nixos
reallymemorable has quit [Client Quit]
zeta_0 has left #nixos [#nixos]
reallymemorable has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/668d0ded6bb (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
ebopp has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 265 seconds]
kaliumxyz has quit [Remote host closed the connection]
seanparsons has quit [Quit: ZNC 1.7.4 - https://znc.in]
maddo has quit [Quit: See ya]
justanotheruser has joined #nixos
seanparsons has joined #nixos
mbrgm_ has joined #nixos
teto has quit [Ping timeout: 272 seconds]
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ is now known as mbrgm
gustavderdrache has joined #nixos
<Xe> how do i install xetex in nixos?
CptCaptain has quit [Ping timeout: 258 seconds]
<waleee-cl> Xe: texlive.combine-scheme is the keyword
morgrimm has joined #nixos
<waleee-cl> there should be some overrides to specify stuff too
teto has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @JeffLabonte opened pull request #85469 → brave: 1.5.123 -> 1.7.92 → https://git.io/JfJww
drakonis has joined #nixos
wildtrees has joined #nixos