andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<Boarders> which version of nix are you using?
<Raito_Bezarius> 2.3.1
<Boarders> I'm using 2.3.3 but I can't imagine that making a difference
<Raito_Bezarius> Most likely not
<Raito_Bezarius> The difference could lies in your env vars
<Raito_Bezarius> And your nixpkgs
xkapastel has joined #nixos
<Boarders> is it safe to just remove the entire nix/store?
cosimone has quit [Ping timeout: 240 seconds]
<iqubic> NO. NO. NO.
<iqubic> NEVER.
jerryaldrichiii_ has quit [Remote host closed the connection]
<Boarders> I'll just install completely fresh
<puffnfresh> Boarders: /nix/store isn't meant to be generally writable, so installing fresh doesn't often make sense
<puffnfresh> do you have a .ghci file?
<Boarders> I just meant remove all nix content from my system and going from there
<Boarders> I have a global .ghci config file
<puffnfresh> can you try ghci with -ignore-dot-ghci?
<{^_^}> [nixpkgs] @unode opened pull request #81150 → mnemosyne: add googletrans and gtts python dependencies → https://git.io/Jvupx
jerryaldrichiii has joined #nixos
<Boarders> that doesn't do it
<Boarders> also freshly installing everything with nix didn't do anything
<{^_^}> [nixpkgs] @stigtsp opened pull request #81151 → percona-server: 5.6.43-84.3 -> 5.6.47-87.0 and add nixos test → https://git.io/Jvuhf
<puffnfresh> ghc-pkg list
vykook has joined #nixos
<Boarders> ah, that brings up a package.conf.d from the nix/store and one already installed
<Boarders> and lens is in the first but not second
<puffnfresh> ah there you go
<Boarders> can't say I know how to change which one ghci is looking at
<puffnfresh> I'm not sure if it's reading from a default place or from an environment variable
<puffnfresh> you can add --pure to nix-shell to remove any extra env vars
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81152 → python27Packages.dash-renderer: 1.2.3 -> 1.2.4 → https://git.io/JvuhY
<Boarders> that doesn't do it unfortunately
<Boarders> weird
<puffnfresh> ghci -hide-all-packages -package-id XXX
<puffnfresh> that might work?
vykook has quit [Ping timeout: 240 seconds]
<Boarders> I guess I need a nix file which gives me the environment variable that points at the conf rather than the one that is getting defaulted to
noudle has quit []
<Boarders> that command and the related command I tried: ghci -package-db [path-to-nix-package.conf]
<Boarders> No Module named System.IO is imported.
energizer` has joined #nixos
<Boarders> and ghci doesn't even load
vykook has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
pnobre has joined #nixos
boxscape has quit [Remote host closed the connection]
bvdw has quit [Ping timeout: 265 seconds]
Fare has joined #nixos
mbrgm has quit [Ping timeout: 240 seconds]
dsx has quit [Quit: dsx]
mbrgm has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/JvujY
<colemickens> I was able to type that nix-shell line, and the ghci -> import Control.Lens worked fine
Synthetica has quit [Quit: Connection closed for inactivity]
vykook has quit [Ping timeout: 265 seconds]
<colemickens> Not that it's super helpful to you, but even stranger that it's not working. Maybe you got nixpkgs-unstable and something is wonky there?
* colemickens is stuck in a haskell repl now, this is fun
wildtrees has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @marsam merged pull request #81139 → pagemon: 0.01.17 -> 0.01.18 → https://git.io/JvuQl
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvujc
Boarders has quit [Remote host closed the connection]
mexisme_ has joined #nixos
Rusty1 has quit [Remote host closed the connection]
<evils> i'm trying to package something that instead of shipping a big file, downloads it at build time (via a shell script), how can i run this script with network access?
bvdw has joined #nixos
chagra has joined #nixos
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
m0rphism has quit [Ping timeout: 260 seconds]
vykook has joined #nixos
thc202 has quit [Ping timeout: 240 seconds]
vykook has quit [Ping timeout: 258 seconds]
aaa_ has quit [Ping timeout: 260 seconds]
dsx has joined #nixos
werner291 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #81154 → lean: 3.5.1 -> 3.6.0 → https://git.io/Jvujy
vykook has joined #nixos
werner291 has joined #nixos
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #80939 → python27Packages.gssapi: 1.6.1 -> 1.6.2 → https://git.io/JvEqI
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvujd
<{^_^}> [nixpkgs] @zowoq opened pull request #81155 → wireshark: 3.2.1 -> 3.2.2 → https://git.io/Jvujx
<{^_^}> [nixpkgs] @marsam merged pull request #80745 → whois: 5.5.5 -> 5.5.6 → https://git.io/JvRiK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvujp
vykook has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #81141 → act: 0.1.3 -> 0.2.4 → https://git.io/Jvu55
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvujj
Shouou has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #80932 → ocamlPackages.uri: 3.0.0 -> 3.1.0 → https://git.io/JvEUS
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvzeT
bvdw has quit [Quit: bvdw]
vykook has joined #nixos
silver_hook has quit [Ping timeout: 272 seconds]
tsrt^ has quit []
pnobre has quit [Read error: Connection reset by peer]
pnobre has joined #nixos
wtuhfm^ has joined #nixos
<niso__> evils: you could use fetchurl: e.g.: https://pastebin.com/raw/GYQ72534
<niso__> evils: or better: https://pastebin.com/Rah34vPG
ardumont has quit [Ping timeout: 248 seconds]
vykook has quit [Ping timeout: 260 seconds]
silver_hook has joined #nixos
werner291 has quit [Quit: werner291]
malSet has quit [Quit: Quit.]
<evils> niso__: the script does more than just fetch, it does some modification (but the output is fixed), can't just fetchurl
vandenoever has quit [Ping timeout: 265 seconds]
ardumont has joined #nixos
<evils> so i need network access, and the script (which is included in the source)
chagra has quit [Ping timeout: 260 seconds]
silver has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvzeo
vykook has joined #nixos
<mjrosenb> Can anyone help me figure out why I can't install ghcjs from my default.nix? http://dpaste.com/0RVCBHJ
<mjrosenb> http://dpaste.com/3KTQ2S6 are the last few lines of output from nix-shell
<{^_^}> [nixpkgs] @rehno-lindeque opened pull request #81156 → add missing dependencies for teensy-loader → https://git.io/Jvzex
sigmundv has quit [Ping timeout: 258 seconds]
m0rphism has quit [Ping timeout: 260 seconds]
vykook has quit [Ping timeout: 272 seconds]
mrleaW has joined #nixos
bvdw has joined #nixos
jerryaldrichiii_ has joined #nixos
vykook has joined #nixos
jerryaldrichiii has quit [Ping timeout: 255 seconds]
mrleaW has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #81040 → vector: 0.7.2 -> 0.8.0 → https://git.io/JvuTB
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @a-rodin to master « vector: 0.7.2 -> 0.8.0 »: https://git.io/Jvzvq
<colemickens> So do all of my imports have to use flakes for me to try to adopt it?
<colemickens> Or can flakes import a "regular" nix repo like nixos-hardware?
<gchristensen> I ... think you can just import it, but I dunno
<mjrosenb> also, I've noticed a difference between nix on my macbook and nix on my linux desktop which I can't figure out
vykook has quit [Ping timeout: 258 seconds]
<mjrosenb> ... or maybe it is just that machine? it works fine on my personal macbook.
<mjrosenb> let pkgs = import <nixpkgs> { overlays = [ (self: super: { jdk = super.adoptopenjdk-bin; ....
<mjrosenb> for some reason, that machine says that super doesn't have an attribute 'adoptopenjdk-bin', despite the fact that I have installed it with nix
vykook has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #81154 → lean: 3.5.1 -> 3.6.0 → https://git.io/Jvujy
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvzvz
vykook has quit [Ping timeout: 265 seconds]
vykook has joined #nixos
jerryaldrichiii has joined #nixos
jerryaldrichiii_ has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<mjrosenb> somewhat unrelatedly, how do I prevent nix-env -u from attempting to install python3-3.9.0a3? it fails to build, and I don't actually want a version of python that is that new.
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
orbekk has quit [Quit: WeeChat 2.4]
growpotkin has joined #nixos
vykook has quit [Ping timeout: 255 seconds]
evanjsx[m] has joined #nixos
evils has quit [Ping timeout: 240 seconds]
orbekk has joined #nixos
<evanjs> clever: so what’s your first guess when I can’t type into the console on real hardware with that barebones initrd setup? No console directive for the cmdline
vykook has joined #nixos
evils has joined #nixos
lovesegfault has joined #nixos
<lovesegfault> worldofpeace: I am back
<lovesegfault> TLP hacking time!
vykook has quit [Ping timeout: 260 seconds]
nuncanada has quit [Quit: Leaving]
Thra11 has quit [Ping timeout: 258 seconds]
Thra11 has joined #nixos
dbmikus has joined #nixos
Fare has quit [Ping timeout: 260 seconds]
vykook has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.7.1]
h0m1 has quit [Ping timeout: 252 seconds]
vykook has quit [Ping timeout: 240 seconds]
h0m1 has joined #nixos
maxdevjs has quit [Remote host closed the connection]
noobly has joined #nixos
maxdevjs has joined #nixos
orivej has joined #nixos
vykook has joined #nixos
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
noobly has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xavierzwirtz opened pull request #81157 → buildPythonApplication: added withPackages → https://git.io/JvzJv
<{^_^}> [nixpkgs] @xavierzwirtz closed pull request #81100 → mercurial: add withPackages → https://git.io/Jvuuy
<{^_^}> [nixpkgs] @xavierzwirtz opened pull request #81158 → hg-evolve: init at 9.2.2 → https://git.io/JvzJU
chagra has joined #nixos
vykook has quit [Ping timeout: 265 seconds]
lovesegfault has joined #nixos
<lovesegfault> worldofpeace: I am so close
<lovesegfault> The last issue now is that the pkg doesn't create /var/lib/tlp
<lovesegfault> How can I make sure that folder is installed?
<lovesegfault> or at least created when the package is
vykook has joined #nixos
felixfoertsch has joined #nixos
<lovesegfault> cc. gchristensen who may also know this
* gchristensen Zzz's
kapil_ has joined #nixos
jerryaldrichiii_ has joined #nixos
felixfoertsch23 has quit [Ping timeout: 255 seconds]
jerryaldrichiii has quit [Ping timeout: 240 seconds]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
<GrimSleepless> Hello guys! May someone have a look to my PR https://github.com/NixOS/nixpkgs/pull/81076
<{^_^}> #81076 (by JeffLabonte, 1 day ago, open): brave: 1.3.118 -> 1.4.95
spacefrogg has joined #nixos
vykook has quit [Ping timeout: 258 seconds]
<lovesegfault> GrimSleepless: You gotta fix your description
<GrimSleepless> lovesegfault: Ah! I didn't know that! Will do
<lovesegfault> Other than that: I can't test what I don't use, so you gotta wait for the maintainers OR have a friend help you out
<lovesegfault> GrimSleepless: Here's what the descr should look like: https://github.com/NixOS/nixpkgs/pull/81087
<{^_^}> #81087 (by lovesegfault, 23 hours ago, open): tlp: 1.2.2 -> 1.3.1
waleee-cl has quit [Quit: Connection closed for inactivity]
<GrimSleepless> lovesegfault: I fixed it. I haven't noticed that the description wasn't showing right.
<GrimSleepless> lovesegfault: at least the text wasn't right.
<lovesegfault> Nice, looks good now :)
<GrimSleepless> Sorry about that :)
vykook has joined #nixos
<benley> anyone know if there is a trick to making systemd.services.xxx.restartIfChanged effective for OneShot units?
<lovesegfault> benley: define effective
ddellacosta has quit [Ping timeout: 260 seconds]
cyris212 has quit [Quit: ZNC 1.7.4 - https://znc.in]
<benley> I have a oneshot systemd service that's "before" and "requiredBy" several other services that stay running, and I was hoping that when the oneshot service unit changes, it gets started (or restarted?) so the services that depend on it also get updated
<benley> but that's not happening
cyris212 has joined #nixos
<benley> (as part of the nixos activation script, that is)
<lovesegfault> benley: does the unit have RemainAfterExit=yes ?
<benley> nope, it does not.
* benley looks up what that does exactly
vykook has quit [Ping timeout: 255 seconds]
<benley> oh interesting, that might just do it. Let's find out
<lovesegfault> let me know!
<evils> does anyone have experience building debian packages with nix? following this gets me a failure of missing a header file of a dependency; https://nixos.wiki/wiki/Nixpkgs/Building_RPM_DEB_with_nixpkgs
<benley> lovesegfault: that worked perfectly!
<lovesegfault> benley: Awesome! Glad it worked :)
<benley> lovesegfault: the only gotcha I noticed is that switching from the config prior to adding RemainAfterExit to the one with it does not cause the oneshot unit to get started
<lovesegfault> Yeah, there's no way around that I think
mexisme_ has quit [Ping timeout: 258 seconds]
<benley> but if I start it once (which would happen when any of the downstream services got started/restarted, or when it's first deployed) it works as I was hoping
<benley> so I can live with that
<lovesegfault> maybe if you enable reloadIfChanged?
<benley> what's that do differently than restartIfChanged? (aside from calling systemd reload, of course)
<benley> err, systemctl reload
<lovesegfault> I'm taking the flip-knobs-till-it-works approach here
<benley> haha ok
<benley> I'll give it a try
<benley> that's what I usually end up doing when it comes to systemd unit options
<lovesegfault> :D
vykook has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/8d49ebf4888 (from 26 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<benley> seems to have about the same effect, alas
<lovesegfault> doh
<benley> it's okay, this particular thing is unlikely to bite anybody but me, and it's still in development so the boobytrap is already dealt with
vykook has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/d0b3ab3b249 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
vykook has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
nckx has quit [Quit: Updating my Guix System — https://guix.gnu.org]
nckx has joined #nixos
<energizer`> how do i install a flake?
vykook has quit [Ping timeout: 260 seconds]
<evils> i don't suppose anyone knows how to add a package to pkgs.vmTools.diskImageFuns image? getting `cannot touch '/mnt/var/lib/dpkg/status': No such file or directory` if i just pass `packages = [ "hello" ]` in
Heirlung has quit [Ping timeout: 240 seconds]
<drakonis> energizer`: you declare it
Heirlung has joined #nixos
<energizer`> drakonis: is there any documentation about this?
<drakonis> not a lot of it atm
fresheyeball has joined #nixos
<drakonis> there's the flake rfc, the repo one guy cobbled in order to create an reference configuration
<drakonis> might be nice
<drakonis> the code for the flakes branch might not be very useful for you
<energizer`> alright. i guess it's still new so i can wait :-)
<energizer`> my other question is how do i install a python package from github? pypi2nix seems to only support pypi (not github). I can do fetchFromGitHub but that doesn't pull any of the dependencies. I could package them all manually I guess, but that's too much work. So I'm using virtualenv, which gets the job done but perhaps there's a more nixy way?
vykook has joined #nixos
domogled has joined #nixos
<fresheyeball> I want to take advantage of the work in this PR https://github.com/NixOS/nix/pull/3353
<{^_^}> nix#3353 (by tbsmoest, 2 weeks ago, merged): Fix PR_SET_PDEATHSIG results in Broken pipe (#2395)
cyphase has quit [Ping timeout: 265 seconds]
<fresheyeball> if can I just update nix.package and all is well?
tA_ has joined #nixos
domogled has quit [Client Quit]
<CMCDragonkai> is there a proper way to read a file without the trailing newline?
vykook has quit [Ping timeout: 265 seconds]
pnobre_ has joined #nixos
iyzsong has joined #nixos
<risson> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
pnobre has quit [Ping timeout: 260 seconds]
cyphase has joined #nixos
vykook has joined #nixos
<clever> evanjs: usb keyboard, drivers present?
AmandaC_ has joined #nixos
<evils> o hi clever, i'm finally getting around to using runCommand as you recommended 4 months ago..., my script is trying to create a temporary file and i'm getting permission denied...
<lovesegfault> clever: Oh, thank the lord you are here
<CMCDragonkai> found lib.fileContents
<lovesegfault> clever: How the hell to I get my package to set up a dir in `/var/lib`
AmandaC has quit [Ping timeout: 272 seconds]
<lovesegfault> `tlp` needs `/var/lib/tlp` to exist
vykook has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @c00w opened pull request #81159 → [go] Undo some 1.12 overrides that now build with 1.13 → https://git.io/JvzTU
<{^_^}> [nixpkgs] @bcdarwin opened pull request #81160 → ocamlPackages.owl: 0.7.2 -> 0.8.0 → https://git.io/JvzTk
fresheyeball has quit [Quit: WeeChat 2.6]
leotaku has quit [Ping timeout: 272 seconds]
<evanjsx[m]> <clever "evanjs: usb keyboard, drivers pr"> Usb keyboard was missing but it’s there now. Come to think of it though, it didn’t seem to work in qemu graphical either but I’ll have to check tomorrow
vykook has joined #nixos
leotaku has joined #nixos
<clever> lovesegfault: preStart on the systemd service
<mjrosenb> so, ghcjs, anyone want to take a crack at it?
colemickens_ has quit [Quit: Connection closed for inactivity]
chagra_ has joined #nixos
chagra has quit [Ping timeout: 240 seconds]
endformationage has quit [Ping timeout: 255 seconds]
fresheyeball has joined #nixos
<fresheyeball> anyone know how nixpkgs get's it's copy of the "nix" package?
<fresheyeball> as in nix.package option pkgs.nix
<fresheyeball> I still can't figure out how to update my nix.package to a specific version from the repo
<clever> fresheyeball: why not just set nix.package in a module?
<fresheyeball> I tried setting nix.package in my configuration.nix to the latest rev from nixpkgs, which worked, but didn't include the update I need
<lovesegfault> clever: That's a solution, but the pkg itself, regardless of systemd unit, can't work without `/var/lib/tlp/`
<fresheyeball> clever: what do you mean?
<lovesegfault> Like, this should be done by the pkg install, not the systemd unit
<clever> fresheyeball: how did it not work when you set nix.package?
<clever> lovesegfault: there is no way for the installing of a thing, to make stuff outside of /nix/store
<{^_^}> nix#3353 (by tbsmoest, 2 weeks ago, merged): Fix PR_SET_PDEATHSIG results in Broken pipe (#2395)
<fresheyeball> I want to use the fix in that PR
<lovesegfault> clever: Yeah, I figured... I wonder how other pkgs do this
<fresheyeball> so I want to set nix.package in my configuration.nix to use it
<lovesegfault> Maybe a wrapper on the bin that `mkdir -p /var/lib/tlp`?
<lovesegfault> Sounds hacky
<fresheyeball> I tried cloning the NixOS/nix repo, and then setting it with
<fresheyeball> package = (import /path/to/local/checkout/release.nix).build.x86_67-linux;
<clever> lovesegfault: that would fail if not ran as root
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/be346a1f4bd (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<lovesegfault> clever: yes, true
<clever> lovesegfault: look into things like programs.screen, that is a module that will pre-create things (like a config file) and install the package
<fresheyeball> but that errors out with: while evaluating the attribute 'nix.package.out' at undefined position:
<risson> Hi! I'm working on a PR to update yubioath-desktop from 4.3.6 to 5.0.2. It seems the maintainer isn't updating that package anymore
<lovesegfault> clever: meh, I will just do the systemd thing for now
<clever> fresheyeball: what is the actual error, one line away from what you pasted?
<risson> Is it good practice to submit my PR, ping the maintainer and suggest I take over?
mexisme_ has joined #nixos
<fresheyeball> while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:75:45, called from undefined position:
<lovesegfault> clever: `systemd.services.foobar.preStart = "mkdir -p /var/lib/foobar"`
<lovesegfault> sounds right?
<clever> fresheyeball: other direction, the actual error message, not "while evaluating ..."
<clever> lovesegfault: yeah
<fresheyeball> error: value is a function while a set was expected, at
<fresheyeball> clever: https://pastebin.com/tEfWCtqS
<clever> fresheyeball: release.nix contains a function, so `import /path/to/release.nix` is of type function
<clever> fresheyeball: you must call it with something like {}
<fresheyeball> well I'm a dumbass
<fresheyeball> omg
<fresheyeball> thanks clever
<cole-h> risson: If you want to take over, I believe the way to do it is just add yourself as a maintainer. No need to remove them.
<cole-h> (and don't forget to add yourself to `maintainers/maintainers-list.nix`)
<lovesegfault> clever: testing, brb
lovesegfault has quit [Quit: WeeChat 2.7.1]
chagra_ has quit [Ping timeout: 258 seconds]
<mjrosenb> ahh, I believe the issue is in fact in the nixpkg tree. haskell-packages.nix has a definition for entropy which includes its dependencies for *normal* ghc, but it has different deps when being built under ghcjs
<risson> cole-h: great! thanks for the answer :D
<clever> mjrosenb: thats a limitation of cabal2nix, it cant process the if statements in the cabal file fully
<cole-h> risson: If that's not the best course of action, one of the people in-the-know will let you know in your PR :P
<clever> mjrosenb: you have to run cabal2nix --ghcjs, to tell it to assume its a ghcjs build
<mjrosenb> right, but I never ran cabal2nix, I can only guess someone ran it, and committed all of that to the tree.
<clever> mjrosenb: yep, but they ran it in the non-ghcjs mode
<clever> mjrosenb: the only real solution is to re-run cabal2nix again, with --ghcjs, and callPackage it in as part of an overlay
lovesegfault has joined #nixos
<lovesegfault> clever: It works!
<lovesegfault> Can I bother you for a quick glance at this PR: https://github.com/NixOS/nixpkgs/pull/81087
<{^_^}> #81087 (by lovesegfault, 1 day ago, open): tlp: 1.2.2 -> 1.3.1
<lovesegfault> It's my first time touching a pkg like this and also a module
<mjrosenb> clever: that would work be easier if I had any idea *how* this default.nix file worked before I started attempting to upgrade ghcjs
risebell[m] has joined #nixos
mexisme_ has quit [Ping timeout: 272 seconds]
zebrag has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @wedens opened pull request #81161 → libvirt: 5.4.0 -> 6.0.0 → https://git.io/JvzTj
drakonis_ has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
ghasshee has quit [Ping timeout: 272 seconds]
palo1 has joined #nixos
zml[m] has joined #nixos
palo has quit [Ping timeout: 255 seconds]
palo1 is now known as palo
mexisme_ has joined #nixos
xelxebar has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @rissson opened pull request #81162 → yubiaoth-desktop: 4.3.6 -> 5.0.2 → https://git.io/JvzkR
<risson> here it is ^ :D
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/75135f3138a (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<cole-h> risson: Best practice is to have your modification to `maintainers/maintainer-list.nix` be a separate commit with message `maintainers: add risson`, and then have everything else in your update commit
<cole-h> (including adding yourself to the maintainers list in that specific package)
<risson> cole-h: i'll do that then
<cole-h> Log would then be `maintainers: add risson`, followed by `yubioath-desktop: 4.3.6 -> 5.0.2`
lovesegfault has quit [Ping timeout: 272 seconds]
<cole-h> also, it's not `long-description`
<cole-h> It's `longDescription`
<cole-h> (line 52)
lovesegfault has joined #nixos
<risson> cole-h damn it, forgot to modify it, thanks for the review
zupo has joined #nixos
<cole-h> risson: Got another one coming (leaving it on GH itself this time)
<{^_^}> [nixpkgs] @7c6f434c merged pull request #80574 → glusterfs: 7.2 -> 7.3 → https://git.io/JvBaq
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/Jvzk6
<{^_^}> [nixpkgs] @7c6f434c closed pull request #57950 → octave: Try to use build with Qt5 → https://git.io/fjflB
<{^_^}> [nixpkgs] @7c6f434c merged pull request #79864 → octave: Use qt5 and other improvements → https://git.io/JvCix
<{^_^}> [nixpkgs] @7c6f434c pushed 13 commits to master: https://git.io/JvzkX
<{^_^}> [nixpkgs] @vbgl merged pull request #80606 → ocamlPackages.dum: cleaning → https://git.io/JvB1D
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.dum: cleaning »: https://git.io/JvzkM
<cole-h> risson++ Thanks for addressing those :) Hope it gets merged in a timely manner.
<{^_^}> risson's karma got increased to 1
<risson> cole-h: my pleasure! Thanks for the reviews :D What's up with this karma stuff?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #80905 → gnulib: 20190811 -> 20200223 and simplify usage → https://git.io/Jv07c
<{^_^}> [nixpkgs] @7c6f434c pushed 4 commits to master: https://git.io/Jvzk5
<cole-h> Just a fun little thing to let people know they're appreciated
<cole-h> and/or helpful
<srhb> risson: Fake internet points tend to be a thing many places on the interwebs. :P
<risson> I think its fun! And nice :)
<{^_^}> [nixpkgs] @7c6f434c merged pull request #80906 → Fix lbzip2 build → https://git.io/Jv07z
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/Jvzkx
<mjrosenb> ok, so I'm trying to run cabal2nix --compiler ghcjs cabal://entropy
<mjrosenb> but it is generating a nixexpr with the prereqs for normal ghc, not ghcjs
Chiliparrot has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
growpotkin has joined #nixos
pnobre__ has joined #nixos
iqubic has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
iqubic has joined #nixos
pnobre_ has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pnobre_ has joined #nixos
<iqubic> I hate when Discord updates happen, and then I can't use Discord.
ixxie has joined #nixos
pnobre__ has quit [Ping timeout: 258 seconds]
aiverson has joined #nixos
<aiverson> Is anyone using pipewire as their primary audio system right now?
<{^_^}> [nixpkgs] @danbst merged pull request #81158 → hg-evolve: init at 9.2.2 → https://git.io/JvzJU
<{^_^}> [nixpkgs] @danbst pushed commit from @xavierzwirtz to master « hg-evolve: init at 9.2.2 (#81158) »: https://git.io/JvzIr
afics has quit [Ping timeout: 272 seconds]
sgrunert has joined #nixos
c0c0 has joined #nixos
<GrimSleepless> My PR was approved, would anybody merge it pls ? :) https://github.com/NixOS/nixpkgs/pull/81076
<{^_^}> #81076 (by JeffLabonte, 1 day ago, open): brave: 1.3.118 -> 1.4.95
<{^_^}> [nixpkgs] @etu merged pull request #81076 → brave: 1.3.118 -> 1.4.95 → https://git.io/Jvunl
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/JvzIP
cole-h has quit [Ping timeout: 255 seconds]
<GrimSleepless> Thank you ! :D
lovesegfault has quit [Ping timeout: 255 seconds]
zupo has joined #nixos
mexisme_ has quit [Ping timeout: 252 seconds]
aaa_ has joined #nixos
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @LnL7 merged pull request #81114 → elixir_1_10: 1.10.1 -> 1.10.2 → https://git.io/Jvuw7
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/JvzLk
<aiverson> I'm trying to use pipewire as my audio system, but with only an "enable" option and sparse documentation, I'm not sure how to get it working when just enabling it doesn't produce a working audio system.
bvdw has quit [Quit: bvdw]
bvdw has joined #nixos
vk3wtf has quit [Quit: WeeChat 2.4]
vk3wtf has joined #nixos
logzet has joined #nixos
vk3wtf has quit [Client Quit]
vk3wtf has joined #nixos
m0rphism has joined #nixos
drakonis has quit [Quit: WeeChat 2.7.1]
aiverson has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lilyball opened pull request #81163 → cocoapods: 1.8.4 -> 1.9.0 → https://git.io/JvzLi
KeiraT has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @domenkozar merged pull request #80466 → ghc: really use ld.gold → https://git.io/Jv4S5
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to haskell-updates: https://git.io/JvzLM
aiverson has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #81162 → yubiaoth-desktop: 4.3.6 -> 5.0.2 → https://git.io/JvzkR
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JvzLN
zupo_ has joined #nixos
KeiraT has joined #nixos
cfricke has joined #nixos
<{^_^}> [nixpkgs] @Mic92 closed pull request #79551 → nixos/home-assistant: 0.104.3 -> 0.106.0 → https://git.io/JvnHv
<{^_^}> [nixpkgs] @Mic92 opened pull request #81164 → nixos/home-assistant: 0.104.3 -> 0.106.0 → https://git.io/JvzLh
<etu> ,locate liblttng-ust.so.0
<{^_^}> Found in packages: lttngUst
veske has joined #nixos
veske2 has joined #nixos
Jackneill has joined #nixos
ris has quit [Ping timeout: 258 seconds]
cfricke has quit [Quit: WeeChat 2.7.1]
adamtkh has quit [Ping timeout: 260 seconds]
Thra11 has quit [Ping timeout: 260 seconds]
adamtkh has joined #nixos
<{^_^}> [nixpkgs] @JohnAZoidberg merged pull request #80329 → nixos: add /share/hunspell to environment.pathsToLink → https://git.io/Jv8iu
<{^_^}> [nixpkgs] @JohnAZoidberg pushed 2 commits to master: https://git.io/Jvztn
Thra11 has joined #nixos
mexisme_ has joined #nixos
<energizer`> `nix-build` creates a result/bin/grex. now how do i make nix-shell also provide that binary?
<energizer`> mkShell { buildInputs = [grex]; } is not doing the trick
pnobre_ has quit [Ping timeout: 255 seconds]
<immae> energizer: is your nix-build building a default.nix file,
<immae> ?
<energizer`> yes
<immae> There might be a more direct way, but you could create a shell.nix containing mkShell { builtInputs = [ (callPackage ./default.nix {}) ]; }
<energizer`> that worked
<immae> good
<energizer`> what's the equivalent of `callPackage ./default.nix {}` if default.nix isn't a function (has no {}: at the top)? or is that not allowed
<immae> energizer: you can just do `import ./default.nix` then
<immae> but you should rewrite your default.nix :)
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<energizer`> i tried just `import ./default.nix` and nix-shell says `bash: let: expression expected`
maddo has joined #nixos
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<immae> Can you post your files?
<energizer`> sec
<immae> (obfuscate them if needed)
Thra11 has quit [Ping timeout: 258 seconds]
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<immae> In https://github.com/energizah/naersk-demo/blob/master/shell.nix#L4 can you try (import default.nix) rather than just default.nix?
<immae> (don’t forget the parenthesis)
xelxebar has joined #nixos
<energizer`> oh
<energizer`> yes that works
<energizer`> thank you
<immae> If you put just ./default.nix then you’ll get a derivation containing the content of default.nix, which is not what you want: you want the derivation contained in that file :)
Thra11 has joined #nixos
<energizer`> ah
hmpffff has joined #nixos
gagbo has joined #nixos
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
hmpffff_ has joined #nixos
linarcx has joined #nixos
chloekek has joined #nixos
hmpffff has quit [Ping timeout: 255 seconds]
<genesis> ho activate a dbus service file in a derivation ?
<immae> energizer: you modified your default.nix file, which is now a function (taking an attrset with an element "pkgs"). When you "import ./default.nix" you now obtain a function, which you call with {inherit pkgs;}
<immae> does it make sense to you?
o1lo01ol1o has joined #nixos
<energizer`> i mean to ask, what is the difference between import and callPackage in this context
<immae> "import foo.nix" merely imports the file, so "import foo.nix {something}" calls the function with {something}. `callPackage foo.nix {something}` will import the file but it will also prefill all the arguments which it can import by itself. In your case, `import ./default.nix {inherit pkgs;}` is equivalent to `callPackage ./default.nix {}` since callPackage will fill the "pkgs" attribute himself
<clever> energizer`: callPackage will inspect the arguments the file wants, and pull the answers from pkgs automatically
<clever> energizer`: so if your file begins with { stdenv }: then it gets a copy of pkgs.stdenv
<energizer`> ok i get it
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #80885 → ed: 1.15 -> 1.16 → https://git.io/Jv0PD
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « ed: 1.15 -> 1.16 »: https://git.io/Jvzq3
<{^_^}> [nixpkgs] @FRidh merged pull request #79933 → libcap_ng: 0.7.9 -> 0.7.10 → https://git.io/JvWmq
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libcap_ng: 0.7.9 -> 0.7.10 »: https://git.io/JvzqG
<{^_^}> [nixpkgs] @FRidh closed pull request #77818 → git: from 2.24.1 -> to 2.25.0 → https://git.io/JvUxT
<{^_^}> [nixpkgs] @FRidh merged pull request #80811 → libinput: 1.15.1 → 1.15.2 → https://git.io/Jv0nm
<{^_^}> [nixpkgs] @FRidh pushed commit from @artemist to staging « libinput: 1.15.1 → 1.15.2 »: https://git.io/Jvzqc
smatting has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #80345 → pythonPackages.pydruid: init at 0.5.8 → https://git.io/Jv8HA
<{^_^}> [nixpkgs] @FRidh closed pull request #80344 → pythonPackages.pytest-mysql: init at 2.0.1 (and its dependencies) → https://git.io/Jv8Hd
<{^_^}> [nixpkgs] @FRidh closed pull request #80343 → pythonPackages.arch: init at 4.11 → https://git.io/Jv8HM
<{^_^}> [nixpkgs] @FRidh pushed 680 commits to staging-next: https://git.io/JvzqB
<{^_^}> [nixpkgs] @FRidh pushed 681 commits to staging: https://git.io/JvzqR
werner291 has joined #nixos
<genesis> if i install gpodder with user, i get a ~/.nix-profile/share/dbus-1/services/org.gpodder.service
<genesis> but the service isn't activate in dbus
<{^_^}> [nixpkgs] @FRidh merged pull request #81071 → go_1_14: init at 1.14 and switch to it → https://git.io/JvuZZ
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/JvzqV
<{^_^}> [nixpkgs] @FRidh merged pull request #80572 → gitAndTools.gitFull: 2.25.0 -> 2.25.1 → https://git.io/JvBgP
<{^_^}> [nixpkgs] @FRidh pushed 0 commits to staging: https://git.io/Jvzqw
mrleaW has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #80997 → sysstat: 12.2.0 -> 12.3.1 → https://git.io/JvEir
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « sysstat: 12.2.0 -> 12.3.1 »: https://git.io/Jvzqo
<{^_^}> [nixpkgs] @FRidh merged pull request #80917 → libqmi: 1.24.2 -> 1.24.4 → https://git.io/Jv0px
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libqmi: 1.24.2 -> 1.24.4 »: https://git.io/JvzqK
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « krb5: 1.17 -> 1.18 »: https://git.io/Jvzq6
<{^_^}> [nixpkgs] @FRidh merged pull request #80599 → krb5: 1.17 -> 1.18 → https://git.io/JvBPm
<{^_^}> [nixpkgs] @FRidh merged pull request #80196 → openssh: 8.1p1 -> 8.2p1 → https://git.io/JvlhQ
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/JvzqM
malSet has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 67 commits to staging-next: https://git.io/JvzqD
malSet has quit [Client Quit]
KeiraT has quit [Ping timeout: 240 seconds]
malSet has joined #nixos
<genesis> #27481
<{^_^}> https://github.com/NixOS/nixpkgs/issues/27481 (by jameysharp, 2 years ago, open): DBus activation still fails for user installed packages
mrleaW has left #nixos [#nixos]
kapil_ has quit [Quit: Connection closed for inactivity]
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @manveru opened pull request #81165 → vaultenv: 0.8.0 -> 0.13.0 → https://git.io/Jvzqp
mexisme_ has quit [Ping timeout: 248 seconds]
smatting has quit [Ping timeout: 240 seconds]
<manveru> LnL: -^
<{^_^}> [nixpkgs] @primeos opened pull request #81166 → [19.09] chromium: 80.0.3987.116 -> 80.0.3987.122 (backport) → https://git.io/Jvzqh
penguwin has joined #nixos
thc202 has joined #nixos
Mrmaxmeier has joined #nixos
duckfullstop has quit [Quit: Why do you need...?]
kyren has quit [Quit: ZNC 1.7.4 - https://znc.in]
laerling has quit [Quit: ZNC 1.7.3 - https://znc.in]
duckfullstop has joined #nixos
kyren has joined #nixos
dirkx_ has joined #nixos
markus1189 has quit [Ping timeout: 258 seconds]
laerling has joined #nixos
helpusobi has joined #nixos
fionera has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/39ed5ff74c1 (from 77 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @FRidh opened pull request #81167 → Staging next → https://git.io/Jvzms
linarcx has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
werner291 has quit [Quit: werner291]
<LnL> manveru: great :)
<manveru> are you still using it?
smatting has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #81067 → allow to run luarocks test → https://git.io/JvuGQ
<{^_^}> [nixpkgs] @teto pushed 4 commits to master: https://git.io/JvzmD
<manveru> i'm about to try vault, and thought this might come in handy, just wanted to know any gotchas :)
afics has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
veske has quit [Quit: This computer has gone to sleep]
linarcx has quit [Quit: WeeChat 2.7.1]
o1lo01ol1o has joined #nixos
sigmundv has joined #nixos
erictapen has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #81170 → kops_1_16: init at 1.16.0 → https://git.io/JvzYn
markus1189 has joined #nixos
pmyjavec has joined #nixos
cosimone has joined #nixos
<pmyjavec> Hey, I'm trying to submit a package to nix-pkg. Before it's accepted, I wanted to install it. When I install it I get the error :error: cannot auto-call a function that has an argument without a default value ('lib')
<pmyjavec> I'm so lost as to why this happens, what it means and how I can fix it.
<pmyjavec> Any clues? I'm running it with: nix-env -f pkgs/top-level/all-packages.nix -i aws-mfa
<__monty__> pmyjavec: Sounds like you're not using callPackage.
maxdevjs has quit [Remote host closed the connection]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maxdevjs has joined #nixos
zupo has joined #nixos
max_devjs has joined #nixos
max_devjs has quit [Remote host closed the connection]
maxdevjs has quit [Client Quit]
<pmyjavec> __monty__: 0 aws-mfa = callPackage ../tools/security/aws-mfa {};
maxdevjs has joined #nixos
kapil_ has joined #nixos
<pmyjavec> I made the changes as requested, then it started happening.
<__monty__> pmyjavec: Do you get the same thing with `nix-env -f . -iA aws-mfa?
peelz has quit [Quit: Leaving]
<pmyjavec> __monty__: ah this is maybe hte command I need
kristian__ has quit [Remote host closed the connection]
<pmyjavec> __monty__: thanks! that worked. What is the different?
<__monty__> I'm not sure actually.
<pmyjavec> Haha
<pmyjavec> I like the idea of Nix, but it's not easy to get your head around sometimes.
<__monty__> I'd usually do `nix-shell . -A aws-mfa`, no need to install something to test it.
philr has joined #nixos
<__monty__> By not using -A you're evaluating the entire package set and then going by the names defined in derivations. That's really inefficient.
<__monty__> The reason it doesn't work is because you're evaluating pkgs/top-level/all-packages.nix specifically rather than the entire nixpkgs.
<__monty__> I think.
<pmyjavec> __monty__: in this case I do need it installed.
<pmyjavec> yeah, I thought that might be the case, you opened up the scope a lot.
<pmyjavec> I'd love to know how that changes the situation and makes callPackage work different though.
<__monty__> Does it work for a random other package, like hello?
<{^_^}> [nixpkgs] @Ma27 pushed to master « clipman: 1.3.0 -> 1.4.0 »: https://git.io/JvzYb
smatting has quit [Ping timeout: 252 seconds]
<pmyjavec> Thanks for the help anyway.
tilpner has quit [Quit: tilpner]
maxdevjs has quit [Quit: Leaving]
maxdevjs has joined #nixos
maxdevjs has quit [Remote host closed the connection]
zupo has quit [Ping timeout: 258 seconds]
vandenoever has quit [Read error: Connection reset by peer]
maxdevjs has joined #nixos
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
zupo has joined #nixos
maxdevjs has quit [Client Quit]
maxdevjs has joined #nixos
maxdevjs has quit [Remote host closed the connection]
m_x has joined #nixos
waleee-cl has joined #nixos
maxdevjs has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81171 → remmina: 1.3.10 -> 1.4.1 → https://git.io/JvzOL
klntsky has quit [Ping timeout: 240 seconds]
maxdevjs has quit [Client Quit]
maxdevjs has joined #nixos
maxdevjs has quit [Remote host closed the connection]
maxdevjs has joined #nixos
maxdevjs has quit [Remote host closed the connection]
klntsky has joined #nixos
maxdevjs has joined #nixos
maxdevjs has quit [Remote host closed the connection]
maxdevjs has joined #nixos
maxdevjs has quit [Client Quit]
maxdevjs has joined #nixos
maxdevjs has quit [Remote host closed the connection]
maxdevjs has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « clipman: 1.3.0 -> 1.4.0 »: https://git.io/JvzOl
kleisli has quit [Ping timeout: 258 seconds]
linarcx has joined #nixos
<{^_^}> [nixpkgs] @misuzu opened pull request #81172 → iptables: switch from iptables-legacy to iptables-nftables-compat → https://git.io/JvzOo
iyzsong has quit [Remote host closed the connection]
iyzsong has joined #nixos
veske has joined #nixos
veske2 has joined #nixos
veske2 has quit [Client Quit]
veske has quit [Client Quit]
veske2 has joined #nixos
veske has joined #nixos
veske2 has quit [Client Quit]
veske has quit [Client Quit]
veske2 has joined #nixos
veske has joined #nixos
energizer` has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #81155 → wireshark: 3.2.1 -> 3.2.2 → https://git.io/Jvujx
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jvz3T
opticnerve has joined #nixos
shibboleth has joined #nixos
TCZ has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #81173 → torchPackages, torch-repl: remove → https://git.io/Jvz3u
m_x has quit [Ping timeout: 272 seconds]
hmpffff_ has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
teto has joined #nixos
opticnerve has quit [Quit: Leaving]
TCZ has left #nixos ["Leaving"]
hmpffff has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
slyfox has quit [Ping timeout: 265 seconds]
slyfox has joined #nixos
<coderobe> >/nix/store/qwlwalmadpd4zflxczd34nlfjah9ddgg-grub-2.04/sbin/grub-install: warning: your core.img is unusually large. It won't fit in the embedding area.
<coderobe> How do i, uh, reduce the size of my grub core.img?
revtintin has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @bignaux opened pull request #81174 → [wip] indicator-cpufreq: init at bzr 98 → https://git.io/JvzsJ
iqubic has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @vanschelven opened pull request #81175 → pythonPackages.swagger-spec-validator 2.4.3 -> 2.5.0 → https://git.io/Jvzsk
cosimone has quit [Quit: Terminated!]
<{^_^}> [nixpkgs] @clkamp opened pull request #81176 → Update Aqbanking to 6.1.1 → https://git.io/Jvzst
zupo has joined #nixos
zupo has quit [Client Quit]
magnoom has joined #nixos
page_ is now known as page
work_ has joined #nixos
magnoom has left #nixos [#nixos]
m_x has joined #nixos
mounty has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @scalavision opened pull request #81177 → truvari:1.3.2->1.3.4 → https://git.io/JvzsW
<clever> coderobe: are you using MBR or GPT?
<coderobe> clever: neither, it's embedding into a btrfs device without partition table
<clever> coderobe: ah, i would just switch over to GPT, and make a bios boot partition, no fs, not formatted, not mounted
<clever> coderobe: the bios boot partition must be big enough to hold core.img plus any grub modules needed to mount whatever /boot is
<coderobe> i do not have spare space, the entire drive is owned by btrfs
<coderobe> :P
<Shell> clever: relevant quote from Arch wiki, GRUB can boot Btrfs partitions, however the module may be larger than other file systems. And the core.img file made by grub-install may not fit in the first 63 sectors (31.5KiB) of the drive between the MBR and the first partition. Up-to-date partitioning tools such as fdisk and gdisk avoid this issue by offsetting the first partition by roughly 1MiB or 2MiB.
<coderobe> note that this used to work until i just rebuilt, i'm trying to figure out what changed
cfricke has joined #nixos
linarcx has quit [Ping timeout: 260 seconds]
iyzsong has quit [Ping timeout: 245 seconds]
clkamp_ has joined #nixos
<coderobe> rolled back to 19.09 and everything works again...
werner291 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #81163 → cocoapods: 1.8.4 -> 1.9.0 → https://git.io/JvzLi
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JvzsQ
tilpner has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #77685 → python3Packages.ignite: init at 0.2.1 → https://git.io/JvJ5i
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Jvzs5
<{^_^}> [nixpkgs] @marsam merged pull request #81134 → python3Packages.nitime: init at 0.8.1 → https://git.io/Jvu9b
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvzsN
tilpner has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #78924 → ocamlPackages.biocaml: 0.10.0 -> 0.10.1 → https://git.io/JvO58
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JvzsA
tilpner has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvzGU
<{^_^}> [nixpkgs] @marsam merged pull request #81089 → gitAndTools.git-interactive-rebase-tool: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvu8m
<{^_^}> [nixpkgs] @marsam merged pull request #80160 → parity: 2.5.11 -> 2.7.2 → https://git.io/Jvlih
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvzGT
Cadey is now known as Xena
Xena is now known as Cadance
Cadance is now known as JohnMadden
JohnMadden is now known as shadowh511
shadowh511 is now known as Cadey
rauno has quit [Ping timeout: 240 seconds]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<{^_^}> [nixpkgs] @madjar merged pull request #80955 → mopidy-iris: 3.44.0 -> 3.45.1 → https://git.io/JvEnq
<{^_^}> [nixpkgs] @madjar pushed 2 commits to master: https://git.io/JvzGR
<{^_^}> [nixpkgs] @madjar merged pull request #80887 → ghq: 0.12.6 -> 1.1.0 → https://git.io/Jv0Xc
<{^_^}> [nixpkgs] @madjar pushed 2 commits to master: https://git.io/JvzGE
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-polyparse: the latest version works with ghc-8.8.x »: https://git.io/JvzGu
silver_hook has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
Flambe has joined #nixos
<{^_^}> [nixpkgs] @Vskilet closed pull request #55706 → nixos/roundcube: more options → https://git.io/fh7UD
pmyjavec has quit [Remote host closed the connection]
rauno has joined #nixos
Flambe has quit [Client Quit]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-relude: avoid test suite failure when building with ghc-8.8.x »: https://git.io/JvzG9
silver_hook has joined #nixos
clkamp_ has quit [Ping timeout: 260 seconds]
madjar has joined #nixos
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #81179 → zabbix: 3.0.29 -> 3.0.30, 4.0.17 -> 4.0.18, 4.4.5 -> 4.4.6 → https://git.io/JvzGA
enamax has joined #nixos
cosimone has joined #nixos
<enamax> Buon giorno! How would I go about using a specific (newer) version of a kernel module (specifically ENA)? I know about Developing Kernel Modules from https://nixos.wiki/wiki/Linux_kernel, and I can build the module, how do I "install" it?
rogue_koder_ has quit [Ping timeout: 258 seconds]
erictapen has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « ghc-8.10.x: add overrides to fix regex-* packages »: https://git.io/JvzZU
rogue_koder_ has joined #nixos
zupo has joined #nixos
Arahael has quit [Ping timeout: 258 seconds]
<tilpner> enamax: Put it into boot.extraModulePackages
<{^_^}> [nixpkgs] @stigtsp opened pull request #81180 → perlPackages.TextLorem: init at 0.3 → https://git.io/JvzZ3
<tilpner> At least, that's what worked for a module I needed, that didn't ship with the kernel at all
<enamax> tilpner: I have done that before for base modules, but in this case the module for kernelPackages_latest is too old. I.e., I’m thinking I have to override(?) version and src from here: https://github.com/NixOS/nixpkgs/blob/08749c48604061a2b37ff246c2b0ee090da51440/pkgs/os-specific/linux/ena/default.nix
rogue_koder_ has quit [Ping timeout: 258 seconds]
<tilpner> I thought you could build it?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-spacecookie & matterhorn: clean up overrides »: https://git.io/JvzZc
<enamax> Yeah but wouldn’t that conflict with the nixpkgs ena?
<tilpner> Yeah, probably
<{^_^}> [nixpkgs] @cdepillabout merged pull request #80397 → haskellPackages.hakyll-contrib-hyphenation: jailbreak → https://git.io/Jv4Zs
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JvzZW
<tilpner> Have you tried kernelPackages = linuxPackages // { ena = ...; }; ?
shafox has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-ChasingBottoms: jailbreak to fix build with ghc-8.10.x »: https://git.io/JvzZ2
dreadward[m] has joined #nixos
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-construct: drop obsolete overrides »: https://git.io/JvzZX
rogue_koder_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-ormolu: update override »: https://git.io/JvzZd
<{^_^}> [nixpkgs] @zowoq opened pull request #81181 → kompose: 1.20.0 -> 1.21.0 → https://git.io/JvzZx
hmpffff_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #81174 → [wip] indicator-cpufreq: init at bzr 98 → https://git.io/JvzsJ
hmpffff has quit [Ping timeout: 240 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken builds to fix evaluation »: https://git.io/Jvznn
JonReed has joined #nixos
cosimone has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81182 → src: 1.27 -> 1.28 → https://git.io/Jvzn4
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78475 → dart: 2.0.0 -> 2.7.1 (stable) + 2.0.0 -> 2.8.0-dev.10.0 (dev) → https://git.io/Jvq0J
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvznB
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvzn0
cosimone has joined #nixos
hmpffff has joined #nixos
zupo has joined #nixos
zupo has quit [Client Quit]
hmpffff_ has quit [Ping timeout: 258 seconds]
MarcWeber has joined #nixos
<evanjsx[m]> clever: yep. No input possible on the graphical side for qemu, either
<enamax> tilpner: I came up with https://gist.github.com/eugeneia/c7a35dc1dd5968ca585326fe60734606 thanks to your hint, but... it doesn’t seem to anything at all?
rootatarch has joined #nixos
cfricke has quit [Quit: WeeChat 2.7.1]
MarcWebe1 has joined #nixos
wfranzini has joined #nixos
<tilpner> enamax: You generally want overrideAttrs instead of overrideDerivation
LysergicDreams has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #81183 → talloc: fix build on darwin → https://git.io/JvznH
hmpffff_ has joined #nixos
hmpffff has quit [Read error: Connection reset by peer]
<evanjs> tilpner: what's the rule of thumb for those vs override?
<evanjs> Not sure I ever remember :P
<tilpner> evanjs: .override is for function arguments, .overrideAttrs is for attributes
<tilpner> evanjs: In { foo }: mkDerivation { quux = foo; bar = 42; } you can alter quux with override, and both with overrideAttrs
<tilpner> evanjs: override becomes useful when the value is used while constructing something else
<clever> .override can only alter the foo in that
<tilpner> evanjs: E.g. in { version }: mkDerivation { src = fetcher { inherit version; }; }, an override is dry-er and shorter than the overrideAttrs would be
LysergicDreams has joined #nixos
<tilpner> clever: And foo is only used in quux, so overrie can only affect quux there
<clever> yeah
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: stick to older hackage-security version to make cabal-install happy »: https://git.io/JvzcU
KeiraT has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvzck
<{^_^}> [nixpkgs] @MrMebelMan opened pull request #81184 → python3Packages.sapi-python-client: init at 0.13.1 → https://git.io/JvzcL
<evanjs> clever: though tbh input isn't as important as mounting the drive. Was only trying to enable input to debug that
<evanjs> for some reason that's failing, too :D
<clever> evanjs: how is that failing?
zupo has joined #nixos
<evanjs> clever: lemme boot up the real hardware again and see
Neo-- has joined #nixos
<Cadey> how would i make a nix package that adds a TLS certificate authority to the system trust store?
hmpffff has joined #nixos
hmpffff_ has quit [Read error: Connection reset by peer]
<tilpner> You can't, you need a module for that
<enamax> tilpner: any idea why the module isn’t built though?
<tilpner> enamax: Have you changed it?
<clever> security.pki.certificateFiles
<clever> A list of files containing trusted root certificates in PEM format. These are concatenated to form /etc/ssl/certs/ca-certificates.crt, which is used by many programs that use OpenSSL, such as
<tilpner> ... to overrideAttrs?
<enamax> Yep
<clever> Cadey: you want to add the file to this list
<tilpner> And then you did a nixos-rebuild switch?
<tilpner> How do you test if it has worked?
<Cadey> clever: will that work for a non-nixos system?
<tilpner> No, they don't have modules
<{^_^}> [nixpkgs] @fusion809 closed pull request #80742 → marvin: 20.4.0 -> 20.5.0 → https://git.io/JvR69
<tilpner> (Perhaps with home-manager, but that's probably not what you meant)
<enamax> tilpner: I would have expected some build output, maybe that’s silent?
<tilpner> enamax: Perhaps you built it before, and there was no reason to build it again?
<tilpner> Or perhaps it really wasn't built, but this is not a good indicator
<{^_^}> [nixpkgs] @fusion809 opened pull request #81185 → marvin: 20.4.0 -> 20.6.0 → https://git.io/Jvzcz
<enamax> Hmm, no it didn’t do anything (tried a nixos-rebuild boot && reboot)
<enamax> and it’s still using the stock 2.1.0 ENA
hmpffff has quit [Read error: Connection reset by peer]
<tilpner> nix-build '<nixpkgs/nixos>' -A config.boot.kernelPackages.ena
<tilpner> That should build the ena attribute
hmpffff has joined #nixos
<enamax> Hmm... that builds the sock version
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<enamax> Would that load my configuration.nix at all though?
<clever> evanjs: <nixpkgs/nixos> loads <nixos-config> by default
<clever> enamax: and $NIX_PATH points nixos-config to that file
<tilpner> That command evaluates configuration.nix, but it will not cause this ena to be used
<enamax> but why ?? ;D
hmpffff has quit [Read error: Connection reset by peer]
<{^_^}> [nix] @edolstra pushed 10 commits to flakes: https://git.io/JvzcM
Taneb is now known as nvd
<tilpner> Wait, what's that in your function argument pattern...
<tilpner> How are you taking fetchFromGitHub up there?
<enamax> Uh, bad copy paste from ena/default.nix? I was wondering where I am supposed to get fetchFromGitHub from...
<tilpner> From pkgs
<tilpner> But this makes me wonder if you've really been testing the right thing
<evanjs> clever: well now I'm getting no filesystem type specified, which I don't think I was getting before. Suppose I'll specify fat, just don't usually need to do that IIRC
<clever> enamax: now that i look at your gist, i instantly know the problem
<clever> enamax: nixos will call boot.kernelPackages.extend to change some kernel flags, which undoes your // { ena = ...; }
<tilpner> I was wondering about extend, but couldn't explain why that might help!
<tilpner> :(
<clever> enamax: you must use pkgs.linuxPackages_latest.extend (self: super: { ena = ...}) or it just gets undone
<evanjs> clever: I keep forgetting stuff gets redirected to /dev/null by default >_>
hmpffff has joined #nixos
<clever> and as a result of it ignoring the ena=, it lazily never tried to eval fetchFromGitHub
<clever> so that error is silently ignored
<tilpner> But then why did the manual nix-build build to the right version?
<evanjs> clever: ah. nvm. coworker had a bright idea. check and see if fat support is compiled in....
hmpffff has quit [Client Quit]
<evanjs> CONFIG_VFAT_FS=m :D oops
<clever> evanjs: not using an initrd i guess?
<tilpner> Assuming "the sock version" is the right version
<evanjs> I am
dm9 has joined #nixos
<tilpner> Ahh, it uses boot.kernelPackages.extend, and never exposes that
<evanjs> We basically mount the ESP drive to /boot, and extract "update" files there (bzImage and initrd)
<clever> tilpner: yep, i traced this down a few months ago when somebody else had the same issue
<evanjs> but otherwise only really run off the initr(d/ramfs)
<enamax> clever: ok that causes the module to be built, but it builds the stock version (/nix/store/012a7crf13dcyl8r873vahbhni76dfxb-ena-2.1.2-5.4.22.drv)?
zebrag has joined #nixos
<enamax> possibly because the real source comes from the kernel tree? O_O
<{^_^}> [nixpkgs] @mmilata closed pull request #80560 → lbzip2: 2.5 -> 2.5+git20180127 → https://git.io/JvBR1
dm9 has quit [Client Quit]
<clever> enamax: you may need to override the name= also
<clever> enamax: often, the name = "foo-${version}"; pattern is used, which will ignore further overrides to version
<clever> so it would be the new version, but claim to be old
<evanjs> clever: but yeah input would be _nice_ to have to debug but adding (V)FAT_FS support might solve our functionality issue for now
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Jvzcp
<clever> enamax: you could confirm that with `nix-store --query --binding src /nix/store/012a7crf13dcyl8r873vahbhni76dfxb-ena-2.1.2-5.4.22.drv`
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken package »: https://git.io/Jvzch
<evanjs> I think it'll be at least ready to ship at that point (as long as QA doesn't find anything else) >_>
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvzCe
<{^_^}> [nix] @edolstra pushed 5 commits to eval-optimisations: https://git.io/JvzCv
<clever> evanjs: yeah, i'm not sure whats up with input
<evanjs> Yeah same. FWIW my initscript is currently just busybox and then this guy takes over https://github.com/evanjs/mini-system/blob/master/rootfs/etc/sysinit
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #79274 → pythonPackages.python-pam: init at 1.8.4 → https://git.io/JvZeu
<evanjs> (waiting for the usbsi device is not S0, need to change that, but otherwise what it should look like there)
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #80338 → pythonPackages.spavro: init at 1.1.22 → https://git.io/Jv8HG
cyphase has quit [Ping timeout: 258 seconds]
<evanjs> tried without cttyhack in the inittab and etc but yeah idk either
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-streamly-bytestring: drop obsolete override »: https://git.io/JvzCO
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #79278 → pythonPackages.mimesis: init at 3.3.0 → https://git.io/JvZe9
<JonReed> I've found this command `nix-build '<nixpkgs/nixos>' -A vm -I nixos-config=./configuration.nix` that should build a configuration.nix into a runnable virtual machine. But I'm confused about how to set it up. What device should I specificy as a filesystem in configuration? What that virtual machine will use as a disk for storing things while its
<JonReed> running (/nix/store/ is obviously readonly)?
<evanjs> Like they're all backgrounded, so
<clever> JonReed: nixos will automatically setup the config for the rootfs
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #79276 → pythonPackages.pytest-memprof: init at 0.2.0 → https://git.io/JvZeo
vandenoever has quit [Read error: Connection reset by peer]
<clever> JonReed: it will create a qcow2 file in the working directory, matching the hostname of the machine, as set by networking.hostName within configuration.nix
gustavderdrache has joined #nixos
<JonReed> clever: Oh, that's cool.
vandenoever has joined #nixos
vandenoever has quit [Changing host]
vandenoever has joined #nixos
<enamax> clever: thanks a bunch so far, I can confirm that it builds the right version however it doesn’t seem to use it. modinfo still shows the stock version
<CRTified> JonReed: There are also some settings that allow to e.g. set custom qemu arguments or changing stuff like available memory
<clever> enamax: is the sha256 correct?
<enamax> of what?
fleaz has left #nixos [#nixos]
<clever> enamax: try changing one of the digits to a 0, then build, does the error say to undo it, or give a totally diff hash?
work_ has quit [Quit: Connection closed for inactivity]
<enamax> wanted: sha256:1mvyxjn628diavjfrnsy6qrca866l43hrfb278aghz3z0vca7b00
<enamax> got: sha256:1mvyxjn628diavjfrnsy6qrca866l43hrfb278aghz3z0vca7b05
<clever> yeah, the hash is right
<clever> enamax: what is modinfo saying exactly?
<JonReed> So, I should just specify a standard `{ "/" = { device = "/dev/disk/sda" }; }` in that configuration.nix when using a virtual machine? What if I want to also pass a path from the host (like /mnt/my-storage) to that virtual machine while its running so that it can access it (for, let's say, a database storage)?
<enamax> (I’d expect version to be 2.2.3 or something
<clever> JonReed: nixos will override the definition of / when using a vm, and ignore whatever you specify
<clever> JonReed: but nixos will also setup a 9plan mount of an xchg dir, so you can get files in/out
<clever> JonReed: check the args to qemu (via ps aux), and the output of `mount` inside the guest, to see where xchg is
fresheyeball has quit [Quit: WeeChat 2.6]
<enamax> clever: I’m thinking maybe I have to update boot.extraModulePackages as maybe its set to the stock version by amazon blurbs
<enamax> tbh I have no idea what imports = [ <nixpkgs/nixos/modules/virtualisation/amazon-image.nix> ]; does
<JonReed> clever: Ok, huge thanks!
<clever> enamax: what did you set extraModulePackages to?
<clever> enamax: just read that path, within the nixpkgs repo
veske2 has quit [Quit: This computer has gone to sleep]
veske has quit [Quit: This computer has gone to sleep]
<evanjs> anybody know if there's something in nixpkgs/nixos like gentoo's "offensive" flag? :D I miss my potty-mouthed terminal - I think this --- OH
peanutbutter144 has quit [Quit: No Ping reply in 180 seconds.]
<evanjs> withInsults! yessss. thank you nixpkgs maintainers :D
peanutbutter144 has joined #nixos
Boarders has joined #nixos
<Boarders> Hi, I want someone to be able to install a cabal project on their machine without a local cabal or ghc, is it possible to do this with some variant on "nix-shell --packages ghc --run 'cabal install'
<enamax> clever: I read that, it does:
<Boarders> I need it to use Cabal-3.0 though as the package uses features from that
<enamax> I have repeated that in my configuration.nix (with the new ena module version), but *still* I’m being booted into the 2.1.0 version arghh ^^
<enamax> Theory: the old version is still in the initrd? I can confirm that my build did regenerate the initrd, did it use the new version though? I dunno.
<enamax> boot.initrd.availableKernelModules takes strings so.. I dunno
<evanjs> is there any way to query current package arguments via nixos-option / nix eval? Like, to see if my setting for sudo's withInsults argument is in effect
<clever> enamax: boot.extraModulePackages = [ ena ];
<clever> enamax: how is this getting a reference to ena?
<enamax> clever: What I have now (in full) is this: https://gist.github.com/eugeneia/c7a35dc1dd5968ca585326fe60734606
<enamax> I.e., I created a let binding for the custom ena to be able to refer to it
<tilpner> evanjs: Yes, but it's a hack
<tilpner> evanjs: .override again, take the previous arguments as an argument, and trace the arguments you care about before not changing them at all
<evanjsx[m]> tilpner:
smatting has joined #nixos
<evanjsx[m]> * tilpner: 🤮 gah I figured
<clever> enamax: line 22 should be config.boot.kernelPackages.ena, and 3-12 should be on 19
<tilpner> > sudo.override (old: builtins.trace old.withInsults or "none" old)
<{^_^}> "<derivation /nix/store/x41ldw7sch90lmkf3kjb8gzl46r3fqnd-sudo-1.8.31.drv>"
<tilpner> That will trace different things, depending on if sudo was overridden with withInsults before
<evanjs> trace: true
<aranea> Is there a package with udev rules for openpgp smart cards so I can use them with gpg's builtin ccid driver?
<evanjs> tilpner: woo! thank you!
<evanjs> but yeah that is nasty haha
<evanjs> tilpner++
<{^_^}> tilpner's karma got increased to 65
<aranea> I guess I could install pcscd and abuse the rules that probably come with that, but meh.
<tilpner> evanjs: Alternatively, inspect the last argument of sudo.configureFlags, but that's package-specific
<enamax> clever: but that’s equivalent...
<evanjs> clever: woo! mount point does not exist now
m_x has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @vanschelven opened pull request #81186 → pythonPackages.bravado-core: init at 5.16.1 → https://git.io/JvzWC
<clever> enamax: should be, but cant hurt to do things well, incase any other overlays are at play
fresheyeball has joined #nixos
<JonReed> Boarders: I don't remember specifics for Haskell / cabal, but I think if you `nix-build` the file that `cabal2nix` outputs, it should build the binary as well, which then can be installed using `nix-env -i`
<Boarders> JonReed: Thanks for the pointer. Unfortunately this project doesn't build with just that as some of the dependencies are marked as broken and some have failing tests
<fresheyeball> Boarders: nix-env -if .
<Boarders> but I am hoping to try to use overlays to fix the problems
<fresheyeball> will install the binary in your env
<fresheyeball> but it sounds like you still need to do some things to get it building
<fresheyeball> I still can't seem to import a newer version of the nix package
<Boarders> Yeah, we have it so that it can build with cabal so long as you have the correct version of ghc on your machine and the correct version of cabal, I want to be able to easily have someone install the project without having to worry about those details so I want to use nix to grab the correct versions
<enamax> clever: yeah it’s definitely getting its ena from somewhere else, maybe the kernel source tree? the loaded module doesn’t match any of the versions I have built...
<Boarders> this seems to work for me: nix-shell --packages haskell.compiler.ghc881 --run 'cabal install'
<dhess> Boarders: I have a bunch of overlay machinery for using overlays to replace versions of packages, creating nix-shells with certain versions of tools included, etc. See here: https://github.com/dhess/dhess-nix/blob/master/overlays/haskell-packages.nix
<fresheyeball> when I point it at a local checkout it works fine. But when using fetchFromGitHub I get a weird error
<Boarders> separately I would like to build the whole project with nix, but that will take more work from me to figure out how you do it
<fresheyeball> It says I don't have access to a public repo
<fresheyeball> which makes no sense
<evanjs> clever: hrm alright. now it's "special device /dev/sda1 does not exist" :P maybe i'll `ls /dev > /dev/console` in sysinit as well
<clever> enamax: try running realpath on the ena.ko.gz, and see which storepath it came from
<Boarders> dhess: thanks that will be really helpful
<dhess> it's pretty complicated but also includes most of the things you'd ever need to do, I think.
<fresheyeball> I checked the source directory mentioned in the error and it's the nix repo as expected
wfranzini has quit [Quit: wfranzini]
<clever> evanjs: `exec > /dev/console` will change stdout for the entire shell script, so you dont have to redir everything
<enamax> clever: yeah it comes from the linux-5.4.22 package
<fresheyeball> clever: hopefully I forgot {} again or something
<clever> evanjs: also double-check where 0,1,2 lead, in `ls -l /proc/self/fd/`
<dhess> Boarders: feel free to copy it and adapt it to your own uses
<evanjs> clever: ooooo good call
<clever> enamax: ah, so youll need to somehow pick the ena from outside, rather then the one within linux
<aranea> Hrm, pcscd doesn't even come with any rules, it's just run as root.
<aranea> Well, I guess I'll just write my own udev rules then.
<enamax> clever: guess I could rebuild the kernel with CONFIG_ENA_ETHERNET=n
<fresheyeball> fatal: '/nix/store/8nnbnhj32z33gr7a4ix3z6fqw7xh1nwc-source' does not appear to be a git repository
<enamax> but will it then automatically find the new ena or will I have an unbootable system...
<fresheyeball> is definately the git repo
<dhess> Boarders: you may run into problems trying to override Cabal, FYI. There are some packages in haskellPackages that are difficult to override because they're also part of GHC's built-in packages
<dhess> I'm not saying it won't work, I just don't know for sure.
<clever> enamax: thats what extraModulePackages does
<clever> enamax: you can also use `nixos-rebuild test` and `modinfo` to check if the new module is present, before you make it permanent
<clever> enamax: and confirm its using the new path
<dhess> Boarders: I often encounter issues with packages that are already overridden in the GHC derivation (e.g., https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix) or the common config here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/configuration-common.nix
<Boarders> ah ok, thanks for the heads up
karantan has joined #nixos
<fresheyeball> oh I wonder if the nix repo needs it's .git folder, and fetchFromGitHub is removing it
<karantan> I have this derivation: https://pastebin.com/F0SJDd3H. how can I add this derivation to my configuration.nix and use it in `environment.systemPackages` ?
<fresheyeball> oh it totally does
<JonReed> Probably `environment.systemPackages = [ (import myPackage.nix) ]`
<karantan> I've try with adding `imports = [ ./hello.nix ...];` and then `environment.systemPackages = [ helloWorld ]; ` but it complains "undefined variable 'helloWorld'"
endformationage has joined #nixos
<{^_^}> [nixpkgs] @Mic92 closed pull request #81187 → knot-resolver: fix cpu usage in kres-gc-cache → https://git.io/JvzWA
rail has quit [Ping timeout: 255 seconds]
<karantan> @JonReed with this I get https://pastebin.com/Ry78s9pr
<{^_^}> [nixpkgs] @Mic92 opened pull request #81188 → knot-resolver: fix cpu usage in kres-gc-cache → https://git.io/JvzWj
<{^_^}> [nixpkgs] @Mic92 opened pull request #81187 → knot-resolver: fix cpu usage in kres-gc-cache → https://git.io/JvzWA
<clever> karantan: your derivation in https://pastebin.com/F0SJDd3H lacks a src to actually build
<karantan> I got this when I did `let helloWorld = import ./hello.nix in ..`
<clever> karantan: you probably want to delete lines 5, 6, 9, and most of 8
erictapen has joined #nixos
<clever> karantan: you just want `in myScript` and nothing else
<karantan> @clever but if I do `nix-shell hello.nix` it works. Or is this a totally different case?
<clever> karantan: nix-shell is creating a shell suitable for "building" test-environment (aka, using myScript)
<karantan> here: https://www.sam.today/blog/creating-a-super-simple-derivation-learning-nix-pt-3/ it says "If you use NixOS, you can modify your system configuration and include it in your environment.systemPackages list"
<clever> karantan: but test-environment itself, cant never be built
<karantan> so I first need to build the derivation?
<clever> karantan: its myScript that you want in systemPackages, not test-environment
<fresheyeball> ok that was weird, but I seem to have fixed it
<clever> karantan: this is where it helps to have seperate shell.nix and default.nix files, shell.nix contains test-environment, default.nix contains myScript
JonReed has quit [Remote host closed the connection]
philr has quit [Ping timeout: 240 seconds]
<evanjs> clever: okay maybe ls’ing _all_ of /dev wasn’t a great idea 😝 as for fd, 0,1, and 2 go to /dev/console
<evanjs> 3 cannot read link: No such file or directory
<clever> evanjs: then io should work fine, and yeah 3 is a bit special with ls, thats the fd dir itself
<clever> which it then closed, before trying to stat itself
<evanjs> Alright, I’ll make my ls dev a bit more specific anyhow
ddellacosta has joined #nixos
<fresheyeball> well I though it was all better
<fresheyeball> I got the update nix package
<fresheyeball> but `nix repl` says nix-command is disabled
<clever> fresheyeball: ive been getting the same error in a nix-shell build of nix
<clever> havent found the exact cause yet
JonReed has joined #nixos
<fresheyeball> nix repl --experimental-features nix-command
<fresheyeball> works
<fresheyeball> so I guess I am fine
<fresheyeball> clever: let me know if you find out, it's odd
<fresheyeball> oddly I have to set officialRelease = true as well
<evanjs> infinisil: do you ever get nix eval errors with resulting from config/new-modules/default.nix:10:6 or similar? in this case, it can't find new-modules/dev, which will likely be resolved by a(n even partial) rebuild
<evanjs> clever: okay, so nothing for /dev/sd* at all :D
<evanjs> Wonder if I'm missing another kernel option...
<clever> evanjs: dmesg would have shown the device anyways, what about `lspci` and `lsblk` ?
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<evanjs> lsblk turned up nothing but I can try lspci
<clever> evanjs: for lspci, check `lspci -v` and look under `Kernel driver in use`
<evanjs> clever: via grep or etc, right? as I still don't have input working :D
<JonReed> karantan: My preference for organizing would resemble this: https://pastebin.com/racf5wHJ
<clever> evanjs: just dump the whole thing to the screen?
<clever> evanjs: also if your in qemu, try /dev/ttyS0 and link the serial to stdio
<evanjs> Yeah ttyS0 seems to work well with qemu, just wasn't sure how much I could emulate there that would apply to the other system
<karantan> @JonReed looks nice. thanks, I'll use it
<evanjs> and as for the real hardware, trying to be cautious with what dumps out, as it's a pretty "low-res" framebuffer -- i.e. not much fits on there :D
<JonReed> karantan: So `;` though in the first expression. I wrote it from head and already see this mistake :D
chloekek has quit [Quit: WeeChat 2.7]
<karantan> yeah np. I just needed to know the concept
<karantan> can I also use any of this to actually create a nix package?
<karantan> or can only I use this in my config
<evanjs> clever: mmkay which "Kernel driver in use" am I looking for? I only see xhci_hcd
JonReed has quit [Remote host closed the connection]
<karantan> the end goal is to create a package for hashdeep (http://md5deep.sourceforge.net/) and do a PR
<clever> evanjs: the driver in use, for the line following your sata controller
<evanjs> and confirmed no sda in /dev
<evanjs> oh right sata duh
<clever> 07:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01) (prog-if 01 [AHCI 1.0])
<clever> Kernel driver in use: ahci
JonReed has joined #nixos
<clever> also, qemu may use virtio by default
<JonReed> karantan: I have an alias for this `alias nix-build-call='nix-build -E "with import <nixpkgs> {}; callPackage ./default.nix {}"'` It builds the `default.nix` within a directory.
<clever> ,callPackage
<{^_^}> If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<evanjs> clever: ....... good call, once again :D
<evanjs> CONFIG_SATA_AHCI=m
<evanjs> well then XD
<evanjs> (note I'm not linking all modules into lib/modules, just a few for a minimal system)
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #79275 → pythonPackages.python-irodsclient: init at 0.8.2 → https://git.io/JvZe2
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #79273 → pythonPackages.redo: init at 2.0.3 → https://git.io/JvZeR
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #79267 → pythonPackages.autograd-gamma: init at 0.4.1 → https://git.io/JvZeq
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #79213 → pythonPackages.superlance: init at 1.0.0 → https://git.io/JvGBA
<evanjs> also looks like HID_GENERIC is m. I'll try adding both of those
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @ttuegel opened pull request #81189 → nixos/plasma5: Fix activation script when XDG_CONFIG_HOME is unset → https://git.io/JvzlV
__monty__ has quit [Quit: leaving]
<evanjs> is there an open issue for making the kernel configuration less fickle?
<evanjs> on the nixos side
JonReed has quit [Remote host closed the connection]
karantan has joined #nixos
<exarkun> Any way to have nix-prefetch-github give me the .git directory or do I have to switch to nix-prefetch-git?
<{^_^}> [nixpkgs] @das-g opened pull request #81190 → josm: 15806 -> 15937 → https://git.io/Jvzly
<{^_^}> [nixpkgs] @Mic92 merged pull request #81022 → [20.03] nixos/parsoid: fix service by reinstating nodePackages.parsoid → https://git.io/JvEpT
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to release-20.03: https://git.io/JvzlS
Arahael has joined #nixos
<immae> exarkun: the problem with keeping the git directory is that the content of this directory changes with time
<immae> (even if you check out a given revision)
<{^_^}> [nixpkgs] @jtojnar pushed to master « gimp: 2.10.16 → 2.10.18 »: https://git.io/Jvzld
<jtojnar> Valodim will you try to push the CXXFLAGS fix? we can make ofborg build it on mac
<dhess> Anyone here running NixOS on a 2019/2020 Mac laptop?
<{^_^}> [nixpkgs] @clkamp opened pull request #81191 → stdenv: Fix gcc multi line libc-cflags → https://git.io/Jvzlh
<{^_^}> [nixpkgs] @jonringer opened pull request #81192 → glances: init at 3.1.3 → https://git.io/Jvz8J
<evanjs> teto: ah sweet this sounds similar to what I'm seeing #71803
<{^_^}> https://github.com/NixOS/nixpkgs/issues/71803 (by teto, 18 weeks ago, open): wrong merging of kernel "optional" setting
<evanjs> e.g. SATA_AHCI wouldn't work until I set ATA to no (or presumably yes)
<Valodim[m]> Jan Tojnar: I did, but github is being annoying
<Valodim[m]> the force-push succeeded, and git says upstream is up to date. it just doesn't show up in the github web interface. but github's been weird all day, so *shrug :)
<{^_^}> [nixpkgs] @timokau merged pull request #80735 → [20.03] maven: make jdk overridable → https://git.io/JvRV1
<{^_^}> [nixpkgs] @timokau pushed 2 commits to release-20.03: https://git.io/Jvz8I
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jtojnar> Valodim hmm, when I check it out locally I still see `platforms = stdenv.lib.platforms.linux;`
<teto> I kinda gave up working on kernel configuration and nixos intergration since https://github.com/NixOS/nixpkgs/pull/69013
<{^_^}> #69013 (by teto, 23 weeks ago, open): really check requiredKernelConfig
<exarkun> immae: Sure
<exarkun> immae: Nevertheless
<pikajude> anyone here an expert on the rust crate builder?
cole-h has joined #nixos
<{^_^}> [nixpkgs] @jtojnar closed pull request #79032 → sphinxsearch: Add support for MySQL & xmlpipe2 → https://git.io/Jv3AL
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « git-annex: update sha256 hash for version 8.20200226 »: https://git.io/Jvz8c
<teto> ,query {^_^}
<{^_^}> [nixos-org-configurations] @edolstra pushed to master « Make the releases bucket listable again »: https://git.io/Jvz88
kleisli has joined #nixos
zupo has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
sgrunert has quit [Remote host closed the connection]
<Baughn> nixos-generate-config really needs to stop setting maxJobs equal to # of CPU threads.
<Baughn> ...that's my job, I guess.
<gchristensen> oh?
smatting has quit [Ping timeout: 272 seconds]
<Valodim[m]> Jan Tojnar: I amended the commit without changes and pushed again, seems it went through this time. No idea what happened there :) but commit is up now
<Baughn> gchristensen: It defaults to 48 on my system, but I have only 16GB of ram.
o1lo01ol1o has quit [Remote host closed the connection]
<Baughn> Which is silly, I know. Amazon is being slow. But still.
o1lo01ol1o has joined #nixos
<Baughn> I threatened a year ago to rewrite it in Rust. Since then I've actually learned Rust. P
<evanjs> mmmmm Rust. any progress with the rewrite so far? :P
<Baughn> As I said, I have since learned Rust. :P
<evanjs> right but the program lol
<Baughn> To my satisfaction, at any rate. I could probably have bungled through back then, but it wouldn't have been readable.
<Baughn> Well, I forgot about it until *this* happened.
<evanjs> ahhh
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<softinio[m]> So I am trying to understand how to get the most out of using niv, home manager & nix-darwin on my laptop
<softinio[m]> so far I have only used nix-darwin
dozn has joined #nixos
<softinio[m]> all the global apps I want installed from nixpkgs I have in my config for nix-darwin
<softinio[m]> where does niv fit into my workflow? How should I be using it?
erasmas has joined #nixos
<pikajude> niv is just a dependency manager for stuff you're fetching from github
<pikajude> or stuff that isn't already in nixpkgs
<pikajude> it automates the nix-prefetch-git => copy the hash into a source file workflow
<jared-w> softinio[m]: niv makes pinning sources easy and ergonomic, that's all. I use it to pin down nixpkgs, all my overlays, and anything I would otherwise "fetchTarball/url/Github/etc".
<softinio[m]> jared-w: so would you switch to using niv for your global packages in place of nix-darwin?
<{^_^}> [nixos-org-configurations] @edolstra pushed to master « Add channels.nixos.org to hold the redirects to releases.nixos.org »: https://git.io/Jvz8D
<pikajude> IME niv is good for managing dependencies of a package you're working on
<pikajude> actually no, sorry, misunderstood the question
<jared-w> softinio[m]: niv and nix-darwin are used for different things. nix-darwin is essentially a large collection of modules that automate the setup of a bunch of functionality for macos.
<pikajude> nix-darwin is a bunch of nix expressions
<pikajude> niv is *only* a manager that helps you keep your git and other dependency urls updated
<pikajude> so you'd be using both
<jared-w> https://github.com/LnL7/nix-darwin/blob/master/modules/examples/lnl.nix#L6 this is something you'd do with nix-darwin. It provides the functionality to be able to use a module to declaratively set NSGlobalDomain settings rather than using a hacky setup.sh script
<softinio[m]> got it so I will keep nix-darwin
<softinio[m]> and assume there is still a need to use something like home manager to customize your environment
<{^_^}> [nixpkgs] @jtojnar merged pull request #80727 → sphinxsearch: Add support for MySQL & xmlpipe2 → https://git.io/JvRgY
<{^_^}> [nixpkgs] @jtojnar pushed 6 commits to master: https://git.io/Jvz85
rail has joined #nixos
<softinio[m]> think I need to play with niv to understand its use more .... what you install with niv will it be global or just for the project you are working on ? or can it be both?
<pikajude> oh yeah, nix-darwin and home-manager are basically the same thing
<pikajude> `niv` is a command line tool that you can use to produce a json file containing a list of sources
cosimone has quit [Read error: Connection reset by peer]
<pikajude> and a nix file for importing tarballs from that file
<softinio[m]> oh didn't realize nix-darwin and home manager same
<pikajude> they do the same thing, different projects though
<LnL> some people use them both
<pikajude> nix-darwin is obviously more darwin specific
<Baughn> Things which I am trying: `stdenv = super.impureUseNativeOptimizations super.stdenv;`
<Baughn> My poor CPU...
<LnL> depends how much stuff you want to configure globally vs user local
<Baughn> This caused it to download 8.3GB of source code. :X
<softinio[m]> sorry for all the newby questions just trying to see how each tool is used and what I need for a perfect setup
<DigitalKiwi> hey pedants; if a package is the attribute python{,2,3}Packages.digital-ocean, the directory is .../python-modules/digitalocean, and the pname is python-digitalocean,...are any of these named wrong, and which name do i use in a PR to update it (for unrelated reasons not the name being inconcsistent) >.>
<pikajude> i use home-manager because i want to share the exact same config between nixos and macos
cosimone has joined #nixos
karantan has joined #nixos
karantan has quit [Client Quit]
<pikajude> python packages are named manually aren't they?
<DigitalKiwi> i know how to spell inconsistent i don't know how to type
waleee-cl has joined #nixos
<softinio[m]> as I am happy with nix-darwin thinking I stick with it and not use home manager for now and maybe investigate further if niv is a benefit to my workflow and setup
<DigitalKiwi> like should the directory be python-modules/digital-ocean or should it be changed in pkgs/top-level/python-packages.nix or does not not matter
nbathum[m] has joined #nixos
<DigitalKiwi> pikajude: yeah the attribute comes from top-level/python-packages.nix
<pikajude> that file isn't autogenerated i don't think
<DigitalKiwi> pkgs/top-level/python-packages.nix: digital-ocean = callPackage ../development/python-modules/digitalocean { };
<pikajude> if someone wrote it manually, i'd say fixing the attrname is just fine
<DigitalKiwi> right, someone put it there like that, but renaming it would be breaking, but it annoys me that it's named different and it's named different from upstream :((
<pikajude> you could just add an alias
<pikajude> in aliases.nix
<pikajude> oh actually, i don't know if those can be applied recursively
<{^_^}> [nixpkgs] @GRBurst opened pull request #81193 → xcwd: 2016-09-30 -> 2019-05-09 → https://git.io/Jvz4n
opthomasprime has joined #nixos
rootatarch has quit [Quit: WeeChat 2.7.1]
<Boarders> if I wanted to install a bunch of packages then do I use nix-env -qa [list of packages]?
<Boarders> the nix-env help page is very thorough but that makes it hard to find the default solution
<pikajude> -q is query
<cole-h> Pretty sure that won't install them. You need `-i`
<Boarders> ah ok thank you
<cole-h> (or `--install` if you want to be verbose)
<evanjs> clever: woo! HID_GENERIC was indeed one of the missing pieces
<evanjs> clever: I see no kernel driver in use for SATA, however. ... I didn’t need ATA... did I..?
<clever> evanjs: which transport is qemu using?
gustavderdrache has quit [Quit: Leaving.]
<evanjs> Oh I’m on the physical hardware atm
<evanjs> I could link all the modules into the initrd and see what autoloads, or at least what appears under kernel driver in use for SATA?
c0c0 has quit [Quit: WeeChat 2.6]
genesis has quit [Quit: Leaving]
benpicco has joined #nixos
nuncanada has joined #nixos
<benpicco> Hi, if in a script I don't want to call a shell build-in version of a command, e.g. echo, but the binary version, I'd usually call it with it's full path (/usr/bin/echo) - how do I get that path on NixOS?
<pikajude> it's usually in /run/current-system/sw/bin
genesis has joined #nixos
<pikajude> you can also find it with `type -p` in bash i think
<cole-h> If you're creating this script in a Nix expression, you can use string interpolation like so: "${pkgs.package-with-binary}/bin/echo"
<benpicco> well the script should be portable
<pikajude> /usr/bin/env exists on nixos
<pikajude> scripts that use #!/usr/bin/env python work, for example
<pikajude> but echo isn't a shell so you shouldn't be using a shebang for it
<pikajude> (/usr/bin/echo isn't portable either, fyi)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d25ac92fe52 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<benpicco> yes that's why I'm here
<pikajude> is it actually echo that you're trying to use, or some other tool?
<benpicco> /usr/bin/env echo seems to work
<pikajude> it does
<benpicco> it's actually echo
<pikajude> yeah, that's what you'll want then
<benpicco> echo -e - because sh doesn't have that
rail has quit [Ping timeout: 255 seconds]
<pikajude> it won't work for anything not in the user environment but that's true for any system
<pikajude> :q
<pikajude> whoops
teto has quit [Quit: WeeChat 2.7.1]
<mdash> benpicco: you can do it without env
<mdash> (enable -n echo; echo --help)
<{^_^}> [nixpkgs] @ttuegel merged pull request #81189 → nixos/plasma5: Fix activation script when XDG_CONFIG_HOME is unset → https://git.io/JvzlV
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/JvzB3
sigmundv has quit [Ping timeout: 265 seconds]
revtintin has quit [Quit: WeeChat 2.7.1]
<benpicco> mdash: enable: bad option: -n
<mdash> benpicco: you're using zsh
<benpicco> yes
<pikajude> but a script would be using a specific shell anyway
<mdash> yeah i was gonna say, a script probably uses bash
o1lo01ol1o has quit [Remote host closed the connection]
<mdash> in zsh it's `disable echo`
zupo has joined #nixos
JonReed has joined #nixos
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 240 seconds]
<JonReed> When I run a vm created with `nix-build '<nixpkgs/nixos>' -A vm -I nixos-config=./configuration.nix` the nixos console there is smaller than the QEMU window How can I can make it resize to all available window space?
<benpicco> Thank you, I think /usr/bin/env echo will do the trick
<{^_^}> [nixpkgs] @Tomahna reopened pull request #80000 → mopidy-mpd: init at version 3.0.0 → https://git.io/JvWwj
<qyliss> ISn't "command echo" what you want?
<qyliss> Saves spawning env.
<benpicco> qyliss: sh -c "command echo --help"
<{^_^}> [nixpkgs] @Ma27 pushed to master « cargo-deps: 1.1.1 -> 1.4.1 »: https://git.io/JvzBr
<benpicco> qyliss: sh -c "/usr/bin/env echo --help"
<qyliss> :(
<qyliss> works in zsh
<qyliss> I assumed it was posix
<jared-w> command is a zsh-ism
<jared-w> nvm, it's a "modern-shell"-ism. Works in my bash (tm)
mexisme_ has joined #nixos
lovesegfault has joined #nixos
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
mexisme_ has quit [Ping timeout: 240 seconds]
buckley310 has quit [Quit: The Lounge - https://thelounge.chat]
buckley310 has joined #nixos
boxscape has joined #nixos
boxscape has quit [Remote host closed the connection]
leotaku has joined #nixos
boxscape has joined #nixos
<genesis> if i remove a package, say random , nix remove so ~/.nix-profile/share/dbus-1/services/random.service , but random service is still activate on dbus
<ShaRose> mdash not sure if you saw it, but the reason I was looking for command execution was because I was hoping to use a script that can decrypt information using private host info like the uuid and that
o1lo01ol1o has joined #nixos
<ShaRose> I've already got a tool I can use for it (generates a keypair using host info, then uses that to decrypt info)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81195 → xapian: 1.4.14 -> 1.4.15 → https://git.io/JvzRT
chloekek has joined #nixos
buckley310 has quit [Client Quit]
buckley310 has joined #nixos
buckley310 has quit [Remote host closed the connection]
buckley310 has joined #nixos
gagbo has quit [Quit: I'm out !]
lovesegfault has quit [Quit: WeeChat 2.7.1]
rail has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #81196 → certbot: 1.0.0 -> 1.2.0 → https://git.io/JvzRq
lovesegfault has joined #nixos
<lovesegfault> worldofpeace: Are you around?
orivej has quit [Ping timeout: 272 seconds]
<lovesegfault> /quit/quit
lovesegfault has quit [Client Quit]
<pikajude> farewell
<xa0[m]> worldofpeace:
<xa0[m]> * worldofpeace: anything left to do on my PR? https://github.com/NixOS/nixpkgs/pull/80402
<{^_^}> #80402 (by bqv, 1 week ago, open): ripcord: init at 0.4.23
benpicco has left #nixos [#nixos]
<xa0[m]> not sure if it's tradition for me to resolve things myself or...
Boarders has quit [Remote host closed the connection]
erictapen has quit [Ping timeout: 260 seconds]
lovesegfault has joined #nixos
rail has quit [Ping timeout: 258 seconds]
<lovesegfault> worldofpeace: Alright, StateDir works
<{^_^}> [nixpkgs] @LnL7 merged pull request #81165 → vaultenv: 0.8.0 -> 0.13.0 → https://git.io/Jvzqp
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/Jvz0J
<mehlon> hmm, so services.yggdrasil seems to be missing from https://nixos.org/nixos/options.html
<mehlon> but it's supported right? maybe someone can update the page?
<mdash> ShaRose: yeah i've wanted that too, but i'm not sure secrets should go into nix derivations at all
<xa0[m]> the page is in line with 19.09
<LnL> mehlon: it was probably added after 19.09 then
<xa0[m]> unstable has many things that aren't on there
<mehlon> oh I see
fresheyeball has quit [Quit: WeeChat 2.6]
Boarders has joined #nixos
<Boarders> if I install packages with nix-env -i is there a way to uninstall them?
<Boarders> do I just do nix-env -u [package]?
<xa0[m]> yes
<Boarders> thanks
<LnL> isn't it -e?
<Valodim[m]> nix-env --uninstall [package]
<Valodim[m]> :)
<pikajude> -e is remove
<pikajude> yes
<xa0[m]> probably. was assuming he'd read the manual
<Boarders> Vaoldim[m] / others: thanks, sorry I haven't yet got a clue
fendor has quit [Read error: Connection reset by peer]
Czen1 has joined #nixos
chagra_ has joined #nixos
Czen has quit [Read error: Connection reset by peer]
<emily> is there no way to give a name to a builtins.fetchTarball so that it doesn't end up called "source"?
cosimone has quit [Quit: Terminated!]
<Yaniel> you can call it whatever you want I think?
<xa0[m]> the "name" option does that, iirc
<{^_^}> [nixpkgs] @jonringer merged pull request #80999 → stlink: 1.5.1 -> 1.6.0 → https://git.io/JvEP4
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jvz0o
<emily> Yaniel: how? it just takes url, nothing else
<Yaniel> I mean like foo = fetchTarball {};
<emily> I don't think that changes the path it shows up in /nix/store as, does it?
<pikajude> is fetchtarball a builtin?
<emily> if it does that's... kind of cursed but okay
<Yaniel> oh you want to change the store path
<emily> yes
<emily> I use it for fetching nixpkgs
<pikajude> yeah, looks like fetchTarball only takes a url
<pikajude> i don't know if there's a way
<emily> in general niv uses it for everything
<emily> so I have a ton of paths called "source" in my system config and it's really confusing
<pikajude> oh, hmm
<pikajude> why are those paths in your system config?
<emily> e.g. overlays I import
<emily> JonReed: joy :( and I guess there's no builtins.magicallyOverrideStorePathName?
<pikajude> builtins.path { name = ...; path = ...; } but i don't think it works on store paths :/
<JonReed> Not that I know of.
<emily> ...I guess I could just create symlinks in the store to the -sources
<emily> which would at least make it less confusing examining my overlays file and stuff
<mdash> emily: fetchTarball does take {name = "..."; url="..."; sha256="";} attr sets
<pikajude> that's the nixpkgs one, not the builtin
<pikajude> are you putting the paths directly into your overlays file?
<mdash> pikajude: the builtin one does too
<pikajude> it does not
<pikajude> oh, it does
<pikajude> lol
<pikajude> emily: question answered
<jared-w> nix copy --from "local?root=some_closure.tar.gz" would just make my day
<emily> mdash: nice, thanks
<emily> mdash: so the docs are wrong :(
<pikajude> they are incomplete :)
<tilpner> jared-w: Is a Nar not acceptable?
<jared-w> I don't think nix copy v2 makes nars?
<xa0[m]> the docs in nix really should be updated, it's not very newbie friendly
johnw has joined #nixos
rogue_koder_ has quit [Quit: Konversation terminated!]
rogue_koder_ has joined #nixos
<tilpner> jared-w: The "nix" CLI is still experimental, there's nothing wrong with using the stable tooling
<emily> pikajude: disagree; "fetchTarball url, builtins.fetchTarball url" implies to me that passing a non-URL is a type error
<pikajude> it implies that because you assume nix has a type system
<pikajude> it doesn't
<emily> :(
<pikajude> i tried to write a typed nix implementation once...
<emily> well it says "Download the specified URL"!
<jared-w> Currently I'm doing `nix copy --to "local?root=store"` and then tarring that up and extracting in a sandbox'd environment and copying it over with `nix copy --from "local?root=untarred_dir" --all`. Works much more reliably for me (for some obscure reason) than nix-store export/import was
<pikajude> never try that, if you value your sanity
<mdash> pikajude: sanity's just a one trick pony anyhow
vandenoever has quit [Read error: Connection reset by peer]
<jared-w> (although I suspect the nix-store import/export issues were really something else that's subsequently been mostly fixed. But still)
<emily> pikajude: kind of already signed up for that ;w; (though I'd never try to reimplement Nix-as-it-is since there's a bunch of obvious design issues you can fix if you're going to do something as drastic as adding a type system)
<xa0[m]> i've always dreamed of just having a language that compiles to nix that's a bit more sane
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<pikajude> honestly, what i actually tried was to make a typed nix
<mdash> xa0[m]: dhall is one
<pikajude> but i got caught up on making an untyped one
<pikajude> dhall doesn't support dynamic key/values, which makes sense but it's a bit annoying
<emily> pikajude: re "why are these paths in your system config?", nixpkgs-overlays=https://clbin.com/nsfTw, source-paths.json is https://clbin.com/Yc0bU
<xa0[m]> hmm
<xa0[m]> cool
<pikajude> oh yeah, no, it's kind of an antipattern to "import" store paths
<pikajude> because as you see, it's plainly unreadable
rogue_koder_ has quit [Read error: Connection reset by peer]
<emily> this is a generated file
<emily> my infrastructure is more powerful than you can possibly imagine, clearly :P
<pikajude> oh really?
rogue_koder_ has joined #nixos
ris has joined #nixos
<emily> I do this to get consistent overlays between my NixOS config and the nix commandline tools
<pikajude> oh are you generating it?
<emily> without requiring to import/eval the nixos config like https://nixos.wiki/wiki/Overlays#Using_nixpkgs.overlays_from_configuration.nix_as_.3Cnixpkgs-overlays.3E_in_your_NIX_PATH does
<pikajude> ic
<emily> pikajude: decoder ring: https://clbin.com/ocmK3
<pikajude> hmmmm, okay
<pikajude> i see
<emily> Q: what's with that weird first overlay? A: /nix/store/l371qjv6jwn4slxa9mzfckagqc2jgzaw-lorri.nix is https://clbin.com/G9YZL
<pikajude> so you're trying to make it possible to remember which package is what
<pikajude> which is understandable
<emily> yeah
<emily> e.g. let's say nixpkgs-mozilla breaks horribly
<pikajude> if ambitious
rogue_koder has joined #nixos
<emily> it sucks to see a "-source" path in --show-trace
rogue_koder_ has quit [Client Quit]
<emily> and people's nix code breaks randomly in ways that requires source-diving all the time, because it isn't typed :P
<pikajude> is guile typed?
<emily> also it sure is wild how there's builtins.{from,to}JSON but no {from,to}Nix
<pikajude> genuine question, i have no idea
<emily> don't think so
<pikajude> classic
<emily> racket has a pretty extensive contract system and also Typed Racket
<emily> time for guix-racket clearly
<pikajude> but racket doesn't have a package manager language does it
<pikajude> oh
<pikajude> racket? i barely know it!
<emily> i don't think that exists, but it could, i guess
<jared-w> emily: do you have the repository where you're doing the overlay stuff in its full? I'm currently doing the overlays in your nix path solution but I don't particularly enjoy having to eval the nixos config and your solution looks nice
<emily> honestly racket seems like a much better choice for making DSLs than guile too, I assume it's just the embeddability and also GNU solidarity that made them pick Guile
<pikajude> is there typed brainfuck
<emily> did you know NixOS has an option to automatically use nonsense like GNU lsh instead of OpenSSH
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81199 → zotero: 5.0.82 -> 5.0.83 → https://git.io/JvzE7
<{^_^}> [nixpkgs] @flokli opened pull request #81200 → edid-generator: init at unstable-2018-03-15 → https://git.io/JvzE5
<emily> that sounds hard to do while retaining any of the characteristics of brainfuck whatsoever
<emily> but I'd have said the same about javascript
<xa0[m]> if i had a choice i'd probably be using guix over nix just because the language is so much more flexible and nix has quirks that i don't know i'll ever get used to, but guix is also even more gnu and has far fewer packages without just importing the nix ones
<{^_^}> [nixpkgs] @romildo opened pull request #81201 → matcha: 2020-02-06 -> 2020-02-27 → https://git.io/JvzEd
jgeerds has joined #nixos
<emily> I sympathize with wanting a better language than Nix, but I feel like Scheme is just not the one I'd pick
<emily> you have to deal with impurity, you don't get a type system which is one of the things Nix suffers most from the lack of...
<emily> but yeah guix-sd would be much more appealing to me if it wasn't for the GNU brain worms
matthiaskrgr has quit [Ping timeout: 252 seconds]
mounty has joined #nixos
noudle has joined #nixos
mounty has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81202 → zenmonitor: 1.3 -> 1.4.0 → https://git.io/JvzuO
<JonReed> I enjoy the Nix syntax. What I miss the most is a type system and good unit testing. A nice debugger with breakpoints would be nice to have too. For NixOS, I wish for it to be written with security and isolation in mind, so that everything only has access to resources it needs. It is an opportunity wasted, IMO, as resource access can be viewed as
<JonReed> another form of dependency. So, if you have to think about every dependency a package has you might as well think about what resources it needs to run.
Henson has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @Ma27 to release-20.03 « Merge #81155: wireshark: 3.2.1 -> 3.2.2 (security) »: https://git.io/JvzuG
<Henson> is there a way to get nix-copy-closure to use an SSH port number other than 22?
cosimone has joined #nixos
<emily> I like some things about the NixOS syntax but not so much forgetting ; constnatly
linarcx has joined #nixos
Shouou has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Henson> setting up a different port for the host in ~/.ssh/config seems to do the trick
opticnerve has joined #nixos
mounty has joined #nixos
cyphase has joined #nixos
<{^_^}> [nixpkgs] @dnaq opened pull request #81203 → buildRustPackage: fix erroneous hard-coded source path → https://git.io/Jvzu9
mexisme_ has joined #nixos
Thra11 has quit [Ping timeout: 260 seconds]
<evanjs> clever: okay, got it so ahci shows as the driver in use for SATA under lspci
<evanjs> Still no /dev/sda or etc, though
pnobre has joined #nixos
<clever> evanjs: you also need the scsi block device support
<clever> evanjs: ahci just enables it to speak to it over scsi
<{^_^}> [nixpkgs] @primeos merged pull request #81166 → [19.09] chromium: 80.0.3987.116 -> 80.0.3987.122 (backport) → https://git.io/Jvzqh
<{^_^}> [nixpkgs] @primeos pushed 3 commits to release-19.09: https://git.io/Jvzup
wildtrees has joined #nixos
<clever> scsi_mod 225280 4 sd_mod,scsi_transport_iscsi,libata,sr_mod
<clever> evanjs: several of these modules
opticnerve has quit [Quit: Leaving]
zeta_0 has joined #nixos
<evanjs> Crap 😂
<evanjs> I’ll go and make sure all those are there too
zeta_0 has quit [Client Quit]
<clever> [root@amd-nixos:~]# ls -l /sys/block/sda/device/driver
<clever> lrwxrwxrwx 1 root root 0 Feb 27 15:24 /sys/block/sda/device/driver -> ../../../../../../../bus/scsi/drivers/sd
<clever> evanjs: this also tells you the driver responsible for a given block dev
<clever> so sd.ko is also required, in my case
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1a4ab0ed4ce (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
zeta_0 has joined #nixos
<worldofpeace> lovesegfault: awesome, I left one comment about not creating /var/lib/tlp with preStart
fuzzy_id has joined #nixos
<lovesegfault> worldofpeace: Already fixed :D
<fuzzy_id> how can i create an adhoc dev-environment with ghc 8.8.2 and network library?
<fuzzy_id> `nix-shell -p "haskell.compiler.ghc882.ghcWithPackages (pkgs: [network])"' won't work
<{^_^}> [nixpkgs] @dywedir merged pull request #80777 → dua: 2.1.11 -> 2.3.1 → https://git.io/Jv0Tz
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JvzzZ
<worldofpeace> lovesegfault: fabbbb. I'll use the new commits, and approve.
<{^_^}> [nixpkgs] @Ma27 pushed to master « cargo-make: 0.27.0 -> 0.28.0 »: https://git.io/Jvzzn
zeta_0 has quit [Remote host closed the connection]
<lovesegfault> worldofpeace: <3
_ris has joined #nixos
<lovesegfault> I've put my laptop to sleep and back a handful of times to make sure it all works
<lovesegfault> I have also figured out how to get debug logs
<worldofpeace> lovesegfault: ooh? Is there like an environment variable?
<lovesegfault> worldofpeace: worse
<lovesegfault> One second
<lovesegfault> shove this in /etc/tlp.d/
zeta_0 has joined #nixos
Thra11 has joined #nixos
ris has quit [Ping timeout: 252 seconds]
johnw has quit [Quit: ZNC - http://znc.in]
bvdw has quit [Read error: Connection reset by peer]
<worldofpeace> lovesegfault: woah, it looks pretty confusing.
bvdw has joined #nixos
<zeta_0> i am trying to install this live server extension in my home.nix, when i do a rebuild switch, nothing happens no errors or anything, and then when i reboot the extension does not seem to be there
<lovesegfault> worldofpeace: Yeah
<worldofpeace> lovesegfault: looking at the debug logs, I guess it creates a /run/tlp directory imperatively?
<zeta_0> does anyone here have experience with installing extensions for vscodium?
* lovesegfault nods at worldofpeace
<lovesegfault> I didn't need to create that one
<xa0[m]> presumably it's gonna create a new derivative of vscodium, not add the extension to the one you're running. i think if you restart it it should work?
<lovesegfault> It's `TLP_RUN` var in the Makefile
<lovesegfault> it gets seded to /run/tlp at make-time
<worldofpeace> lovesegfault: Right, I guess that means it really would be overworking to add a RuntimeDirectory = "tlp";
<lovesegfault> I think so, although I am not sure whether that is a lingering dir from some other version of tlp
<lovesegfault> examining the source I don't see runtime mkdir of /run/tlp
<xa0[m]> @worl
<xa0[m]> damn, i keep doing that
<lovesegfault> Wait
<lovesegfault> I found it
<lovesegfault> tlp-func-base.in
<lovesegfault> 378: [ -d $RUNDIR ] || mkdir -p $RUNDIR 2> /dev/null 1>&2
<xa0[m]> worldofpeace: can you have a check at my PR when you get a chance, if you've missed the first ping
vidbina has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81087 → tlp: 1.2.2 -> 1.3.1 → https://git.io/Jvulx
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/JvzzP
<evanjs> clever: alright, retrying with BLK_DEV_SD and SCSI_MOD. Hopefully that's enough
<worldofpeace> lovesegfault: Yeah, I tested removing it and it does get created ad-hoc
<worldofpeace> lovesegfault: I merged it ✨
cosimone has quit [Quit: Quit.]
<lovesegfault> Yesssss
* lovesegfault high-fives worldofpeace
<lovesegfault> thanks for all the help
shibboleth has quit [Quit: shibboleth]
<lovesegfault> TLP now works again!
<worldofpeace> lovesegfault: you're welcome 😃 It was a fun PR
<worldofpeace> xa0: link? My notifications can be hard to parse
<lovesegfault> Yes, lots and lots of traps :D
<{^_^}> #80402 (by bqv, 1 week ago, open): ripcord: init at 0.4.23
<xa0[m]> thanks
Church- has quit [Ping timeout: 260 seconds]
<lovesegfault> worldofpeace: Submitting patches upstream now
<zeta_0> how strange, after adding a vscodium extension to my home.nix file and doing a rebuild switch, nothing happened no error or anything, i am not sure what is going on here? https://hastebin.com/hawajunewu.py
<zeta_0> i am trying to install the liveserver extension
<worldofpeace> lovesegfault: awesome, cc me on them if you can.
rogue_koder has quit [Ping timeout: 260 seconds]
<lovesegfault> will do
<xa0[m]> zeta_0: home.nix should require a "home-manager switch", it won't be read by global nixos config
<xa0[m]> they're separate systems
noudle has quit []
rogue_koder has joined #nixos
<zeta_0> xa0[m]: i've had home.nix integrated as a submodule for configuration.nix for the longest time, so that is not an the issue that i am having, maybe i named the vscodium extensions incorrectly, i'm not sure at this point
<xa0[m]> hm, no idea then
<xa0[m]> i don't use it :)
drakonis has joined #nixos
<evanjs> bah, can I not skip make modules easily?
<evanjs> Tried MODULES = no; and MODULES n but the build fails
<evanjs> after the typical The present kernel configuration has modules disabled. and blah
<zeta_0> xa0[m]: well, i can download extensions directly from vscodium, but i wanted to do everything the nix way, oh well, sometimes you have to do workarounds
ilios has joined #nixos
Church- has joined #nixos
<qyliss> evanjs: not easily, sadly, IIRC
<lovesegfault> worldofpeace: https://github.com/linrunner/TLP/pull/476
<{^_^}> linrunner/TLP#476 (by lovesegfault, 5 minutes ago, open): tlp-sleep.service: reintroduce
<evanjs> qyliss: figured as much. saw some custom configurePhases earlier but not feeling like doing that atm :D
<qyliss> I've got it to work before but don't have it to hand
Thra11 has quit [Ping timeout: 258 seconds]
nuncanada has quit [Read error: Connection reset by peer]
nuncanada has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80746 → openssl_1_0_2: mark as insecure; fixes #77503 (kinda) → https://git.io/JvR1f
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jvzg2
fuzzy_id has quit [Ping timeout: 240 seconds]
lovesegfault has quit [Ping timeout: 240 seconds]
lovesegfault has joined #nixos
<o1lo01ol1o> clever: We had a life-cycle policy on S3 kick in and now I'm dealing with a number of hydra errors about paths to derivations not being valid. Do you know what I can do the purge the offending derivations from hydra's knowledge?
<NoctisLabs> ,locate bin telnet
<{^_^}> Found in packages: busybox, inetutils
<cole-h> o1lo01ol1o: Unfamiliar with Hydra, but would `nix-store --delete <path>` suffice?
<o1lo01ol1o> cole-h: the paths are still alive
<cole-h> `--ignore-liveness`?
<o1lo01ol1o> cole-h: that deleted quite a bit from the hydra machine; I'll see if the jobs want to proceed now
<cole-h> I take no responsibility if things end up breaking due to that
* cole-h hides
zupo has joined #nixos
Thra11 has joined #nixos
rail has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.7.1]
<Henson> there's an old software package for Ubuntu called "rpncalc" that is no longer maintained and was removed from Ubuntu packages. However I like the program and would like to add it to Nix packages. I could take the source and add it to my own Github repository, but there's someone else who has also taken it and added it to their own Github repository. Should I contact them and see if they are....
rail has quit [Ping timeout: 240 seconds]
<Henson> okay with me using their repository for the derivation, or should I just fork their repository and add it to mine? OR, should I make a nix derivation that downloads the source code from Ubuntu and compiles it directly? This would make any software modifications and improvements somewhat kludgy.
<Yaniel> contacting them is generally a good idea
<Yaniel> also you could just make your overlay for it
<Yaniel> your own*
rogue_koder_ has joined #nixos
rogue_koder has quit [Ping timeout: 258 seconds]
bukkitgerman8 has quit [Quit: Ping timeout (120 seconds)]
bukkitgerman8 has joined #nixos
lovesegfault has joined #nixos
realrokka has quit [Ping timeout: 265 seconds]
<Henson> Yaniel: right, I could just make my own overlay for my personal use, but perhaps I should make it so it can be added to nixpkgs? There aren't many ronsole reverse polish calculators in nixpkgs.
malSet has quit [Read error: Connection reset by peer]
bukkitgerman8 has quit [Client Quit]
bukkitgerman8 has joined #nixos
malSet has joined #nixos
<{^_^}> [nixpkgs] @buckley310 opened pull request #81204 → NixOS/auto-upgrade: Add optional randomized delay → https://git.io/Jvz2S
<evanjs> well I guess there's a meta issue for kernel conf. thanks teto :D https://github.com/NixOS/nixpkgs/issues/69014
<{^_^}> #69014 (by teto, 23 weeks ago, open): Meta issue about kernel configuration
lovesegfault has quit [Quit: WeeChat 2.7.1]
iqubic has joined #nixos
<ShaRose> <mdash> ShaRose: yeah i've wanted that too, but i'm not sure secrets should go into nix derivations at all
<evanjs> clever: so everything shows up now but I can't mount the ESP. it shows up as msdos, but that doesn't mean I need MSDOS_FS, does it..?
<ShaRose> Yeah, my setup isn't exactly perfect for nix anyways
<evanjs> kernel conf page doesn't make it sound like it
<ShaRose> that said, I do want to set up 2FA for my systems, but I can't without aftertouching stuff
chagra_ has quit [Ping timeout: 258 seconds]
shibboleth has joined #nixos
artemist has joined #nixos
lsix1 has quit [Quit: WeeChat 2.7.1]
lovesegfault has joined #nixos
erasmas has quit [Quit: Lost terminal]
rail has joined #nixos
shibboleth has quit [Quit: shibboleth]
andreas303 has quit [Remote host closed the connection]
lovesegfault has quit [Quit: WeeChat 2.7.1]
<Dandellion> is there any more documentation to follow for packaging a userfacing python application?
<Dandellion> I have this currently:
nerdmaxx has joined #nixos
<Dandellion> which isn't really the right way to do it
<Dandellion> and also the resulting file doesn't work because it can't import `six` even though it is installed in the python environment I'd think
andreas303 has joined #nixos
<evanjs> And the surrounding area
lovesegfault has joined #nixos
<Dandellion> O, no I havent seen that, thanks
drakonis has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos
lovesegfault has quit [Client Quit]
lovesegfault has joined #nixos
lovesegfault has quit [Client Quit]
<emily> jared-w: sorry, missed this -- it's just my private config repo, sadly
malSet has quit [Read error: Connection reset by peer]
<jared-w> emily: sadness. Make your configs public. #itIsTheWay :p
<emily> jared-w: I just use niv to manage dependencies and pipe it through to my NixOS configs, then it's just setting overlay-paths and everything works from there
malSet has joined #nixos
<emily> the "piping niv dependencies" stuff is a bit annoying: https://clbin.com/JhIHA
<jared-w> (I can figure it out from the files you linked, I was just surprised to see an overlay method that wasn't documented in the wiki and had less downsides)
<emily> but then all my modules can just take sources as an argument
<emily> I should clean it up and make it public, tbh
<emily> the problem is the "clean it up" part
realrokka has joined #nixos
<evanjs> clever: think I found my (next) problem :D CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_NLS_CODEPAGE_437=m
<evanjs> well then lol
lovesegfault has joined #nixos
<emily> jared-w: fwiw even the method on the wiki could be simpler: if <nixpkgs-overlays> points to a file then it can evaluate to a list of overlays, whereas the wiki snippet duplicates the overlay application logic in a single overlay
<emily> but I avoided it because I'd need to evaluate my NixOS config which sounded slow, and plumbing in the niv sources looked annoying
<{^_^}> [nixpkgs] @aaronjanse opened pull request #81207 → ulauncher: 4.4.0.r1 -> 5.6.1 [WIP] → https://git.io/Jvzag
<emily> (this does mean that nixos-rebuild no longer works but I never loved that tool anyway)
opthomasprime has quit [Remote host closed the connection]
malSet has quit [Quit: Quit.]
<clever> evanjs: had that exact same problem mounting the rpi firmware from my custom kernel
drakonis_ has quit [Ping timeout: 272 seconds]
malSet has joined #nixos
malSet has quit [Client Quit]
zeta_0 has quit [Remote host closed the connection]
LysergicDreams has quit [Ping timeout: 265 seconds]
malSet has joined #nixos
<{^_^}> [nixpkgs] @buckley310 closed pull request #81204 → NixOS/auto-upgrade: Add optional randomized delay → https://git.io/Jvz2S
LysergicDreams has joined #nixos
aaa_ has quit [Quit: Leaving]
<evanjs> clever: ah didn't see it in the repo :D
<evanjs> well, in any nix files, at least
<{^_^}> [nixpkgs] @jonringer pushed to staging-next « libsecret: remove obsolete patch »: https://git.io/Jvzax
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #81043 → [20.03] pythonPackages.sfepy: 2019.2 -> 2019.4 → https://git.io/JvuIf
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to release-20.03: https://git.io/Jvzap
karantan has joined #nixos
pnobre_ has joined #nixos
kleisli has quit [Ping timeout: 255 seconds]
Kim has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @yvesf opened pull request #81209 → qcad: init at v3.24.2.1 → https://git.io/JvzVs
<{^_^}> [nixpkgs] @B4dM4n opened pull request #81210 → ausweisapp2: init at 1.20.0 → https://git.io/JvzVC
pnobre has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @samueldr opened pull request #81211 → firefox: Fix AArch64 build → https://git.io/JvzVR
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @mmilata opened pull request #81212 → nixos/matrix-synapse: remove web_client option → https://git.io/JvzVr
<clever> evanjs: its only in the manual config
<clever> evanjs: the nix files have the full support of the module stuff in nixos, so i didnt need to link things in anymore
<evanjs> right, and the only reason I need them is due to me not including the modules :P
<evanjs> Wow, skip over the 8859 RIGHT below the 437, okay, time to rebuild again >_>
LysergicDreams has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81213 → dnnl: 1.2 -> 1.2.1 → https://git.io/JvzVP
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @buckley310 opened pull request #81214 → NixOS/auto-upgrade: Add optional randomized delay → https://git.io/JvzVX
drakonis_ has quit [Ping timeout: 255 seconds]
rummik has joined #nixos
<evanjs> Okay... Codepages are being finicky; is there something specific I need to do to force a specific NLS_ISO* option on?
<evanjs> trying to set CONFIG_NLS_ISO8859_1=m to y and it doesn't seem to be listening to be >_>
drakonis_ has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
chagra_ has joined #nixos
philr has joined #nixos
<evanjs> it looks like it's in commonStructuredConfig as m. Is there anything special I need to do to override commonStructuredConfig items?
<o1lo01ol1o> Ola clever, I was wondering if you knew how I could best address some objects that were recently life-cycled in S3. I'm getting hydra errors such as: Aborted: path '/nix/store/1h3b6a1884y16bib8xsf5wl0s3fvgwz2-gogol-gmail-0.4.0-doc' is not valid
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
Flambe has joined #nixos
Thra11 has quit [Quit: WeeChat 2.7]
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
JonReed has quit [Ping timeout: 260 seconds]
<evanjs> .... found it ...
<evanjs> to override anything from commonStructuredConfig, you must override extraStructuredConfig; any other options can be overridden via structuredExtraConfig x_x
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
pnobre_ has quit [Ping timeout: 258 seconds]
<evanjs> Though this seems to not always be the case, either x_x
drakonis has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ce9f1aaa39e (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<lovesegfault> if I have a nix file { nixpkgs ? import<nixpkgs> }:... how can I then import nixpkgs/nixos?
<lovesegfault> normally I do `import <nixpkgs/nixos>`
drakonis has joined #nixos
<lovesegfault> Can I do `nixpkgs.nixos`?
zebrag has quit [Read error: Connection reset by peer]
zebrag has joined #nixos
Neo-- has quit [Ping timeout: 240 seconds]
<colemickens> "${pkgs}/nixos" iirc
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chagra_ has quit [Ping timeout: 258 seconds]
<lovesegfault> woah wat
<emily> import (nixpkgs + "/nixos") is better
<emily> doesn't pull nixpkgs into the store if it's not already
<emily> (I only realized/learned this yesterday)
<iqubic> How Discord been updated yet?
<iqubic> Because when a new Discord version is released, I can't use Discord now.
<lovesegfault> I keep getting error: cannot coerce a function to a string,
karantan has joined #nixos
<cole-h> iqubic: 0.0.10 was merged 2 days ago
<{^_^}> #81044 (by kraem, 2 days ago, merged): discord: 0.0.9 -> 0.0.10
<kini> Any fcitx users around? I can't seem to get fcitx to respond to the IME trigger key (which I've set to shift+esc) -- it's worked out of the box on a different NixOS machine, so I have no idea what could be different...
<iqubic> cole-h: Yeah. A system rebuild fixed it.
xkapastel has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
ixxie has quit [Ping timeout: 272 seconds]
drakonis_ has joined #nixos
<cole-h> lovesegfault: With what? Probably just forgot to give a function an argument (or didn't give enough)
<lovesegfault> cole-h: I figured it out
<lovesegfault> I was:
<lovesegfault> 1. missing {} in import
kristian__ has joined #nixos
<lovesegfault> 2. using `pkgs` instead of `pkgs.path`
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81215 → fsmon: 1.6.1 -> 1.7.0 → https://git.io/Jvzrs
Flambe has quit [Ping timeout: 255 seconds]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
theduke_ has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.7.1]
<theduke_> is there a way to set the system-wide channel to unstable in configuration.nix ?
<kini> hmm, looks like things are somewhat screwed up with fcitx -- looking at `journalctl -f` while changing settings in the config dialog, it seems to be failing to run something called `fcitx-remote` because it's looking for it in a relative path to the `fcitx-configtool` binary, whereas nixpkgs has it in a different store path
zupo has quit [Ping timeout: 265 seconds]
<samueldr> channels are not generally configured in configuration.nix
<kini> (and then it's also failing to even print that error message properly, generating another error message about writing to unitialized memory (!))
Boarders has quit [Remote host closed the connection]
lovesegfault has joined #nixos
<evanjs> clever: alright, looks like it can mount the ESP now... though, it fails to do so automatically at start. Hrm. sleep until /dev/sda1 is there?
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<cole-h> lovesegfault: Yep, you forgot to give it an argument (the empty set). Glad you got it fixed!
<lovesegfault> :D
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gustavderdrache has joined #nixos
kapil_ has quit [Quit: Connection closed for inactivity]
lovesegfault has quit [Ping timeout: 240 seconds]
karantan has joined #nixos
chloekek has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #81216 → nixos/plasma5: Fix activation script when XDG_CONFIG_HOME is unset → https://git.io/Jvzrd
philr has quit [Ping timeout: 258 seconds]
<kalbasit> is there a way to get the download size from cache of a Nix store path?
linarcx has quit [Ping timeout: 240 seconds]
nerdmaxx has quit [Ping timeout: 265 seconds]
<evanjs> how might one make an empty directory with makeInitrd?
<{^_^}> [nixpkgs] @Kiwi opened pull request #81217 → pythonPackages.digital-ocean: 1.13.2 -> 1.15.0 → https://git.io/Jvzos
drakonis has joined #nixos
<jared-w> emily: What do you use instead of nixos-rebuild then?
<emily> jared-w: with that system.nix you can do e.g. nix run -f system.nix -c sudo switch
<emily> for other stuff generally you can just look at the nixos-rebuild.sh source code and replicate what it does... it's a pretty simple script
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
<jared-w> https://clbin.com/JhIHA being the system.nix file you're talking about? Makes sense
drakonis1 has quit [Client Quit]
* jared-w wonders how much simpler everything will be once flakes
drakonis has quit [Read error: Connection reset by peer]
maddo has quit [Quit: See ya]
vidbina has quit [Ping timeout: 260 seconds]
<maurer> Out of curiosity, are we any closer to a solution for the openGL desync problem?
<maurer> I know it's tricky because it kind of breaks fundamental assumptions about userspace/driver separation, but it is still an occasional annoyance
bvdw has quit [Quit: bvdw]
bvdw has joined #nixos
vidbina has joined #nixos
kleisli has joined #nixos
m4ts has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
andreas303 has quit [Remote host closed the connection]
matthiaskrgr has joined #nixos
andreas303 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #81034 → ycmd: 2019-09-19 -> 2020-02-22 → https://git.io/Jvuv7
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvzKf
jgeerds has quit [Ping timeout: 255 seconds]
erictapen has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/f823335caa8 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
dingenskirchen has quit [Quit: dingenskirchen]
<xa0[m]> what sort of time frame are we looking at for flakes, at this point?
bvdw has quit [Quit: bvdw]
enamax has quit [Quit: Connection closed for inactivity]
bvdw has joined #nixos
growpotkin has joined #nixos