worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || 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
<catern> I feel like the Nix manual is a lot worse today than it was 3 years ago, less focused on the core information and core features
<dramforever> on chromium videos straight up won't play, and elsewhere i get no sound at all
<dramforever> alsamixer *does* seem to show my device and lets me change the volume
nckx is now known as PotentialUser-93
PotentialUser-93 is now known as nckx
d10n-work has quit [Read error: Connection reset by peer]
d10n-work has joined #nixos
risson has quit [Ping timeout: 240 seconds]
* vika_nezrimaya building...
<dramforever> hmm, the kde panel widget shows a different list of devices on 5.7, which leads me to think maybe the driver *did* change
sphalerite has quit [Ping timeout: 240 seconds]
risson has joined #nixos
<redmp> i have a haskell package "x" which has an executable "b" .. i'd like to make the executable "b" available at test time, so the test executable can run "b" .. with cabal you'd do this with "build-tool-depends: x:b" on the test-suite declaration.. how do you do this with nix (which uses the Setup.hs build style)?
<redmp> right now i'm contemplating modifying PATH to include a subdir of ./dist
<cole-h> vika_nezrimaya: If that doesn't work, I'd look for any font-related stuff and comment it out, unconditionally.
* vika_nezrimaya got her fonts back again
<vika_nezrimaya> with emojis this time
troydm has joined #nixos
<infinisil> redmp: Yeah that's what nixpkgs does too
<clever> vika_nezrimaya: anoyingly, the emoji in the /topic for this channel, has width problems on my terminal
<clever> vika_nezrimaya: the UI randomly glitches out for me
<catern> Hmm, but in fact, the section of the Nix manual that I'm reading is unchanged from when I first read it 3 years ago, when I thought it was really good. So I guess it's still good.
mvnetbiz_83 has joined #nixos
sphalerite has joined #nixos
tv has quit [Ping timeout: 240 seconds]
mvnetbiz_8 has quit [Ping timeout: 240 seconds]
mvnetbiz_83 is now known as mvnetbiz_8
<jlv> clever: it looks like the cycle is between 'splitmix-0.1.0.1', 'async-2.2.2', 'test-framework-0.8.2.0', 'random-1.2.0', 'mwc-random-0.14.0.0', 'math-functions-0.3.4.0', and 'QuickCheck-2.13.2'. I know that random 1.2 is a major overhaul of the random package, so I may need to update a lot of packages that depend on it. splitmix 0.0.5 depended on random 1.1, but now random 1.2 depends on splitmix 0.1, so that may be causing issues.
vika_nezrimaya has quit [Remote host closed the connection]
<clever> jlv: you can also try using .override instead for just random, and see if it breaks or not
mvnetbiz_8 has quit [Quit: Bye!]
<redmp> infinisil: ok, that makes sense
<redmp> thanks very much for pointing out the example!
<jlv> clever: I got a cabal warning when I tried that and Nix didn't want to proceed. Can I tell it to ignore warnings?
mvnetbiz_8 has joined #nixos
<clever> jlv: can you gist your current nix exprs?
leo60228 has joined #nixos
<leo60228> i'm trying to build an sd image for a pi 4 using qemu/binfmt but i'm getting this error right near the end
<leo60228> building '/nix/store/b4z6nq01vknblf0nq7d1sif2wv4nlra8-ext4-fs.img.zst.drv'...
<leo60228> /nix/store/57jsznd3k60px6p512f2lda37b8fpc1b-coreutils-8.31/bin/cp: missing file operand
<leo60228> Preparing store paths for image...
<leo60228> Try '/nix/store/57jsznd3k60px6p512f2lda37b8fpc1b-coreutils-8.31/bin/cp --help' for more information.
<leo60228> builder for '/nix/store/b4z6nq01vknblf0nq7d1sif2wv4nlra8-ext4-fs.img.zst.drv' failed with exit code 1
<jlv> clever: https://pastebin.com/zHyrkvMZ You can see the alternative attempt in some commented out code.
<clever> leo60228: there is probably a "cp $foo/* $out" somewhere, and nullglob turned it into "cp $out" due to no matches
<clever> leo60228: read `nix show-derivation /nix/store/b4z6nq01vknblf0nq7d1sif2wv4nlra8-ext4-fs.img.zst.drv` and you may see where
shibboleth has quit [Quit: shibboleth]
tv has joined #nixos
<clever> leo60228: it may need a `sdImage.populateRootCommands = "touch files/dummy.txt";` in the nixos config
<matthuszagh10> i got nix command with flakes by following the tweak tutorial but nixos-rebuild --flake isn't recognized
vika_nezrimaya has joined #nixos
<matthuszagh10> i did `nix-shell -I nixpkgs=channel:nixos-20.03 --packages nixFlakes`
* vika_nezrimaya broke her fonts in Emacs's menubar
<leo60228> clever: that seems to have worked, thanks!
<leo60228> well
<vika_nezrimaya> they are all emojis now
<leo60228> now i get a COMPLETELY DIFFERENT error
<vika_nezrimaya> nothing except emoji numbers
<leo60228> but the original error is gone!
<leo60228> semop(1): encountered an error: Function not implemented
<bqv> vika_nezrimaya: you might need to restart your daemon
<vika_nezrimaya> i.. did?
<bqv> maybe fiddle with set-frame-font, then?
<bqv> i fixed my emacs fonts by uh... hang on a sec
<vika_nezrimaya> set-frame-font? never heard of it, let me C-x h f it
<vika_nezrimaya> C-h f it, sorry
<leo60228> okay apparently this just Happens when doing stuff in aarch64 qemu-user, fantastic
<bqv> i had to do that to get emoji working properlyt
<leo60228> might just have to get an sdimage from hydra and do a build on the pi itself
<leo60228> inconvenient bc this pi is also my router but hopefully dhcp will let me get a network connection?
<vika_nezrimaya> bqv: that set ALL of my fonts to a certain font, breaking the monospace font I had
<vika_nezrimaya> the menubar is not affected
<vika_nezrimaya> it's still emojis
<vika_nezrimaya> and all of my text is now Noto Sans
<vika_nezrimaya> it's beautiful tho
<bqv> lmao
<bqv> nice
disasm has quit [Ping timeout: 265 seconds]
disasm has joined #nixos
magbo has quit [Remote host closed the connection]
<clever> jlv: the problem is triggered via this line: 47 ${ghc.haskell-language-server}/bin:\
<clever> jlv: but if you get hls from an un-overlaid haskellPackages...
Dagger2 is now known as Dagger
<vika_nezrimaya> bqv: I tried to execute this function but it doesn't seem to have any effect
<vika_nezrimaya> no effect at all
<clever> jlv: yep, pkgs.haskellPackages.haskell-language-server fixed it
titano has joined #nixos
<vika_nezrimaya> these don't affect Emacs menubar
<vika_nezrimaya> I'm using Lucid btw
<bqv> weird
<bqv> i don't know what would, then
<vika_nezrimaya> it's not weird
<drakonis> ssd acquired...
<jlv> clever: that was not what I expected XD I even considered if that could be related but I dismissed it XD Ya. there's no reason the language server would need to use the overlay.
<drakonis> wrong channel, but still
<vika_nezrimaya> Lucid uses fontconfig for the fonts I guess
<bqv> surely that is a fontconfig thing, so restarting should have fixed it
<jlv> Thank you very much
<jlv> clever++
<bqv> yeah, but you tried that(?)
<{^_^}> clever's karma got increased to like 495, I think
<drakonis> lmao
<vika_nezrimaya> that?
titano_ has joined #nixos
<bqv> restarting
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJNiQ
<vika_nezrimaya> I can do it again
<vika_nezrimaya> I can program a loop of it restarting every 8 seconds
titano_ has quit [Client Quit]
noudle has quit []
<bqv> well that just sounds unproductive :p
<vika_nezrimaya> I'd sell my soul to Richard Stallman to have it fixed
<vika_nezrimaya> not that he'd buy it
<clever> jlv: the key, was that language-server was in the --show-trace
<bqv> praise be to rms
<vika_nezrimaya> nobody needs my soul tho
<bqv> vika_nezrimaya: he might buy your toe fungus
<vika_nezrimaya> everyone wants my smarts
<vika_nezrimaya> and I don't want my smarts
<bqv> it's a delicacy in his parts
<vika_nezrimaya> how can get rid of smart
vika_nezrimaya has quit [Remote host closed the connection]
vika_nezrimaya has joined #nixos
<bqv> oof
<bqv> ep
<vika_nezrimaya> bqv: That did not help
<vika_nezrimaya> It's still emojis in menubar
<vika_nezrimaya> nothing but emojis and empty text
<vika_nezrimaya> cole-h, sorry, I summon you again. Maybe you know something?...
titano has quit [Ping timeout: 256 seconds]
<vika_nezrimaya> Also my fonts are now the default fonts, how can I change them without using defaultFonts and breaking all my emojis?
<cole-h> I don't use Lucid with Emacs, so I have no idea how to mess with it.
<cole-h> And I also don't know much about fontconfig, so I can't help there. You likely want to add something to the localConf, but I don't know what.
<redmp> if i want to get a new haskell package into nixos, is the correct way to submit a PR that adds it?
<redmp> s/nixos/nixpkgs/g
<iwq> does anyone have a derivation for one of the recent versions of Yuzu?
<bqv> vika_nezrimaya: is there any reason you need lucid in particular?
<bqv> is it the daemon bug?
<vika_nezrimaya> It is
<bqv> that doesn't happen on wayland, fyi
<bqv> so don't bother :p
<vika_nezrimaya> Emacs doesn't work on wayland tho
<bqv> i'm using it right now...
<vika_nezrimaya> it works on X
<bqv> so is cole :p
<matthuszagh10> back up. thanks for the help bgv and vika_nezrimaya!
<matthuszagh10> bqv
<cole-h> I am indeed
<cole-h> :^)
<cole-h> vika_nezrimaya: https://github.com/masm11/emacs
dongcarl has quit [Read error: Connection reset by peer]
<vika_nezrimaya> wait GTK+ Emacs natively supports wayland?!
<jlv> clever: wait. Don't celebrate too soon. The pastebin I sent was missing the actual `random` overlay XD https://pastebin.com/qENFirhj `haskell-language-server` was ALSO causing an infinite recursion XD
<cole-h> No
<bqv> vika_nezrimaya: emacs-pgtk in the nixpkgs-wayland repo
<cole-h> But there's a fork that's working on it
<vika_nezrimaya> but can I scream in excitement to finally have one more app natively work on wayland?!
<colemickens> ozone is coming soon
* clever looks closer
<vika_nezrimaya> Ozone as in Chrome on Wayland?
<vika_nezrimaya> or am I confusing two threads?
dongcarl has joined #nixos
<jlv> clever: That's why I didn't see 'haskell-language-server' in the trace. We were looking at different traces.
<lunik1> there's a nixpkgs-wayland?
titano has joined #nixos
<jlv> lunik1: there is, but I don' think it's really necessary anymore. I'm running wayland from plain ol' nixpkgs.
<lunik1> yeah so am I
<vika_nezrimaya> bqv: where is nixpkgs-wayland and is it a flake?
<lunik1> I was going to ask what the advantage would be
<bqv> vika_nezrimaya: github and yes
<vika_nezrimaya> github isn't specific enough
<vika_nezrimaya> thanks
<clever> jlv: https://gist.github.com/3fbf226d87a47e0d82771cdbd6970dfa doesnt infinitely recurse
<bqv> by our very own colemickens
tv has quit [Read error: Connection reset by peer]
<cole-h> nixpkgs-wayland is nice if you add the cachix instance -- so you don't have to recompile everything yourself :)
<bqv> i still do cause emacs modifications
matthuszagh10 has quit [Remote host closed the connection]
<jlv> clever: thank you! You are a Nix wizard.
orivej has quit [Ping timeout: 264 seconds]
<bqv> ..come to think of it, my emacs is currently a merge of the pgtk branch and the native-comp branch, so it's no wonder...
<vika_nezrimaya> what's the key for cache.nixos.org? I want to explicitly add it in my config
<vika_nezrimaya> so I won't have any issues with binary caches
<clever> vika_nezrimaya: you can find it in the docs for that nixos option, as the default value
<clever> vika_nezrimaya: `man configuration.nix`
<vika_nezrimaya> oh, great
<vika_nezrimaya> thanks
<clever> its anoying that adding one key removes the default
<vika_nezrimaya> We should make it appendable, like some other options
<vika_nezrimaya> and if you want to override it, lib.mkForce
<clever> it is
<lunik1> cole-h: but what advantage do the builds in nixpkgs-wayland have over those in nixpkgs?
<clever> the problem is that the default value, is at the default priority
<cole-h> Some aren't in nixpkgs
<vika_nezrimaya> I assume there are some exclusive packages
<clever> so setting it at normal priority clears all defaults
<clever> and if you encourage mkForce, you need to mkForce in every file to make it keep appending
<vika_nezrimaya> Oops
<vika_nezrimaya> clever: why is it hydra.nixos.org instead of cache.nixos.org?
<vika_nezrimaya> hydra.nixos.org doesn't serve a binary cache, does it?
<cole-h> Doesn't it?
<vika_nezrimaya> I think it doesn't
<cole-h> I think it does :P
<clever> 388 nix.binaryCachePublicKeys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ];
<clever> vika_nezrimaya: thats the example, not the default
<ashkitten> it is, but it's slower
<vika_nezrimaya> oops
<clever> and it seems the default isnt using mkDefault or default= anymore
<clever> so the merging problems dont exist, but its harder to remove
<ashkitten> hydra.n.o doesn't have a cdn in front of it
<vika_nezrimaya> last time I checked it got me something like "There's no binary cache here. Go to cache.nixos.org"
<vika_nezrimaya> Maybe it changed since then
<bqv> >_>
<bqv> <_<
<cole-h> ^_^
<ashkitten> maybe it's changed since i learned nixos
<cole-h> v_v
<vika_nezrimaya> O_O
<wrl> `~`
<lunik1> ¬_¬
redmp has quit [Quit: everything is working]
<vika_nezrimaya> colemickens: Is nixpkgs-wayland built around latest nixos-unstable? so I won't have two copies of some libraries
<bqv> it's an overlay, isn't it?
<vika_nezrimaya> bqv: to benefit from a binary cache you need to build it with the same or close enough nixpkgs revision tho
dongcarl has quit [Read error: Connection reset by peer]
<bqv> true
<bqv> i'm not fussed about the caching tbh
<{^_^}> [nixpkgs] @petabyteboy merged pull request #95772 → qt: bring back QML import patch in 5.14 → https://git.io/JJNrh
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @JJJollyjim to master « qt: bring back QML import patch in 5.14 (#95772) »: https://git.io/JJNPl
<vika_nezrimaya> it seems to be using some fork of nixpkgs
<vika_nezrimaya> it's 1276 commits behind
dongcarl has joined #nixos
<vika_nezrimaya> about a week or two old
<vika_nezrimaya> a week
<{^_^}> [nixpkgs] @troydm closed pull request #82451 → rtl8192eu: update at 4.4.1.20200122 →
tv has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 closed pull request #74582 → nixos/device-tree: fix overlays in the Nix store → https://git.io/Je1my
pylsan has quit [Ping timeout: 272 seconds]
vika_nezrimaya has quit [Remote host closed the connection]
<colemickens> vika_nezrimaya yes.
<colemickens> It updates every hour. Though I think not all binaries are getting pushed to the cache right now. I've been refactoring the last few days.
<colemickens> Well, I guess they left. I tried.
Ingor has joined #nixos
cjpbirkbeck has quit [Quit: Goodbye, take care]
<la-jesystani> if i enable a service in home-manager, how do i start it after switching?
<Ingor> just tried nix according to the manual, on a debian 10, and nix-env -qa does't give any available packages :(
user_0x58 has quit [Remote host closed the connection]
user_0x58 has joined #nixos
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos
nij has joined #nixos
<evanjs> So I realize this is probably *bad*, but it was working until I tried to upgrade just now lol https://github.com/evanjs/nixos_cfg/blob/99876f003ee63c0c9f7beba5114ccc9c94b67ca0/config/new-modules/font.nix#L9
<evanjs> How might I get this working again?
<evanjs> Assuming I need to explicitly type bar or font or something
<nij> I told my friend that I'm quite involved in learning nixOS recently. They are curious. But as I tried to say why reproducible systems are good, they are confused. They think such a system must include lots of different versions of dependencies and will make the system bloated.
<nij> I hope to tell them that it's not too bad. So.. how much space really does a normal nixOS user has to compromise for its wonderful reproducibility feature?
<evanjs> It really depends on what you have on your system
<evanjs> GHC for example --- x_x
<nij> Oh no i don't have ghc but I plan to have one :(
<nij> how bad is that?
<{^_^}> [nixpkgs] @zowoq merged pull request #95590 → genpass: fix darwin build → https://git.io/JJd1m
<{^_^}> [nixpkgs] @zowoq pushed to master « genpass: fix darwin build »: https://git.io/JJNXO
<evanjs> I mean it depends on what you're doing. If you have a taffybar that pulls in one version of GHC and a copy of hies that pulls in another, well, two versions of GHC will get pulled in, etc
<drakonis> i forgot now, but is there any explanation on how to set up mattermost?
<tpw_rules> nij: a counterpoint might be that with nix you guarantee you have only what you need
<nij> tpw_rules: wow good point!
<tpw_rules> assuming you garbage collect properly, there's no risk of having old versions of packages for things you don't use anymore
<nij> yeah! so cool
tv has quit [Read error: Connection reset by peer]
<tpw_rules> and if disk space is truly at a premium, you know you can delete something and get back an identical copy when you need it
<nij> v.s. an xcode that worths 10GB
<tpw_rules> i mean on mac i think you still need xcode
<nij> yep!
<nij> except for a smaller community and that it's probably a bit harder to learn.. i still don't understand why people don't use nixos
<nij> if we 100x size of community we will soon take over the world :)
<tpw_rules> because getting it to do what i want feels borderline impossible and there's about 0.1% of the necessary documentation?
<tpw_rules> but the results are exceptionally nice
<nij> we will get there one day
<lopsided98> cd /
nate48423 has quit [Ping timeout: 264 seconds]
<lopsided98> oops lol
<Ingor> how ready is nix for production use?
dongcarl has quit [Read error: Connection reset by peer]
<nij> what is "production use"?
<Ingor> you know... having some hundreds of servers deployed :)
dongcarl has joined #nixos
<Ingor> keep them updated and running while getting to sleep at night
<clever> Ingor: nixops is perfectly capable of that
rotaerk has quit [Ping timeout: 258 seconds]
<Ingor> └─(01:28:51)─> nix-env -qa postgresGC Warning: Failed to expand heap by 16777216 bytes
mpiechotka has joined #nixos
<clever> Ingor: how much ram does the machine have?
pylsan has joined #nixos
<Ingor> 462 :p
<Ingor> Mi
<clever> Ingor: nix-env -qa can be pretty memory hungry
<clever> Ingor: but once you know the name, it can fetch without using as much
griff_ has joined #nixos
mpiechotka has quit [Client Quit]
nij has quit [Ping timeout: 256 seconds]
<drakonis> can't install mattermost it seems
<clever> drakonis: what error?
h0m1 has quit [Ping timeout: 272 seconds]
<drakonis> access to path '/nix/store/kgvzh0xcg9p6is0znnrvcqv4hgkvfw70-mattermost-webapp-5.25.0/config/config.json' is forbidden in restricted mode
<clever> drakonis: what cmd did you run?
h0m1 has joined #nixos
<drakonis> rebuilding
<drakonis> its nixos-rebuild switch with flakes active
<clever> drakonis: might be a flake thing
<drakonis> i'm updating the flake
<drakonis> its a week old now
<drakonis> still forbidden
<clever> try with --impure i think it was?
iyzsong has quit [Ping timeout: 260 seconds]
<drakonis> flag doesnt exist
waleee-cl has quit [Quit: Connection closed for inactivity]
<bqv> drakonis: are you doing nix-build directly?
<eadwu[m]> How are you accessing the path
<eadwu[m]> And where
<drakonis> no
<bqv> --impure won't work on a flake build
<drakonis> it used to work with flakes before
<bqv> it does work with flakes on, just not on *a flake*
<drakonis> but that was last year
tv has joined #nixos
<drakonis> i'm enabling the service
<bqv> because the flake part of evaluation requires restricted mode, which is a subset of pure mode
<drakonis> hmm
<drakonis> welp a bummer
sigmundv_ has quit [Ping timeout: 260 seconds]
<bqv> you could just fix the derivation
<clever> drakonis: you need to find out what part of the module is reading config.json and fix it
<bqv> oh it's a module, rip
<drakonis> rip
<bqv> you can always copy the file and edit it, then use it via disabledModules
<drakonis> i want to set up mattermost for a project i'm doing and i need to communicate with people
<{^_^}> https://github.com/NixOS/nixpkgs/pull/82743 (by Infinisil, 22 weeks ago, merged): Freeform modules
<evanjs> lol really just an excuse to ping infinisil :P
<bqv> because it was never meant to work in the first place
<bqv> but you're the second person i've seen who thinks it was
<drakonis> hmm
<infinisil> evanjs: Huh how can you have descriptions for non-options?
<evanjs> lol surprise
iyzsong has joined #nixos
dongcarl has quit [Read error: Connection reset by peer]
<evanjs> Idk it "worked" before XD
<bqv> yeah
<evanjs> or it didn't die at least
tv has quit [Read error: Connection reset by peer]
<bqv> i think it was just undefined behaviour that's been suddenly called out by that pr
<infinisil> Well, glad that's throwing an error now, because that should never have worked!
<drakonis> i'm going to write a foundry service lol
<drakonis> i really need one of these now
<bqv> thought so
<infinisil> This is yet another mistake discovered due to that PR!
<bqv> :D
<evanjs> wonder what I should do now then lol
<evanjs> whatever this "module" was supposed to be structured like lol
<infinisil> Just remove the descriptions, they never had any effect anyways
<bqv> just turn the descriptions into comments
dongcarl has joined #nixos
<bqv> that's basically what they are
<infinisil> evanjs: What error do you get btw?
<bqv> it's one of those long lib.evalModules errors that doesn't give any indication where the problem is
<bqv> iirc
<evanjs> yeahhhh
<evanjs> error: value is a string while a set was expected, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:312:25
<evanjs> like that's one of the billion errors it throws in that chain
<evanjs> mmkay sweet wow
<evanjs> Told you it was something I made without thinking lol
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
drakonis has quit [Quit: ZNC 1.8.1 - https://znc.in]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
drakonis has joined #nixos
markus1199 has joined #nixos
<drakonis> i'm getting some coldplug weirdness when rebuilding
drakonis has quit [Client Quit]
vika_nezrimaya has joined #nixos
markus1189 has quit [Ping timeout: 260 seconds]
<vika_nezrimaya> oh great
<vika_nezrimaya> I can't load use-package
<vika_nezrimaya> and I forgot the default keybinds for emacs
drakonis has joined #nixos
<vika_nezrimaya> Invalid read syntax: Invalid byte-code object
<bqv> lmao
<vika_nezrimaya> right when it tries to load use-package
<bqv> this is exactly why i don't change the keybinds
<bqv> you can at least M-x whatever you need, right?
<vika_nezrimaya> even getting to IRC was hard because I almost accidentally pressed C-c i c
<vika_nezrimaya> which is my keybind for getting me online
<evanjs> back to disk space errors, thanks guys lol
<bqv> i c
<vika_nezrimaya> IRC -> connect
<vika_nezrimaya> that's the mnemonic for it
<bqv> my emacs just connects automatically to weechat
<bqv> cause it's already running
<bqv> and it's light af
<bqv> so who cares
<vika_nezrimaya> last time I used weechat with emacs it broke evil-mode
<bqv> try with my config
<bqv> i probably had and fixed that
<vika_nezrimaya> yay
<jlv> ftp://gemini.haystack.mit.edu/pub/hops
<jlv> Whoops wrong chat.
<{^_^}> [nixpkgs] @matthewbauer opened pull request #95779 → lzfse: use cmake build system → https://git.io/JJN1f
<vika_nezrimaya> https://gitlab.com/vikanezrimaya/nix-flake/-/tree/nixops/home-manager-modules/emacs.nix - I wonder if it uses the wrong epkgs set and compiles packages for the wrong Emacs version
rotaerk has joined #nixos
<bqv> very possibly
<vika_nezrimaya> i'd like to know for sure though
<bqv> if you're using emacsPackages, with emacs-pgtk, that's two different versions
<vika_nezrimaya> I use home-manager's programs.emacs.extraPackages
dongcarl has quit [Read error: Connection reset by peer]
<vika_nezrimaya> It takes a function that takes emacsPackages as its argument, presumably to match Emacs and its packages
<vika_nezrimaya> It returns a list of packages that I hand-picked for my configuration
<bqv> i have no idea how that works, so you're on your own there
tv has joined #nixos
<vika_nezrimaya> fsck /dev/vika/brain
<bqv> you could check your system's packages and see which emacs it depends on
<bqv> then see which emacs your emacs links to
dongcarl has joined #nixos
<vika_nezrimaya> dd if=/dev/random of=/dev/vika/brain
<vika_nezrimaya> that's how my head feels right now
<bqv> staticbrain
<bqv> relatable
* vika_nezrimaya is thoroughly randomized
ericnoan has quit [Ping timeout: 265 seconds]
kapilp has joined #nixos
dustinm- has joined #nixos
<vika_nezrimaya> bqv: it's dynamically generated random brain
kapil_ has quit [Ping timeout: 265 seconds]
lejonet has quit [Ping timeout: 265 seconds]
dustinm has quit [Ping timeout: 265 seconds]
c74d has joined #nixos
<bqv> procedurally generated dreams
<vika_nezrimaya> that's offtopic
<bqv> so was the last 2 minutes
Nafai has quit [Ping timeout: 265 seconds]
acowley has quit [Ping timeout: 265 seconds]
aml has quit [Ping timeout: 265 seconds]
jtcs has quit [Ping timeout: 265 seconds]
wspthr5 has joined #nixos
adamCS has quit [Ping timeout: 265 seconds]
shapr has quit [Ping timeout: 265 seconds]
at_mart has joined #nixos
benny_ has joined #nixos
aml has joined #nixos
anders has joined #nixos
alexbakker_ has joined #nixos
lejonet has joined #nixos
anders is now known as Guest83525
dsg has quit [Ping timeout: 265 seconds]
marek_ has quit [Ping timeout: 265 seconds]
anders^ has quit [Ping timeout: 265 seconds]
samhza has quit [Ping timeout: 265 seconds]
pfr has quit [Ping timeout: 265 seconds]
petar has quit [Ping timeout: 265 seconds]
icey_ has quit [Ping timeout: 265 seconds]
alexbakker has quit [Ping timeout: 265 seconds]
wspthr has quit [Ping timeout: 265 seconds]
vykook has quit [Ping timeout: 265 seconds]
V has quit [Ping timeout: 265 seconds]
kandinski has quit [Ping timeout: 265 seconds]
Guest60204 has quit [Ping timeout: 265 seconds]
fps has quit [Ping timeout: 265 seconds]
niksnut has quit [Ping timeout: 265 seconds]
mlen has quit [Ping timeout: 265 seconds]
at_mart_ has quit [Ping timeout: 265 seconds]
kumikumi has quit [Ping timeout: 265 seconds]
alexbakker_ is now known as alexbakker
wspthr5 is now known as wspthr
<vika_nezrimaya> it uses a function on the emacs package to generate emacsPackages to pass to extraPackages
<c74d> In a NixOS module in a (overly complicated) NixOS configuration, is it generally impossible to make the `imports` attribute depend on a configuration option? If so, are there exceptions to that generality? I recall that last time I tried this (years ago) I gave up after getting nothing but recursion errors.
ddellacosta has quit [Ping timeout: 265 seconds]
kraem has quit [Ping timeout: 265 seconds]
Guest43522 has quit [Ping timeout: 265 seconds]
mzan has quit [Ping timeout: 265 seconds]
dutchie has quit [Ping timeout: 265 seconds]
nerdypepper has quit [Ping timeout: 265 seconds]
kgz has quit [Ping timeout: 265 seconds]
stoile has quit [Ping timeout: 265 seconds]
benny has quit [Ping timeout: 265 seconds]
commander has quit [Ping timeout: 265 seconds]
V has joined #nixos
<bqv> looks like you're probably fine then
<bqv> hmm
<vika_nezrimaya> c74d: sounds like a crazy thing to do
<vika_nezrimaya> why do you need it
mzan has joined #nixos
V is now known as Guest7215
samhza has joined #nixos
<bqv> c74d: DNDT
<c74d> I'd like to import the hardened profile iff some config option is true
niksnut has joined #nixos
<c74d> bqv: does that stand for "do not do that"?
nerdypepper has joined #nixos
petar has joined #nixos
<vika_nezrimaya> you're better off having a module conditionally execute itself then
kandinski has joined #nixos
<bqv> yes
<bqv> it does
kumikumi has joined #nixos
stoile has joined #nixos
<dramforever> Sounds like you need a hardened profile with an enable option
pfr has joined #nixos
ddellacosta has joined #nixos
icey_ has joined #nixos
Guest7215 has quit [Client Quit]
<c74d> vika_nezrimaya: Hm, what do you mean by "execute"? I don't tend to think of NixOS modules as executing :?
<bqv> conditionally evaluate, then
Guest60204 has joined #nixos
<dramforever> I'd say you can write a module that does that, but it would involve reorganize whatever profiles you have
<vika_nezrimaya> like every module in NixOS does. { config, lib, ... }: { options.hardenStuff = mkEnableOption "Harden stuff."; config = (lib.mkIf config.hardenStuff { /* harden stuff here */ }); }
kraem has joined #nixos
ericnoan has joined #nixos
<dramforever> yeah, that's what i was talking about
<vika_nezrimaya> This is a boilerplate for a NixOS module that hardens stuff
<vika_nezrimaya> If you have { hardenStuff = true; } somewhere in your NixOS config and this module is imported, it hardens stuff
<vika_nezrimaya> otherwise it doesn't do anything and acts as if it is not there
<c74d> oh, I could just `config = import <...hardened profile...>` couldn't I
<c74d> behind mkIf
<vika_nezrimaya> I don't recommend it
jtcs has joined #nixos
V_ has joined #nixos
acowley has joined #nixos
dutchie has joined #nixos
shapr has joined #nixos
<bqv> that would technically work, though
jbox has joined #nixos
<clever> c74d: the value put into config must be a set, not a function
shapr is now known as Guest58790
<vika_nezrimaya> But maybe you could do { imports = [ <hardened-profile> ]; } there?
<clever> so you cant { pkgs, config, ... }:
grumble has quit [Ping timeout: 619 seconds]
mariatsji has joined #nixos
<clever> vika_nezrimaya: config and imports must be siblings, not parent/child
jbox is now known as Guest52826
<bqv> you can passthrough the same args
<bqv> they won't have changed
commander has joined #nixos
<bqv> i've done a similar hack before
<bqv> it's just ...nasty
dsg has joined #nixos
<c74d> aye, that's ^ what I meant
fps has joined #nixos
<vika_nezrimaya> just wrap your hardened profile in this boilerplate
<vika_nezrimaya> it'll be easier, more portable and you could easily distribute it if you wish
V_ has quit [Client Quit]
grumble has joined #nixos
<vika_nezrimaya> for example, I could then download your module and use it in my system to harden my stuff
vykook has joined #nixos
V_ has joined #nixos
<vika_nezrimaya> Or you could include it in NixOS so everyone would be able to harden stuff!
adamCS has joined #nixos
mariatsji has quit [Ping timeout: 256 seconds]
rogue_koder_ has quit [Ping timeout: 256 seconds]
dongcarl has quit [Read error: Connection reset by peer]
<vika_nezrimaya> rycee, I summon you as the maintainer of home-manager/programs/emacs.nix! https://gitlab.com/vikanezrimaya/nix-flake/-/tree/nixops/home-manager-modules/emacs.nix - can you help me understand why doesn't Emacs load use-package like it should, instead failing with "Invalid read syntax: Invalid byte-code object"?
Nafai has joined #nixos
<vika_nezrimaya> either I'm doing something wrong or home-manager does something wrong unknowingly
V_ is now known as V
<energizer> vika_nezrimaya: fyi there is #home-manager
<vika_nezrimaya> Oh, right, thanks
mlen has joined #nixos
rogue_koder_ has joined #nixos
marek has joined #nixos
kgz has joined #nixos
<c74d> okay, it looks like `{config, lib, ...} @ args: { options.hardenStuff = ...; config = lib.mkIf config.hardenStuff (import <.../hardened.nix> args); }` should work, or at least should build
<c74d> s/lib,/& pkgs,/
knerten1 has joined #nixos
drakonis has quit [Quit: ZNC 1.8.1 - https://znc.in]
drakonis has joined #nixos
knerten2 has quit [Ping timeout: 256 seconds]
<vika_nezrimaya> If it evaluates, then it'll probably build
<vika_nezrimaya> if the packages are all right
<catern> Ingor: try "nix search" instead of nix-env -qa - anyway both "nix search" and "nix-env -qa" are user-interface things which build a map of a ton of strings in memory - if you want to avoid that memory usage, look in Nixpkgs for your package using grep
<energizer> c74d: are you making a way to harden nixos?
<c74d> energizer: no, I'm trying to use one NixOS configuration for too many things
<c74d> the hardened profile was made by joachifm
mariatsji has joined #nixos
<c74d> in particular, I'm trying to use one (heavily-parametrized) configuration for (possibly among other things) personal computers and VMs to run on those computers
<c74d> I want the hardened profile (albeit with some of its settings overridden) on the host computer but not in (one of) the VMs
mariatsji has quit [Ping timeout: 272 seconds]
<vika_nezrimaya> catern: nix-env -qa was slow and memory-hungry because it was evaluating half of Nixpkgs. nix search caches evaluations (at least when using nixFlakes, it does it very efficiently) so it is a lot more forgiving
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
dongcarl has joined #nixos
vivasvat has joined #nixos
m0rphism has quit [Ping timeout: 260 seconds]
kraeXen has joined #nixos
sadmin has quit [Ping timeout: 264 seconds]
dongcarl has quit [Read error: Connection reset by peer]
kraeXen has quit [Ping timeout: 260 seconds]
dongcarl has joined #nixos
kraeXen has joined #nixos
jumper149 has quit [Quit: WeeChat 2.9]
drakonis- has joined #nixos
veleiro has joined #nixos
eoli3n_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7c93f85b7ab (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
kraeXen has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #95735 → scheme-manpages: 2020-05-17 -> 2020-08-14 → https://git.io/JJb2u
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJNyI
dramforever has quit [Remote host closed the connection]
drakonis has quit [Quit: WeeChat 2.9]
drakonis- is now known as drakonis
eoli3n_ has quit [Remote host closed the connection]
eoli3n_ has joined #nixos
<Graypup_> anyone know what's with haskellPackages.random_1_2_0?
<Graypup_> I have tried to replace `random` with it in an overlay and am getting an infinite recursion error even if i use super
eoli3n_ has quit [Remote host closed the connection]
eoli3n_ has joined #nixos
kraeXen has joined #nixos
adam_ has joined #nixos
<adam_> Is there a guide on using vim with nixos? In particular there are several packages which are not in the vimPlugins that I would like to use
<adam_> Is there a way to add them from a git repo?
<evanjs> I need some way to find out why I have so many GHCs and how I can lower that footprint lol
user_0x58 has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/f0924dbf552 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<nbathum> evanjs: How many do you have?
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 244 seconds]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @marsam opened pull request #95780 → buildpack: 0.7.0 -> 0.13.0 → https://git.io/JJNyh
<evanjs> nbathum: 8.6.5, 8.8.3, 8.8.4
ddellacosta has quit [Ping timeout: 256 seconds]
<evanjs> only 883 is defined in my config, save maybe some implicit deps on 865. Though I guess maybe that applies to 884 as well
<nbathum> looks like 884 is the current version on nixos-unstable
<evanjs> yeah I figured as much
adam_ has quit [Quit: Lost terminal]
<nbathum> `nix-store -q --referrers` hrmm is there an easy way to get a path from an channel attr
<evanjs> what, like a path to <nixos-unstable>?
<nbathum> also I guess the trick is filtering out all the libraries
<nbathum> to get the output path '/nix/store/2fa9030sa63i451hgg60w1hwyfr2ddf8-ghc-8.8.4' from nixos.ghc
<evanjs> and also resolving nixpkgs.haskell.packages.ghc.<something> to the current version
<evanjs> for e.g. hpkgs = pkgs.haskell.packages.ghc883;
<evanjs> nbathum: oh and idk if it's exactly what you're asking, but you can specify the channel to use with `-f channel:<channel>`
<evanjs> e.g. `nix eval -f channel:nixos-unstable ghc.version` or something
<daddy_james[m]> am I a moron or does SDL2.dev not include the static libraries?
<daddy_james[m]> * am I a moron or does the ```SDL2.dev``` package not include the static libraries?
<simpson> daddy_james[m]: The build might not include static libraries. If `pkgsStatic.SDL2` builds, maybe that would work? What are you working on?
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJNSP
<daddy_james[m]> really just a simple game so I can learn sdl
<bqv> > builtins.attrNames lib.types
<{^_^}> [ "addCheck" "attrs" "attrsOf" "bool" "coercedTo" "commas" "defaultFunctor" "defaultTypeMerge" "either" "enum" "envVar" "float" "int" "ints" "isOptionType" "isType" "lazyAttrsOf" "lines" "list" "listO...
<{^_^}> [nixos-weekly] @addict3d opened pull request #132 → add nixcon 2020 cfp → https://git.io/JJNSD
<simpson> Alas, `pkgsStatic.fftw` doesn't build.
<{^_^}> [nixpkgs] @marsam opened pull request #95781 → nnn: 3.3 -> 3.4 → https://git.io/JJNSH
<daddy_james[m]> <simpson "daddy_james: The build might not"> pkgsStatic is undefined for me, what would I have to include in my shell.nix?
<evanjs> nbathum: omfg
<evanjs> haskellPackages = dontRecurseIntoAttrs haskell.packages.ghc884;
<evanjs> am stupid lol
<evanjs> guess I'll be using that :P
veleiro has quit [Ping timeout: 256 seconds]
<simpson> daddy_james[m]: There's no guaranteed static-linking setup. Some libraries are built both ways, but most aren't. The pkgsStatic top name builds everything with a stdenv that *only* does static linking, for folks who want that; it uses musl.
<jackdk> Can I please get a PR review or someone to poke ofborg on #95740?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/95740 (by endgame, 19 hours ago, open): Cfn lint bump
magnetophon has quit [Read error: Connection reset by peer]
vivasvat has left #nixos ["ERC (IRC client for Emacs 27.1)"]
redmp has joined #nixos
<redmp> if i use buildEnv to make an environment containing several packages, is there an easy way to get the equivalent .env (an environment which can be used for development of any of those packages)
<simpson> daddy_james[m]: Currently trying to build `SDL2.override (_: { withStatic = true; })` which might work, based on reading the SDL2 derivation.
justanotheruser has joined #nixos
butcher has joined #nixos
<daddy_james[m]> I’ll give it a shot tomorrow thanks!
<bqv> > builtins.isNull
<{^_^}> <PRIMOP>
<{^_^}> [nixpkgs] @dasj19 opened pull request #95782 → iniconfig: init at 1.0.1 → https://git.io/JJN9s
gv has joined #nixos
woobilicious has joined #nixos
<woobilicious> Can someone tell me why I get this error
<woobilicious> $ nix-env -i nixos.transmission-gtkerror: selector 'nixos.transmission-gtk' matches no derivations
<evanjs> woobilicious: try transmission
<evanjs> nixos.transmission-gtk (transmission-3.00)
<evanjs> is there a better way to run e.g. `nix why-depends /run/current-system nixpkgs.haskell.packages.ghc865`?
<evanjs> because I get "error: haskellPackages.multi-ghc-travis has been renamed to haskell-ci, which is now on hackage" when I try to do that
<woobilicious> So why is transmission-gtk a package the website says I can install it direcly
<simpson> daddy_james[m]: https://bpa.st/Q2TA Hope this helps; good luck.
<simpson> woobilicious: Does `nix-env -iA transmission-gtk` work? The command-not-found recommendation might not be exactly correct if you don't have a channel named "nixos", nor do you need to have your channels configured that way.
rajivr has joined #nixos
<evanjs> woobilicious: looks like it's also transmission_gtk
<evanjs> I know there's something about _ over - IIRC
<evanjs> transmission_gtk = transmission-gtk; # added 2018-01-06
<evanjs> via pkgs/top-level/aliases.nix
<woobilicious> neither work
<evanjs> what? `nix-env -iA nixos.transmission` doesn't work?
<woobilicious> it installs the CLI client
<woobilicious> using -iA nor _ work I meant
<evanjs> seems to work for me
<evanjs> even `nix-env -iA nixos.transmission-gtk`
<evanjs> what channel are you on?
<evanjs> and nixos or non-nixos?
<evanjs> nbathum: woo swapped out all the haskell.packages.<...> with haskellPackages and removed all stable.<...> usages and just on 884 now lol
<woobilicious> should nix-channel --list something for a normal user?
<evanjs> eh not by default unless you have channels for your user. Try checking with sudo and that will list what is being used by the system
<woobilicious> transmission-gtk isntalled via editing the configuration.nx file
<woobilicious> I have two channels
<{^_^}> [nixpkgs] @marsam opened pull request #95783 → postgresqlPackages.plpgsql_check: init at 1.13.1 → https://git.io/JJN9h
<evanjs> derp I just realized what was wrong with the first command you shared lol
kraeXen has quit [Quit: [ - ]]
<evanjs> try `nix-env -iA nixos.transmission-gtk`
<evanjs> A for when you specify full attr paths
<evanjs> and yeah unstable should work fine as the main
<woobilicious> nixos-20.03 https://nixos.org/channels/nixos-20.03
<woobilicious> I think I might have added this last one by accident a while back
<siraben> What do I need to do to be able to package a project so that it can be installed by running "nix-env -iA package -f https://github.com/...";
<siraben> ?
<woobilicious> evanjs that worked but I'm pretty sure I tried that earlier and it didn't work I wonder what changed
<siraben> I have a default.nix that works when I run nix-build, but doing that command with nix-env doesn't work and it complains about a missing package attribute
<clever> siraben: does it work with `nix-build -A package` ?
Rusty1 has quit [Quit: WeeChat 2.3]
endformationage has quit [Quit: WeeChat 2.7.1]
<siraben> clever: error: attribute 'package' in selection path 'package' not found
<clever> siraben: then that is your problem, the default.nix must return { package = ...; }
<clever> add a `{ package =` and `;}` to the file, and it should begin working
nij has joined #nixos
woobilicious has quit [Remote host closed the connection]
domogled has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #93002 → syncplay: 1.6.4a -> 1.6.5 → https://git.io/JJOUn
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJNHB
<siraben> clever: Ok I'll try that
<siraben> clever: For some reason, the default.nix you helped me package around a year ago doesn't work anymore, even if I pin nixpkgs
<siraben> or at least on 20.03 it doesn't build, if that makes a difference.
<siraben> clever: error: derivation name missing when I surround it with parens and package =
palo1 has joined #nixos
<clever> siraben: it should be something like this, { package = pkgs.rustPlatform.buildRustPackage { ... }; }
<clever> siraben: you may need a name= instead of pname, if your nixpkgs is too old
<siraben> Ah, it wasn't even building with nix-build . at first, I'll need to fix yhat
<siraben> s/yhat/that
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
<siraben> clever: Ok, so nix-build -A package seems to work but 'nix-env -iA package -f https://github.com/siraben/MozWire/tarball/nix-build' does not
<clever> siraben: same error?
<siraben> Yeah
<siraben> You could try it too, it's pushed
<clever> its working here
<clever> note that nix caches the tar files it downloads
<siraben> hmm, maybe differences on darwin?
<siraben> Ah
<clever> --option tarball-ttl 60
<clever> that makes the cache expire 1 minute after you downloaded it
<clever> it defaults to 1h
<siraben> lol I just garbage collected before I saw your message, ok it works now.
<clever> oh, zkeme80, that was the calculator stuff, right?
<siraben> Yeah.
<siraben> Thanks again for helping package that, by the way.
<siraben> It was tricky to build
<clever> yeah
<clever> [clever@amd-nixos:~/apps/siraben/zkeme80]$ nix build -f . -L runit
<srhb> clever: You're not into fancy hostnames are you. :-)
<clever> [clever@system76:~]$ uptime 02:37:12 up 71 days, 17 min, 2 users, load average: 2.52, 2.71, 2.65
<clever> srhb: yeah, they are pretty basic :P
<srhb> :D
<clever> /nix/store/a759kbr0kgccsxl6lfx0xv5i3c9x9bw9-binutils-2.31.1/bin/ld: ../emu/libtilemcore.a(graycolor.o): undefined reference to symbol 'pow@@GLIBC_2.29'
<clever> /nix/store/a759kbr0kgccsxl6lfx0xv5i3c9x9bw9-binutils-2.31.1/bin/ld: /nix/store/aqq6367snc1zh3fs1pc4j4zm5h80vkkz-glibc-2.31/lib/libm.so.6: error adding symbols: DSO missing from command line
<clever> srhb: looks like the glibc is the wrong version for libtilemcore
<clever> siraben: you likely just need an older nixpkgs, replace the <nixpkgs> at the top with a (builtins.fetchUrl ...)
<clever> i need to get to bed, but i could have a look in the morning, if i dont forget
<siraben> Yeah I'll try
<siraben> Ok, good night!
eoli3n_ has quit [Ping timeout: 240 seconds]
user_0x58 has joined #nixos
rogue_koder_ has quit [Ping timeout: 256 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<{^_^}> [nixpkgs] @danieldk merged pull request #95781 → nnn: 3.3 -> 3.4 → https://git.io/JJNSH
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJNQA
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<simpson> nnn looks interesting.
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<energizer> i'm hoping someone packages https://github.com/rabite0/hunter which is a rust port of ranger
<{^_^}> [nixpkgs] @dasj19 opened pull request #95784 → gnome-color-manager: 3.32.0 -> 3.36.0 → https://git.io/JJN7e
<{^_^}> [nixpkgs] @jonringer merged pull request #93770 → rescuetime: 2.15.0.1 -> 2.16.2.1 → https://git.io/JJ4Wv
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJN7v
<{^_^}> [nixpkgs] @vcunat closed pull request #95162 → Revert "Revert "linux: Init 5.8"" → https://git.io/JJyqr
rogue_koder_ has joined #nixos
sangoma has joined #nixos
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
spudly has quit [Ping timeout: 240 seconds]
spudly- is now known as spudly
redmp has quit [Quit: leaving]
<{^_^}> [nixpkgs] @vbgl opened pull request #95785 → python.nbxmpp: 0.6.10 → 1.0.2; gajim: 1.1.3 → 1.2.2 → https://git.io/JJN7W
<{^_^}> [nixpkgs] @vbgl merged pull request #95238 → coq-ext-lib: 0.11.1 → 0.11.2; QuickChick: 1.3.1 → 1.3.2, 1.4.0 → https://git.io/JJSTI
<{^_^}> [nixpkgs] @vbgl pushed 3 commits to master: https://git.io/JJN7l
<{^_^}> [nixpkgs] @dasj19 opened pull request #95786 → gnome-notes: 3.36.2 -> 3.36.3 → https://git.io/JJN7R
noudle has joined #nixos
cole-h has quit [Quit: Goodbye]
mounty has quit [Quit: Konversation terminated!]
mallox has joined #nixos
mounty has joined #nixos
mounty has quit [Ping timeout: 244 seconds]
malik has joined #nixos
<{^_^}> [nixpkgs] @jojosch opened pull request #95787 → dbeaver: 7.1.4 -> 7.1.5 → https://git.io/JJN7b
talvdav has joined #nixos
<{^_^}> [nixpkgs] @utdemir opened pull request #95788 → haskellPackages.ghcHEAD: Mark "exceptions" as a core library → https://git.io/JJN5Z
<{^_^}> [nixpkgs] @jonringer opened pull request #95789 → jetbrains.rider: 2020.1.4 -> 2020.2 → https://git.io/JJN5c
<siraben> energizer: how's it compare to ranger?
<siraben> Much faster I'm assuming, since Python -> Rust
<energizer> siraben: i havent tried it
<siraben> Ah it's not in nixpkgs as well
<siraben> I might take a stab at packaging it
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6532d45c64c (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
butcher has quit [Remote host closed the connection]
cfricke has joined #nixos
mariatsji has joined #nixos
azure1 is now known as zangi
rogue_koder_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @zimbatm pushed to master « obsidian: 0.7.3 -> 0.8.2 »: https://git.io/JJNdz
rogue_koder_ has joined #nixos
lsix has joined #nixos
bennofs has joined #nixos
bennofs has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
o1lo01ol1o has joined #nixos
<c74d> How can I get my NixOS configuration as an attrset in an unrelated Nix expression?
bennofs has joined #nixos
<lassulus> cfg = import <nixpkgs/nixos> {};
cmk_zzz has quit [Ping timeout: 246 seconds]
cmk_zzz_ has joined #nixos
<c74d> huh
<c74d> well that's less arcane that I expected
<c74d> that seems simple enough that I suspect I knew that once
<siraben> energizer: Well, trying the usual way to build rust projects, it doesn't work on hunter ATM http://ix.io/2uBd
o1lo01ol1o has quit [Ping timeout: 256 seconds]
bennofs has quit [Client Quit]
m0rphism has joined #nixos
bennofs has joined #nixos
bennofs has quit [Client Quit]
gthm has joined #nixos
ilyaigpetrov has joined #nixos
alp has joined #nixos
griff_ has quit [Quit: griff_]
coderobe has quit [Quit: Ping timeout (120 seconds)]
<kini> At https://www.kernel.org/category/releases.html#distribution-kernels , there is the following statement: "run `uname -r` [...] If you see anything at all after the dash, you are running a distribution kernel."
<kini> It doesn't say "Only if", but still, would it make sense to append something to the `uname -r` string for NixOS kernels like other distros do? Is there a reason we don't do that currently?
<srhb> kini: I'm not sure what qualifies as a "distribution kernel"
<kini> The page defines it thus: "Unless you downloaded, compiled and installed your own version of kernel from kernel.org, you are running a distribution kernel."
<srhb> kini: Well, we do that.
<NobbZ[m]> From what I read there, anything not directly downloaded from kernel.org...
<srhb> Sort of. Ish. Because source distro :-P
<kini> srhb: Well, who is "we"? The NixOS expression for building the kernel is probably not something well understood by the average NixOS user.
<NobbZ[m]> @shrb kernel is downloaded from cache.nixos.org
<srhb> NobbZ[m]: Only if it's already built. If not, it's built locally
<NobbZ[m]> Are nixOS specific patches applied?
<srhb> The point I'm trying to allude to is that the clear cut model that kernel.org appears to present is not so clear
<srhb> NobbZ[m]: It depends!
<kini> Even if you disable downloading it from cache.nixos.org, I don't think that typing "nixos-rebuild switch" counts as "downloading, compiling, and installing your own version of kernel from kernel.org"
<srhb> kini: Even though that's exactly what it does?
<kini> that's what "it" does, not what "you" do
<srhb> (barring mirrors)
<kini> i.e. there's too much automation to fit that sentence, in my opinion anyway
<srhb> Okay. I disagree. :)
<srhb> That said, I don't really know what their motivation is and whether we should respect it. I guess it's something like trying to avoid supporting distro specific patches?
<srhb> For instance, that would be the case for our zfs patches, probably.
<kini> I think this particular text is trying to discourage people from contacting the upstream kernel mailing lists for help when they're running an non-bleeding-edge kernel with distro-specific patches, as most people are
<srhb> Yeah, that's basically what I took from it as well.
<kini> ah sorry, I misread you as saying "avoid accepting distro specific patches" lol, now it makes more sense :)
<srhb> Sorry, I was probably unclear.
<kini> we do seem to apply some NixOS-specific patches, though, from what I can tell
<srhb> Anyway, I will happily grant that if our motivation is to help lkml avoid correspondence from random NixOS'ers, we should in theory add it.
<srhb> I have my doubts that it does anything in either direction though :-P
<srhb> I had no idea about that dash-rule, but I would also know who to contact, for instance.
sputny has joined #nixos
<siraben> When default.nix starts with { stdenv }:, how do build it? nix-build won't work because it requires inputs to the function
<kini> I don't know that it's really a rule for distro maintainers or anything, just wondered if anyone else had already thought about this for NixOS
<srhb> The more I look at it though, the more I think it's more related to something more than distro specific patches...
<srhb> Like, they specifically mention LTS kernels. I think they tend to backport huge swathes of features and backports from newer kernels
<srhb> kini: I hadn't for sure ^^
<srhb> siraben: nix-build -E 'with import <nixpkgs> {}; callPackackage ./. {}'
<srhb> siraben: Or any other expression that callPackages it.
<srhb> siraben: (I substituted ./. for ./default.nix)
<siraben> srhb: Ah, right, in all-packages.nix in nixpkgs there's a callPackage call as welll. Thanks!
<siraben> s/welll/well
sdisavona has joined #nixos
<siraben> srhb: Why don't I need to callPackage when default.nix starts with with import <nixpkgs> { }; ?
<srhb> siraben: Something that looks like { ... }: is a function that takes ... arguments
<srhb> siraben: Something needs to pass those arguments
<srhb> siraben: callPackage knows how to do that for arguments that orrespond to top level attribute names
<siraben> Ah I see.
<sdisavona> I'm using nix as a package manager on archlinux. Is there any way to get network scanner working with programs installed via nix?
<sdisavona> xsane and simple-scan installed via archlinux can find and use the network scanner, the same programs installed via nix, don't.
user_0x58 has quit [Ping timeout: 260 seconds]
<sdisavona> I've of course read this page: https://nixos.wiki/wiki/Scanners but I've doubts it can be applied to nix as a package manager.
<kini> sdisavona: the second note at the top of that wiki page seems like it might be relevant... have you tried fiddling with $LD_LIBRARY_PATH?
<kini> you're right that the stuff on there about setting config options in `hardware.sane.<stuff>` is only applicable when you're running NixOS (afaik anyway)
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @jonringer merged pull request #95738 → [staging] python3Packages.*: additional python stabilization → https://git.io/JJbHd
<{^_^}> [nixpkgs] @jonringer pushed 8 commits to staging: https://git.io/JJNb6
c74d has quit [Quit: c74d]
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
Dr8128 has joined #nixos
hiro99 has joined #nixos
tru_tru has joined #nixos
<jackdk> Can I please get a PR review or someone to poke ofborg on #95740?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/95740 (by endgame, 22 hours ago, open): Cfn lint bump
malik has quit [Remote host closed the connection]
griff_ has joined #nixos
Dr8128 has quit [Ping timeout: 260 seconds]
benny_ is now known as benny
zupo has joined #nixos
<siraben> jackdk: what do you need ofborg to do?
sdsv has joined #nixos
sdisavona has quit [Ping timeout: 264 seconds]
cmk_zzz has joined #nixos
cmk_zzz_ has quit [Ping timeout: 256 seconds]
Dr8128 has joined #nixos
Mic92 has quit [Ping timeout: 246 seconds]
Wizek has joined #nixos
Mic92 has joined #nixos
<jackdk> siraben: doesn't it need to rebuild things before merge or am I mistaken?
<jackdk> I could just be mistaken
<siraben> Rebuilding is just done for checks, you can ask grahamofborg to build <package>
<jackdk> yeah I think that's teh usual thing I see
<jackdk> Are you able to do that? Also, who would be a good reviewer for #95544?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/95544 (by endgame, 3 days ago, open): ultimate-oldschool-pc-font-pack: 1.0 -> 2.0
<siraben> jackdk: which package could you like to build btw? there's two in your PR
<jackdk> python3Packages.cfn-lint, which will rebuild the other as a dep
<siraben> ok
<jackdk> tyvm siraben++
<{^_^}> siraben's karma got increased to 1
<siraben> np :)
fendor has joined #nixos
griff_ has quit [Quit: griff_]
mariatsji has quit []
o1lo01ol1o has joined #nixos
rnhmjoj has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
shu9[m] has quit [Quit: Idle for 30+ days]
haslersn has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
sigmundv_ has joined #nixos
stephaneyfx_ has quit [Quit: Leaving]
alp has quit [Remote host closed the connection]
mounty has joined #nixos
alp has joined #nixos
orivej has joined #nixos
thc202 has joined #nixos
<{^_^}> [patchelf] @rmNULL opened pull request #231 → skip overwriting r(un)path data when old_rpath = new_rpath. → https://git.io/JJNx5
arjen-jonathan has joined #nixos
griff_ has joined #nixos
<{^_^}> [nixpkgs] @maralorn merged pull request #95771 → [haskell-updates] haskellPackages.cuda: Mark as unfree because of deps → https://git.io/JJNrs
<{^_^}> [nixpkgs] @maralorn pushed 2 commits to haskell-updates: https://git.io/JJNpX
<{^_^}> [nixpkgs] @maralorn merged pull request #95774 → [haskell-updates] haskellPackages: Fix evaluation errors → https://git.io/JJNo7
<{^_^}> [nixpkgs] @maralorn pushed 2 commits to haskell-updates: https://git.io/JJNp1
<{^_^}> [nixpkgs] @maralorn merged pull request #95770 → [haskell-updates] haskellPackages.neuron: Fix build → https://git.io/JJNre
<{^_^}> [nixpkgs] @maralorn pushed 2 commits to haskell-updates: https://git.io/JJNpD
<{^_^}> [nixpkgs] @maralorn merged pull request #95775 → [haskell-updates] haskellPackages.hocker: Mark unbroken → https://git.io/JJNK3
<{^_^}> [nixpkgs] @maralorn pushed 2 commits to haskell-updates: https://git.io/JJNpy
<{^_^}> [nixpkgs] @zimbatm opened pull request #95790 → pythonPackages.avro: 1.9.2 -> 1.10.0 → https://git.io/JJNpp
__monty__ has joined #nixos
domogled has joined #nixos
smatting_ has joined #nixos
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @dasj19 closed pull request #95782 → iniconfig: init at 1.0.1 → https://git.io/JJN9s
coderobe has joined #nixos
<{^_^}> [nixpkgs] @v0d1ch opened pull request #95791 → haskellPackages.snap-templates jailbreak → https://git.io/JJNhQ
hiro99 has quit [Quit: hiro99]
<{^_^}> [nixpkgs] @maralorn merged pull request #95773 → matterhorn: fix build for update → https://git.io/JJNoR
<{^_^}> [nixpkgs] @maralorn pushed 2 commits to haskell-updates: https://git.io/JJNjo
<{^_^}> [patchelf] @edolstra merged pull request #231 → skip overwriting r(un)path data when old_rpath = new_rpath. → https://git.io/JJNx5
<{^_^}> [patchelf] @edolstra pushed 2 commits to master: https://git.io/JJNj1
<{^_^}> [nixpkgs] @peterhoeg opened pull request #95792 → strawberry: 0.6.13 -> 0.7.2 → https://git.io/JJNj9
<{^_^}> [nixpkgs] @peterhoeg merged pull request #94242 → libsForQt5.vlc: 3.0.11 -> 3.0.11.1 → https://git.io/JJgjK
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JJNjb
<{^_^}> [nixpkgs] @peterhoeg merged pull request #95728 → virt-manager-qt: 0.70.91 -> 0.71.95 → https://git.io/JJbW2
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JJAee
fendor_ has joined #nixos
fendor_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @alyssais merged pull request #95753 → pdfpc: 4.3.4 → 4.4.0 → https://git.io/JJNTV
<{^_^}> [nixpkgs] @alyssais pushed commit from @vbgl to master « pdfpc: 4.3.4 → 4.4.0 »: https://git.io/JJAeI
<{^_^}> [nixpkgs] @alyssais merged pull request #95755 → finalfusion-utils: 0.11.2 -> 0.12.0 → https://git.io/JJNIG
<{^_^}> [nixpkgs] @alyssais pushed commit from @danieldk to master « finalfusion-utils: 0.11.2 -> 0.12.0 »: https://git.io/JJAem
<{^_^}> [nixpkgs] @alyssais merged pull request #95767 → hikari: 2.1.1 -> 2.1.2 → https://git.io/JJNuL
<{^_^}> [nixpkgs] @alyssais pushed commit from @wjlroe to master « hikari: 2.1.1 -> 2.1.2 »: https://git.io/JJAeY
<{^_^}> [nixpkgs] @peterhoeg closed pull request #95792 → strawberry: 0.6.13 -> 0.7.2 → https://git.io/JJNj9
<{^_^}> [nixpkgs] @maralorn merged pull request #93469 → haskellPackages.hcoord: fix build → https://git.io/JJcUD
<{^_^}> [nixpkgs] @peterhoeg opened pull request #95793 → strawberry: 0.6.13 -> 0.7.2 → https://git.io/JJAe3
<{^_^}> [nixpkgs] @maralorn pushed 2 commits to haskell-updates: https://git.io/JJAes
<{^_^}> [nixpkgs] @alyssais merged pull request #95679 → homeassistant: 0.114.0 -> 0.114.2 → https://git.io/JJFoF
<{^_^}> [nixpkgs] @alyssais pushed commit from @mweinelt to master « homeassistant: 0.114.0 -> 0.114.2 »: https://git.io/JJAec
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
sputny has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @KAction opened pull request #95794 → psftools: init at 1.0.13 → https://git.io/JJAea
<nij> How does nixos take care of run time dependencies?
<nij> I mean, there are ways for you to compile a C code (for example) without the run time dependencies present on the computer.
<nij> If I do that, the compiled program doesn't have to "remember" which run time dependencies it will use.. and can be unreproducible :(
bogdb has joined #nixos
<NobbZ[m]> "nij" (https://matrix.to/#/@freenode_nij:matrix.org) runtime dependencies that are properly referenced, should be recognized.
<NobbZ[m]> If they don't get recognized, you will need to create a wrapper that reference their store path
shah^ has quit [Ping timeout: 264 seconds]
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
copy has quit [Ping timeout: 256 seconds]
nij has quit [Ping timeout: 246 seconds]
nij has joined #nixos
griff_ has quit [Quit: griff_]
la-jesystani has quit [Ping timeout: 264 seconds]
iyzsong has quit [Read error: Connection reset by peer]
la-jesystani has joined #nixos
iyzsong has joined #nixos
<nerdypepper> how are rust crates that require nightly rust built without the mozilla overlay? the miniserve crate seems to require nightly rust, but i can't seem to find anything special in its default.nix: https://github.com/NixOS/nixpkgs/blob/81328ea94ec7feef419cd7c3cc1d9ced47a1482d/pkgs/tools/misc/miniserve/default.nix
shah^ has joined #nixos
<bogdb> since switching to ondemand cpu governor (from performance), I keep getting messages like this " rcu: INFO: rcu_sched self-detected stall on CPU" or https://pastebin.com/BC52JZnY. has anyone experienced anything similar with amd hardware (ryzen 2 / x570)? linux version is 5.7.15
divyang has joined #nixos
sangoma has quit [Ping timeout: 246 seconds]
divyang has quit [Quit: divyang]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/873cca6e032 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b78e08e981a (from 13 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
morr has quit [Quit: WeeChat 2.7.1]
morr has joined #nixos
<nij> NobbZ[m]: ah sorry for replying late!
<nij> NobbZ[m]: Does nixos recognize when run time dependencies are missing?
<NobbZ[m]> Every dependency that is referenced by its store path in the output will be used as runtime dependency
dingenskirchen has joined #nixos
dingenskirchen has quit [Client Quit]
ScottHDev41 has joined #nixos
ScottHDev4 has quit [Ping timeout: 240 seconds]
<nij> I see :O
ScottHDev41 is now known as ScottHDev4
<nij> Hmmm
<nij> I think my confusion still pertains..
nixbitcoin_ has joined #nixos
<nij> Can't I write a derivation for compiling a C code, that does not mention all of its runtime dependencies?
nixbitcoin has quit [Ping timeout: 240 seconds]
<nij> If I can, and if I compile it with that derivation, the outcome binary is going to call some other programs not tracked by nix.
<NobbZ[m]> Use a wrapper that adds the dep to the `PATH`
m_hackerfoo has quit [Ping timeout: 256 seconds]
HackerFoo has quit [Ping timeout: 240 seconds]
alp has quit [Ping timeout: 272 seconds]
<nij> I'm not trying to compile a thing. I'm trying to understand the theory behind nix, and why it's "safe".
<NobbZ[m]> What do you mean by "safe"?
sangoma has joined #nixos
<nij> I hope nix has a way to avoid users from compiling code without mentioning run time dependencies.
<nij> I'm a bit confused because my impression is we don't need to mention the run time dependencies in either the builder or the nix expression for the code to be compiled.
<immae> nij: are you thinking of a situation where a program foo would do an exec*('bar') call while 'bar' may not be available in the system because the call is hardcoded, for instance?
ScottHDev4 has quit [Ping timeout: 256 seconds]
fooker has quit [Ping timeout: 240 seconds]
<typetetris> Is library profiling enabled by default in haskellbuilds in nixos?
<siraben> Can anyone else verify that "nix-shell https://github.com/siraben/MozWire/tarball/nix-build -A package" works? I sent the command the a friend and his cargoSha256 came out different
<siraben> But it works on darwin and NixOS for me
<nij> immae: more or less yes. Or even 'bar' is in `/usr/bin..`
<nij> immae: I hope things compiled from a nix derivation will be 100% reproducible.
<immae> in that case, the only way to ensure it is as NobbZ[m] said: you as a packager need to know that bar needs to be in the PATH and act accordingly
m_hackerfoo has joined #nixos
<immae> you cannot really do magic here if you don’t know what is called
HackerFoo has joined #nixos
<immae> (how about a user-given string for instance)
<nij> :(
<nij> so nix doesn't check that for us
<immae> how could it do that?
<srk> typetetris: yes it is
<immae> however if the compiler does exec('/nix/store/abcd-bar/bin/bar') then nix will see it and keep it in the closure
ScottHDev4 has joined #nixos
<nij> immae: yeah... I see. So it cannot do all the magic.
<immae> it does the magic that can be parsed :p
<nij> I'm taking nix-pill #9, and it seems it claims that under certain situations nix can tell.
<immae> the rest is difficult
<nij> It will know the list of run-time dependencies.
<nij> But maybe it's not "perfect".
<immae> yes
<srk> runtime deps for libs but not for executables
<typetetris> srk: Thank you!
<immae> As far as I know the way to find runtime deps is to find /nix/store in the resulting files
<nij> immae: hmm does that mean in some cases while we compile packages for nixos
<nij> we should expect to be resolving missing run time dependencies?
<immae> I didn’t understand your question sorry
<nij> we need to point out which run time dependencies the package *will* use
<immae> yes
<immae> it’s quite rare though
<nij> Interesting
<immae> but a wrapper which pre-sets the PATH is usually the way to go in that situation
<nij> But even if we overlook it.. it can still compile correctly right in some cases?
<immae> yes
<nij> :(
<nij> Wow this sounds complicated. How would one test if a binary is correctly compiled then?
<immae> A way to prevent that is to have a testing phase that runs the program
<nij> I see.
<nij> But testings are not perfect either. For this we should just cross our fingers?
<immae> if it exec’s a program that don’t exist then you’ll see the failure
<immae> yes
<immae> if you miss the path then you miss it
<nij> I see! Thank you that clears my head!
<immae> I would say it’s the responsibility of the programmer to at least mention the depndency somewhere, and then from the nix packager to ensure that the dependency is honored
<nij> (If nixos takes over the world one day, this will be easier as all dependencies will be mentioned in the code with a hash version)
<siraben> Can anyone test nix-shell https://github.com/siraben/MozWire/tarball/nix-build -A package? I'd like to know why the cargo hash seems to change from user to user
fooker has joined #nixos
<immae> (it doesn’t need to take over the world, only to package every existing software :p )
<typetetris> Can it be that `extra-source-files` in a cabal file is ignored by cabal2nix?
<nij> I mean, people writing new software have to have nix mindset!
<immae> the problem would be the same in every OS if you forget to specify a depdnency
<immae> siraben: it should change depending on the cargo version
<immae> (and the nix version)
<nij> I see :)
<siraben> immae: How do I pin that?
<immae> siraben: you can either do an if statement to handle several cases, or do an assert to ensure the version matches
waleee-cl has joined #nixos
<immae> siraben: or you can pin the nixpkgs version in the default.nix file
nij has quit [Quit: leaving]
<siraben> immae: Pinning nixpkgs will also ping cargo?
<siraben> pin*
<immae> yes
<immae> although it won’t ping nix
rardiol_ has quit [Ping timeout: 260 seconds]
<immae> ping*
<immae> ...
<immae> pin*
<immae> (damn muscular memory)
<siraben> I see. I'll try that
<siraben> immae: out of curiosity does the above nix-shell command work for you?
<immae> on nixos?
rardiol has joined #nixos
<immae> It builds even on non-nixos
<siraben> immae: Yes
<immae> nix 2.3.3 and cargo-1.45.0
<siraben> Ah.
<siraben> nix 2.3.7 cargo 1.45.1 ere
<immae> (I think the issue with nix is only for < 2.2 and >= 2.2)
<siraben> here*
bqv has quit [Ping timeout: 260 seconds]
<siraben> you're on darwin, right?
zebrag has quit [Ping timeout: 240 seconds]
zebrag has joined #nixos
<immae> no
<siraben> ah, what then?
<immae> Archlinux for the one I tested with
<siraben> I see
<immae> (that’s why I asked if you wanted to test on nixos or not, but it should not make a difference)
meh` has joined #nixos
<siraben> Ok I'll use https://github.com/NixOS/nixpkgs/archive/20.03.tar.gz as the nixpkgs to pin against, now it downloads a lot to build it
la-jesystani has quit [Ping timeout: 265 seconds]
<immae> it will anyway. If it fails it’s after that step
<immae> (it needs cargo to compute the cargoSha256 and only after will he complain of a mismatch)
alp has joined #nixos
xd1le has quit [Ping timeout: 244 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixos-homepage] @matthiasbeyer opened pull request #503 → Add missing quote → https://git.io/JJAkf
<{^_^}> [nixpkgs] @fgaz opened pull request #95797 → hivelytracker: init at unstable-2020-02-10 → https://git.io/JJAkT
<alexarice[m]> Have modules been made less lazy recently (perhaps in https://github.com/NixOS/nixpkgs/pull/82743 ?), I have a config for emacs that worked before but is now complaining about options not existing
<{^_^}> #82743 (by Infinisil, 22 weeks ago, merged): Freeform modules
Mateon1 has quit [Remote host closed the connection]
Mateon1 has joined #nixos
<{^_^}> [nixos-homepage] @edolstra merged pull request #503 → Add missing quote → https://git.io/JJAkf
<{^_^}> [nixos-homepage] @edolstra pushed 3 commits to master: https://git.io/JJAIB
whald has joined #nixos
noudle has quit []
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #95791 → haskellPackages.snap-templates jailbreak → https://git.io/JJNhQ
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JJALh
<{^_^}> [nixpkgs] @Atemu opened pull request #95799 → nvidia_x11: 450.57 -> 450.66 → https://git.io/JJAtF
mallox has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @zowoq merged pull request #95754 → mozwire: init at 0.4.1 → https://git.io/JJNkt
<{^_^}> [nixpkgs] @zowoq pushed 2 commits to master: https://git.io/JJAqr
sdsv has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @oxzi opened pull request #95800 → claws-mail: patch mailto handling → https://git.io/JJAqH
sputny has joined #nixos
<{^_^}> [nixpkgs] @arcz opened pull request #95801 → secp256k1: 2017-12-18 -> 2020-08-16 → https://git.io/JJAqx
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/JJAm3
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-20.03: https://git.io/JJAmZ
HeN has quit [Quit: Connection closed for inactivity]
<infinisil> alexarice[m]: Indeed that PR changed that unintentionally. Is that a problem for your codebase?
<{^_^}> [nixpkgs] @JohnAZoidberg merged pull request #95550 → psrecord: 1.1 -> 1.2 → https://git.io/JJdcj
<{^_^}> [nixpkgs] @JohnAZoidberg pushed 2 commits to master: https://git.io/JJAm1
zupo has joined #nixos
noonien has joined #nixos
ScottHDev4 has quit [Quit: Ping timeout (120 seconds)]
ScottHDev4 has joined #nixos
stree has joined #nixos
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @JohnAZoidberg merged pull request #91822 → orcania: 2.1.0 -> 2.1.1 → https://git.io/JJf9K
<{^_^}> [nixpkgs] @JohnAZoidberg pushed 2 commits to master: https://git.io/JJAYf
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #93654 → jellyfin 10.5.5 -> 10.6.0 → https://git.io/JJlZ6
<{^_^}> [nixpkgs] @AndersonTorres pushed 3 commits to master: https://git.io/JJAYa
meh` has quit [Ping timeout: 240 seconds]
philr has quit [Ping timeout: 256 seconds]
balaclavas[m] has joined #nixos
<{^_^}> [nixpkgs] @JesusMtnez opened pull request #95802 → coursier: 2.0.0-RC6-18 -> 2.0.0-RC6-24 → https://git.io/JJAOq
stree has quit [Quit: Killed at terminal.]
dingenskirchen has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c8d79aa989a (from 54 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
dingenskirchen has quit [Client Quit]
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
orivej has quit [Ping timeout: 265 seconds]
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cassidy_ has joined #nixos
rardiol has joined #nixos
cassidy_ has quit [Client Quit]
lsix has quit [Ping timeout: 260 seconds]
stree has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
jazmit has joined #nixos
<jazmit> Hi folks.
<eyJhb> Having src = http:// etc. without quotes, that is not valid, right?
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
lsix has joined #nixos
cosimone has joined #nixos
growpotkin has joined #nixos
<infinisil> eyJhb: It is, but deprecated, see #45
<{^_^}> https://github.com/NixOS/nixpkgs/pull/45 (by 7c6f434c, 8 years ago, merged): TeXLive: update to 2012 snapshot from Debian
<infinisil> eyJhb: It is, but deprecated, see rfcs##45
<infinisil> eyJhb: It is, but deprecated, see rfcs#45
<{^_^}> https://github.com/NixOS/rfcs/pull/45 (by 7c6f434c, 1 year ago, merged): [RFC 0045] Deprecating unquoted URL syntax
<infinisil> Whoops
<{^_^}> [nixpkgs] @primeos opened pull request #95803 → chromium: 84.0.4147.125 -> 84.0.4147.135 → https://git.io/JJA3L
dingenskirchen has joined #nixos
<eyJhb> What.. What happened infinisil ?
<infinisil> Oh I just messed up the link to the rfc
<eyJhb> Perfect, I will then convert this then
<jazmit> I'm fairly new to nix and have run into a roadblock trying to build my project with nix.. I want to check out and build different versions of a project from git from my default.nix, but don't want to include the full path to the repository, I'd rather use a relative path, but having trouble getting this to work. Eg:`'cd myproject; nix-prefetch-git
<jazmit> ./.` gives 'does not appear to be a repository'.
urkk has joined #nixos
<jazmit> Does anyone have any ideas?
<eyJhb> infinisil++
<{^_^}> infinisil's karma got increased to 336, that's Numberwang!
<simpson> jazmit: Like, the way that the `repo` tool works? You probably will have better luck using fetchgit/fetchFromGitHub to do your git fetches.
ScottHDev4 is now known as ScottHDev
ScottHDev is now known as Guest62892
<jazmit> @simpson Thanks! I originally ran into the problem trying to use fetchGit , eg: "fetchGit { url = "./."; ref = "master" }
Guest62892 is now known as ScottHDev4
<simpson> jazmit: Yeah, that's probably not what you want. If you really do want to refer to a local nearby directory, you can insert its path directly, as `./.` but there's probably something better. You want that local repo to take on many different versions? Why not fetch the many different versions from your upstream repo?
gthm has quit [Ping timeout: 265 seconds]
<simpson> In general, if a project needs some sort of subproject to be built, then we write a separate derivation for the subproject and patch the main project's build instructions to use our version.
<alexarice[m]> infinisil: It caused a problem with how I was doing stuff, but I think I've fixed it, is there somewhere with a list of all the current module changes as I think I might be able to make my code less hacky
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jazmit> @simpson That's great I'll try out the quoting. As for the overall approach, I'm trying to set up green/blue deployments using nixops, and use a single repo for all code and deployment code for the project. At deployment time, I want to deploy the current and previous versions of the project in staging, production, testing, etc - that's why I
<jazmit> want to check out previous versions of the repo that the default.nix is contained ins why
<infinisil> alexarice[m]: I'm interested in how this caused problem, to know whether it's a problem in nixpkgs that needs fixing or not
<infinisil> alexarice[m]: I guess this is a decent list of module system changes: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+label%3A%226.topic%3A+module+system%22+is%3Amerged
<jazmit> @simpson I suppose the deployment code could be kept in a different repo from the main project, but I'd prefer to have it all in the same repo if possible.
<{^_^}> [nixpkgs] @primeos pushed to master « glances: 3.1.4.1 -> 3.1.5 »: https://git.io/JJAsq
proofofkeags has joined #nixos
<alexarice[m]> infinisil: I very much doubt it as what I was doing was very hacky. Basically I have an option `package.<name>` defined as a submodule with some fields common to all packages, but then on some packages I had defined extra package specific settings under `package.<name>.settings`.
<simpson> jazmit: Ah, sure. When I needed this, I parameterized *nixpkgs* instead, and had nixpkgs branches for different deployments. But I also spent a lot of extra time making sure that there were never machines stuck and not able to update, which a lot of folks don't bother to do.
<{^_^}> [nixpkgs] @marsam merged pull request #95780 → buildpack: 0.7.0 -> 0.13.0 → https://git.io/JJNyh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJAsG
<infinisil> alexarice[m]: I see (somewhat), is the code public?
<alexarice[m]> However this doesn't work that easily so to fix it I eval all the package modules, collect all the settings, and then eval all the modules, but stripping the `options` part from the package modules
<alexarice[m]> and passing the precompiled options in
<jazmit> @simpson Wow I never thought of doing that, I just import nixpkgs at a pinned version. Sounds like a lot of work to keep all the branches up to date?
<alexarice[m]> infinisil: Sure, this is the hacky bit https://github.com/alexarice/nixmacs/blob/master/default.nix
<alexarice[m]> The fix I have found for now is to strip the config sections when getting the package settings
<alexarice[m]> The change is that before, assigning to an undefined option underneath a `mkIf false` was fine, as now it is not
<alexarice[m]> I don't know if this change would effect nixpkgs
<simpson> jazmit: Yeah, this is part of the cost of deploying services; somebody's gotta maintain it. It's not very much effort, *if* your team makes a constant point of ensuring that contributions can go upstream. (But also some groups have completely forked nixpkgs; YMMV.)
<urkk> It looks like the pkgsStatic.nix fails when using a busybox shell within /nix/store in a machine without /nix (using --store)
<alexarice[m]> infinisil: Is this sort of setup (having some specific settings in a submodule setup) something that these freeform modules can do?
zupo has joined #nixos
proofofkeags has quit [Ping timeout: 246 seconds]
<urkk> Not sure how can I override the sh to point to my local busybox: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/package-management/nix/default.nix#L114
never_released_ has quit [Remote host closed the connection]
never_released has joined #nixos
cfricke has quit [Quit: WeeChat 2.9]
<infinisil> alexarice[m]: I don't get it entirely still just yet, but maybe what would work for you is to use `config = optionalAttrs (options ? the.option.you.need) { the.option.you.need = ...; }`
<infinisil> This pattern allows you to define values only if an option exists
<infinisil> Though it's still a bit hacky, ideally the option always exists and should just not have any effect if it's not needed in the end
<alexarice[m]> The issue is giving a type to `package.<name>.settings`
<alexarice[m]> as the type depends on `<name>`
<infinisil> Ahh I think I see now
<simpson> jazmit: Thinking on your situation more, I used to do something analogous to exactly what you want (but with Fossil instead of git), and the overall workflow was to switch between revisions of the entire repo with my nixops .nix configuration. Fossil quirks made it painful to maintain this for any length of time, so it usually only happened if something broke while adding a new machine to the fleet.
<alexarice[m]> I couldn't think of a neat way to do it when I originally did it
<simpson> But Nix and nixops didn't know about the repo management happening under the hood, and didn't do any special fetches; I just wrote `./nix` and `./nixops` to address my .nix folders.
<alexarice[m]> as it is nice to have the package options in the same file as the package config, but this seems to require evalling all the modules to collect them up
<infinisil> alexarice[m]: What you can do is: Create a single option `package = mkOption { type = attrsOf (submodule ({ name, ... }: { options = ...; })); }`
<infinisil> Oh and I have more um
<infinisil> So above would allow you to define arbitrary `package.foo = { <package options>; }` with foo being anything. The name can be used inside the submodule
<infinisil> (here it would be `name = "foo"`)
mallox has joined #nixos
<infinisil> alexarice[m]: The problem with above is that you wouldn't expose package-specific options, so what you can go for instead is a submodule like this:
* infinisil thinking
proofofkeags has joined #nixos
<infinisil> Wait no I'm still a bit confused
<alexarice[m]> I think what you've written at the moment is what I have?
<infinisil> Oh hm, I was looking at options.package.xah-fly-keys.settings
<infinisil> Wait so you have both `options.package = mkOption` and packages define their own options in `options.package.<name>`?
<alexarice[m]> yes
<alexarice[m]> it's really hacky
<infinisil> Yeah that would not be allowed with a vanilla module system eval
<azazel> anyone working on a nixops plugin for Proxmox VE?
<infinisil> alexarice[m]: And I guess you use `options.package = mkOption` so people can also assign custom config for packages that don't have their own module?
<alexarice[m]> I guess the real solution would be to put package specific settings under something like `package-settings.<name>`
<alexarice[m]> infinisil: yeah lot's of packages are fine with the defaults
<alexarice[m]> and they all share loads of options
<infinisil> alexarice[m]: This actually looks like pretty much what freeform modules can be used for
stephaneyfx has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
<infinisil> Um, `options.package = mkOption { type = types.submodule { freeformType = attrsOf (submodule ...); }; }`
<alexarice[m]> infinisil: so the freeform bit would be a "setting-less package"
<alexarice[m]> and then the ones that want special stuff define their own options?
<infinisil> This allows arbitrary packages to define package.foo.<any options in the ...
<infinisil> alexarice[m]: Yeah
<{^_^}> [nixpkgs] @eyJhb opened pull request #95804 → androidenv: fix convert files not quoting urls → https://git.io/JJAGP
<infinisil> Special options for certain packages would be defined (in the packages module) with `options.package = mkOption { type = types.submodule { options.my-package.settings = ...; }; }`
<alexarice[m]> Would all the package specific options need to be defined in the same file as `options.package`?
<infinisil> The module system then merges both assignments of the `package` option
<infinisil> alexarice[m]: Nope, because ^
<alexarice[m]> ah great, I will give it a try at some point
<{^_^}> [nixpkgs] @eyJhb opened pull request #95805 → Androidenv update → https://git.io/JJAGS
<infinisil> As long as all option assignments are compatible (mainly they use the same type, types.submodule here), they are merged together
eoli3n_ has quit [Ping timeout: 256 seconds]
drag0nius has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #95793 → strawberry: 0.6.13 -> 0.7.2 → https://git.io/JJAe3
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JJAG7
<alexarice[m]> infinisil++
<{^_^}> infinisil's karma got increased to 337
proofofkeags has joined #nixos
<drag0nius> how "stable" is the unstable branch of nixos system and how could i possibly switch to it from 20.03 ?
<infinisil> :D
multun has quit [Read error: Connection reset by peer]
<azazel> too much karma!
<eyJhb> Fairly stable drag0nius , and by replacing your channel with the unstable
<eyJhb> infinisil: do you have time for a small pr?
<azazel> drag0nius: see the help for nix-channels
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eyJhb> Basically, sudo nix-channel --remove nixos, sudo nix-channel --add url nixos, sudo nix-channel update
<jazmit> @simpson Unfortunately I don't see how that could work for me while sticking to one repo - I want to deploy an instance of nginx which contains static files for multiple versions simultaneously, so one run of nixops needs to pull in multiple versions.
<drag0nius> i want to run k3s on nixos, looks like it's only in unstable and when i simply used the unstable package i'm getting error while loading shared libraries: libseccomp.so.2: cannot open shared object file: No such file or director
<infinisil> eyJhb: Me specifically?
<drag0nius> not sure if it's the issue with package or not running whole unstable channel
<simpson> jazmit: I'd completely separate app from deployment if that's the case, so that the deployment can cleanly instantiate multiple apps.
<azazel> drag0nius: the only caveat i see using unstable is with packages like VirtualBox that need to be built at every upgrade, and sometime they fail
<lunik1> every package should have a copy of its dependencies
ambroisie has quit [Remote host closed the connection]
<eyJhb> infinisil: yeah, it was just about what we discussed earlier https://github.com/NixOS/nixpkgs/pull/95804
<{^_^}> #95804 (by eyJhb, 5 minutes ago, open): androidenv: fix convert files not quoting urls
<azazel> i've the switched to using libvirt and virt-manager
<eyJhb> Where the convert files did not quote the urls
mallox has quit [Quit: WeeChat 2.9]
<eyJhb> You know I am a master of spotting online people who can merge stuff :p
<lunik1> I usually run stable and cherry-pick a few unstable packages
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<infinisil> eyJhb: I guess I can merge it when CI passes, but I think it would be better in general to just post the PR in #nixos-dev without mentioning anybody specifically :)
<drag0nius> is it possible to use unstable nixos configuration?
<eyJhb> infinisil: I am always in doubt, if -dev is for the development of Nix/NixOS
multun has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #95787 → dbeaver: 7.1.4 -> 7.1.5 → https://git.io/JJN7b
<eyJhb> But, does CI ever pass? Also, the files edited will only run on user interaction :p
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJAZq
<eyJhb> Let me put it in -dev ;)
bennofs has joined #nixos
Rusty1 has joined #nixos
<jazmit> @simpson I see, I'll think about that. I tried out using fetchGit with url = "./." which fails, but using a path literal url = ./. works. But from my understanding, the path literal pulls in the entire contents of the directory as a single derivation? Could that become time-consuming?
multun has quit [Read error: Connection reset by peer]
<drag0nius> also i wonder if it makes sense to link 3 nixos instances running on raspberry with nix-serve binary caches?
<drag0nius> so when i build something locally i'd have it on all 3 at once
ambroisie has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e7139f46cdb (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<simpson> jazmit: Yeah.
<{^_^}> [nixpkgs] @danieldk merged pull request #95730 → qt5ct: 1.0 -> 1.1 → https://git.io/JJb8I
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJAZa
orivej has joined #nixos
<evanjs> jazmit: there are ways to filter that stuff out
<jazmit> @simpson And I'd be pulling in god-knows-what temporary files and unmodified changes from a dev workstation, that would change the derivation hash... so no good
<jazmit> @evanjs ooh tell me!
<evanjs> hercules/gitignore-nix is one way, and includes a comparison matrix of (at least several of) the available options https://github.com/hercules-ci/gitignore.nix#comparison
multun has joined #nixos
<jazmit> @evanjs Awesome, thanks!
<simpson> jazmit: OTOH, building from a dirty working tree is a common pattern. A possible solution is to make a subdirectory with just your nixops layouts, and another subdirectory with just your nginx app.
<evanjs> There are other builtins in nix, but this one seems to be more feature-complete, and I have been trying to use it whenever possible
<jazmit> It's just a bit weird that I can do 'git clone ./some/relative/path' but it doesn't work in nix, git-prefetch-nix doesn't seem to like relative paths either
<simpson> Well, you're still building a mental model for how Nix works. Once you grok Nix's patterns of operation, then you'll have an easier time of it.
<jazmit> @simpson @evanjs thanks for your help, I'll do some experiments with your ideas
<evanjs> That includes: an easier time of either getting things working idiomatically... or working around the limitations in creative ways :P
<evanjs> Like this project I now have in CI that is checked out before running crate2nix... from the CI... :P
<drag0nius> how can i switch nixos to some specific generation? not the last one
cap_sensitive has joined #nixos
<evanjs> like "nix-env {--switch-generation | -G} {generation}"?
<evanjs> (see nix-env --help)
<evanjs> "This operation makes generation number generation the current generation of the active profile. That is, if the profile is the path to the active profile, then the symlink profile is made to point to profile-generation-link, which is in turn a symlink to the actual user environment in the Nix store."
<cap_sensitive> Hi, How do I set a binary substitution on install time?
<drag0nius> @evanjs i mean for the whole nixos, not just nix
<drag0nius> i've got some invalid binary cache entries with wrong public keys added
<drag0nius> and need to rollback before rebuild
<evanjs> I mean there's activate I think
ManiacOfMadness` has joined #nixos
<evanjs> e.g. /nix/var/nix/profiles/system-1472-link/activate
jazmit has quit [Remote host closed the connection]
<evanjs> I think you can just run the activate script under a given generation? (somebody tell me if I'm wrong lol)
<evanjs> from one such script: # Make this configuration the current configuratio
<evanjs> # (which is a symlink to the store), /run/current-system is still
<evanjs> etc
erasmas has joined #nixos
alp has quit [Remote host closed the connection]
ddellacosta has joined #nixos
<ScottHDev4> Hello, I've upgraded my system and home-manager to nix-channel unstable and now I have a few things going wrong with KDE. First, I don't have any desktop. Everything works except the desktop (which includes my wallpaper and the possibility to draw rectangles with the mouse).
bennofs has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
bennofs has joined #nixos
lordcirth has joined #nixos
never_released has quit [Remote host closed the connection]
never_released has joined #nixos
alp has joined #nixos
user_0x58 has joined #nixos
user_0x58 has quit [Remote host closed the connection]
<drag0nius> FYI updating wholly to unstable channel solved my k3s libseccomp issues
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @JohnTitor opened pull request #95807 → cargo-tree: remove → https://git.io/JJAnj
<drag0nius> nice and my local network binary cache is working too :)
bennofs has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<iwq> nix used to recommend me a package to install if the command i typed is not installed, it stopped doing that for some reason, how do i get it back?
zupo has joined #nixos
never_released has quit [Remote host closed the connection]
<drag0nius> what would be way to go for managing differences between different nixos nodes configurations? eg. one is running the server and 2 are running clients
never_released has joined #nixos
metreo has joined #nixos
<lunik1> ,locate bin dig
<{^_^}> Found in packages: dnsutils.dnsutils
<lunik1> iwq: you can do that, but I don't know about reccomendations
<iwq> ^how does this work? is the bot open sourced somewhere?
titano has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
titano has joined #nixos
<{^_^}> [nixpkgs] @bennofs pushed to release-20.03 « lbzip2: fix build »: https://git.io/JJAc4
ManiacOfMadness` has quit [Ping timeout: 240 seconds]
<evanjs> I was trying to add the package overrides from the issue to my current hpkgs overrides
shibboleth has joined #nixos
<{^_^}> [nixos-weekly] @domenkozar merged pull request #132 → add nixcon 2020 cfp → https://git.io/JJNSD
<{^_^}> [nixos-weekly] @domenkozar pushed 2 commits to master: https://git.io/JJAcz
<infinisil> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<infinisil> iwq: ^
shibboleth has quit [Remote host closed the connection]
leocp1 has joined #nixos
<iwq> thanks
leocp1 has left #nixos [#nixos]
bennofs has joined #nixos
<evanjs> wondering if https://github.com/NixOS/nixpkgs/issues/26561 is related lol
<{^_^}> #26561 (by ElvishJerricco, 3 years ago, open): "haskellPackages.extend" and "haskellPackages.override" are incompatible
shibboleth has joined #nixos
<evanjs> "If you use extend to change stuff like the package set, it will remove override, preventing you from doing things like overriding the GHC used, or the all-cabal-hashes."
captn3m0- has joined #nixos
captn3m0 has quit [Ping timeout: 260 seconds]
jazmit has joined #nixos
<bennofs[m]> evanjs: i am not 100% up-to-date with the interactions of various override mechanisms right now, but what probably works is putting the overrides into their own overlay and stacking that overlay on top?
<bennofs[m]> ah no wait that has the same problem since you'd need to do super.haskellPackages.override...
<jazmit> @simpson @evanjs FYI I eventually found a workaround so simple I am banging my head I didn't think of it straightaway.. fetchGit { url = ./.git; rev = <whatever> }, this just brings in the .git directory which is exactly what we want anyway...
<simpson> jazmit: Whatever works for you.
<{^_^}> [nixpkgs] @Infinisil merged pull request #95804 → androidenv: fix convert files not quoting urls → https://git.io/JJAGP
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JJAch
<bennofs[m]> evanjs: ah, did that work? seems like it should
<evanjs> it _seems_ like it...
<evanjs> should work I mean, but
<evanjs> error: undefined variable 'overrideSrc' at /etc/nixos/config/new-modules/x/wm/xmonad.nix:39:24
<evanjs> why lol
never_released has quit [Remote host closed the connection]
<bennofs[m]> i guess that makes sense, where does overrideSrc come from in that overlay?
<jazmit> @simpson I first tried the 2-repo solution you recommended, but ran into issues because the repo is private and nix doesn't seem to access user ssh keys when building containers..
proofofkeags has quit [Ping timeout: 260 seconds]
never_released has joined #nixos
<jazmit> @simpson thanks again for your help it is appreciated
ManiacOfMadness` has joined #nixos
<evanjs> erm I switched only the xmonad-contrib back to what I had in my config previously. And also renamed `self: super:` in the recommended snippet to `hself: hsuper` so that worked with taffybar overlay from NickHu
<evanjs> now it's erm... compiling... *waits*
bennofs has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kreyren has quit [Read error: Connection reset by peer]
zupo has joined #nixos
noonien has quit [Quit: Connection closed for inactivity]
kreyren has joined #nixos
bennofs has joined #nixos
sangoma has quit [Ping timeout: 265 seconds]
jazmit has quit [Remote host closed the connection]
dingenskirchen has quit [Remote host closed the connection]
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nixos
<evanjs> oh, that might be why lol. the overrides didn't seem to come through :P
bennofs has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
bennofs has joined #nixos
never_released has quit [Remote host closed the connection]
<evanjs> bennofs[m]: overrideSrc = drv: { src, version ? drv.version }:
<evanjs> from pkgs/development/haskell-modules/lib.nix
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
never_released has joined #nixos
Ingor has quit [Remote host closed the connection]
<bennofs[m]> ah I see. But I think you need to use haskell.lib.overrideSrc or something
waleee-cl has quit [Quit: Connection closed for inactivity]
<bennofs[m]> I don't see how it would come into scope unqualified at that point, but depends on context of course
<evanjs> I guess lib.composeExtensions wouldn't pull it in?
<evanjs> and I guess I can just `with` it at that point
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
zebrag has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @peti pushed to master « python-osc: update to version 0.170.0 »: https://git.io/JJAWk
rardiol has joined #nixos
zebrag has joined #nixos
joehh1 has quit [Quit: WeeChat 2.4]
urkk has quit [Quit: leaving]
never_released has quit [Remote host closed the connection]
never_released has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
sputny1 has joined #nixos
<dbe2> How can I prevent nixops from generating an ssh key and sending it to my machines authorized_keys?
<evanjs> moved everything to a haskell overlay and seeing if that works
<evanjs> I should've done that earlier, anyway, as that should solve my "one central haskellPackages" thing in my config
sangoma has joined #nixos
<evanjs> And I won't have to awkwardly refer to it from everywhere
bennofs has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
sputny has quit [Ping timeout: 260 seconds]
sputny1 is now known as sputny
<{^_^}> [nixpkgs] @Mic92 merged pull request #94442 → Introduce BuildFHSUserEnv with Bubblewrap as an alternative to chrootenv → https://git.io/JJVUj
<{^_^}> [nixpkgs] @Mic92 pushed 10 commits to master: https://git.io/JJAWR
orivej has quit [Ping timeout: 264 seconds]
<evanjs> looks like that built..?
ManiacOfMadness` has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 merged pull request #95622 → buildRustPackage: add support for parallel build → https://git.io/JJFvj
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/JJAWD
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
never_released has quit [Remote host closed the connection]
never_released has joined #nixos
bqv has joined #nixos
domogled has joined #nixos
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #95809 → nixos/logrotate: switch `paths` option type from listOf to attrsOf (submodule ...) → https://git.io/JJAlR
<{^_^}> [nixpkgs] @0x4A6F opened pull request #95810 → timescale-prometheus: 0.1.0-beta.1 -> 0.1.0-beta.2 → https://git.io/JJAlg
<{^_^}> [nixpkgs] @stianlagstad opened pull request #95811 → python: wtf-peewee: 3.0.1 -> 3.0.2 → https://git.io/JJAlo
<{^_^}> [nixpkgs] @xworld21 opened pull request #95812 → perlPackages.LaTeXML: use host perl → https://git.io/JJAlX
smatting_ has quit [Ping timeout: 260 seconds]
shibboleth has quit [Remote host closed the connection]
shibboleth has joined #nixos
<evanjs> Omg I need to find out why .config/mimeapps.list keeps getting written... it will occasionally prevent home-manager from activating >_>
<iwq> how can I use a gpu driver from unstable if my nixos is stable? services.xserver.videoDrivers only accepts a list of strings
<srhb> evanjs: If that wasn't just frustration, the audit subsystem is useful for such things.
<srhb> evanjs: (that is, react on a certain file changing, recording what program, user, etc...)
bennofs has joined #nixos
never_released has quit [Remote host closed the connection]
never_released has joined #nixos
<evanjs> yeah I probably should try using something like that
cole-h has joined #nixos
disasm has quit [Ping timeout: 246 seconds]
<evanjs> clever: I will forever be "telling myself I need hydra"...
<evanjs> and that's probably it lol
<evanjs> unless nbathum wants to get some relatable examples set up on a box I can access :P
disasm has joined #nixos
bennofs_ has joined #nixos
<bqv> evanjs: you can set home.file.*.force
<bqv> So h-m will always overwrite it
<bqv> But seems like an impurity
<bqv> At least with mimeapps you might as well just see what was added, the app will probably out itself :p
<evanjs> bqv: oooo thank you!
<evanjs> yeah I have a vague recollection that it was either something on the NixOS side or just something like Postman
Batoeh has joined #nixos
never_released has quit [Remote host closed the connection]
<Batoeh> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
bennofs has quit [Ping timeout: 256 seconds]
never_released has joined #nixos
<Batoeh> Neat :D thanks bot.
Batoeh has left #nixos [#nixos]
lsix has quit [Quit: WeeChat 2.9]
julm has quit [Ping timeout: 256 seconds]
<evanjs> bennofs[m]++
<{^_^}> bennofs[m]'s karma got increased to 6
<Cadey> how do i trick nix into building me a chroot tarball?
<evanjs> looks like taffybar is up and running again, and I now have a single (and implicit :D) point of modification for haskellPackages 🎉
Dr8128 has quit [Ping timeout: 246 seconds]
user_0x58 has quit [Ping timeout: 244 seconds]
stevenroose has quit [Remote host closed the connection]
stevenroose has joined #nixos
<bqv> Cadey: buildvm. or install into a chroot, then tar it yourself
user_0x58 has joined #nixos
julm has joined #nixos
user_0x58 has quit [Ping timeout: 260 seconds]
sigmundv_ has quit [Read error: Connection reset by peer]
sigmundv_ has joined #nixos
<evanjs> TIL I can just use `--option builders <hostname/ssh config key>` to utilize my other computers (incl caches)
<evanjs> much easier than copying closures around or etc lol
<evanjs> oh and `--option max-jobs 0` so it doesn't try to build anything locally
sputny has quit [Remote host closed the connection]
meh` has joined #nixos
rogue_koder_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @stigtsp opened pull request #95813 → curl: 7.71.1 -> 7.72.0 → https://git.io/JJA4t
rogue_koder_ has joined #nixos
Peter_Storm has joined #nixos
zupo has joined #nixos
user_0x58 has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/fc966732c89 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
alp has quit [Ping timeout: 272 seconds]
adam_ has joined #nixos
<adam_> How do you install vim plugins which are not currently in nixpkgs? From github for example
alp has joined #nixos
<bqv> evanjs: yeah ikr
<bqv> Also --builders '' to turn builders off
<srhb> adam_: I would recommend packaging them.
<adam_> srhb: do you have any documentation/blog/video/resource you can point me to which shows an example?
<srhb> adam_: I would look at the packaging for an existing plugin that you're familiar with :)
<adam_> from the official nix repo?
<srhb> adam_: Yes, from nixpkgs :)
<adam_> So I looked into that, and I was having some issues
<adam_> Can I post a snippet on pastebin and maybe you can tell me why it's not liking it?
<{^_^}> [nixpkgs] @prusnak opened pull request #95814 → osslsigncode: unstable-2019-07-25 -> unstable-2020-08-02 → https://git.io/JJAB8
<srhb> adam_: Sure, or someone else might :)
<adam_> Just to make sure, I should follow the format in nixpkgs/pkgs/misc/vim-plugins/overrides.nix?
never_released has quit [Remote host closed the connection]
<srhb> adam_: From the name I assume it has something to do with packages that are not simply generated, but go on.
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JJABu
<srhb> adam_: (According to the docs, ... "Some plugins require overrides in order to function properly. Overrides are placed in [overrides.nix](/pkgs/misc/vim-plugins/overrides.nix). Overrides are most often required when a plugin requires some dependencies, or extra steps are required during the build process.")
<adam_> right, but I am working on things locally right, so I can't really follow that
<adam_> I am creating a vim-plugins folder within my ~/.config/nixpkgs/
<adam_> then inside there I created a overrides.nix
meh` has quit [Quit: I don't want to live on this planet anymore.]
<adam_> then within my ~/.config/nixpkgs/home.nix under vim-plugins I want I import my plugin
<adam_> I'll upload what I have to a repo. Give me 1 minute
<srhb> adam_: Sure.
<adam_> Actually I'll simlify it and inline the vim override to the home.nix and just share that
<adam_> that is my home.nix where I am trying to get coc-vimlsp
johnnyfive has quit [Quit: I quit now.]
johnnyfive has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<adam_> I am getting an error saying attribute 'buildVimPluginFrom2Nix' missing at /nix/store/.../nixos/lib/modules.nix
<srhb> adam_: OK, so, home.nix is a NixOS module
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<srhb> (or well, a home-manager module. Same for the purpose here, really)
<srhb> adam_: While it is a function, the argset has some very specific contents
<srhb> adam_: That is, config, pkgs, lib
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<srhb> adam_: What you are implying with your argset is that it contains bulidVimPl... and nodePackages
<srhb> adam_: It does not!
<srhb> adam_: You may have thought so because the argset in a number of package expressions look like they will conjure just about any package for you, and they will
<srhb> adam_: But this is a product of their caller, namely callPackage.
<srhb> adam_: NixOS modules take a very distinct form, and they are not called with callPackage, but composed together in the module system
<srhb> adam_: tl;dr: Get nodePackages and buildVimPluginsFrom2Nix from your `pkgs` attribute, and scrap the others from your top level argset.
<srhb> adam_: For more details on modules, here's some docs: https://nixos.org/nixos/manual/index.html#sec-writing-modules
<adam_> Okay so does pkgs have essentially all the namespaces within the entire nixos repo?
spudly- has joined #nixos
<adam_> How do you know which imports come from where?
CodeSpelunker has joined #nixos
<srhb> adam_: pkgs is all of the top level nixpkgs packages tree.
<adam_> I removed the top level imports: nodePackages and buildVimPluginFrom2Nix
<adam_> and prefixed them with pkgs at the call sites
<adam_> it still says attribute 'buildVimPluginFrom2Nix' missing at /home/adam/.config/nixpkgs/home.nix:6:16
<adam_> so the location of the error has changed
<srhb> adam_: buildVimPluginFrom2Nix is not actually a top level attribute of nixpkgs. It's in vimUtils or somesuch
<srhb> adam_: (That is, pkgs.vimUtils.buildVimPluginFrom2Nix)
<adam_> got it, does that mimic the top level structure of the nix repo? How do you find the attributes?
CodeSpelunker has left #nixos [#nixos]
<srhb> adam_: Not really, I'm afraid. For top level attributes, they're all* (almost) defined in pkgs/top-level/all-packages.nix
<srhb> adam_: For the rest, I grep.
spudly has quit [Ping timeout: 256 seconds]
spudly- is now known as spudly
<adam_> Got it
<srhb> And after grepping I find out what the file's attribute is called in all-packages.nix
<adam_> okay so I had to make it pkgs.vimUtils.buildVimPluginFrom2Nix
<srhb> Right.
<adam_> but it's pkgs.nodePackages
bogdb_ has joined #nixos
<srhb> Yes, nodePackages _is_ defined in top-level/all-packages.nix
<adam_> however, it seems like nodePackages doesn't contain coc-vimlsp
<adam_> so I'm assuming I need to package up the node module as well
drakonis1 has joined #nixos
<srhb> adam_: Sounds likely. Have you grepped for it?
<adam_> I haven't actually cloned down the repo. I have just been searching through github haha
<adam_> I guess I should probably clone and then do a little ripgrep action
<srhb> adam_: By the way, just before we go too far down this road: Are you aware that vimPlugins.coc-vimlsp was added to unstable on july 10th?
<srhb> adam_: to nixpkgs master* I should say
<adam_> I have unstable
<adam_> How come it doesn't have the package then?
<srhb> adam_: At which revision is your unstable?
<srhb> adam_: Are you on NixOS?
<adam_> I am!
<srhb> What does nixos-version say?
<srhb> The last component is the short sha1
<adam_> 20.09pre236721.840c782d507 (Nightingale)
<srhb> That looks quite new indeed.
<adam_> However, in my /etc/nixos/configuration.nix I'm seeing system.stateVersion = "20.03"
<adam_> what is that version for?
<srhb> That's fine
<bqv> ,locate gst-inspect-1.0
<{^_^}> Found in packages: gst_all_1.gstreamer.dev
<srhb> adam_: It's for keeping stateful data compatible, at first approximation. It's described in the manual.
<bqv> ,botsnack
<{^_^}> Oh thanks, have a cookie yourself
<{^_^}> [nixpkgs] @Mic92 opened pull request #95815 → Emacs updates → https://git.io/JJARZ
<adam_> so is there a way to use the master version as opposed to unstable
<srhb> adam_: What does `nix-build nixos.vimPlugins.coc-vimlsp` say?
<srhb> adam_: Oh, hang on, your unstable is just too old :)
<adam_> error: getting status of '/home/adam/.config/nixpkgs/nixos.vimPlugins.coc-vimlsp': No such file
<adam_> or directory
<adam_> I don't mind living on the bleeding edge haha
<adam_> worst case I can rollback haha
<adam_> Btw do I have to do garbage collection for home manager generations and nixos generations seperately
drakonis1 has quit [Client Quit]
<srhb> adam_: Upgrade your channel. And yes, my command there was wrong. I meant `nix build` not `nix-build`
drakonis1 has joined #nixos
<srhb> I'm juggling too many versions of nix...
<adam_> Okay I am running nix-channel --update
<srhb> adam_: iirc home-manager can be used as a NixOS module but I'm not sure if that means its generatios will actually be joined with your system generations. I think it should? Maybe someone will correct me.
<adam_> okay for some reason nix-channel --list only lists home-manager
<adam_> I was expecting unstable to be there too right
<srhb> adam_: It's most likely root's channel
<srhb> adam_: Called `nixos`
<srhb> adam_: (so, sudo)
<adam_> okay I readded the channel
<adam_> nix-channel --add https://nixos.org/channels/nixos-unstable nixos
<srhb> adam_: Wait, don't do that.
<adam_> now nix-channel --list shows both home-manager and nixos
<adam_> uh on
<adam_> too late haha
<srhb> adam_: Now you're very likely to get confused between when root's nixos channel and your user's channel takes effect
<srhb> adam_: For instance, nixos-rebuild will default to root's
<adam_> nixos-rebuild switch --upgrade
<adam_> so I shouldn't do that
<srhb> adam_: I recommend that you stick with having the one nixos channel that root owns.
<srhb> adam_: That command would still affect root's channel, not your users
<srhb> adam_: (See, it's already confusing)
<adam_> okay I did a nix-channel --remove nixos
<srhb> adam_: Great, now try listing and updating root's channels
<adam_> but sudo nix-channel --list shows unstable
<adam_> perfect
<srhb> Good. :)
<{^_^}> [nixpkgs] @prusnak opened pull request #95816 → nsis: 3.05 -> 3.06.1 → https://git.io/JJARz
<srhb> And now, nix build nixos.vimPlugins.coc-vimlsp should work
drakonis1 has quit [Ping timeout: 260 seconds]
<adam_> it did!
<adam_> Awesome
<srhb> of course we didn't learn a lot about nodePackages today. How sad. :)
<adam_> I can safely remove the result that got built right
<srhb> adam_: Yes, that's just a symlink to the store path.
nckx is now known as facebook
<adam_> okay cool, so pretty much now I can't use the actual nixos pacakage search feature right
facebook is now known as nckx
<adam_> I have to grep throught master to figure out what options I have
<srhb> adam_: Sorry, I didn't understand that.
<adam_> I guess what I'm asking is, how do I get a list of possible plugins I can install
<adam_> I have a very particular version of unstable right
<srhb> Oh, like, list all vimPlugins?
<srhb> Yes
<srhb> An exact commit
<adam_> If I clone the repo, and have the master branch, that is ahead of where I am
<adam_> If I look at the online site nixos has a package search feature
<srhb> adam_: Yes. You could check out nixos-unstable branch though
<adam_> That will be too old
<srhb> or just `nix search vimPlugins`
<adam_> seeing as it doesn't list coc-vimlsp
<adam_> so where do I get my particular list of available packages
<srhb> You doo need to throw -u at `nix search` once to update the cache though
<adam_> got it, so nix search is the best thing
<srhb> adam_: The only surefire way is grep at the same commit.
<srhb> nix search works for a lot of use cases though
<adam_> oh wow I have way more options now!
<bqv> ,locate libav
<{^_^}> Found in packages: avfs, wine, avahi, jdk11, jdk12, libav, avro-c, ffmpeg, mythtv, vacuum, avrdude, you-get, avidemux, avogadro, avro-cpp, ffmpeg_2, ffmpeg_4, inkscape, libav_12, palemoon, xpraGtk3, libav.dev, libav_0_8, libffcall, openjfx11, openjfx12, plan9port, ffmpeg.dev, ffmpeg.man, libavc1394, scilab-bin, ffmpeg-full, wineMinimal, wineStaging, avahi-compat, ffmpeg-sixel, ffmpeg_2.dev, ffmpeg_2.man, ffmpeg_4.dev, ffmpeg_4.man, and 30 more
rajivr has quit [Quit: Connection closed for inactivity]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bqv> Hey, anyone here use gnome?
<adam_> srhb: thanks a lot for all the help
<srhb> adam_: You're welcome.
<adam_> it still would be really helpful to know how to package new things. Because otherwise I'm tied down to whatever others upload
<srhb> adam_: btw, aside from you mentioning the name of the plugin somewhat early on, it was a classical X-Y situation. :D
armin has quit [Quit: leaving]
<srhb> adam_: Sure!
<adam_> I feel like there should a way to grab a package from github
alp has quit [Ping timeout: 272 seconds]
<adam_> specify a commit hash or something
<srhb> adam_: For many plugins, there really is.
orivej has joined #nixos
<adam_> for vim plugins you mean?
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<srhb> adam_: Yes :)
<adam_> I've been able to do it for Python, but it wasn't too easy
<adam_> not sure if you've done a lot of packaging python libraries
<srhb> adam_: Not a ton, but some
<adam_> but it's kindof a nightmare. or maybe it's user error haha
<srhb> adam_: No, the python dependency system is poorly suited to Nix in many cases
<adam_> I've been trying to package up jax and jaxlib. jax worked great, but jaxlib was not working for me
<srhb> adam_: So the translation is often cumbersome
<srhb> adam_: Nowhere near as bad as, say, maven. Or worse, sbt.
<adam_> I actually used fetch from pypi
<adam_> and specified a sha256 and a version number
<adam_> it works for some packages
<adam_> but for jaxlib it was saying none of the mirrors worked, and they received a 404
<srhb> adam_: That just sounds like a surprising URL.
<adam_> However, I actually checked on the pypi site itself, and found the download link, and hit it with wget and everything was fine
<srhb> adam_: I'd like to see that example.
<adam_> I tried the link that fetch from pypi was using and it was actually return a 300 or something saying that the site has permanently moved
<adam_> Sure! I'll try to reproduce it. Give me a couple minute
<srhb> ok :)
copy has joined #nixos
<adam_> Once I get that stuff done I feel like I should contribute those back up. Is that as simple as doing a pull request against master?
cosimone has quit [Remote host closed the connection]
<srhb> adam_: It is indeed.
<srhb> adam_: Often it's helpful to base off your usual channel branch (nixos-unstable) so you don't have to suffer all the master rebuilds.
<adam_> Because I was able to get stackify working. Pytorch was already in the store. However, Tensorflow is not so I also need to add that
<srhb> adam_: (But pr against master)
<srhb> Pretty sure tensorflow is in.
<adam_> See but if I pr against master how long before it actaully flows into the the branch I'm using?
<adam_> I ask because it seems like then I still have to maintain my private version until it's in the unstable version thats released
<srhb> adam_: Unfold the boxes on top here for channel update process: https://howoldis.herokuapp.com/
<adam_> then I have to migrate all my shell.nix to use the package rather then the hand rolled
<srhb> adam_: In practice, anywhere from one to a few days, and weeks in extreme cases of master breakage.
<adam_> okay a few days isn't bad
<srhb> adam_: It's easy to rebuild off your branch though
<srhb> adam_: nixos-rebuild -Inixpkgs=path/to/your/checkout
<adam_> Also I just checked and tensorflow is not in
<adam_> they have tensorflow-probability, tensorflow-tensorboard, tensorflow-estimator but not tensorflow itself
<adam_> that's rather strange haha
<srhb> adam_: Did you grep? :-)
waleee-cl has joined #nixos
<srhb> adam_: You're probably being hit by it being unfree and thereore not showing up in searches by default, unless you have unfree enabled.
<adam_> I do have unfree enabled
<adam_> in my /etc/nixos/configuration.nix
<adam_> I think I needed it for firefox or something
<srhb> adam_: And sadly that does not affect your userspace tools
<adam_> ah got it
<srhb> adam_: Which is deeply confusing.
<adam_> so I need to add the setting to my home manager somewhere?
<srhb> adam_: Your nixpkgs config.
<srhb> adam_: ~/.config/nixpkgs/config.nix -- { allowUnfree = true; } -- should suffice
<adam_> okay perfect, and then just hit it with a home-manager switch?
<srhb> adam_: The config should affect search tools immediately (after redoing the cache)
<srhb> It affects evaluation itself.
<adam_> dang it's still not showing up, I think that's because they have it for python2.7 but not 3.8
<adam_> they have it for 3.7 too
<srhb> adam_: Did you try nix search tensorflow?
<adam_> yeah thats how I found those
<srhb> Did you throw -u at it?
<adam_> Yeah!
<srhb> adam_: Something's wrong with your config.nix then
<srhb> You should see: nixpkgs.python37Packages.tensorflow
<srhb> (or well, nixos not nixpkgs in your case)
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to cuda11: https://git.io/JJA0s
Guest58790 is now known as shapr
<adam_> my~/.config/nixpkgs is just { allowUnfree = true; }
shapr has quit [Changing host]
shapr has joined #nixos
<srhb> ~/.config/nixpkgs/config.nix ?
<adam_> my~/.config/nixpkgs/config.nix is just { allowUnfree = true; }
<adam_> yeah
<__monty__> Btw, for a one-off command you can do `env NIXPKGS_ALLOW_UNFREE=TRUE nix search 'blah'`
<srhb> That looks right to me. Not sure what's wrong then.
BenjiProd has joined #nixos
<srhb> adam_: What does this way? `nix-instantiate --eval -E 'with import <nixpkgs> {}; config.allowBroken'`
<srhb> s/way/say
pfr has quit [Ping timeout: 256 seconds]
<srhb> Er, allowUnfree*
<adam_> true
<srhb> ... well, I'm stumped then :)
<adam_> I think everything is working because python37Packages.tensorflow exists
<adam_> just not python38Packages.tensorflow
<srhb> Everything but `nix search`
<bqv> Oh, I think I just fixed video in nyxt lol
<srhb> It should show up.
<adam_> I'll try rebooting
adam_ has quit [Remote host closed the connection]
<bqv> Turns out you need gstreamer plugins *in your system profile*
<srhb> Nah, no wor-- oh
<srhb> :P
<srhb> bqv: Ugh, impurities like that are a pain to figure out
<bqv> I really hope theres a better solution I'm just missing
adam_ has joined #nixos
<adam_> reboot didn't help, dang
<srhb> Didn't expect it to, but wasn't fast enough to stop you :P
<adam_> also it seems like some of the packages are not quite working as intented
<adam_> vim.coc-explorer didn't seem to install itself
<srhb> adam_: What do you mean?
<adam_> :CocCommand explorer command not found
xelxebar has quit [Remote host closed the connection]
<srhb> adam_: This is with adding it to your custom vim derivation?
xelxebar has joined #nixos
<adam_> well I added it to my vim.plugins [...] inside home maanager
<adam_> The rest of the plugins work, so I don't think that's the issue
<srhb> adam_: That's after rebuilding your home-manager generation?
<adam_> yessir
<adam_> I just installed airline 2 seconds ago to verify I'm not doing something insane
<adam_> and that worked right away
<srhb> adam_: It seems to rely on something called coc.nvim.
<adam_> Yup I have that installed too
<adam_> all the other coc plugins work
<adam_> coc-json, coc-pairs, coc-python
<adam_> jsut not coc-explorer
<srhb> adam_: I see.
<srhb> adam_: I can't reproduce that. But there seems to be a nasty node impurity here..
<adam_> yessir haha
<adam_> but coc is fantastic, it gives you great language server protocol support within vim
<adam_> autocompletion / goto definition / goto references
<adam_> It also has it's own set of extensions such as the explorer which is an alternative to nerd tree
<srhb> Yes, so I see.
<srhb> Anyway, it "works" here, but only because I abused the impurity and put node on path.
<adam_> I have nodejs on my path
<adam_> you're saying you were able to get coc-explorer working?
<srhb> Yes.
<srhb> I ran the install command though, should I not have?
<adam_> Which install command?
<adam_> Did you type CocInstall explorer?
<srhb> I dd.
<adam_> Ah yeah so you bypassed the nix pkgs and just allowed coc to manage things for you
<adam_> coc also has a built in package manager
<adam_> similar to vim plug
<adam_> I don't recomment using CocInstall because then you have to do that in each machine
<srhb> adam_: oh great >>
<srhb> I'm not going to be using this regardless, but sounds like sound advice.
<adam_> you can use let g:coc-global-packages = ['explorer'] or something like that
bogdb_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @jonringer merged pull request #95811 → python: wtf-peewee: 3.0.1 -> 3.0.2 → https://git.io/JJAlo
<{^_^}> [nixpkgs] @jonringer pushed commit from @stianlagstad to master « python: wtf-peewee: 3.0.1 -> 3.0.2 »: https://git.io/JJAEs
<adam_> then when you open vim it will download everything in that array
<srhb> Yikes.
<adam_> I mean it's not that different from nix is it
<srhb> I have no idea where it polluted my homedir :P
<adam_> declarative configuration of packages
<adam_> oh yeah you can really easily remove it
<adam_> just do CocUninstall or CocRemove I forget what they call it
<adam_> then just tab complete for Explorer
<srhb> Looks like it was in ~/.config/coc
<adam_> Yeah I recommend using coc for the lsp support even if you don't want the other stuff like explorer
<adam_> It also acts as a bridge between vim and vscode in the sense that it allows vscode extensions to be used from within vim
<adam_> so a lot of the propretary microsoft language servers for python just work in vim
<srhb> Maybe if it gets packaged more robustly. :) I'm not letting node loose on my system for now.
<srhb> Or maybe if I go ahead and impermanence my homedir.
<adam_> yeah thats why I'm adding coc-python to my home.nix in my vim-plugins
iyzsong has quit [Read error: Connection reset by peer]
leotaku has quit [Ping timeout: 260 seconds]
leotaku has joined #nixos
cap_sensitive has quit [Remote host closed the connection]
cap_sensitive has joined #nixos
cap_sensitive has quit [Remote host closed the connection]
cap_sensitive has joined #nixos
iyzsong has joined #nixos
Dr8128 has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #78787 → dotnet-sdk: Add Darwin support to dotnetCorePackages → https://git.io/JvOqH
adam_ has quit [Quit: Lost terminal]
<drakonis> oho
<drakonis> since when do we have dotnet in the repos?
<drakonis> alternatively, i realized that php doesnt need anything but direct dependencies for the php runtime
<drakonis> in the repos
<drakonis> as composer pulls in all the scripts
stephaneyfx has quit [Read error: Connection reset by peer]
stephaneyfx has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bd0e645f024 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
quinn has joined #nixos
<drakonis> the strangest stuff, really.
<{^_^}> [nixpkgs] @sbruder opened pull request #95817 → osu-lazer: add unfreeRedistributable license → https://git.io/JJAuY
nate48423 has joined #nixos
turlando has joined #nixos
<nate48423> denaro and the american government is getting my human brain and i go through things like no sleep, not comprehending, changing taste of food. please tell your world leaders i dont want amaerica to get my human brain and its serious terrorism going on in the country with denaro chips inside of people
<notgne2> uh
<bqv> drakonis: dotnet works, but good luck getting a full solution building through nix
<bqv> my little packagereference: nuget is pain
fendor has quit [Remote host closed the connection]
eoli3n_ has joined #nixos
noonien has joined #nixos
<noonien> hello folks
<noonien> does anyone have a multi-drive luks encrypted nixos server by any chance?
<{^_^}> [nixpkgs] @Lassulus merged pull request #92880 → snap7: init at 1.4.2 → https://git.io/JJYkl
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JJAuo
mallox has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #95757 → flashfocus: init at 2.2.2 & pythonPackages.xpybutil: init at 0.0.6 → https://git.io/JJNqh
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJAuD
veleiro has joined #nixos
veleiro has quit [Client Quit]
thc202 has quit [Ping timeout: 244 seconds]
Peter_Storm has quit [Quit: Connection closed for inactivity]
veleiro has joined #nixos
msuperdock has joined #nixos
<msuperdock> Can someone help me with a shell.nix issue? I've always used the pattern `(pkgs.haskellPackages.callPackage ./default.nix {}).env`, but now I'd like to add some buildInputs (like `cabal-install`). I tried wrapping the derivation in a call to overrideAttrs, but cabal still wasn't available in the resulting shell.
pfr has joined #nixos
sangoma has quit [Ping timeout: 246 seconds]
<infinisil> msuperdock: You need to use .env.overrideAttrs (old: ...)
<msuperdock> Ah, ok--will try that now.
<msuperdock> infinisil: That worked perfectly, thank you!
<infinisil> :)
<msuperdock> infinisil: is there a simple explanation why modifying the derivation itself doesn't work? I checked the resulting derivation and the `buildInputs` field under `env` does update like I'd want it to.
<{^_^}> [nixpkgs] @SCOTT-HAMILTON opened pull request #95818 → semantik: Init at 1.2.5 → https://git.io/JJAzH
Darkmatter66 has joined #nixos
Darkmatter66_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #95129 → mkDerivation: use `Generic` as system name for Redox in cmakeFlags → https://git.io/JJDQH
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JJAzA
<das_j> are there any example out-of-tree modules built for nixos? I found wireguard but their makefiles do a lot more that I expected
<das_j> current build process is `make -C $dev/lib/modules/*/build M=$PWD/module modules`
malook has joined #nixos
turlando has quit [Ping timeout: 265 seconds]
matthuszagh has joined #nixos
<matthuszagh> i'm trying to add flake inputs by programmatically creating a set and then combining this set with my other inputs
<matthuszagh> it looks like:
<matthuszagh>
<matthuszagh> overrides = import ./overrides.nix;
<matthuszagh> in
<matthuszagh> overrideInputs = mapAttrs' (n: v: nameValuePair (n + ".url") (v)) overrides;
<matthuszagh> {
<matthuszagh> inputs = {
<matthuszagh> nixpkgs.url = "github:nixos/nixpkgs/master";
<matthuszagh> home.url = "github:rycee/home-manager/bqv-flakes";
<matthuszagh> emacs-overlay.url = "github:nix-community/emacs-overlay";
<matthuszagh> } // overrideInputs;
<matthuszagh> however, this gives me
<matthuszagh>
<matthuszagh> { emacs-overlay = { ... }; home = { ... }; nixpkgs = { ... }; "paraview.url" = "github:nixos/nixpkgs/72158c231ae46a34ec16b8134d2a8598506acd9c"; "sageWithDoc.url" = "github:nixos/nixpkgs/7866440f1223dc447f38cb23c00e10b44b4c98fe"; }
<matthuszagh> why doesn't this work the way i expect it to/
<matthuszagh> ?
<infinisil> ,paste matthuszagh
<{^_^}> matthuszagh: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<bqv> matthuszagh: it looks rather disturbing to me that you have a let outside the flake content
<bqv> also you have no outputs
<bqv> what the heck is this
<matthuszagh> bqv: i didn't post the whole thing
<matthuszagh> there are outputs
<matthuszagh> i can post the whole thing if you want, but didn't want to overwhelm
<matthuszagh> infinisil: paste bin is above, thx
<typetetris> Can I use utf8 in nix files?
<bqv> safer to not
<matthuszagh> bqv: what's the problem with using a let?
<infinisil> typetetris: Do you know what utf8 is?
msuperdock has quit [Remote host closed the connection]
<bqv> matthuszagh: everything outside the outputs attr is "technically nix", not nix
<bqv> no guarantees that it works like normal nix, but it sure looks like it
<typetetris> infinisil: Yes and I get those errros: `UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 1603: ordinal not in range(128)` from nixops though.
fendor has joined #nixos
<bqv> matthuszagh: so the fact that it doesn't work doesn't surprise me at all
<matthuszagh> bqv: hm ok i don't follow. what is "technically nix" but not nix?
<matthuszagh> i can't just use anything built in?
malook has quit [Quit: malook]
<bqv> just move the let
<matthuszagh> bqv: to inputs = let ...?
<bqv> wait, you're trying to generate inputs with nix?
<bqv> no, that will not work
<bqv> that will definitely, definitely not work
<matthuszagh> bqv: haha ok. yeah i appreciate it's not normal. but out of curiousity what's the problem with it?
<infinisil> typetetris: Well, the question "Can I use utf8 in nix files?" doesn't make a lot of sense, because utf8 is a file encoding, it can't be used "within" a file
<bqv> matthuszagh: everything outside the outputs attr is "technically nix", not nix
<bqv> no guarantees that it works like normal nix, but it sure looks like it
<typetetris> infinisil: yeah sorry. So can nix/nixops read nix files encoded in utf8? Seems like nixops can't.
<matthuszagh> bqv: yeah i saw that comment the first time, but i still don't know what "technically nix" not nix means...
<das_j> bqv: So `inputs = import ./inputs.nix` won't work?
shabius_ has quit [Quit: Leaving]
<typetetris> infinisil: Makes it impossible to have nixops key files encoded in utf8 with unusual characters in them.
<bqv> if nix.exe can't read your flake.nix and see in almost literal verbatim { inputs.<yourinput>.url = "somestring"; } it will not use that input
Extends has joined #nixos
<bqv> normal nix eval doesn't start until the outputs attr is hit
<bqv> if you want more details, read the nix source. the best advice i can give you is just don't try and be clever outside the outputs attr
<infinisil> typetetris: Not sure, but from the error you get it appears it can't
<matthuszagh> bqv: ok, so i have to specify everything explicitly, got it. thanks for clarifying
<das_j> Thanks. I won't have to waste my time on flakes
<das_j> bqv++
<{^_^}> bqv's karma got increased to 18
<matthuszagh> bqv++
<{^_^}> bqv's karma got increased to 19
user_0x58 has quit [Ping timeout: 260 seconds]
user_0x58 has joined #nixos
cole-h has quit [Quit: Goodbye]
<typetetris> infinisil: nixops from nixos-20.03 still uses python 2 used a development version with python3 and it worked now.
niso has quit [Ping timeout: 240 seconds]
shabius has joined #nixos
niso has joined #nixos
cole-h has joined #nixos
cap_sensitive has quit [Ping timeout: 240 seconds]
rogue_koder_ has quit [Quit: Konversation terminated!]
cjpbirkbeck has joined #nixos
mounty has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #95711 → pythonPackages.rdflib-jsonld: init at 0.5.0 → https://git.io/JJbJr
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJA2G
work_ has joined #nixos
<{^_^}> [nixpkgs] @Tomahna opened pull request #95819 → metals: 0.9.2 -> 0.9.3 → https://git.io/JJA2W
BenjiProd has quit [Quit: Leaving]
lordcirth_ has joined #nixos
<energizer> cat ~/.config/nixpkgs/config.nix. -> {allowBroken=true; allowUnfree =true;}. `nix run nixpkgs.litecli` -> `is marked as broken, refusing to evaluate.` how to fix?
<cole-h> Are you using flakes?
lordcirth has quit [Ping timeout: 244 seconds]
<energizer> no
Peter_Storm has joined #nixos
kaliumxyz has joined #nixos
metreo has quit [Quit: Leaving.]
<simukis_> what is the correct way, given `pkg.propagatedBuildInputs` to compute the list with all of the build inputs that come through this attribute? (i.e. the fixpoint of tree traversal or whatever)
<{^_^}> [nixpkgs] @jonringer merged pull request #95756 → anydesk: 5.5.6 -> 6.0.0 → https://git.io/JJNIg
<{^_^}> [nixpkgs] @jonringer pushed commit from @mkg20001 to master « anydesk: 5.5.6 -> 6.0.0 »: https://git.io/JJAam
arjen-jonathan has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to master « libxmlb: 0.1.15 → 0.2.0 »: https://git.io/JJAa2
stteevveen has joined #nixos
cole-h has quit [Quit: Goodbye]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c8d79aa989a (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
matthuszagh has left #nixos ["ERC (IRC client for Emacs 27.1)"]
<stteevveen> There's something I don't understand with derivations. I have a derivation defined in a default.,nix which then calls callPackage on a derivation.nix that contains more details. I wish to use this derivation in another other one. Int eh buildInputs field I then have [ (import ../myfolder/default.nix) ] . But it complains with : error: while
<stteevveen> evaluating the attribute 'buildInputs' of the derivation 'cling' / cannot coerce a set to a string . Does it mean that buildInputs expects a list of string, in which case, what do this strings stand for, if not derivations produced by mkDerivations or others ??
o1lo01ol1o has quit [Remote host closed the connection]
<zangi> can I use `nixos-rebuild` with `-I nixos-config=/path/to/configuration.nix`?
<Extends> yes
mallox has quit [Quit: WeeChat 2.9]
gustavderdrache has quit [Quit: Leaving.]
o1lo01ol1o has joined #nixos
__monty__ has quit [Quit: leaving]
c74d has joined #nixos
<c74d> lassulus: well, `(import <nixpkgs/nixos> {}).config` worked to get my evaluated NixOS configuration, so thanks
<c74d> but then what I was trying to do with it (build a VM by running `nixos-rebuild build-vm` with a different configuration that pulls some data from my main configuration) ate so much memory that I saw my X server run OOM and crash for what I think was my first time, taking my user session with it :-)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/fc966732c89 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « pulseeffects: 4.7.3 → 4.8.0 »: https://git.io/JJAwO
<stteevveen> If I may rephrase my issue: mySecondDerivation = stdenv.mkDerivation { llvm = import ../llvm/default.nix ; buildInputs = [llvm]}; I simplify to the minimum, what's wrong with that ? where is a string coecion from a set needed in this expression that produces the error? the default.nix file in question of myFirstDerivation follows the callPackage
<stteevveen> patterns, so it only calls callPackage
morr has quit [Quit: WeeChat 2.7.1]
morr has joined #nixos
<typetetris> Does someone use hspec-discover with nix in a haskell project? In a shell, cabal complains hspec-discover would not contain the executable?
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JJAwu
shibboleth has quit [Remote host closed the connection]
akaWolf has joined #nixos
mounty has joined #nixos
jlslnx has joined #nixos
eoli3n_ has quit [Ping timeout: 240 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<{^_^}> [nixpkgs] @zowoq closed pull request #94574 → vend: Use nix-community fork of vend. → https://git.io/JJw4e
<{^_^}> [nixpkgs] @zowoq merged pull request #95487 → buildGoModule/vend: use upstream instead of fork → https://git.io/JJ56n
<{^_^}> [nixpkgs] @zowoq pushed to master « buildGoModule/vend: use upstream instead of fork »: https://git.io/JJArR
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<{^_^}> [nixpkgs] @zowoq merged pull request #93513 → buildGoModule: remove modSha256 → https://git.io/JJcSM
<{^_^}> [nixpkgs] @zowoq pushed 2 commits to master: https://git.io/JJAru
fendor has quit [Quit: Leaving]
Extends has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos merged pull request #95803 → chromium: 84.0.4147.125 -> 84.0.4147.135 → https://git.io/JJA3L
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JJArM
<Church-> Oh hey, my first PR finally merged. Nice
<genevino> weird question probably: does anyone of you use pulseaudio with a jack sink? i get jack working nicely and can use it from within renoise, but i'm struggling to let pulseaudio use it.
<stigo> Church-: cool :)
cosimone has joined #nixos
<Church-> Ya ya
garbas has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @primeos opened pull request #95820 → chromium: 84.0.4147.125 -> 84.0.4147.135 → https://git.io/JJArb
garbas has joined #nixos
<bqv> Church-: how long did it take?
<{^_^}> [nixpkgs] @ryantm merged pull request #95766 → fet-sh: init at 1.5 → https://git.io/JJNEu
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJAok
<Church-> bqv: About 3 weeks
<Church-> Actually merging down? About 3-4 days
garbas has quit [Ping timeout: 246 seconds]
niso has quit [Ping timeout: 256 seconds]
erasmas has quit [Quit: leaving]
Dr8128 has quit [Ping timeout: 240 seconds]
jlslnx has quit [Quit: leaving]
stteevveen has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @davidak opened pull request #95822 → statping: init at 0.90.63 → https://git.io/JJAKc
o1lo01ol1o has joined #nixos
kaivai has joined #nixos
cosimone has quit [Quit: Quit.]
tdeo has quit [Read error: Connection reset by peer]
tdeo has joined #nixos
tdeo has quit [Excess Flood]
kaivai_ has quit [Ping timeout: 246 seconds]
tdeo has joined #nixos
tdeo has quit [Excess Flood]
tdeo has joined #nixos
tdeo has quit [Excess Flood]
tdeo has joined #nixos
tdeo has quit [Excess Flood]
tdeo has joined #nixos
tdeo has quit [Excess Flood]
niso has joined #nixos
tdeo has joined #nixos
tdeo has quit [Excess Flood]
tdeo has joined #nixos
tdeo has quit [Excess Flood]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4dd782f5ddc (from 82 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
tdeo has joined #nixos
tdeo has quit [Excess Flood]
tdeo has joined #nixos
tdeo has quit [Excess Flood]
<iwq> how do I force update my nixpkgs after making changes in an overlay?
tdeo has joined #nixos
tdeo has quit [Excess Flood]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93298 → git-remote-hg: fix; refactor → https://git.io/JJZvl
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/JJA6Y
tdeo has joined #nixos
tdeo has quit [Excess Flood]
<iwq> weird, just opening a new terminal fixes my issue
tdeo has joined #nixos
tdeo has quit [Excess Flood]
mbrgm has quit [Ping timeout: 244 seconds]
mbrgm_ has joined #nixos
mbrgm_ is now known as mbrgm
tdeo has joined #nixos
tdeo has quit [Excess Flood]
tdeo has joined #nixos
tdeo has quit [Excess Flood]
diamondburned has quit [Remote host closed the connection]
philr has joined #nixos
diamondburned has joined #nixos
tdeo has joined #nixos
Peter_Storm has quit [Quit: Connection closed for inactivity]
Rusty1 has joined #nixos
evhan` has joined #nixos
evhan has quit [Ping timeout: 260 seconds]
delan_ has quit [Ping timeout: 256 seconds]
delan has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
tbenst[m] has joined #nixos
griff_ has joined #nixos
sigmundv_ has quit [Read error: Connection reset by peer]
sigmundv_ has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
<taktoa[c]> anyone able to merge https://github.com/NixOS/nixpkgs/pull/93703? it's been ready for a while
<{^_^}> #93703 (by taktoa, 3 weeks ago, open): osqp: init at 0.6.0
<{^_^}> [nixpkgs] @jonringer merged pull request #95799 → nvidia_x11: 450.57 -> 450.66 → https://git.io/JJAtF
<{^_^}> [nixpkgs] @jonringer pushed commit from @Atemu to master « nvidia_x11: 450.57 -> 450.66 »: https://git.io/JJAiO
alex82 has joined #nixos
alex82 has quit [Remote host closed the connection]
<tbenst[m]> Hello! I was hoping someone could help me with a question that for the life of me I can't figure out. I'm stuck failing to satisfy this assertion whenever I try to add MPI: https://github.com/NixOS/nixpkgs/blob/84cf00f98031e93f389f1eb93c4a7374a33cc0a9/pkgs/development/python-modules/h5py/default.nix#L5
<tbenst[m]> first, I'm honestly not sure what the `->` symbol does in Nix. The only reference I've found is at https://nixos.org/nix/manual/#idm140737321941632
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/fc966732c89 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<tbenst[m]> from this I gather it's something like if (left side of ->) then (right side of ->) else True
<samueldr> last element in the operators table
<tbenst[m]> ah thx samueldr !