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
<infinisil> ,nix-info vikingman
<{^_^}> vikingman: Run and share the output from: nix-shell -p nix-info --run nix-info
<vikingman> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.3.6, channels(root): "nixos-20.03.2735.e23e05452c6", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<alienpirate5> I'm on unstable-small and many, many packages are having build issues; rpcs3, qtwebkit, telegram-desktop, and freecad to name a few
Kritnich has joined #nixos
emmanuel_erc has quit [Ping timeout: 240 seconds]
Kritnich has quit [Client Quit]
<infinisil> vikingman: Discord was just updated to 0.0.11 for the stable channel a couple hours ago, see https://github.com/NixOS/nixpkgs/pull/94817
<{^_^}> #94817 (by jonringer, 4 hours ago, merged): Backport discord
Kritnich has joined #nixos
<infinisil> > stable.discord.name
<{^_^}> "discord-0.0.10"
<vikingman> i know but for now it seem to be stuck on 0.0.10
<infinisil> But this change didn't make it into the channels yet
emmanuel_erc has joined #nixos
<infinisil> > unstable.discord.name
<{^_^}> "discord-0.0.10"
<infinisil> Apparently not in unstable yet either
Fare has quit [Ping timeout: 260 seconds]
<vikingman> i know that why im stuck
<infinisil> Yeah I see now
<infinisil> Lemme give you a command to run an updated discord temporarily
<vikingman> with more knoledge on nixpkgs i will do it myself but im only using nixos for 6 month still a lot to learn
Kritnich has quit [Client Quit]
Kritnich has joined #nixos
<infinisil> Ah I guess this would be a good opportunity to teach you something
<infinisil> vikingman: Do you have a nixpkgs checkout already?
<vikingman> no
<infinisil> vikingman: Get one then with `git clone --depth=1 https://github.com/NixOS/nixpkgs`
<infinisil> Lemme know when you got it
<vikingman> done
<{^_^}> [nixpkgs] @marsam merged pull request #94792 → mcfly: 0.4.0 -> 0.4.1 → https://git.io/JJio8
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJPTg
samrose has quit [Ping timeout: 246 seconds]
samrose_ has joined #nixos
Kritnich has quit [Client Quit]
Fare has joined #nixos
Kritnich has joined #nixos
<infinisil> vikingman: Now `cd` into it and run `nix-build -A discord`
<infinisil> Once that command completes, you can run an up-to-date discord with `result/bin/discord`
<vikingman> hoo nice
<{^_^}> [nixpkgs] @matthuszagh opened pull request #94829 → Openmpi → https://git.io/JJPT5
h0m1 has quit [Quit: WeeChat 2.9]
h0m1 has joined #nixos
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
<infinisil> vikingman: I suggest just using that for the time being. The stable channel should update soon (I expect this to happen within the next 24 hours), at which point you can `nixos-rebuild switch --upgrade` again to get the update
<vikingman> thanks alot
<infinisil> Np :)
<infinisil> jonringer++ for the fast discord update & backport
<{^_^}> jonringer's karma got increased to 2
<vikingman> i was wondering why i was seeing 0.0.11 on github and received 0.0.10 even on unstable
penguwin has quit [Quit: NO CARRIER]
<infinisil> Yeah it's very recent, channels take a bit to update
penguwin has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJPkD
<energizer> do i need to have cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= in nix.conf trusted-public-keys?
<energizer> er, am i supposed to
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<infinisil> energizer: Yes
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
quinn has joined #nixos
drakonis has joined #nixos
maier has joined #nixos
maier has quit [Ping timeout: 240 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
emmanuel_erc has quit [Remote host closed the connection]
emmanuel_erc has joined #nixos
<colemickens> I'm going to assume jonringers karma overflowed or something.
Pidgeotto has joined #nixos
<infinisil> colemickens: Hehe, I expect it to rise heavily in the next months with him being release manager
markus1189 has joined #nixos
moet has joined #nixos
markus1199 has quit [Ping timeout: 240 seconds]
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94830 → petsc: 3.13.2 -> 3.13.3 → https://git.io/JJPLt
<moet> how can i make a project in a directory, foo/ build the projects in subdirectories like foo/a/default.nix, foo/b/default.nix ... there are dependencies between those subdirectories also
<moet> can i make a derivation which is "all of these" projects?
<moet> or, better yet, can i make a derivation which is "all of these" and only have one file `foo/default.nix`?
proofofkeags has quit [Remote host closed the connection]
<energizer> "error: executing SQLite query 'select path from Refs join ValidPaths on reference = id where referrer = ?;': database disk image is malformed (in '/nix/var/nix/db/db.sqlite')" what is this about and how do i fix it
h0m1 has quit [Ping timeout: 260 seconds]
<energizer> moet: import them and make a derivation that combines them
h0m1 has joined #nixos
<infinisil> moet: A simple way to have dependencies between them is having this in the root: `let a = import ./a {}; b = import ./b { inherit a; }; in <result derivation>`
<moet> energizer: i don't know how to "make a derivation that combines them"
<infinisil> And the subdir default.nix files have `{}: <derivation>` and `{ a }: <derivation>` in them
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94831 → pdns-recursor: 4.3.2 -> 4.3.3 → https://git.io/JJPL0
<energizer> moet: what are you trying to make?
<moet> infinisil: ah, that's helpful.. so it's very similar to the all-packages pattern in nixpkgs
<infinisil> moet: Yeah it's a bit related
<notgne2> I have a bit of a weird question about a patch I wrote for osu-lazer
<moet> energizer: i'd like a single nix-build to build executables in multiple packages and put them all in the same bin .. some of the packages build a server, some client, etc.
<notgne2> I noticed that multiplayer didn't work because they have tamper detection that verifies the hash of osu.Game.dll, so I wrote a patch which replaces that logic with a hardcoded hash from their appimage version
<energizer> moet: sounds like pkgs.symlinkJoin
<energizer> er
<energizer> not that
<infinisil> pkgs.buildEnv or symlinkJoin work
<notgne2> is this suitable to make a PR against nixpkgs for? it's technically bypassing their cheat/tamper detection, but it clearly wasn't helping them in any way regardless
proofofkeags has joined #nixos
<moet> thanks! i think i understand the pieces here
<notgne2> personally I think it's a bit absurd they included it to begin with, the game is free software, and if somebody wanted to tamper with it, nothing is stopping them from tampering with `osu.Game/OsuGameBase.cs` line 137 on the nixpkgs version, 140 on master
<notgne2> and setting the hash to be `253aa3a3a356a71295bf5b018cd4fda1`
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<betaboon> anyone knows how to get the i2c-device to show up on a raspberrypi 4 ?
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<moet> if i want them all to use the same pinned nixpkgs, i guess i could pass that in as an argument?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94832 → postgresql11Packages.pgrouting: 3.0.1 -> 3.0.2 → https://git.io/JJPLV
<infinisil> moet: Yea
<moet> can i "inherit" from an attribute set into a let?
<infinisil> > let attrs = { foo = 10; }; inherit (attrs) foo; in foo
<{^_^}> 10
<infinisil> moet: Like this ^ ?
<moet> that breaks my brain a bit .. i'm not sure
<{^_^}> [nixpkgs] @aszlig pushed to master « nixos/manual: Fix build »: https://git.io/JJPLM
<moet> infinisil: ijust realized the pattern above for handling interdependencies means that there's no way for me to build individual packages
<infinisil> moet: Why?
<moet> because when i'm in directory b/default.nix, i'd have to specify the a/ or the nixpkgs
<moet> *and
<moet> i guess i could use default arguments for b/default.nix to point at ../a/default.nix or something ..
<moet> but not for the pinned nixpkgs
<infinisil> moet: What you can do is add `// { inherit a b; }` at the end of your top-level default.nix
<infinisil> Then you can build individual packages with `nix-build -A a` in the top-level dir
<infinisil> Or `nix-build .. -A a` in a subdir
<moet> i'm lost now ..
<moet> while that makes sense, it's very different from how i've been doing things
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<moet> i'm used to using default.nix and selecting which package to build with `cd` ..
rajivr has joined #nixos
proofofkeags has quit [Remote host closed the connection]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
jybs has joined #nixos
<moet> I guess what you're describing is how to make the top-level default.nix have an attr set and then select the individual packages with -A?
<jybs> I'm looking at 'nix develop' and it's exactly what I want, but it doesn't exist on 20.03
<jybs> Is there a way to get that?
proofofkeags has joined #nixos
<jybs> (subcommand or functionality via another method)
<infinisil> moet: Yea
<infinisil> moet: But derivations themselves are attribute sets too, which is why something like `buildEnv { ... } // { inherit a b; }` would allow you to either do `nix-build` to build the buildEnv or `nix-build -A a` to build those a/b
<moet> infinisil: so what you're describing make the import structure match the directory structure, and then only have a single entry point at the root?
<infinisil> Yeah
<moet> infinisil: can i use that with nix-shell?
<moet> i guess it all depends what the root returns ..heh
<moet> ok, i'll try and see
<infinisil> moet: You can have `a/shell.nix` be `(import ../. {}).a`
<jybs> Is 'nix develop' only on unstable?
proofofkeags has quit [Ping timeout: 246 seconds]
ardumont has quit [Ping timeout: 272 seconds]
ardumont has joined #nixos
jybs- has quit [Quit: ZNC 1.7.5 - https://znc.in]
jybs- has joined #nixos
<jybs> Now I've got it, it core dumps. :-/
<{^_^}> [nixpkgs] @jerith666 closed pull request #94029 → OpenJDK: Update 11 and 14 per July 2020 CPU → https://git.io/JJETZ
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
ddellacosta has joined #nixos
orivej has joined #nixos
<moet> what's the difference between buildEnv and symlinkJoin?
<moet> seems like symlinkJoin is just more .. linky .. for the result/lib dir
<moet> in any case, i ended up with only one default.nix in the root level and used buildEnv to specify which of my packages had executables
<moet> thanks inifand energizer
<iwq> why does buildRustPackage need cargoSha256?
<infinisil> >> inifand
<infinisil> Close enough xD
<jybs> I'm really confused about the experimental nix command
<jybs> Is it meant to be drop in?
<jybs> It does *not* like my shell.nix files
<betaboon> on my raspberry i2c-problem: just had to do modprobe i2c-dev. how can i make that happen on boot automatically ?
<realisation> aha - I had a different idea about what nix-shell is than what the nix-pills are telling me
<realisation> I thought that nix-shell was for setting up an environment, so your project could have a shell.nix and use that to load all the dependencies it needs just to that one particular directory/shell
<realisation> but nix-pulls are telling me that nix-shell is for helping to build derivations
<realisation> nix-pills
<jybs> I use it for the first one
<jybs> Each project dir I work on has a nix-shell, which loads up all the stuff I need to interact it
<realisation> yeah hmm, that's what I want to use it for
<realisation> do you happen to know how that works with go and like the GOPATH?
<jybs> Well you can set the GOPATH to whatever you want
<jybs> I don't really use GO
proofofkeags has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @notgne2 opened pull request #94833 → osu-lazer: 2020.725.0 -> 2020.801.0 → https://git.io/JJPq1
<realisation> yeah, I am a newbie at go - my impression is that everything adds to the GOPATH and that's how many of these command line tools written in go supply themselves to the command line. I wonder how that changes in nix-shell...
<realisation> how does nix-shell work with your PATH variable anyway? do you need to supply all the dependencies explicitly in your shell.nix?
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
sigmundv has quit [Ping timeout: 260 seconds]
proofofkeags has quit [Ping timeout: 256 seconds]
<energizer> realisation: only if you pass --pure
<energizer> otherwise it will inherit paths
<energizer> can i delete /nix/var/nix/db/db.sqlite and somehow rebuild it? mine is apparently broken
patagonicus7 has joined #nixos
<realisation> hmm, so if it inherits paths, does that mean that I can mix specific derivations stated in my shell.nix with other ones that are generally available in my global context?
orivej has quit [Ping timeout: 240 seconds]
<energizer> yes
<moet> infinisil: oops, sorry i misspelled
orivej has joined #nixos
<realisation> if I want to use a derivation that is different from my global one, how would I do that?
<energizer> it will override the global one
patagonicus has quit [Ping timeout: 264 seconds]
patagonicus7 is now known as patagonicus
<realisation> Nice - just like that, great
<realisation> I see that there's baseInputs and buildInputs - would I want to use one in particular if I am just using nix-shell to create a development environment?
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<{^_^}> [nixpkgs] @bhipple opened pull request #94835 → pythonPackags.plaid-python: 4.0.0 -> 6.0.0 → https://git.io/JJPmW
<energizer> buildInputs
<energizer> pkgs.mkShell {buildInputs = [foo bar baz];}
<realisation> what are baseInputs for?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94836 → python27Packages.braintree: 4.2.0 -> 4.3.0 → https://git.io/JJPmg
<energizer> never heard of that tbh
<infinisil> realisation: baseInputs is just a nix-pills thing. It's buildInputs everywhere instead
<unclechu> hey, how do i override this `neovim` argument here?
<moet> how can i get out the first package passed into buildEnv so that i can access a property on it?
<unclechu> for `nixpkgs.neovim`?
<realisation> ha howabout that - thanks guys
<energizer> moet: there's probably a `first` function in lib.lists or something
<infinisil> unclechu: pkgs.wrapNeovim <your custom unwrapped neovim> {}
<unclechu> infinisil: oh, there’s a special helper for that, okay, thanks!
<infinisil> :)
<moet> energizer: that's helpful.. i'm wondering also about which of the properties of buildEnv's output i should look in.. right now i'm just printing out random attrs in nix repl
<energizer> that is what i would do
<realisation> can I use my nix-shell to set up an environment beyond just entering into it? can I use it to get some services started?
orivej has quit [Quit: No Ping reply in 180 seconds.]
<unclechu> infinisil: do i understand this right, those helpers are created kind of automatically using those `wrapper.nix` files for many applications?
<unclechu> it’s not specific to neovim only, right_
<infinisil> unclechu: Not automatically, but yes there's a convention around wrapping programs when they need it
<infinisil> Well not because they need it, but it just makes it more convenient
<moet> i guess the paths passed into buildEnv are mashed up in the output, so i can't access them anymore
orivej has joined #nixos
<unclechu> infinisil: okay, thanks for the confirmation of my assumption
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
<moet> ok, i just gave a name to the list and then used it in two places..
ogkloo has quit [Read error: Connection reset by peer]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<{^_^}> [nixpkgs] @aanderse opened pull request #94837 → nixos/gitlab: fix module after #94454 → https://git.io/JJPYL
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @groodt opened pull request #94838 → argo: 2.9.4 -> 2.9.5 → https://git.io/JJPY3
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
proofofkeags has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/825c68c4ae7 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<energizer> is it `-I ./nixpkgs` or `-I nixpkgs/..`?
proofofkeags has quit [Ping timeout: 256 seconds]
maier has joined #nixos
stephank0 has joined #nixos
proofofkeags has joined #nixos
<bqv> the latter...
<bqv> * former
<bqv> the latter doesn't make much sense
stephank has quit [Ping timeout: 240 seconds]
stephank0 is now known as stephank
maier has quit [Ping timeout: 256 seconds]
<energizer> ok. is it NIX_PATH=/my or NIX_PATH=/my/nixpkgs
<{^_^}> [nixpkgs] @marsam merged pull request #94832 → postgresql11Packages.pgrouting: 3.0.1 -> 3.0.2 → https://git.io/JJPLV
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJPOu
xkapastel has quit [Quit: Connection closed for inactivity]
<bqv> neither
<energizer> elaborate
<bqv> NIX_PATH=nixpkgs=/path/to/nixpkgs
Supersonic112 has joined #nixos
<bqv> which will indiscriminately clobber anything that was originally in NIX_PATH, fwiw, because it's an array
<energizer> what is my nix doing if i dont set nixpkgs=
<bqv> echo $NIX_PATH
Supersonic has quit [Ping timeout: 244 seconds]
Supersonic112 is now known as Supersonic
<energizer> empty
<bqv> you don't have channels installed?
<energizer> this system is screwy, i'm trying to make it reasonable
<bqv> as an example, if i echo $NIX_PATH, i get
<bqv> /home/bao/.nix-defexpr/channels:nixpkgs=/nix/store/arflmijkm4rmkdfk6m1sf9512lhnx63a-source:nixos-config=/etc/nixos/configuration.nix
<energizer> do you claim the b* namespace globally :)
`_ has joined #nixos
<bqv> heh
<infinisil> energizer: Did you set `nix.nixPath` in your configuration.nix?
<energizer> infinisil: not on nixos
<infinisil> That's a NixOS option though, you can't set it on non-NixOS
<energizer> i meant "i'm not on nixos"
<infinisil> Ah
<energizer> well, *i* am on nixos, but the computer i'm configuring remotely is not
<`_> nixos-rebuild -I nixpkgs=channel:20.03 is correct syntax to rebuild via a different channel, right?
<{^_^}> [nixpkgs] @purcell opened pull request #94839 → jackett: 0.16.175 -> 0.16.962, switch to Mono, adding Darwin support → https://git.io/JJP3J
<{^_^}> [nixpkgs] @purcell closed pull request #94777 → jackett: 0.16.175 -> 0.16.949 → https://git.io/JJi3f
wallacer3 has quit [Ping timeout: 240 seconds]
<infinisil> energizer: What's `grep -rl 'added by Nix'`?
<infinisil> In the home directory
<bqv> `_: holy unhighlightable
<bqv> but yes i think that would work?
<infinisil> `_: channel:nixos-20.03
<infinisil> Won't be persistent though
<energizer> infinisil: `grep -rl 'by Nix' ~/.config` nothing
<infinisil> energizer: No, in the home directory
<`_> infinisil: That seems to work, and yeah the idea is for this to be temporary
<energizer> infinisil: that's a big ask, what are you looking for?
hyper_ch2 has joined #nixos
wallacer3 has joined #nixos
julianobs has quit [Remote host closed the connection]
hyper_ch2 has quit [Changing host]
hyper_ch2 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<infinisil> Well run it and you'll see (or not, that's what I want to find out)
<infinisil> Nix adds shell init stuff to a file
<infinisil> But it doesn't use the right file if it's a full moon
<infinisil> Well just make sure that the Nix init stuff is in a file that's sourced by your shell
<infinisil> This should set up a reasonable default NIX_PATH
hyper_ch2 has joined #nixos
<infinisil> Gotta go sleep now though, see ya :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94840 → python27Packages.bitarray: 1.3.0 -> 1.5.0 → https://git.io/JJP3D
<{^_^}> [nixpkgs] @zowoq pushed to master « .github/workflows/wait-ofborg.yml: 360 -> 540 »: https://git.io/JJP3Q
<{^_^}> [nixpkgs] @marsam merged pull request #94802 → skaffold: 1.12.1 → 1.13.1 → https://git.io/JJi9H
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJP35
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #94841 → pythonPackages.pandas: 1.0.5 -> 1.1.0 → https://git.io/JJPsl
<{^_^}> [nixpkgs] @zowoq merged pull request #94762 → cproto, ocamlPackages.gmetadom, yasr: use patch file extension → https://git.io/JJ6xT
<{^_^}> [nixpkgs] @zowoq pushed 3 commits to master: https://git.io/JJPsz
<{^_^}> [nixpkgs] @zowoq merged pull request #94785 → minikube: 1.12.1 -> 1.12.2 → https://git.io/JJiED
<{^_^}> [nixpkgs] @zowoq pushed to master « minikube: 1.12.1 -> 1.12.2 »: https://git.io/JJPsg
<{^_^}> [nixpkgs] @zowoq merged pull request #94808 → go_1_13: 1.13.14 -> 1.13.15 → https://git.io/JJi5i
<{^_^}> [nixpkgs] @zowoq pushed to master « go_1_13: 1.13.14 -> 1.13.15 »: https://git.io/JJPs2
pfr has joined #nixos
<{^_^}> [nixpkgs] @zowoq merged pull request #94809 → go: 1.14.6 -> 1.14.7 → https://git.io/JJi5P
<{^_^}> [nixpkgs] @zowoq pushed to staging « go: 1.14.6 -> 1.14.7 »: https://git.io/JJPsa
<{^_^}> [nixpkgs] @marsam merged pull request #94838 → argo: 2.9.4 -> 2.9.5 → https://git.io/JJPY3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJPsV
<{^_^}> [nixpkgs] @peterhoeg merged pull request #94816 → kdeApplications.okteta: 0.26.3 -> 0.26.4 → https://git.io/JJibD
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JJPs1
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos
cmk_zzz_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94842 → python27Packages.azure-mgmt-monitor: 0.10.0 -> 0.11.0 → https://git.io/JJPGg
cmk_zzz has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94843 → python27Packages.cli-helpers: 2.0.1 -> 2.1.0 → https://git.io/JJPZO
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<realisation> so if I'm running nix-shell, can I define a setup.sh that will build the environment the first time it is loaded?
moet has quit [Quit: leaving]
<energizer> yes
`_ has quit [Ping timeout: 260 seconds]
<simpson> realisation: You may want to look into direnv, which makes it easy to set up a (nix-shell) environment within certain working directories. https://github.com/direnv/direnv/wiki/Nix
<bqv> that's quite a realisation
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<energizer> especially lorri + direnv
<energizer> when i build a thing with --keep-going can i get a summary of what broke (instead of reading 100 pages of log)?
<energizer> ideally i'd have a dag with color coding but i realize rob pike was involved with the development of unix
ManiacOfMadness has quit []
<bqv> feel free to implement that...
<energizer> iirc last time someone asked for structured logs they got rejected on grounds that they're not useful
<realisation> hmm - direnv sounds interesting, but I would want to keep dependencies low
<energizer> once you have nix installed you dont have to keep dependencies low, they all just work every time
<realisation> nix is already a somewhat exceptional dependency, even if it makes everything else easier
<realisation> if I was just using it to manage my own computer, that's one thing
<realisation> but what I had in mind was to make a nix-shell for another project, so that people could spin it up super easily
orivej has quit [Ping timeout: 264 seconds]
<energizer> a number of projects put a .envrc which gets sourced by direnv
<realisation> yeah? I guess I should look at the installation process for direnv before judgement day
<colemickens> every new project for me has a .envrc + direnv. coupled with flakes is just ... feels very meant-to-be
<realisation> woah what is flakes?
<nbathum> # nixos-container run flake-test -- nixos-version --json
<nbathum> {"configurationRevision":"9190c396f4dcfc734e554768c53a81d1c231c6a7"
<nbathum> ,"nixosVersion":"20.03.20200622.13c15f2"
<nbathum> sorry, wrong buffer
<realisation> woah do you have multiple clipboards or something?
<nbathum> no ¬_¬
pr06lefs has joined #nixos
<realisation> what is a channel in nix?
<energizer> eli5 is they're basically git branches that point to a commit in nixpkgs
<energizer> some people use them, others dont
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94845 → python37Packages.cfgv: 3.1.0 -> 3.2.0 → https://git.io/JJPnt
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<nbathum> any refs on what its like to not use channels? never thought of that
justan0theruser has joined #nixos
<energizer> you can use a local nixpkgs checkout or flakes
<energizer> tweag said their next blog post was gonna be about how to use flakes instead but it wasnt
justanotheruser has quit [Ping timeout: 260 seconds]
drakonis has quit [Quit: WeeChat 2.8]
<realisation> if I use lorri and set up a shell.nix, does this mean that someone else who does not use lorri but just nix can enter the project and spin it up?
<energizer> yes
<realisation> also, whenever I run nix-env I get this warning message: warning: ignoring untrusted substituter 'https://cache.nixos.org'
justanotheruser has joined #nixos
<energizer> you want to fix that
<realisation> how can I avoid that? it looks like that makes it try to download tarballs from hostnames that don't exist, so I always have to run --option binary-caches 'https://cache.nixos.org/'
<energizer> are you in nixos?
<energizer> trusted-binary-caches =
<energizer> see man nix.conf
<realisation> I'm using nixpkgs on macos
<realisation> or jut nix, or whatever it is
<realisation> this time around I had to do something special to get it to install on catalina
<realisation> before, I never had that problem
griff_ has quit [Quit: griff_]
<realisation> grep ~/.nix-profile/** trusted-binary-caches
justan0theruser has quit [Ping timeout: 256 seconds]
<realisation> whoops
<realisation> looks like it is trusted-substituters in my version
Rusty1 has quit [Quit: WeeChat 2.3]
<realisation> hmm okay I put that in my nix.conf, how do I have nix realize this?
maier has joined #nixos
<realisation> hmm yeah, it doesn't seem to be noticing I did that. I think I might have a funky nix installation
zupo has joined #nixos
maier has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @colemickens opened pull request #94847 → packet-cli: 0.0.7 -> 0.0.8 → https://git.io/JJPnh
<{^_^}> [nixpkgs] @colemickens opened pull request #94848 → v4l-utils: fix by patchShebangs on cec-gen.pl → https://git.io/JJPcv
maier has joined #nixos
<srhb> realisation: If specifying it on the command line works, you're probably missing substituters = https://cache.nixos.org/ in your nix.conf
<srhb> Is it a multi user install? I'm not ver familiar with the os x version
<srhb> realisation: Anyway, the two relevant options are substituters and trusted-public-keys
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
<srhb> With those, substitution from cache.nixos.org should work by default
<srhb> (assuming they contain the url/key respectively)
justanotheruser has quit [Ping timeout: 240 seconds]
evanjs has joined #nixos
justanotheruser has joined #nixos
<realisation> I have no idea, there were just some kinks installing it onto catalina
<srhb> realisation: Maybe pastebin your nix.conf
vikingman has quit [Remote host closed the connection]
<realisation> I have a nix.conf in private/etc/nix/nix.conf and I edited it just like you said, but it doesn't seem to notice. is there some command I need to run to get it to notice?
<Ashy> there was a serious blocker related to the catalina root drive being readonly last time i tried nix on macos catalina
<realisation> I think I could well be in a multiuser installation - another weird thing that I'm warned about whenever I run nix-env is that I am supposedly an untrusted user and therefore the user-specified setting trusted-public-keys is ignored
<srhb> realisation: If it's a multi user install, you may need to restart the nix daemon.
<realisation> yeah, I had to use diskutil to make a volume to install it into
<realisation> aha yeah, that could be it. how do I do that?
<srhb> No idea!
<realisation> snap!
<srhb> something something launchctl? :-)
<srhb> The nix manual probably has the information.
<colemickens> how am I hitting this on nixos-unstable if it triggers so many package rebuilds? https://github.com/NixOS/nixpkgs/issues/94846
<{^_^}> #94846 (by colemickens, 18 minutes ago, open): v4l-utils is broken on unstable
<realisation> maybe I can just restart my computer
<srhb> realisation: Sure
<colemickens> maybe it's just a bunch that aren't coverd bbby nixos-unstable
<realisation> if I am using nix-shell to make a standard environment to spin up some dependencies in a project, how do I go about doing that?
<srhb> colemickens: It's not that many after all...
<Graypup_> aaaaaaaaaaaaaaaaaaa time to find a regression (I think??) where my hoogle doesn't work anymore
<realisation> right now, I have it so I do { pkgs ? import <nixpkgs> {} }:
<realisation> then pkgs.mkShell { ....... }
<srhb> realisation: That sounds like a good start.
<realisation> the nix pill I'm looking at does things a little different - it does pkgs: attrs: .... and ends with derivation(defaultAttrs // attrs)
<realisation> it seems to define defaultAttrs in that interlude I excluded for brevity
griff_ has joined #nixos
<srhb> realisation: nix pills are supposed to bring you through understanding most of the nix ecosystem, not necessarily present the most elegang end solution, and they were written before mkShell even existed, fwiw.
<srhb> realisation: I wouldn't use it as a guide for setting up a development environment
<srhb> s/elegang/elegant, though the elegang sounds cool.
drakonis has joined #nixos
<realisation> aha, to the rescue! where should I look to define my shell?
<{^_^}> [nixpkgs] @srhb merged pull request #94848 → v4l-utils: fix by patchShebangs on cec-gen.pl → https://git.io/JJPcv
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JJPc9
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1365b9ac700 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<srhb> realisation: It likely depends on the language ecosystem you're working with
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb> I'm afraid the answer might be "blog posts from knowledgeable people in that ecosystem" most of the time :) But what you have now sounds fine as a starting point.
<srhb> Or when you get a specific need, you can ask here for guidance
<colemickens> srhb: thanks btw
<srhb> colemickens: Likewise!
<realisation> hmm I feel I'll be reading a decent chunk of them over the next few weeks
<realisation> if I want to run a setup shell script, where do I put that?
<srhb> realisation: If in nix-shell, shellHook, maybe.
Darkmatter66 has quit [Read error: Connection reset by peer]
Darkmatter66 has joined #nixos
zupo has joined #nixos
palo1 has joined #nixos
<realisation> Nice, looks lik that's doing the trick
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<realisation> hmm, if I want to set an environment variable in the shellHook, how do I do that?
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
<realisation> aha, I just didn't get shell scripts. not the same as .zshrc and exporting
<srhb> realisation: You don't need to, just set it as an attr in the attrset passed to mkShell
<srhb> realisation: (As in mkShell { FOO = 42; ... })
<realisation> yeah, I was just experimenting with shell scripts and for whatever reason I thought that if you do something like cat='mouse' then you'd be able to do $cat afterwards - but that's not right even with a vanilla shell script
<realisation> cool beans
<realisation> vim shu9[m]
<realisation> wrong window!
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
<realisation> if I want to cd out to another directory, and then to another, but then return to the original directory, what's a good way to do that?
<realisation> I guess I could pwd and save that to a variable?
justan0theruser has quit [Ping timeout: 260 seconds]
griff_ has quit [Quit: griff_]
Fare has quit [Quit: Leaving]
<nicolas[m]1> pushd and popd
<nicolas[m]1> I don't remember the exact behavior so the man page is your best tool
greizgh has joined #nixos
pr06lefs has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #94845 → python37Packages.cfgv: 3.1.0 -> 3.2.0 → https://git.io/JJPnt
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.cfgv: 3.1.0 -> 3.2.0 »: https://git.io/JJPWi
<{^_^}> [nixpkgs] @jonringer merged pull request #94843 → python27Packages.cli-helpers: 2.0.1 -> 2.1.0 → https://git.io/JJPZO
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.cli-helpers: 2.0.1 -> 2.1.0 »: https://git.io/JJPWP
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
<{^_^}> [nixpkgs] @tobim opened pull request #94849 → arrow-cpp: 0.17.1 -> 1.0.0 → https://git.io/JJPWX
<{^_^}> [nixpkgs] @jonringer merged pull request #94697 → python3Packages.scrapy: 2.2.1 -> 2.3.0 → https://git.io/JJKdD
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJPW9
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
spudly has quit [Ping timeout: 256 seconds]
serrvan has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
thc202 has joined #nixos
justanotheruser has joined #nixos
justanotheruser has quit [Client Quit]
justanotheruser has joined #nixos
serrvan has quit [Quit: Lost terminal]
asheshambasta has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #91920 → a2jmidid: fix compilation on aarch64-linux → https://git.io/JJJKn
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJPl5
justanotheruser has quit [Quit: WeeChat 1.9.1]
justanotheruser has joined #nixos
knupfer has joined #nixos
matthewcroughan has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #94842 → python27Packages.azure-mgmt-monitor: 0.10.0 -> 0.11.0 → https://git.io/JJPGg
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.azure-mgmt-monitor: 0.10.0 -> 0.11.0 »: https://git.io/JJP87
<{^_^}> [nixpkgs] @jonringer opened pull request #94850 → azure-cli: pin cryptography → https://git.io/JJP85
cfricke has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
sangoma has joined #nixos
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
smatting_ has joined #nixos
domogled has quit [Ping timeout: 264 seconds]
rardiol has joined #nixos
tpham has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
user_0x58 has quit [Quit: Leaving]
sb0 has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
lsix has joined #nixos
gthm has joined #nixos
<Graypup_> my neovim from outside my nix env is trying to run a command but failing since it is somehow deleting the PATH entries or something?? wat
<Graypup_> oh,, i am a fool
<{^_^}> [nixpkgs] @flokli merged pull request #94837 → nixos/gitlab: fix module after #94454 → https://git.io/JJPYL
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJPBM
<{^_^}> [nixpkgs] @jonringer merged pull request #94530 → mockgen: 1.4.3 -> 1.4.4 → https://git.io/JJV73
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « mockgen: 1.4.3 -> 1.4.4 »: https://git.io/JJPB7
knupfer has quit [Ping timeout: 256 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<{^_^}> [nixpkgs] @jonringer merged pull request #94451 → jetty: 9.4.29.v20200521 -> 9.4.31.v20200723 → https://git.io/JJVti
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « jetty: 9.4.29.v20200521 -> 9.4.31.v20200723 »: https://git.io/JJPBx
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<{^_^}> [nixpkgs] @jonringer merged pull request #94418 → geekbench: 5.2.1 -> 5.2.3 → https://git.io/JJa5Q
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « geekbench: 5.2.1 -> 5.2.3 »: https://git.io/JJPRe
<{^_^}> [nixpkgs] @jonringer merged pull request #94446 → imgproxy: 2.14.0 -> 2.14.1 → https://git.io/JJVLT
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « imgproxy: 2.14.0 -> 2.14.1 »: https://git.io/JJPRf
<{^_^}> [nixpkgs] @jonringer merged pull request #94419 → ghq: 1.1.2 -> 1.1.5 → https://git.io/JJadk
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « ghq: 1.1.2 -> 1.1.5 »: https://git.io/JJPRJ
itshaydendev has joined #nixos
Pidgeotto has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #94415 → giada: 0.16.3 -> 0.16.3.1 → https://git.io/JJa7A
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « giada: 0.16.3 -> 0.16.3.1 »: https://git.io/JJPRC
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @jonringer merged pull request #94374 → dbmate: 1.9.0 -> 1.9.1 → https://git.io/JJa09
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « dbmate: 1.9.0 -> 1.9.1 »: https://git.io/JJPRy
mallox has joined #nixos
talvdav has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer merged pull request #94445 → grml-zsh-config: 0.17.3 -> 0.17.4 → https://git.io/JJVI7
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « grml-zsh-config: 0.17.3 -> 0.17.4 »: https://git.io/JJP0e
<{^_^}> [nixpkgs] @jonringer merged pull request #94424 → flyctl: 0.0.135 -> 0.0.137 → https://git.io/JJabH
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « flyctl: 0.0.135 -> 0.0.137 »: https://git.io/JJP0I
fendor has joined #nixos
rardiol has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/825c68c4ae7 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
cole-h has quit [Quit: Goodbye]
<{^_^}> [nixpkgs] @jonringer merged pull request #94402 → fwts: 20.06.01 -> 20.07.00 → https://git.io/JJa9n
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « fwts: 20.06.01 -> 20.07.00 »: https://git.io/JJP08
<{^_^}> [nixpkgs] @jonringer opened pull request #94851 → python3Packages.dash*: bump → https://git.io/JJP0R
quinn has quit [Ping timeout: 246 seconds]
quinn has joined #nixos
sb0 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @jonringer merged pull request #94366 → cockroachdb: 20.1.2 -> 20.1.3 → https://git.io/JJa4f
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « cockroachdb: 20.1.2 -> 20.1.3 »: https://git.io/JJP0y
alaskacanyon[m] has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #94497 → faudio: 20.07 -> 20.08 → https://git.io/JJVVq
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « faudio: 20.07 -> 20.08 »: https://git.io/JJPE3
<{^_^}> [nixpkgs] @jonringer merged pull request #94378 → calibre: 4.19.0 -> 4.22.0 → https://git.io/JJauB
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJPEG
<{^_^}> [nixpkgs] @jonringer merged pull request #93815 → mnemosyne: 2.7.1 -> 2.7.2 → https://git.io/JJBq7
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « mnemosyne: 2.7.1 -> 2.7.2 »: https://git.io/JJPEn
malook has joined #nixos
noudle has joined #nixos
mallox has quit [Quit: WeeChat 2.9]
mallox has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #94852 → python2Packages.cryptography*: pin at 2.9.2 → https://git.io/JJPuf
<{^_^}> [nixpkgs] @jonringer merged pull request #94836 → python27Packages.braintree: 4.2.0 -> 4.3.0 → https://git.io/JJPmg
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.braintree: 4.2.0 -> 4.3.0 »: https://git.io/JJPuk
stephaneyfx has quit [Quit: Leaving]
karantan has joined #nixos
alp has joined #nixos
griff_ has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #94758 → wire-desktop: linux 3.18.2925 -> 3.19.2928, mac 3.18.3728 -> 3.19.3799 → https://git.io/JJ6dr
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JJPu9
<{^_^}> [nixpkgs] @flokli merged pull request #94759 → [20.03] wire-desktop: linux 3.18.2925 -> 3.19.2928, mac 3.18.3728 -> 3.19.3799 → https://git.io/JJ6dd
<{^_^}> [nixpkgs] @flokli pushed 3 commits to release-20.03: https://git.io/JJPuQ
dermetfan has joined #nixos
<typetetris> I made a multi user install on a machine successfully, but now `nix-build` complains `unable to download 'https://cache.nixos.org/sm7kk5n84vaisqvhk1yfsjqls50j8s0m.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 336 ms` But I can download the url with curl without problems, please help!
<typetetris> okay seems `NIX_SSL_CERT_FILE` was unintentionally set during install, how can I undo it and let nix install its own certificate bundle?
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJPzB
alp has quit [Ping timeout: 240 seconds]
<typetetris> Strange using root, I can install stuff with `nix-env` but it also has NIX_SSL_CERT_FILE set in the environment to the same value as the user, where `nix-env` can't download stuff.
<typetetris> So it is missing in the daemons environment I guess?
<clever> typetetris: what does `date` return?
bahamas has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @gnidorah opened pull request #94853 → mame: 0.222 -> 0.223 → https://git.io/JJPzD
dsg has quit [Ping timeout: 260 seconds]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<typetetris> clever: This was it: https://github.com/NixOS/nix/issues/3155 NIX_SSL_CERT_FILE was unintentionally set, so this bug struck me, I just created a symbolic link /etc/ssl/certs/ca-certificates.crt pointing to the bundle of my distro and will life with nix using my distros certificate bundle.
<{^_^}> nix#3155 (by xbreak, 42 weeks ago, open): Nix-daemon systemd unit missing `NIX_SSL_CERT_FILE`
Darkmatter66 has quit [Ping timeout: 256 seconds]
cosimone has joined #nixos
alp has joined #nixos
kenshinCH has joined #nixos
meh` has joined #nixos
malook has quit [Quit: malook]
ris has quit [Ping timeout: 246 seconds]
alexherbo24 has joined #nixos
Darkmatter66 has joined #nixos
alexherbo24 has quit [Client Quit]
alexherbo2 has joined #nixos
kenshinCH has quit [Quit: WeeChat 2.7.1]
sigmundv has joined #nixos
<typetetris> Can it be cache.nixos.org is damaged? `curl https://cache.nixos.org/pvz5vzgziyr7aib49xvlvlrm8c2dlsi5.narinfo` works but `curl https://cache.nixos.org/pvz5vzgziyr7aib49xvlvlrm8c2dlsi5.nar` gives 404 and trying with `.bz2` at the end too ...
asymptotically has joined #nixos
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #94854 → ocamlPackages.merlin-extend: 0.4 → 0.6 → https://git.io/JJP2d
mallox has quit [Quit: WeeChat 2.9]
mallox has joined #nixos
mallox has quit [Client Quit]
mallox has joined #nixos
eadwu[m] has quit [Quit: Idle for 30+ days]
bricewge has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
chkno has quit [Ping timeout: 240 seconds]
smatting_ has quit [Ping timeout: 260 seconds]
deraffe[m] has quit [Quit: Idle for 30+ days]
mcds[m] has quit [Quit: Idle for 30+ days]
notmatthew[m] has quit [Quit: Idle for 30+ days]
<craige> Does anyone have any reference nixos/nginx configs for self-hosting cryptpad?
<typetetris> Do I need to restart `nix-daemon` after altering nix.conf ?
<ar> ,from bin htpasswd
<ar> ,locate bin htpasswd
<ar> hmm
<{^_^}> Found in packages: thttpd, apacheHttpd
<{^_^}> [nixpkgs] @prusnak opened pull request #94855 → runwayml: 0.10.20 -> 0.14.0 → https://git.io/JJPap
chkno has joined #nixos
mallox has quit [Quit: WeeChat 2.9]
mallox has joined #nixos
<adisbladis> typetetris: What makes you think https://cache.nixos.org/pvz5vzgziyr7aib49xvlvlrm8c2dlsi5.nar is a valid url?
mallox has quit [Client Quit]
FRidh has joined #nixos
mallox has joined #nixos
mallox has quit [Client Quit]
mallox has joined #nixos
<{^_^}> [nixpkgs] @DamienCassou merged pull request #94781 → cypress: 4.9.0 -> 4.12.1 → https://git.io/JJiBg
<{^_^}> [nixpkgs] @DamienCassou pushed 2 commits to master: https://git.io/JJPV8
<{^_^}> [nixpkgs] @dguibert opened pull request #94856 → wpsoffice: 11.1.0.9505 -> 11.1.0.9615 → https://git.io/JJPVu
<{^_^}> [nixpkgs] @zimbatm merged pull request #94818 → gitlab-runner: 13.2.0 -> 13.2.2 → https://git.io/JJipq
<{^_^}> [nixpkgs] @zimbatm pushed commit from @max-wittig to master « gitlab-runner: 13.2.0 -> 13.2.2 (#94818) »: https://git.io/JJPVw
mallox has quit [Quit: WeeChat 2.9]
xO1 has joined #nixos
pjt_tmp has quit [Ping timeout: 265 seconds]
<energizer> what's this about? https://bpa.st/PXTQ
<immae> don’t you miss quotes around your hash?
<energizer> that's allowed afaik
<immae> indeed
<immae> it works for me
<immae> so the derivation itself is not the issue
<immae> overlays maybe?
<energizer> context: i'm using proot. i have been having similar "not found" issues after untaring things
<immae> ok. I cannot really help about proot specifically. What does your /nix/store/s7i4m25h981ws360jq2rjnsvhlc5j8w7-nixos-20.03/ contain?
<immae> (It should have the extracted content of the url)
<energizer> ./pkgs/
<energizer> it is indeed missing default.nix
<energizer> and lots of other stuff
<immae> `COPYING default.nix doc/ flake.nix lib/ maintainers/ nixos/ pkgs/ README.md`
<immae> that’s what I have in the top dir (the whole thing is about 182MB)
<immae> so yes maybe proot is doing something
<{^_^}> [nixpkgs] @phryneas opened pull request #94857 → discord: 0.10 -> 0.11 → https://git.io/JJPwp
<energizer> odd, nix-prefetch-url --unpack https://github.com/nixos/nixpkgs/archive/0f5ce2fac0c726036ca69a5524c59a49e2973dd4.tar.gz seems to hang in the middle
<energizer> unpacking...[18.3 MiB DL]
<energizer> should i just give it a few minutes?
<immae> depends on your resources
<energizer> what do you mean?
<energizer> i think this has 8 cores 4GB each
<immae> if you have a 64-core system and 1GBps bandwidth then waiting a few minutes might not really help
<energizer> since it says unpacking i suspect it already downloaded
<immae> right
<immae> it only takes a few seconds for me
<energizer> i guess i could add some more resources, do you think that would help?
<immae> It depends how much proot is responsible for this slowness
<immae> my laptop is a quite slow one and it works fine (without proot)
<energizer> i'm not sure if it's slow or just hung
<niksnut> is it still hanging?
meh` has quit [Ping timeout: 265 seconds]
<energizer> i cancelled it
meh` has joined #nixos
<immae> you could monitor /nix/store/s7i4m25h981ws360jq2rjnsvhlc5j8w7-nixos-20.03/ and see if new files pop regularly
<immae> if so then it’s just slow
<energizer> ls: cannot access /nix/store/s7i4m25h981ws360jq2rjnsvhlc5j8w7-nixos-20.03/: No such file or directory
<immae> well you cancelled it :p
<energizer> i started it again
<immae> oh
<immae> then somewhere in /tmp ?
<energizer> i dont see anything with owner energizer or nix* in /tmmp
<energizer> /tmp
<energizer> i guess it's strace next, but that'll have to wait for tomorrw
<immae> ok
<immae> (I do have a nix-1615929-0/ in /tmp, maybe proot is doing something there too?)
orivej has joined #nixos
wallacer3 has quit [Ping timeout: 240 seconds]
<sephii> Is there a way when using flakes to limit network access? Commands like `search` or `build` _always_ hit the network, which is annoying when working offline
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
wallacer3 has joined #nixos
wallacer3 has quit [Max SendQ exceeded]
wallacer3 has joined #nixos
<{^_^}> [nixos-weekly] @gvolpe opened pull request #131 → Add dconf2nix → https://git.io/JJPoG
domogled has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
pbb has joined #nixos
mrosenbe_ has quit [Ping timeout: 246 seconds]
mrosenbe has joined #nixos
<{^_^}> [nixpkgs] @ehmry merged pull request #94795 → nim: 1.2.4 -> 1.2.6 → https://git.io/JJiiq
<{^_^}> [nixpkgs] @ehmry pushed commit from @r-ryantm to master « nim: 1.2.4 -> 1.2.6 »: https://git.io/JJPoQ
<{^_^}> [nixpkgs] @liff opened pull request #94858 → nixosTests.virtualbox: Port to python → https://git.io/JJPo7
ddellacosta has quit [Ping timeout: 240 seconds]
orivej_ has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #94859 → snapper: 0.8.10 -> 0.8.12 → https://git.io/JJPKq
orivej has quit [Ping timeout: 246 seconds]
andreas303 has quit [Ping timeout: 240 seconds]
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
<{^_^}> [nixpkgs] @ehmry merged pull request #94772 → waybar: 0.9.2 -> 0.9.3 → https://git.io/JJitv
<{^_^}> [nixpkgs] @ehmry pushed commit from @evils to master « waybar: 0.9.2 -> 0.9.3 »: https://git.io/JJPKu
orivej_ has quit [Ping timeout: 240 seconds]
noudle has quit []
andreas303 has joined #nixos
alp has quit [Ping timeout: 264 seconds]
alp has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #94860 → octopus: 9.2 -> 10.0 → https://git.io/JJPKb
cfricke has quit [Quit: WeeChat 2.9]
maier has quit [Ping timeout: 264 seconds]
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @markuskowa merged pull request #94859 → snapper: 0.8.10 -> 0.8.12 → https://git.io/JJPKq
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JJP6O
cosimone has joined #nixos
maier has joined #nixos
<{^_^}> [nixpkgs] @filalex77 merged pull request #94847 → packet-cli: 0.0.7 -> 0.0.8 → https://git.io/JJPnh
<{^_^}> [nixpkgs] @filalex77 pushed 3 commits to master: https://git.io/JJP6p
est31 has quit [Ping timeout: 240 seconds]
est31 has joined #nixos
maier has quit [Read error: Connection reset by peer]
maier has joined #nixos
maier_ has joined #nixos
maier has quit [Ping timeout: 265 seconds]
xd1le has joined #nixos
knupfer has joined #nixos
knupfer1 has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #94860 → octopus: 9.2 -> 10.0 → https://git.io/JJPKb
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JJPia
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
knupfer has quit [Ping timeout: 244 seconds]
knupfer1 is now known as knupfer
alp has quit [Ping timeout: 264 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
philr has quit [Ping timeout: 240 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
zupo has joined #nixos
jakob_rs has joined #nixos
<jakob_rs> I've backported a security-related pull request. Should I create a new pull request for the backport?
<adisbladis> jakob_rs: Is the original PR already merged?
<jakob_rs> Yes, in May.
<adisbladis> Alright, then please create a PR.
<adisbladis> Normally you'd want to request a security backport in the original PR, but if it's already merged without a backport...
evanjs has quit [Read error: Connection reset by peer]
<niksnut> typetetris: you're using the wrong NAR URL, see the "URL" field in the .narinfo file to get the correct one
evanjs has joined #nixos
<{^_^}> [nixpkgs] @jakobrs opened pull request #94861 → [20.03] libvirtd: polkit integration, security fixes (#87576) → https://git.io/JJPXs
<jakob_rs> ^
mallox has joined #nixos
ckauhaus has joined #nixos
alp has joined #nixos
alp_ has joined #nixos
alp has quit [Ping timeout: 272 seconds]
jakob_rs has left #nixos ["WeeChat 2.7.1"]
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @lejonet opened pull request #94862 → nixos/packetbeat: Add basic module for packetbeat → https://git.io/JJP15
Jackneilll has quit [Ping timeout: 240 seconds]
simonpe^^ has joined #nixos
<simonpe^^> I have a pretty complicated (and impure) function that generates a build script, the function needs the build directory as an input. Now if I want to generate and run the build script frow within the buildPhase of stdenv.mkDerivation, how can I feed it the build directory?
<simonpe^^> if I do 'buildPhase = "pwd"' it tells me "/tmp/nix-build-${name}.drv-0"
<simonpe^^> but I don't feel like hard coding that
bahamas has joined #nixos
<clever> simonpe^^: $NIX_BUILD_TOP will be the build dir
<simonpe^^> would I be able to do something like `buildPhase = "source ${fn builtins.getEnv "NIX_BUILD_TOP} && build"`?
<clever> simonpe^^: the env var only exists at build time, so builtins.getEnv cant read it
<simonpe^^> it feels like getEnv is evaluated at the wrong time
<clever> exactly
<clever> you want to modify your script to just use $NIX_BUILD_TOP instead of hard-coding the dir
<simonpe^^> I don't think that it is possible unfortunately, this is a yocto build and they are coplicated messes of moving files around and generally having stuff in exactly the right place
<simonpe^^> I've been trying to do it but I haven't figured out how
<clever> can it not accept relative paths?
<simonpe^^> nope
<simonpe^^> it uses pyrex/docker in the background and mirrors the host environment by bind mounting in everything at the same absolute paths
<clever> generate the script at build time, using bash?
<clever> sounds like you need to redo things to be pure!
fendor has quit [Remote host closed the connection]
<simonpe^^> I'm stuck with yocto unfortunately, they have their own build tool called bitbake that downloads everything and basically excpects ubuntu
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
Jackneilll has joined #nixos
<{^_^}> [nixpkgs] @taku0 opened pull request #94863 → thunderbird, thunderbird-bin: 68.10.0 -> 68.11.0, 78.1.0 -> 78.1.1 [High security fixes] → https://git.io/JJPM6
fendor has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #94775 → ldb: 2.1.4 -> 2.2.0 → https://git.io/JJiYT
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJPMy
bahamas has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4364ff933eb (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixos-search] @garbas pushed to add-issue-tracker-to-footer « add link to issues tracker »: https://git.io/JJPDJ
<{^_^}> [nixos-search] @garbas opened pull request #144 → add link to issues tracker → https://git.io/JJPDU
xlei has quit [Ping timeout: 256 seconds]
euandreh has quit [Remote host closed the connection]
<{^_^}> [nixos-search] @garbas merged pull request #144 → add link to issues tracker → https://git.io/JJPDU
<{^_^}> [nixos-search] @garbas pushed to master « add link to issues tracker (#144) »: https://git.io/JJPDE
<{^_^}> [nixos-search] @garbas pushed 0 commits to add-issue-tracker-to-footer: https://git.io/JJPDu
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3a3e61b54b9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
AluisioASG has joined #nixos
cjpbirkbeck has joined #nixos
fendor_ has joined #nixos
euandreh has joined #nixos
<{^_^}> [nixpkgs] @cab404 opened pull request #94864 → wg-bond: init at 0.2.0 → https://git.io/JJPDA
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJPDx
fendor has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
smyds has joined #nixos
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
AluisioASG has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<smyds> hello
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #94789 → openjdk8: 1.8.0_242 -> 1.8.0_265 → https://git.io/JJiV6
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/JJPyb
xlei has joined #nixos
sangoma has quit [Ping timeout: 256 seconds]
<smyds> kandinski, srk: I saw in the channel logs you tried to run tidalcycles on nixos some time ago, have you had any luck with that ? I think I managed to compile the sc3plugins, but I'm having trouble loading the haskell environment with tidal in emacs
<srk> hi, yes. recently I've only used BootTidal.hs with ghci to test it
euandreh has quit [Remote host closed the connection]
<srk> before I was using it with tidal-vim, haven't got to that but afaik it's just ghci/screen + vim macros to send messages to send stuff to screen
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srk> I was testing supercolliderSC3 from here mainly https://gist.github.com/sorki/ebaebb2722ed365d9371299637373900
<smyds> ok, yeah I made a similar overlay. I'm gonna try to use BootTidal.hs in ghci then, and maybe go back to emacs later
thblt has joined #nixos
<srk> smyds: there's also https://github.com/yaxu/feedforward - managed to build it but no success using it (looks like it has emacs bindings)
simonpe^^ has quit [Ping timeout: 265 seconds]
<thblt> I'm on unstable, and `nix run nixos.libreoffice` builds from source. I'm reasonably certain my LibreOffice came from binary caches until now. Anything I can do about that?
gustavderdrache has joined #nixos
wallacer3 has quit [Ping timeout: 240 seconds]
<thblt> Same for git, btw, but my laptop can stand building git.
<smyds> srk: thanks
<srk> smyds: here it's in action https://www.youtube.com/watch?v=Vomnc9R-7mw
<nbathum> hrmm, my neovim environment fails, a makeWrapper setup-hook is trying to wrap an already-wrapped python3
wallacer3 has joined #nixos
<inquisitiv3> I'm doing _A tour of Nix_, and I'm wondering how `attr.${s}` can evaluate to `1` in exercise 15.
bahamas has quit [Ping timeout: 256 seconds]
alp_ has quit [Ping timeout: 260 seconds]
<nbathum> in that expression, `s` := "b", so `attr.${s}` => `attr.b`
<nbathum> its an interpolation
<nbathum> err, sorry, that is maybe how bash calls it. nix calls it antiquotation
<thblt> Ho, that's because it's the opposite of Lisp's quote (took me a while)
fendor_ has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 256 seconds]
itshaydendev has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @chiroptical opened pull request #94866 → jupyterhub, jupyter-telemetry: 1.0.0 -> 1.1.0, init at 0.1.0 → https://git.io/JJPHQ
alp has joined #nixos
romildo has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #92106 → transmission: apply RFC0042 and harden the service → https://git.io/JJTnd
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJPQT
<romildo> ping worldofpeace
cosimone has quit [Quit: Quit.]
sangoma has joined #nixos
cosimone has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 opened pull request #94867 → nixos/modules: remove trailing whitespace → https://git.io/JJPQi
urkk has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<urkk> head -1 /nix/store/*-glibc-2.31-bin/bin/ldd
<urkk> #! /bin/sh
aw has joined #nixos
spacefrogg has joined #nixos
<urkk> shouldn't this shebang be patched?
bahamas has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4364ff933eb (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<urkk> I'm at nixpkgs-20.09pre237131.2d6cbbe4627
<thblt> urkk: I'm no expert, but why? NixOS has /bin/sh, and I don't know of a plan to remove it.
<urkk> It looks the autoPatchelfHook fails when used inside a sandbox, as it lacks /bin/sh
<urkk> as it uses ldd (not sure why, rather than patchelf --print-needed tho)
<urkk> /nix/store/br3y1s1j7d8z22jdcj7p2nybinnmdq5m-stdenv-linux/setup: /nix/store/kr1gmz701ifpc9s5kn7rlckwrkpwq64k-glibc-2.31-bin/bin/ldd: /bin/sh: bad interpreter: No such file or directory
<{^_^}> [nixpkgs] @ckauhaus closed pull request #92178 → adns: 1.5.1 -> 1.5.2 → https://git.io/JJTDB
bahamas has quit [Ping timeout: 240 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
pr06lefs has joined #nixos
nixfix45 has joined #nixos
varun_ has joined #nixos
orivej_ has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
sangoma has joined #nixos
proofofkeags has joined #nixos
<nixfix45> Hello. I recently ran a nixos-rebuild switch that made it impossible to boot. How do I safely use a livecd to create a new "default" boot option?
<dutchie> you can use `nixos-enter` to chroot in and fix it that way
<thblt> nixfix45: you should be able to boot an older generation?
<bqv> unacceptable: patchelfhook uses /bin/sh?
<bqv> The heck?
<bqv> * urkk
sshow has joined #nixos
xkapastel has joined #nixos
<bqv> thblt: /bin/sh is optional
<thblt> nixfix45: If you can't, in my experience, nixos-install will just create a new generation, it won't overwrite the existing history.
<bqv> It can be disabled by an option
<urkk> bqv: ldd does
<bqv> That seems very bad
<nixfix45> Thblt, thanks!
noudle has joined #nixos
<urkk> also, it doesn't call the exitHandler after a failed `ldd ... | sed ...`
<{^_^}> [nixpkgs] @ttuegel merged pull request #94826 → marble: switch from qtwebkit to qtwebengine → https://git.io/JJPfP
<thblt> nixfix45: Just a small tip: if you haven't identified the isuse yet, you may want to check that your /boot isn't full. It's bitten me once.
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/JJP5r
alp has quit [Ping timeout: 272 seconds]
<urkk> the whole build is supossed to run with -e right?
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
nixfix45 has quit [Remote host closed the connection]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #94867 → nixos/modules: remove trailing whitespace → https://git.io/JJPQi
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JJPd0
justanotheruser has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @asbachb opened pull request #94868 → [20.03] backport: openjdk 8u222 -> 8u265 → https://git.io/JJPdN
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
evanjs has quit [Read error: Connection reset by peer]
knupfer1 has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
turlando has quit [Ping timeout: 256 seconds]
knupfer has quit [Client Quit]
evanjs has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #94869 → ocamlPackages.dns(-client): 4.6.1 → 4.6.2 → https://git.io/JJPFq
knupfer has quit [Client Quit]
knupfer has joined #nixos
gthm has quit [Ping timeout: 256 seconds]
<djahandarie> Can someone remind me the most reasonable way to install a package from a custom checkout of nixpkgs (on a nixos system)?
<djahandarie> Should I somehow add the checkout as a channel, or is there some nix-env command to just directly install something from the directory?
<pbogdan> djahandarie: for nix-env you can do `nix-env -f /your/checkout -iA hello` iirc
<djahandarie> Ah, sounds promising, let me try that
<djahandarie> Success, thanks!
noonien has quit [Quit: Connection closed for inactivity]
matthewcroughan has joined #nixos
<tobiasBora> Hello,
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos
thblt has left #nixos ["ERC (IRC client for Emacs 27.1)"]
<tobiasBora> I noticed that recently my bluetooth device stopped behing recognized... However, when I try older generations, the bluetooth does work. Since I did not significantly changed my configuration, I suspect that the channel upgrade I did recently broke my setup... To check I'd like to hardcode the specific channel commit directly in the configuration.nix file. But how can I know what is the current
<tobiasBora> channel commit, and what was the channel commit before the upgrade?
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<Orbstheorem> Hello o/ What's the preferred way to access paths in haskell? I vaguely remember __not to__ use Paths_<package> in NixOS if I wanted my package to be "portable".
erasmas has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #94871 → rocclr: fix build (no OpenCL library is required) → https://git.io/JJPA8
zebrag has quit [Quit: Konversation terminated!]
fresheyeball has quit [Ping timeout: 246 seconds]
fresheyeball has joined #nixos
<urkk> oh, /bin/sh is available in a sandbox build, but not when using --store
zebrag has joined #nixos
bahamas has joined #nixos
<bqv> urkk: wha?
<Mic92> Nix Firday is on: https://www.twitch.tv/zimbatm
<Mic92> *Friday
<bqv> Why is stuff even using /bin/sh though…
<bqv> If it's not baked into a binary it should be patched out
<bqv> Mic92: I see silent llamas, is this normal?
<Mic92> bqv: I think it starts at 16:15
<Mic92> So you got 5 minutes
<bqv> urkk: huh, ok
<bqv> Mic92: ahh
sputny has joined #nixos
<urkk> oh, so there is a problem with my nix sandbox setup, the /bin folder is missing
orivej has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed 505 commits to haskell-updates: https://git.io/JJPjC
orivej has joined #nixos
zaeph has quit [Ping timeout: 244 seconds]
nixbitcoin_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJPjH
nixbitcoin has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JJXe1
<evanjs> Is there currently a way to use callPackage with flakes?
<bqv> Context?
<evanjs> Right yeah sorry lol 1 sec
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « LTS Haskell 16.8 »: https://git.io/JJXvY
<evanjs> generic usage like this `nix run nixpkgs.nixUnstable --command nix-build -E "(with import <nixpkgs> {}; callPackage "./${1-default.nix}" {})"`
sigmundv has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJXvg
<evanjs> It's expecting a URL (defined by https://github.com/tweag/rfcs/blob/flakes/rfcs/0049-flakes.md#flake-inputs AFAICT)
<bqv> That should theoretically still work, if nixpkgs path is set
<evanjs> oops sorry not nix-build
sigmundv has joined #nixos
<evanjs> `nix run nixpkgs.nixUnstable --command nix --experimental-features "nix-command" build "(with import <nixpkgs> {}; callPackage "./${1-default.nix}" {})"`
<evanjs> there we go
<evanjs> that one dies
<{^_^}> [nixpkgs] @peti opened pull request #94872 → Update Haskell package set to LTS 16.8 (plus other fixes) → https://git.io/JJXv7
<bqv> Use "nix build --impure --expr " instead
<bqv> That with your expression there
<evanjs> oh hoh
<evanjs> I must have tried one or both of those separately before
<evanjs> bqv++
<{^_^}> bqv's karma got increased to 15
<evanjs> nbathum: ^^
sputny has quit [Quit: sputny]
<evanjs> so basically nix build now also needs the `-E` flag? :P
<evanjs> interesting. `-E` -> `--expr` (nix-build) but nix build only takes `-E`. Minor nitpick :P
<evanjs> :/ zsh tab completions for nixUnstable are borked but bash works fine :P
<das_j> evanjs: I think I saw a PR from ma27[m] earlier
<evanjs> though I wonder if that's more because of my ohMyZsh config prints the descriptions and etc
<evanjs> ooo lemme see
<evanjs> I am seeing quite a few on nixos/nix re completions
<Orbstheorem> What's Nix Friday?
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
realisation has quit [Read error: Connection reset by peer]
realisation has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<Mic92> a twitch stream where zimbatm invites people to talk about a topic.
growpotkin has joined #nixos
zaeph has joined #nixos
turlando has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @afontaine opened pull request #94873 → minio: support building on darwin → https://git.io/JJXJx
<Orbstheorem> fun
<evanjs> I wonder if that relates to zsh as well
realisation has quit [Read error: Connection reset by peer]
<evanjs> if so, that might make sense, as it only disables bash-completions there
realisation has joined #nixos
euandreh has joined #nixos
<evanjs> ohhhhh I was looking at nix/nixpkgs lol
<evanjs> that's most certainly probably related. thanks! (and thanks ma27[m] lol)
euandreh has quit [Remote host closed the connection]
euandreh has joined #nixos
stephaneyfx has joined #nixos
pbb has joined #nixos
fendor has joined #nixos
justanotheruser has joined #nixos
proofofkeags has quit [Remote host closed the connection]
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #94871 → rocclr: fix build (no OpenCL library is required) → https://git.io/JJPA8
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJXUa
eadwu[m] has joined #nixos
proofofkeags has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
justanotheruser has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @danieldk merged pull request #94420 → oneDNN: 1.5.1 -> 1.6 → https://git.io/JJadn
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJXUP
mrosenbe has quit [Ping timeout: 260 seconds]
<evanjs> Warning: impure -- weird thought: is there any way to "influence" a nixos-rebuild? Like... say a package is failing, and I want to try and build _everything_ else
<evanjs> Would keep-going be the best bet I have for that sort of thing?
<qyliss> probably
<{^_^}> [nixpkgs] @flokli pushed to master « nixos/railcar: fix typo »: https://git.io/JJXU9
<tobiasBora> Nobody knows how to get the commit number of the channel of a previous generation of nix-channel?
<{^_^}> [nixpkgs] @veprbl merged pull request #94853 → mame: 0.222 -> 0.223 → https://git.io/JJPzD
<{^_^}> [nixpkgs] @veprbl pushed commit from @gnidorah to master « mame: 0.222 -> 0.223 (#94853) »: https://git.io/JJXUN
noudle has quit []
<numkem> anyone got `nix-index` working with nixos-unstable? the filesize is really small
Kritnich has quit [Quit: Bye bye.]
<pbogdan> same here numkem :-(
Kritnich has joined #nixos
<pbogdan> it seems it can't find a lot of paths, no clue why tho
<numkem> I've still got a very old version but it's very outdated
orivej has quit [Quit: No Ping reply in 180 seconds.]
drakonis1 has joined #nixos
<numkem> yeah so 1.3MB vs 28MB...
<__monty__> I'm packaging something that has two licenses (a license and an appendix), I can easily define an attrset with all the license attributes spdxId, url, etc., and meta.license can be a list but it looks like it's usually used for multi-licensed projects where you can choose which license you want to use it under. How do I specify two licenses in an AND relation?
orivej has joined #nixos
<infinisil> __monty__: Hm I'd think you'd use a single entry with an inline-defined license
<infinisil> So a single new license that contains both parts
justanotheruser has joined #nixos
<__monty__> infinisil: But how do you include two urls?
alexherbo2 has quit [Ping timeout: 260 seconds]
<infinisil> __monty__: I'm not sure if there's even something that checks license attributes
<{^_^}> [nixpkgs] @notaLonelyDay opened pull request #94874 → telegram-cli: init at 2016-03-23 → https://git.io/JJXTy
<infinisil> So it might be fine to just define `url` for the main url and `appendixUrl` for the appendix
justanotheruser has quit [Client Quit]
asheshambasta has quit [Ping timeout: 246 seconds]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @matthuszagh opened pull request #94875 → cgal: add patch so include files can be found by dependent packages → https://git.io/JJXkT
<{^_^}> [nixpkgs] @markuskowa merged pull request #94829 → openmpi: enable c++ bindings → https://git.io/JJPT5
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JJXkZ
proofofkeags has quit [Ping timeout: 246 seconds]
knupfer has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @fzakaria opened pull request #94876 → refactor: refactor jruby to allow multiple versions → https://git.io/JJXkM
alp has joined #nixos
realisation has quit [Quit: Lost terminal]
user_0x58 has joined #nixos
alexherbo2 has quit [Ping timeout: 256 seconds]
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @matthuszagh opened pull request #94877 → vtk: enable qt gui support → https://git.io/JJXIU
<numkem> how can i know where the current channel is?
<infinisil> ,status
<{^_^}> infinisil: Did you mean stats?
<infinisil> ,howoldis
<infinisil> numkem: ^
varun_ has quit [Ping timeout: 260 seconds]
<numkem> infinisil: I mean the current installed channel, I'm interested in finding the current `programs.sqlite` in the nix-store
<numkem> infinisil: there has to be a symlink to that path somewhere, I just don't know where it is
<infinisil> numkem: Ah yeah
<infinisil> > nixos.config.programs.command-not-found.dbPath
<{^_^}> "/nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite"
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/066c604eec6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
knupfer has joined #nixos
<numkem> infinisil: thanks! should I always bind it to root or use the user's instead?
zupo has joined #nixos
<infinisil> On NixOS it makes sense to use the roots channel, as that's usually what nixpkgs the system uses too
realisation has joined #nixos
<numkem> infinisil: with nix-locate being broken on unstable, I'd like to explore doing a `comma` version that would take into account `programs.sqlite`
<infinisil> "comma"?
<realisation> if you guys installed postgres with nix-env, where would you put your data directory?
<infinisil> numkem: I also heard programs.sqlite being kind of broken recently though. Potentially both nix-index and programs.sqlite are broken because of the same underlying cause
<numkem> infinisil: https://github.com/Shopify/comma/blob/master/%2C it makes you able to run binairies without having to use nix-shell and guess what the package it
<infinisil> numkem: Ah, note that the standard command-not-found also supports pretty much the same thing :)
meh` has quit [Ping timeout: 256 seconds]
<numkem> infinisil: I guess I should make it work with my zsh prompt
mrosenbe has joined #nixos
<infinisil> Oh that's nix-index's command-not-found
<eyJhb> Any way to access the set name, from inside the set?
<eyJhb> "somenhing" = { val = "${parent.key}"; }
Kritnich9 has joined #nixos
sangoma has quit [Ping timeout: 264 seconds]
<infinisil> Nope
knupfer has quit [Ping timeout: 246 seconds]
<eyJhb> I am so sure, that what I am doing is some ugly Nix
<eyJhb> But hey, it is a start. Thanks infinisil
<infinisil> > let key = "something"; ${key} = { val = key; }; in something
<{^_^}> error: dynamic attributes not allowed in let at (string):320:1
euandreh has quit [Ping timeout: 272 seconds]
turlando has quit [Ping timeout: 256 seconds]
<numkem> infinisil: interesting, how do you set it up yourself?
<eyJhb> infinisil: that would be even more ugly :p - https://termbin.com/no3zf
<infinisil> numkem: I'm not using any command-not-found myself. Just manually nix-locate when I need something
<eyJhb> But that is the only other method I thought of as well
mrosenbe has quit [Ping timeout: 256 seconds]
<numkem> infinisil: does nix-index works for you with unstable?
noudle has joined #nixos
Kritnich has quit [Ping timeout: 260 seconds]
Kritnich9 is now known as Kritnich
<infinisil> I haven't updated it in a while
<infinisil> numkem: What doesn't work about it for you?
alexherbo2 has joined #nixos
<numkem> infinisil: it doesn't find anything currently. My old version was 28MB and this one only generates a file of 1.3MB. I'm on unstable-small too if that makes a difference
<pbogdan> I think I see what the issue might be with nix-index
<infinisil> Ah right you mentioned that already
<infinisil> I guess I can try running it myself too
<numkem> hence why I'm thinking of writing something that would use `programs.sqlite`
<pbogdan> it _seems_ that nix used to write nar listings under <hash>.ls{,xz} now they seem to be under <hash>-<name>.ls{.xz}
<pbogdan> I could be wrong tho as I don't really know much about it all
<numkem> querying it manually returns expected results
<infinisil> pbogdan: You mean NixOS caches?
<pbogdan> yea
<infinisil> s/NixOS/Nix
<pbogdan> I _think_ previously it would be under say https://cache.nixos.org/4jzar8ff0ag3i6xmj6q5cv64wsvw88m5.ls
<infinisil> About caches I only know that they have narinfo files in e.g. cache.nixos.org/<hash>.narinfo
<{^_^}> [nixpkgs] @stigtsp opened pull request #94878 → nixos/tests: add test for firejail → https://git.io/JJXLI
<infinisil> Ah the ls files are file listings I see
<pbogdan> yeah, nix-index queries those but they seem to have moved
<infinisil> That would probably explain it indeed!
<pbogdan> there even seems to be a change in nix that may have caused it
<pbogdan> but it's all over my head a bit really :)
alp has quit [Ping timeout: 246 seconds]
fresheyeball has quit [Ping timeout: 260 seconds]
<eyJhb> Sets in nix are sorted, right?
<eyJhb> Nvm, makes no sense
<infinisil> eyJhb: They are actually yes :)
alexherbo2 has quit [Ping timeout: 260 seconds]
<infinisil> > { z = null; zz = null; a = null; }
<{^_^}> { a = null; z = null; zz = null; }
jb55 has quit [Remote host closed the connection]
fresheyeball has joined #nixos
jb55 has joined #nixos
sigmundv has quit [Ping timeout: 264 seconds]
buckley310 has joined #nixos
<bqv> > attrNames { z = null; zz = null; a = null; }
<{^_^}> [ "a" "z" "zz" ]
<bqv> Huh
<bqv> TIL
<numkem> pbogdan: could you open an issue with nix-index about this? Seems like you've figured out the problem
<clever> bqv: all pure functions return the keys sorted by the string
<clever> bqv: but behind the scenes, the keys are sorted by the order a key was first seen, globally
<clever> bqv: you can only see that detail leak out, if you builtins.trace in the right area, and look at the order of the traces
<bqv> Heh
<eyJhb> Not sure if you will/can comment on this infinisil , but does this look VERY terrible? https://termbin.com/n64d
<infinisil> eyJhb: Why `inherit default`?
<bqv> It's still nuts to me that you're building apks with nix
<infinisil> numkem: I just asked eelco in #nixos-dev if what pbogdan suggested could be the case
<pbogdan> patched nix-index to look for <hash>-<name>.ls just to test, things look promising so far
<numkem> infinisil: Thanks!
<infinisil> pbogdan: Oh neat
<bqv> numkem: oh, I noticed this a while back
<bqv> Nobody said anything so I thought it was just me
<bqv> I got a 1.3mb file too though
<bqv> Everyone else said theirs was 26-28mb
bahamas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @jonringer merged pull request #94179 → pythonPackages.cot: init at 2.2.1 → https://git.io/JJz8j
<{^_^}> [nixpkgs] @jonringer pushed commit from @evanjs to master « pythonPackages.cot: init at 2.2.1 »: https://git.io/JJXLK
alexherbo2 has joined #nixos
mzan has joined #nixos
<{^_^}> [nixpkgs] @elohmeier opened pull request #94879 → otfcc: fix aarch64 compatibility → https://git.io/JJXLD
<{^_^}> [nixpkgs] @LouisDK1 opened pull request #94880 → thunderbird: Enable official branding by default → https://git.io/JJXL9
<eyJhb> infinisil: I want the default set to be in each expression
<eyJhb> And override on a need to basis
euandreh has joined #nixos
<pbogdan> it seems that's it, before ~3.5k paths found db size ~1.3 mb, with the patch ~47k paths found db size ~27mb
<bqv> pbogdan: would you donate me a diff?
<pbogdan> I guess it's a question if that's an intentional change in Nix and nix-index should adapt, or an oversight/bug
<pbogdan> bqv: yeah, one sec
<{^_^}> [nixpkgs] @guillaumecherel opened pull request #94881 → mblaze: fix mcom to use file utility. → https://git.io/JJXte
<eyJhb> Basically versions should contain more than 1 version
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
nixfix45 has joined #nixos
<pbogdan> bqv: https://gist.github.com/pbogdan/61122eba24fbcf08877751a39fd7626f that's on top of nix-index master
dingenskirchen has quit [Client Quit]
<pbogdan> (disclaimer: I don't really know what I'm doing :))
<bqv> Doing gods work
dingenskirchen has joined #nixos
<pbogdan> :D
<{^_^}> [nixpkgs] @jonringer merged pull request #94833 → osu-lazer: 2020.801.0 -> 2020.806.0 → https://git.io/JJPq1
<{^_^}> [nixpkgs] @jonringer pushed commit from @notgne2 to master « osu-lazer: osu-lazer: 2020.801.0 -> 2020.806.0 »: https://git.io/JJXtm
mallox has quit [Quit: WeeChat 2.9]
<nixfix45> Hi, when i boot nixos and select the default profile (which i just rebuild using head of 20.03) i getError: Premature end of file (hd0,gpt1)//kernels/jdoidpsuv78e37gux9wr-linux-5.4.56-bzImage.Error: you must load the kernel first
proofofkeags has joined #nixos
mallox has joined #nixos
<nixfix45> Im trying to fix. Ive booted into a live cd, ran nixos-enter. And rolled back to an earlier version of 20.03, but when i nixos-rebuild switch, I get error: writing to file: operation not permitted
<visl> Is there a way to get nix-shell to source ~/.bash_profile or ~/.bashrc on start? (workflow on nixos: new bash terminal -> nix-shell -p someapp then source ~/.bash_profile)
Mateon2 has joined #nixos
ris has joined #nixos
<nixfix45> Could someone recommend how i might fix my build?
<{^_^}> [nixpkgs] @thongpv87 opened pull request #94882 → add ibus-bamboo engine for ibus input method → https://git.io/JJXtu
<{^_^}> [nixpkgs] @jonringer merged pull request #94850 → azure-cli: pin cryptography → https://git.io/JJP85
<{^_^}> [nixpkgs] @jonringer pushed to master « azure-cli: pin cryptography »: https://git.io/JJXtz
mallox has quit [Client Quit]
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon2 is now known as Mateon1
cole-h has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #94857 → discord: 0.10 -> 0.11 → https://git.io/JJPwp
icey_ has joined #nixos
realisat1on has joined #nixos
drakonis1 has quit [Ping timeout: 246 seconds]
iceypoi has quit [Ping timeout: 240 seconds]
drakonis has quit [Ping timeout: 265 seconds]
knupfer has joined #nixos
realisation has quit [Ping timeout: 256 seconds]
alexherbo2 has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
<jlv> Anyone know a good guide on building Haskell projects with Nix? As in, using `nix-build`. Everything I'm seeing, including the nixpkgs Haskell manual (https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/haskell.section.md), only shows you how to setup a Haskell environment with Nix.
nixfix45 has quit [Remote host closed the connection]
<srhb> jlv: Or if you cabal2nix --shell > shell.nix, you can build that directly
drakonis has quit [Read error: Connection reset by peer]
<infinisil> jlv: You can ignore the HIE parts, but I recently made a template project for HIE here: https://github.com/Infinisil/all-hies/tree/master/templates/nixpkgs-cabal
realisation has joined #nixos
<infinisil> (or replace HIE with haskell-language-server, its successor)
drakonis has joined #nixos
realisat1on has quit [Ping timeout: 256 seconds]
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
asbachb has joined #nixos
<asbachb> Do I get it right that I cannot allow ports for specific ips via configuration (firewall)?
<{^_^}> [nixpkgs] @jonringer merged pull request #94268 → pythonPackages.binwalk: add dependencies → https://git.io/JJ2Wl
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JJXqT
<jlv> srhb: that still looks like it's configuring the project with cabal. I'm interested in setting up the project and managing dependencies with Nix. Like `pkgs.buildPythonPackage` for Python.
<bqv> asbachb: you can, with iptables/nftables
noudle has quit []
<bqv> but not through nixos, no
<jlv> infinisil: that looks closer to what I'm looking for. It looks a lot more complicated than I was expecting.
<srhb> jlv: It's "with cabal" in the sense that the nix expression is generated from the cabal file.
<srhb> cabal-install isn't actually used at build time (Cabal is, though)
<asbachb> bqv: Hate iptables syntax. There's a problem every time I declare rules.
<bqv> that's why i use nftables
<srhb> jlv: infinisil's version calls cabal2nix automatically for you though :)
<bqv> nixos supports nftables with enough ...persuasion
<jlv> srhb: does that mean Nix cannot build Haskell projects on its own, like it does for Python? I vaguely remember hearing that Nix is an alternative to other Haskell dependency managers such as Cabal, as opposed to a wrapper around Cabal. I figured it would be possible, since nixpkgs includes Haskell libraries.
<srhb> jlv: There are some alternatives that don't even use Cabal, but most nix haskell builders do like cabal-install and stack and use Cabal behind the scenes
<simpson> jlv: "cabal" refers to several different pieces of GHC's module-and-package system, including the support scripts used to do build-time configuration.
<srhb> jlv: (basically just calling the Setup.hs)
<srhb> jlv: I don't think I know how to compare it to buildPythonPackage since there's... Nothing to build really :)
<simpson> srhb++ for the simpler explanation
<{^_^}> srhb's karma got increased to 119
<srhb> simpson++ for the in-depthiness!
<{^_^}> simpson's karma got increased to 28
<iqubic> What does this error mean when running `nix-env -iA nixos-2003.discord`? error: attribute 'nixos-2003' in selection path 'nixos-2003.discord' not found
<srhb> iqubic: nixos-2003 does not appear to exist in your defexprs
<iqubic> But it doe exit.
<iqubic> *exist.
<srhb> iqubic: in ~/.nix-defexpr ?
<iqubic> sudo nix-channel --list gives me:
<srhb> Do you have ~/.nix-defexpr/channels_root/nixos-2003 ?
<iqubic> No idea. Let me check.
<srhb> Or rather, does that channels_root symlink exist for you
drakonis1 has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<iqubic> Yes
<iqubic> Yes to both things.
<iqubic> I have ~/.nix-defexpr/channels_root/nixos-2003
<srhb> Hm! Does the channel have contents?
drakonis has joined #nixos
<iqubic> Running `sudo nix-channel --update` fixed my issue
<{^_^}> [nixpkgs] @jonringer opened pull request #94883 → python3Packages.vega: fix build → https://git.io/JJXmY
<srhb> Right. :) It was empty.
<worldofpeace> hi romildo
<jlv> srhb: I guess I was expecting something simpler. Something like `buildHaskellPackage { ...; propagatedBuildInputs = with haskellPackages; [ ... ]; }`.
<jlv> Something that could abstract the cabal stuff.
<srhb> jlv: That is what cabal2nix generates for you
<jlv> srhb: I guess I want that without making a cabal project first XD
<srhb> jlv: Afterwards, you can maintain it by hand if you like, but it's easier to just keep it in sync either with cabal2nix, or by having nix call it for you with callCabal2nix
<srhb> jlv: I don't recommend that :)
<jlv> srhb: I have more Nix experience than Haskell, so I'll have to learn how to use Cabal, just so I can use Nix instead of Cabal.
<infinisil> cabal is needed in any case for development
<infinisil> cabal repl, cabal build, cabal test, etc.
<srhb> jlv: The non-Cabal builds are really, really esoteric and require Nix to reimplement the logic of Cabal in various ways
<srhb> jlv: You should learn how to create, at least, cabal file or their equivalents.
<srhb> But that's just, like, my opinion. :-P
<infinisil> I think cabal + nix is a great combo
<srhb> I do too.
<jlv> infinisil: I wanted to replace that with `nix-build`, `eval "$checkPhase"`, etc. That's how I manage my PureScript projects for example.
TethysSvensson has joined #nixos
<srhb> You can still do that.
<infinisil> I guess that would be possible with some effort
<srhb> pbogdan: mind if I throw a low-effort issue at the nix-index repo with your patch linked?
spudly- has joined #nixos
spudly- is now known as spudly
asbachb has quit [Ping timeout: 245 seconds]
waleee-cl has joined #nixos
<jlv> For example, my PureScript is managed purely with Nix and the `purs` compiler. I fetch packages with `fetchGit` (using Git revisions from the appropriate package set) and pass the Nix store paths to the `purs` compiler. I ended up with this after growing frustrated with bugs in spago2nix. It ended up being much simpler to just use Nix.
<srhb> jlv: I think you may be making some assumptions about have cabal is used here that are wrong
<srhb> for instance, nix will still be fetching all your deps
TethysSvensson has quit [Remote host closed the connection]
<srhb> s/have/how
<worldofpeace> romildo: I may not be available timely, so a pm would be a good idea. just wanted to mention that in case it turns into a ping battle
mekster has left #nixos [#nixos]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-lsp-test: update override to the latest version »: https://git.io/JJXYm
asymptotically has left #nixos ["Leaving"]
<jlv> srhb: I think I understand that part. My understanding is that I will still have to maintain some sort of dependency list in a cabal manner, and use the cabal binary to configure the project and dependencies.
<{^_^}> [nixpkgs] @matthuszagh closed pull request #94877 → vtk: enable qt gui support → https://git.io/JJXIU
<srhb> jlv: That is correct, yes. :)
<srhb> Well, the first part
<srhb> Not the latter
<srhb> You do not have to use the cabal binary ever.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages to fix evaluation errors »: https://git.io/JJXYs
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJXYn
<jlv> srhb: so I can make a cabal file of dependencies, run `cabal2nix`, and build with `nix-build`?
<__monty__> Anyone know what meta.platforms to specify for TrueType fonts?
kreyren has quit [Remote host closed the connection]
<__monty__> Or should I just list the platforms the publisher mentions explicitly?
<srhb> jlv: Yes.
<__monty__> If so, are there platform definitions for iOS and Android?
<infinisil> __monty__: platforms.all
<infinisil> No reason to limit fonts to specific platforms
<__monty__> It's because this font didn't work on macOS as-is. Had to use a different font file they publish.
<__monty__> all is the default, right?
<infinisil> Probably
<__monty__> What's the accepted way to require agreement to a license? A boolean argument that defaults to false?
Neo-- has joined #nixos
<infinisil> Why would a ttf font not work on a specific system though. Pretty sure ttf is a standard
<__monty__> ¯\_(ツ)_/¯ I don't know why it doesn't work. All I know is it doesn't work : )
lunik18 has quit [Ping timeout: 260 seconds]
<infinisil> There's pkgs.requireFile for having users manually download stuff
lunik1 has joined #nixos
<__monty__> Hmm, I'd prefer being able to agree once in your configuration.nix though.
<jlv> srhb: I guess that isn't too bad. I'm still not sure why nixpkgs contains Haskell libraries, if you use cabal anyway.
<__monty__> jlv: For packages that require haskell libraries.
<jlv> __monty__: as in, non Haskell packages that require Haskell libraries?
<jlv> __monty__: See `security.acme.acceptTerms` for license agreement.
<__monty__> jlv: As in a program like pandoc, which depends on haskell libraries.
meh` has joined #nixos
<infinisil> __monty__: For NixOS you can have an option that's false by default and throws an assertion unless it's turned on
<__monty__> It's not for a module, just a package.
<__monty__> So I don't think options are an option?
kaliumxyz has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @chiroptical closed pull request #94866 → jupyterhub, jupyter-telemetry: 1.0.0 -> 1.1.0, init at 0.1.0 → https://git.io/JJPHQ
<urkk> dammit, without --with-sandbox-shell set, ldd is unusable from the sandbox
thc202 has quit [Ping timeout: 256 seconds]
<urkk> anything using /bin/sh actually, unless I add the sandbox manually
<urkk> sandbox path*
<{^_^}> [nixpkgs] @peti merged pull request #94321 → ghcHEAD: 8.11.20200505 -> 8.11.20200731 → https://git.io/JJ2Nj
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JJXON
<jlv> __monty__: you could use something like `nixpkgs.config.acceptTheseTerms`, similar to `nixpkgs.config.allowUnfree`.
<{^_^}> [nixpkgs] @peti pushed 17 commits to haskell-updates: https://git.io/JJXOj
<jlv> At least, I think you can. I've never tried it.
<pbogdan> srhb: sure, no problem; and thank you
<{^_^}> [nixpkgs] @peti pushed 8 commits to haskell-updates: https://git.io/JJX3f
v0|d has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #94831 → pdns-recursor: 4.3.2 -> 4.3.3 → https://git.io/JJPL0
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JJX3I
<__monty__> jlv: I was thinking more of just having an argument to the package. ffmpeg-full has `fdkaacExtlib ? false` because the Fraunhofer FDK library isn't foss afaik.
<jlv> __monty__: ya. That would also work. You'd need an overlay to use the package though.
alexherbo2 has joined #nixos
<jlv> FYI, I don't necessarily think `nixpkgs.config.acceptSomeTerms` is a great solution XD Just pointing it out.
<__monty__> jlv: You can just do `somepackage.override { acceptLicense = true; }`.
<__monty__> From configuration.nix or using nix-env.
noudle has joined #nixos
<jlv> __monty__: True. I guess that would be easier in some situations.
<jlv> That's probably better than `nixpkgs.config`.
<urkk> is there an option to set the store location in nix.conf rather than using NIX_STORE_DIR?
<__monty__> Don't tell anyone but what I want is something as close as possible to a simple "accept" button, minimum friction. I don't really care whether that has implications on enforceability of the license >.> <.<
<__monty__> But if there's a defacto way of doing this I'd gladly adopt it.
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<jlv> __monty__: I don't think I've ever seen a package that requires you to accept a license. The closest I've seen is `nixpkgs.config.allowUnfree`. I think you're treading new ground here XD
<{^_^}> [nixpkgs] @peti merged pull request #94872 → Update Haskell package set to LTS 16.8 (plus other fixes) → https://git.io/JJXv7
<srhb> jlv: I think android sdk does, or used to
<{^_^}> [nixpkgs] @peti pushed 9 commits to master: https://git.io/JJX3P
<srhb> It's fairly ick
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JJX31
SourOatMilk[m] has joined #nixos
<__monty__> I wonder whether that's because nixpkgs doesn't have any packages with a license that requires acceptance of terms or whether people didn't really care.
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/4364ff933eb (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<{^_^}> [nixpkgs] @ggreif opened pull request #94884 → Disable profiling builds for AArch64 → https://git.io/JJX3H
<energizer> is there a table that shows the nix 2.0 cli equivalents for all the nix- commands?
<clever> jlv: oraclejdk and pkgs.requireFile
<clever> jlv: nix cant download the tar, it instead tells you to open a url in your browser and dl, and you must accept the license to DL
<numkem> pbogdan: did your change to nix-index worked?
<lunik1> is it possible to ad-hoc install a package with overrides?
<srhb> lunik1: Sure. What do you need to override?
ddellacosta has quit [Ping timeout: 240 seconds]
<srhb> lunik1: For ease of use, if you can get a result link, you can nix-env -i it
<lunik1> I have a package that takes ffmpeg as a build input and I want to override it with ffmpeg-full
<{^_^}> [nixpkgs] @chiroptical opened pull request #94885 → pythonPackages.jupyterhub: 1.0.0 -> 1.1.0 → https://git.io/JJX3b
andreas303 has quit [Remote host closed the connection]
<srhb> lunik1: nix-env -iE '_: with import <nixpkgs> {}; yourthing.override { ffmpeg = ffmpeg-full; }'
<jlv> clever: I figured `pkgs.requireFile` is mostly for files that cannot be downloaded by Nix. I think __monty__ has a file that can be downloaded by Nix, but the package requires a license agreement.
<{^_^}> [nixpkgs] @peti merged pull request #94884 → ghcHEAD: disable profiling builds for AArch64 → https://git.io/JJX3H
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JJX3p
<{^_^}> [nixpkgs] @turboMaCk opened pull request #94886 → bs-platform: 7.3.2 -> 8.2.0 → https://git.io/JJX3j
pr06lefs has quit [Ping timeout: 244 seconds]
<energizer> how do i download /nix/store/s7i4m25h981ws360jq2rjnsvhlc5j8w7-nixos-20.03 ?
andreas303 has joined #nixos
<srhb> energizer: You probably don't
<srhb> energizer: It doesn't look like a path hydra knows about
<colemickens> how do I actually pass args to nix run with flakes?
travelion has joined #nixos
<srhb> energizer: From whence did you get that path?
<srhb> energizer: It sounds like a nixos system
<energizer> oh
<bqv> colemickens: ...?
pr06lefs has joined #nixos
karantan has joined #nixos
MichaelRaskin has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #94887 → range-v3: 0.10.0 -> 0.11.0 → https://git.io/JJXsq
<colemickens> bqv, idk I threw in a -- and finally got what I wanted
<energizer> how do you check if hydra knows about a path?
<srhb> energizer: You can either curl it for <hash>.narinfo or just try to nix-store --realize <path>
<srhb> Sorry, --realise. British english.
<energizer> what is the difference between nixpkgs release-20.03 vs nixos-20.03?
<lunik1> srhp: hmm it says youthing us not foubd, but nix-build and nix-install work
<srhb> energizer: release is untested, nixos is after tests pass.
<srhb> lunik1: You were meant to insert your package there :)
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #94888 → gopls: 0.4.3 -> 0.4.4 → https://git.io/JJXss
<srhb> lunik1: The one you wanted to override ffmpeg for
<srhb> Sorry that wasn't clear.
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJXsG
<lunik1> Yes sorry that's what I did
<energizer> srhb: these names arent exactly transparent are they :)
<srhb> lunik1: Do you have an overlay that adds it to your nixpkgs set up?
<srhb> energizer: No, that's sort of a fundamental requirement. :D
<lunik1> srhb: I just used -f . from the root of my local copy
<{^_^}> [nixpkgs] @primeos opened pull request #94889 → mesa: 20.1.4 -> 20.1.5 → https://git.io/JJXsl
<srhb> lunik1: Ah, then year, you'd wanted to import that instead of nixpkgs directly.
<srhb> Either way, you got it to work :)
dingenskirchen has quit [Remote host closed the connection]
<lunik1> srhb: It still didn't work with -f . though :(
<numkem> I'm trying to do an overrideAttrs on nix-index to apply a patch and while the src/patches are being applied, it seems to be ignoring the cargoSha256 override
<srhb> lunik1: But you can build it with `nix-build .` ? :)
<{^_^}> [nix] @edolstra pushed to master « Fix .ls file names in binary caches »: https://git.io/JJXsV
<srhb> lunik1: At this point it'd be much easier to see your expression instead of trying to reverse engineer it :P
<lunik1> srhb: Yes, but how can I do overrides with nix-build?
<srhb> numkem: fwiw eelco is fixing it.
<srhb> lunik1: Using -E as well
<srhb> Or you could just create a new file that does it
<srhb> That's easier :)
<{^_^}> [nixpkgs] @primeos pushed to master « wob: 0.8 -> 0.9 »: https://git.io/JJXGr
<numkem> srhb: thanks for that, so the cargoSha256 gets transformed
<srhb> numkem: It does, and there's no overrideRustPackage
<lunik1> Ok thanks!
<numkem> srhb: thanks! I'll keep that as a note srhb++
<{^_^}> srhb's karma got increased to 120
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<energizer> what does this mean? https://bpa.st/ODVQ
<energizer> (note: i'm using proot in a complicated situation)
xkapastel has quit [Quit: Connection closed for inactivity]
sangoma has joined #nixos
<srhb> energizer: Sounds like builtins.fetchTarball didn't produce the path it should have, or it's not in the right location, or the import isn't able to find it for some reason
<srhb> energizer: It _should_ have resulted in that path.
<energizer> srhb: that file doesnt exist
<srhb> Right.
<srhb> (it should be the unpacked nixpkgs repo)
kreyren has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @lucperkins opened pull request #94890 → opa: 0.15.0 -> 0.22.0 → https://git.io/JJXnC
<numkem> huge pbogdan++ for the nix-index temporary fix :)
<{^_^}> pbogdan's karma got increased to 7
<energizer> maybe it's not hanging and it's just slow as hell. i dont know how to check that
<{^_^}> [nixpkgs] @jonringer merged pull request #94883 → python3Packages.vega: fix build → https://git.io/JJXmY
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.vega: fix build »: https://git.io/JJXno
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]
justanotheruser has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/JJXni
<urkk> so I built the static nix, and now I get `nix build --store ~/mystore`
<urkk> error: getting status of '/nix': No such file or directory
<smyds> srk: managed to use tidal with emacs using lorri and direnv :)
xeijin has joined #nixos
<justanotheruser> how can I review / delete all the profiles I have created with `nixos-rebuild switch -p foo`
<urkk> with strace I only see one unique call to lstat after opening the db: lstat("/nix", 0x7fffb3f4e9e8) = -1 ENOENT
<xeijin> hello, does anyone have a single file example of pulling, modifying and then deploying a docker image?
<xeijin> I can find separate examples of the pull/modify and deploy, but the pull/modify requires a `nix-build` at the command line
<xeijin> I am trying to do this only through nix config
<numkem> xeijin: I've managed to build it through hydra without issues but the deploying (to a docker registry) is something I haven't found how
<xeijin> numkem interesting didnt even think of that
<numkem> xeijin: Someone mentioned at some point it's possible to make hydra do commands after it's done but I haven't found how to do it nor any documentation
<xeijin> Actually, by deploy I meant run the image on the local machine
<numkem> the only bit I'm missing is the push to a registry, the rest hydra is great to use for
<xeijin> i.e. using `docker-containers`
meck has quit [Quit: ZNC 1.8.1 - https://znc.in]
<eyJhb> Is there a smart way to apply this to Firefox? https://termbin.com/ufjwy currently I think it builds it, then applies it. Not 100% sure if it works
<numkem> xeijin: docker-containers.<name>.imageFile seems to be what you are looking for https://nixos.org/nixos/options.html#docker-container
<eyJhb> 100% it does not work
KarlJoad has joined #nixos
<numkem> xeijin: once the container is built
<numkem> xeijin: or actually by referencing it as a derivation would trigger the build
<xeijin> numkem right but what I'm struggling with is getting the build and the deploy all within one file
<xeijin> Basically I want to create a module
<xeijin> and if the module is enabled
<KarlJoad> I am attempting to automate the building of my Jekyll website using the `nix-build` command and a default.nix file. How can I link the output from the store into the correct /var/www location?
<xeijin> then it goes and builds the docker image
<xeijin> then deploys it
varun_ has joined #nixos
varun_ has quit [Client Quit]
travelion[m] has joined #nixos
<numkem> xeijin: what I'd do is to create an overlay with this package inside of it, than you can refer to it using that option.
blahblahblahblah has joined #nixos
<numkem> xeijin: this is a module I have done that is waiting to be merged, it gives you an idea how it would look like. In that module I would than refer the package through the docker-container option https://raw.githubusercontent.com/NixOS/nixpkgs/69b97c3d0af4f9ca8945ecc96219948eafebf6f3/nixos/modules/services/desktops/espanso.nix
blahblahblahblah has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #88783 → libayatana-appindicator: init at 0.5.4 libayatana-indicator: init at 0.6.3 ayatana-ido: init at 0.4.90 → https://git.io/JfapM
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to master: https://git.io/JJXc1
meck has joined #nixos
<dottedmag> I'm trying to install NixOS on a dm-crypted partition with btrfs. It works as far as booting Grub, decrypting dm-crypt and loading kernel and initrd, but "boot" Grub command hangs with no output.
<dottedmag> Any hints how to debug what's going on?
alp has joined #nixos
<dottedmag> I can see contents of the fs where /boot is located, so dm-crypt and btrfs modules of Grub seem to be working fine.
xeijin has quit [Ping timeout: 245 seconds]
<dottedmag> Earlier today I installed NixOS on the same laptop on btrfs without dm-crypt, and it worked fine.
quinn has joined #nixos
invokesus has joined #nixos
Neo-- has quit [Remote host closed the connection]
<{^_^}> [nixos-org-configurations] @edolstra pushed 3 commits to master: https://git.io/JJXC4
MightyJoe has quit [Ping timeout: 256 seconds]
cyraxjoe has joined #nixos
<{^_^}> [nixpkgs] @gvolpe opened pull request #94891 → dconf2nix: init at 0.5.0 → https://git.io/JJXCR
<{^_^}> [nixpkgs] @toonn opened pull request #94892 → Font joypixels emoji → https://git.io/JJXCg
<__monty__> infinisil: If you have some time I'd appreciate your opinion on ^ #94892
<{^_^}> https://github.com/NixOS/nixpkgs/pull/94892 (by toonn, 35 seconds ago, open): Font joypixels emoji
<KarlJoad> Is it possible to link something from /nix/store to a standard location like /var/www?
meh` has quit [Ping timeout: 256 seconds]
<eyJhb> Is there a smart way to apply this to Firefox? https://termbin.com/ufjwy currently I think it builds it, then applies it. Doesn't work at least :p
<eyJhb> Hey __monty__ ! Do you know why? ;)
<energizer> what does this mean? https://bpa.st/YOLQ
<energizer> KarlJoad: you can do that in `activation` but its sorta frowned upon
<KarlJoad> energizer: I'm using `nix-build` to generate my Jekyll site, and I have the site contents output into $out. I want to, somehow, link that directory to /var/www, so I can serve it
<{^_^}> [nixpkgs] @LeUlukai opened pull request #94893 → jetbrains.*: 2020.1.* -> 2020.2 → https://git.io/JJXCM
<energizer> KarlJoad: jekyll can only serve from /var/www /
<energizer> ?
<__monty__> eyJhb: Are you redefining firefox-policies in an overlay? Maybe firefox is still using the old definition?
<__monty__> eyJhb: Oh, also, I don't think // is sensible on derivations.
<KarlJoad> energizer: No, I don't believe so. But, I have nginx looking at /var/www/website for the website's contents.
<eyJhb> __monty__: actually a part of the browsers/firefox/packages.nix in nixpkgs
<__monty__> You need to override or overrideAttrs.
knupfer has quit [Ping timeout: 244 seconds]
<eyJhb> overrideAttrs sounds like the thing
<eyJhb> Not sure I can use it however, seems like patches is unknown to it
<{^_^}> [nixpkgs] @zimbatm merged pull request #94888 → gopls: 0.4.3 -> 0.4.4 → https://git.io/JJXss
<{^_^}> [nixpkgs] @zimbatm pushed commit from @rvolosatovs to master « gopls: 0.4.3 -> 0.4.4 (#94888) »: https://git.io/JJXCd
fendor has quit [Remote host closed the connection]
<energizer> KarlJoad: i'm not sure what's idiomatic. there are a handful of people with nix-based websites, like grahamc.com and christine.website, maybe their source is available
kenran has joined #nixos
<infinisil> KarlJoad: You can create a derivation that just symlinks to /var/www or so
<infinisil> pkgs.runCommandNoCC "www" {} "ln -s /var/www $out"
<KarlJoad> infinisil: I can't symlink to /var because /var is owned by root, and the nix builder doesn't have access.
<infinisil> KarlJoad: You don't need access to it during the build though
<infinisil> `ln -s` doesn't try to read/write the link destination
<eyJhb> Works now __monty__ , thanks!
fendor has joined #nixos
<KarlJoad> It might have been because I was using the -T flag.
knupfer has joined #nixos
ToxicFrog has quit [Read error: Connection reset by peer]
ToxicFrog has joined #nixos
dermetfan has quit [Ping timeout: 244 seconds]
orivej has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
proofofkeags has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #94894 → python3Packages.dask: 2.14.0 -> 2.22.0 → https://git.io/JJXW7
ddellacosta has joined #nixos
KarlJoad has left #nixos ["ERC (IRC client for Emacs 26.3)"]
ckauhaus has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @FRidh pushed 195 commits to staging-next: https://git.io/JJXlk
<{^_^}> [nixpkgs] @FRidh pushed 276 commits to staging: https://git.io/JJXlt
kenran has quit [Remote host closed the connection]
<{^_^}> [mobile-nixos] @colemickens opened pull request #191 → google-blueline: init → https://git.io/JJXl4
xkapastel has joined #nixos
<ryantm> Is there an easy way to find the Git commit rev from a fetchFromGitHub derivation?
ingenieroariel has joined #nixos
<infinisil> So should be just `(fetchFromGitHub { ... }).rev`
<{^_^}> [nixpkgs] @bwolf opened pull request #94895 → Allow openfortivpn to be used on Darwin → https://git.io/JJXlX
<ryantm> infinisil: Thanks and sorry I don't mean the attr passed in, i mean the git sha hash for the commit that is fetched.
<ryantm> It's not always the same because you can pass in a tag for a rev, for example.
<infinisil> Oh I see
<infinisil> ryantm: Don't think that's easily possible, because the tarballs github serves don't seem to point to the commit in any way
<infinisil> Also, since this info is only available during build time, it can't influence the resulting output without changing the hash
<ryantm> infinisil: Oh yeah, it uses the tag in the folder name.
pamplemousse has joined #nixos
dermetfan has joined #nixos
lsix has quit [Quit: WeeChat 2.9]
vikingman has joined #nixos
tobiasBora2 has quit [Ping timeout: 256 seconds]
alp has quit [Ping timeout: 240 seconds]
spease has joined #nixos
<spease> Hi, how does one allowUnsupportedSystem in a default.nix for a package which nominally doesn't support the current platform in the nix repo (but you'd like to try building it anyway to see if it works)?
<{^_^}> [nixpkgs] @bwolf opened pull request #94896 → Jetbrains IDE updates 2020.1 -> 2020.2 → https://git.io/JJX8s
<infinisil> spease: For importing nixpkgs, use `import nixpkgs { config.allowUnsupportedSystems = true; }`
<spease> infinisil Thanks!
<spease> infinisil If it works, is there any documentation on how to update the list of platforms and upstream it?
<infinisil> spease: There's no docs for specifically that. But it's pretty simple: You find the packages file in nixpkgs, look at `meta.platforms`, and change it to include the platform you tested, then PR
<infinisil> [rip]grepping in nixpkgs for `platforms` will show you lots of examples
tobiasBora2 has joined #nixos
griff_ has quit [Quit: griff_]
griff_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ingenieroariel has quit [Ping timeout: 245 seconds]
lukebfox has joined #nixos
leungbk has joined #nixos
<fionera> any idea when this will be merged? https://github.com/NixOS/nixpkgs/pull/94825
<{^_^}> #94825 (by bachp, 23 hours ago, open): qtwebkit: 5.212-alpha-01-26-2018 -> 5.212.0-alpha4
<fionera> I cant rebuild from unstable rn, because qtwebkit got updated but doesnt compile
<leungbk> Would anyone mind merging this PR? It has been approved since June but the reviewer never merged it.
<{^_^}> #90326 (by terlar, 7 weeks ago, open): nodePackages.tsun: add typescript dependency
orivej has quit [Remote host closed the connection]
orivej has joined #nixos
<matthewcroughan> What does NixOS do in the case of a failed boot?
<matthewcroughan> How does it know if a failed boot occurred?
<matthewcroughan> e.g kernel panics, etc
<{^_^}> [nixpkgs] @Mic92 opened pull request #94897 → linux: 5.7.4 -> 5.7.5 → https://git.io/JJX4D
<infinisil> fionera: Are you saying that the PR doesn't work?
<infinisil> fionera: Or that the current master version doesn't work?
<fionera> current master fails since two days
<fionera> I am hoping this pr works ^^ Trying it rn
<matthewcroughan> If I use NixOS in the cloud, how can I be sure that it will reboot properly?
<samueldr> matthewcroughan: for now, nothing, but there's work about that topic
<cole-h> nix-shell -p coreutils --run uptime
<cole-h> :P
<infinisil> fionera: Takes quite a while to build, I think let's just trust bachp that it does indeed fix the build. I'll merge it. Sounds good?
<samueldr> namely #84204
<{^_^}> https://github.com/NixOS/nixpkgs/pull/84204 (by danielfullmer, 18 weeks ago, open): [WIP] nixos/systemd-boot: boot counting and automatic fallback
<matthewcroughan> Woo
<samueldr> matthewcroughan: right now if you need a fallback boot, AFAIK you need to somehow have access to the boot console
<fionera> infinisil: I mean I need to wait anyway for it to compile. But can ping you when it ran through
<samueldr> (or a rescue system to edit the bootloader configs, or some other access)
<matthewcroughan> TL;DR is this better or worse than regular distros?
<matthewcroughan> Or the same.
<samueldr> same, unless they have some kind of A/B scheme or rollback scheme
<matthewcroughan> I imagine it would be worse, since when I install a package in my config.nix, I don't know what it's going to do implicitly.
<infinisil> fionera: Alright that works too, more testing is always appreciated. Feel free to ping me when done :)
<samueldr> so I'd say "same for the usual distros"
<fionera> but when you want to merge things, I have two PRs open :P
<samueldr> (here I was answering only the question of rolling back boot)
<matthewcroughan> Cool to know work is being done.
<matthewcroughan> So would you advise against running Nix for a VPS?
<matthewcroughan> Mainly because of the fact that some things need to build.
<matthewcroughan> Would you advise only doing this if I have a beefy NixOPS machine out there?
<matthewcroughan> Additionally, do you think we'll ever see Linus Torvalds show up here and gift NixOS the BOFH Award 2020?
<bougyman> No
<matthewcroughan> :(
<matthewcroughan> What about gregkh
<infinisil> ,pr fionera
<{^_^}> fionera: Feel free to bring attention to your PR by linking to it in #nixos or #nixos-dev. Also encouraged is pinging or requesting reviews by people that have done related work in your PR
lukebfox has quit [Remote host closed the connection]
gustavderdrache has quit [Quit: Leaving.]
orivej has quit [Remote host closed the connection]
orivej has joined #nixos
romildo has quit [Quit: Leaving]
<drakonis1> i have nix on a vps
<drakonis1> its great.
<{^_^}> [nixpkgs] @eyJhb opened pull request #94898 → firefox: add firefox-policies w/ patch → https://git.io/JJXBW
<bqv> i think most of us do, lol
thblt has joined #nixos
<matthewcroughan> drakonis1 bqv no nixOPS
<matthewcroughan> ?
<drakonis1> no nixops here
<bqv> i dont either
<eyJhb> gchristensen , adisbladis the above PR as I think we are the ones that has discussed it before
<matthewcroughan> All I need to know :D
spease has quit [Ping timeout: 245 seconds]
<{^_^}> #94713 (by fionera, 2 days ago, open): qt-video-wlr: init at 2020-08-03
<fionera> Video Wallpapers on Wayland are sick btw :P
mwelt has joined #nixos
<infinisil> Oh neat. I don't use wayland, but I have a hacky script for video wallpapers on x11
<matthewcroughan> What browser do you all use?
<fionera> yeah on x11 it was easy with mpv, but on wayland you have to do some layer hackery
<matthewcroughan> infinisil fionera https://github.com/GhostNaN/mpvpaper/
<matthewcroughan> you could just use this on wayland
<{^_^}> [nixos-search] @garbas pushed to improve-search « search on multiple fields not just package_attr_name or option_name »: https://git.io/JJXB6
<{^_^}> [nixos-search] @garbas opened pull request #145 → search on multiple fields not just package_attr_name or option_name → https://git.io/JJXBi
isHavvy has joined #nixos
mwelt has quit [Client Quit]
<fionera> matthewcroughan: Yeah my pr adds qt-video-wlr which is a wrapper around qtmultimedia and with that around gstreamer
<matthewcroughan> It's amazing how many highly functional and proper implementations of these things there are
<matthewcroughan> what is it about wayland that breathes new life into things?
<infinisil> fionera: matthewcroughan: I guess this brings up the issue of which packages should even be included in nixpkgs. See https://discourse.nixos.org/t/we-need-more-defined-guidelines-for-package-inclusion/3592
<{^_^}> [nixpkgs] @ryantm opened pull request #94899 → arduino-cli: init at 0.11.0 → https://git.io/JJXBy
__monty__ has quit [Quit: leaving]
<bqv> y'all have all these things you call 'wayland features' but really they're wlroots features
<fionera> infinisil: Yeah I already knew that smth like this will happen someday :/ I also have a funpkg pr openhttps://github.com/NixOS/nixpkgs/pull/93563
<{^_^}> #93563 (by fionera, 2 weeks ago, open): Add package mockbob
<bqv> i only notice cause i'm not using wlroots so it's very obvious and very annoying
<fionera> bqv: What alternatives are there to wlroots?
<bqv> off the top of my head, gnome, kde, that rust thing that's WIP, and swc/velox
orivej has quit [Quit: No Ping reply in 180 seconds.]
<infinisil> fionera: Oh lol
<bqv> everything else is a crappy wlroots wrapper, it seems
<infinisil> > spongebobify "I am very smart"
<{^_^}> "i Am VeRY smArT"
Havvy has quit [Ping timeout: 260 seconds]
<fionera> hrhr
<fionera> sadly the kde wayland isnt very stable yet
<fionera> had only issues when I last used it
johnw has quit [Quit: ZNC - http://znc.in]
orivej has joined #nixos
<infinisil> > spongebobify "This is a pure(ish) Nix implementation of this btw :P"
<{^_^}> "tHiS IS A PURe(ish) nix IMpLeMeNtation of thIS Btw :P"
<bqv> i mean wayland's still young. i just hate that *everything* i see about wayland is inevitably wlroots centric
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/adcaeef3840 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<bqv> we're gonna end up with another chromium situation
<zerocostabstrac4> <fionera "sadly the kde wayland isnt very "> can confirm
<dottedmag> Or another X.org situation?
<fionera> bqv: but thats only because wlroots is currently the most mature and stable solution
<{^_^}> [nixpkgs] @gvolpe opened pull request #94900 → maintainers: add gvolpe → https://git.io/JJXBA
<bqv> dottedmag: god, i hadn't even thought of that, X.org is just an implementation of X11 isn't it
<fionera> kde doesnt work, gnome only works with tons of addons, the rust thing isnt stable yet and I never heard of velox
<bqv> fionera: that's one of the reasons why i intentionally didn't use it. competition's good, y'know
erasmas has quit [Quit: leaving]
<zerocostabstrac4> <bqv "we're gonna end up with another "> wdym, what's the chromium situation
<bqv> zerocostabstrac4: how the web works is defined by chromium, not the other way around
<zerocostabstrac4> i don't think display servers can ever be as complicated as the web
<zerocostabstrac4> ohhhhhh
<fionera> Yeah I was always a KDE person, but since my Laptop has a 4k Display and my Office has 1080p displays I _have_ to use wayland
<zerocostabstrac4> okay, i missed the point
<bqv> because chromium has over 70% of the market share
<infinisil> fionera: Can you maybe check out https://github.com/GhostNaN/mpvpaper/ to see how it compares against qt-video-wlr? mpvpaper seems to have more stars for now, and mpv is quite the standard video player. So if mpvpaper is better in every way, we wouldn't need qt-video-wlr
<bqv> it controls browsers, entirely
<zerocostabstrac4> it do
<bqv> translation: google controls the internet infrastructure
<zerocostabstrac4> <fionera "Yeah I was always a KDE person, "> isn't Gnome the only usable Wayland DE?
knupfer has quit [Ping timeout: 264 seconds]
<fionera> zerocostabstrac4: sway forks fine for me
<fionera> infinisil: sure thing, but I would go as far as merging both because I like to use qtmultimedia and with that the gstreamer system
<fionera> mpv doesnt use gstreamer afaik
<zerocostabstrac4> i got off the tiling wm ride a while ago
<infinisil> fionera: Ah what does that allow you to do? I never used gstreamer
<fionera> I just like the pipeline approach
<fionera> doenst use that much cpu
<fionera> and there is a avconf plugin for qtmultimedia so it can play literally anything
<fionera> zerocostabstrac4: I had to hop onto it so I can continue working
<infinisil> Hm I see
<infinisil> I guess that's fine, I'll merge it
<fionera> still compiling qtwebkit but when its done I will try to package mpvpaper
<infinisil> fionera: Oh wait, one thing, can you add some newlines to line 27?
<fionera> sure will do
<infinisil> Can probably have separate strings for the two --prefixes
<fionera> btw where can i find the nix(ish) mockbob code :P
<infinisil> fionera: Um, join #bottest for a moment
<bqv> the interesting thing is, i could have sworn it was someone here that suggested swc/velox to me, and i want to thank them, but there's no record of it in the logs
alp has joined #nixos
Jackneilll has quit [Ping timeout: 260 seconds]
thblt has left #nixos ["ERC (IRC client for Emacs 27.1)"]
<{^_^}> [nixpkgs] @costrouc opened pull request #94901 → Adding two jupyterhub spawners: dockerspawner, batchspawner → https://git.io/JJXRC
cole-h has quit [Quit: Goodbye]
<fionera> infinisil: Better solution ^^ I just moved that block into a variable in the top
fendor has quit [Read error: Connection reset by peer]
<fionera> infinisil: better now? :) https://github.com/NixOS/nixpkgs/pull/94713/files
<infinisil> fionera: Yeah, just made a suggestion too though
bqv has quit [Remote host closed the connection]
<fionera> Ah ok :) Changed that
Jackneilll has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
pr06lefs has quit [Ping timeout: 244 seconds]
orivej has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @rycee pushed commit from @LouisDK1 to master « hdhomerun-config-gui: init at 20200521 »: https://git.io/JJXRH
<{^_^}> [nixpkgs] @rycee closed pull request #94254 → hdhomerun-config-gui: init at 20200521 → https://git.io/JJ2YK
cruizh2 has joined #nixos
<cruizh2> Hi! I'm using https://github.com/nrdxp/nixflk to manage my configuration and would like some advice. I need to use a rtl88x2bu Wi-Fi dongle on one of my computers, but the driver is only available on nixpkgs-unstable. I would prefer to stay on release-20.03 as much as I can, so I'd like to override as little as possible. nixflk provides a
<cruizh2> pkgs/override.nix file which does this in theory, but if I provide "linuxPackages.rtl88x2bu" or "pkgs.rtl88x2bu" I get "attribute 'rtl88x2bu' missing" or "attribute 'pname' missing", since the package does not exist in release-20.03. I have also tried defining an overlay, but I can't seem to expose rtl88x2bu. Any ideas?
<{^_^}> [nixpkgs] @rycee pushed commit from @LouisDK1 to master « libhdhomerun: add comment about UDP firewall rule »: https://git.io/JJXRp
<{^_^}> [nixpkgs] @rycee closed pull request #94620 → libhdhomerun: add comment about udp firewall rule suggestion → https://git.io/JJrFj
est31 has quit [Remote host closed the connection]
ktosiek has quit [Quit: The Lounge - https://thelounge.chat]
cruizh2 is now known as cruizh
andreas303 has quit [Remote host closed the connection]
emmanuel_erc has quit [Ping timeout: 240 seconds]
est31 has joined #nixos
andreas303 has joined #nixos
<infinisil> fionera: (editorconfig CI failing)
<fionera> hmpf
<fionera> looking into it
<fionera> btw webkit looks good. its already at 87%
alp has quit [Ping timeout: 240 seconds]
codygman has quit [Ping timeout: 264 seconds]
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
moet has joined #nixos
codygman has quit [Ping timeout: 256 seconds]
<lunik1> ofborg timed out on my PR, can I get it to try again?
codygman has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @costrouc opened pull request #94902 → gophernotes: init at 0.7.1 → https://git.io/JJX0E
orivej has joined #nixos
mbrgm_ has joined #nixos
<{^_^}> [nixos-search] @garbas merged pull request #145 → search on multiple fields not just package_attr_name or option_name → https://git.io/JJXBi
<{^_^}> [nixos-search] @garbas pushed to master « search on multiple fields not just package_attr_name or option_name (#145) »: https://git.io/JJX0z
<{^_^}> [nixos-search] @garbas pushed 0 commits to improve-search: https://git.io/JJX0g
Extends has joined #nixos
Extends has quit [Client Quit]
<{^_^}> [nixos-search] @garbas pushed 19 commits to description-english: https://git.io/JJX0o
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
erebid has joined #nixos
ktosiek has joined #nixos
moet has quit [Ping timeout: 256 seconds]
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
dermetfan has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @LouisDK1 opened pull request #94903 → [WIP] xfce.xfce4-vala-panel-appmenu-plugin: 0.7.3.0 -> 0.7.3.2 → https://git.io/JJX05
<fionera> infinisil: qtwebkit compiles :)
erebid is now known as samhza
tsruser has joined #nixos
<infinisil> Nice, I'll merge it
<{^_^}> [nixpkgs] @Infinisil merged pull request #94825 → qtwebkit: 5.212-alpha-01-26-2018 -> 5.212.0-alpha4 → https://git.io/JJPfz
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JJX0A
<fionera> I also fixed the CI fails
samhza has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 260 seconds]
samhza has joined #nixos
orivej has joined #nixos
samhza has quit [Remote host closed the connection]
urkk has quit [Ping timeout: 256 seconds]
samhza has joined #nixos
<dottedmag> How do I enable printing Linux messages on boot? It looks like GRUB splashscreen is replaced by systemd log (if everything logs correctly) or splashscreen stays on screen if Linux or initrd fail.
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
orivej_ has joined #nixos
codygman has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 264 seconds]
codygman has joined #nixos
davidv7 has joined #nixos
brabo98 has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Darkmatter66_ has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
invokesus has quit [Ping timeout: 246 seconds]
cruizh has quit [Remote host closed the connection]
pr06lefs has joined #nixos
Darkmatter66 has quit [Ping timeout: 265 seconds]
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @CohenCyril opened pull request #94904 → coq-elpi: 1.4.1 -> 1.5.1 → https://git.io/JJXEg
user_0x58 has quit [Ping timeout: 260 seconds]
cosimone has quit [Quit: Quit.]
brabo98 has quit [Remote host closed the connection]
cosimone has joined #nixos