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
<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
<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?
<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>
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
<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?
<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
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>
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
<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.
<{^_^}>
#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
<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?
<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
<{^_^}>
[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?
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.
<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.]
<{^_^}>
[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]
<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…]
<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.
<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
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.
<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
<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?
<{^_^}>
[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
<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
<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
<{^_^}>
[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
<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
<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.
<__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 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.
<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.
<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
<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.
<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
<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: 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.
<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
<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
<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] @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>
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]
<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]
<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]
<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
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]