worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
bqv has quit [Ping timeout: 260 seconds]
bqv has joined #nixos
<notgne2> Hey, I'm trying to build a system with a module cherry picked out of another nixpkgs source, this normally works but this time I'm getting `element link: validity error : IDREF attribute linkend references an unknown ID`, is there a way to disable the manual generation to get around this?
pamplemousse has quit [Ping timeout: 256 seconds]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #90153 → shadowenv: 2.0.2 -> 2.0.3 → https://git.io/Jf9om
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf97c
<{^_^}> [nixpkgs] @marsam merged pull request #90163 → gitAndTools.gh: 0.9.0 -> 0.10.0 → https://git.io/Jf99Y
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf97l
drakonis_ has joined #nixos
cr4y1 has quit [Ping timeout: 256 seconds]
Drakonis__ has joined #nixos
drakonis has quit [Ping timeout: 256 seconds]
<infinisil> notgne2: What's the full error logs?
user_0x58 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #90167 → [20.03] gitAndTools.gh: 0.9.0 -> 0.10.0 → https://git.io/Jf979
<notgne2> infinisil: ended up working around it in the end, not sure if it was the updates or me disabling everything in the documentation module that fixed it, but the logs are here https://gist.github.com/notgne2/1b69207548c80e343b5c49a7f9120705
<notgne2> this is also deployed with morph if that matters
<infinisil> documentation.nixos.enable = false should be enough
<notgne2> I think I tried that though, and it didn't work till I updated the unstable channel I pull the module and package from, and set man, info, and doc to disabled too on the documentation module
tobeportable has quit [Ping timeout: 272 seconds]
<dkjii> abathur: on Gentoo, but using nix to build it
<dkjii> abathur: I'm doing nix -iE
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jf97p
<dkjii> and its installing the expression
<dkjii> I'm compiling sharutil from the nixpkgs channel
<dkjii> sharutils*
MmeQuignon has quit [Ping timeout: 272 seconds]
<dkjii> it's an indirect dependency to nixos-install as far as i can see
Drakonis__ has quit [Quit: Leaving]
drakonis has joined #nixos
<MtotheM> I can't figure out how to do the vim package override from the wiki. when i put it in my main nixOS config. it sais it doesn't exist.
Darkmatter66_ has joined #nixos
lunaa has joined #nixos
<infinisil> MtotheM: Hey, I suggest you to take a quick read through here for asking questions online, will help a lot :) https://www.mikeash.com/getting_answers.html
bqv has quit [Ping timeout: 256 seconds]
Darkmatter66 has quit [Ping timeout: 260 seconds]
<energizer> i have a dell xps laptop with nixos. speakers work, but plugging in headphones i can't hear anything
<colemickens> energizer: I thought maybe I'd broken mine, something must've broken somewhere, it used to work
<energizer> colemickens: i think mine used to work too
<energizer> but it doesnt do anything for me
magnetophon has left #nixos [#nixos]
<MtotheM> yeah sorry, was more an expression than a question infinisil
<MtotheM> so I've just setup a custom vimrc in my package declaration which works well. is this `<package>.customize` a pattern that works with all packages? and where can I find more information about it? let's say there is a program with multiple configuration files. how would it know?
<energizer> colemickens: i'd appreciate a tip if you figure it out, hard to do zoom meetings atm
bqv has joined #nixos
lunatera has joined #nixos
lunaa has quit [Ping timeout: 256 seconds]
teej has quit [Ping timeout: 240 seconds]
jlpeters has quit [Ping timeout: 258 seconds]
betawaffle has quit [Ping timeout: 260 seconds]
bitonic has quit [Ping timeout: 265 seconds]
pingveno has quit [Read error: Connection reset by peer]
pingveno has joined #nixos
parsnip has quit [Ping timeout: 260 seconds]
MarkRBM has quit [Ping timeout: 272 seconds]
pkral has quit [Ping timeout: 240 seconds]
angerman has quit [Read error: Connection reset by peer]
emilazy has quit [Ping timeout: 246 seconds]
ProofTechnique has quit [Ping timeout: 265 seconds]
TheNumb has quit [Ping timeout: 260 seconds]
omnigoat has quit [Ping timeout: 256 seconds]
higherorder has quit [Ping timeout: 258 seconds]
angerman has joined #nixos
proofofkeags has quit [Remote host closed the connection]
wildsebastian has quit [Ping timeout: 240 seconds]
pingveno has quit [Max SendQ exceeded]
drakonis1 has joined #nixos
jbetz has quit [Ping timeout: 258 seconds]
emilazy has joined #nixos
NekomimiScience has quit [Ping timeout: 246 seconds]
georgyo has quit [Ping timeout: 240 seconds]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis2 has joined #nixos
digitalgrease has quit [Ping timeout: 256 seconds]
claudiii_ has quit [Ping timeout: 246 seconds]
TheNumb has joined #nixos
MarkRBM has joined #nixos
h0m1 has quit [Ping timeout: 272 seconds]
drakonis1 has quit [Ping timeout: 260 seconds]
peel has quit [Ping timeout: 240 seconds]
h0m1 has joined #nixos
codygman has quit [Read error: Connection reset by peer]
betawaffle has joined #nixos
digitalgrease has joined #nixos
ProofTechnique has joined #nixos
georgyo has joined #nixos
NekomimiScience has joined #nixos
jlpeters has joined #nixos
pingveno has joined #nixos
codygman has joined #nixos
wildsebastian has joined #nixos
peel has joined #nixos
bitonic has joined #nixos
claudiii_ has joined #nixos
omnigoat has joined #nixos
angerman has quit [Ping timeout: 256 seconds]
higherorder has joined #nixos
pkral has joined #nixos
teej has joined #nixos
jbetz has joined #nixos
angerman has joined #nixos
parsnip has joined #nixos
bqv has quit [Ping timeout: 260 seconds]
<MtotheM> There is syntax typos in almost all wiki pages I've read so far, and it really confused me in the start. can anyone contribute to fixing the wiki?
<infinisil> MtotheM: Yeah just log in and edit the page
<infinisil> There's also a channel for the wiki: #nixos-wiki
<pjt_014> MtotheM: Add if you're not sure what's correct be sure to put such things in the talk pages. There will be a visible record then
<pjt_014> also if you want to try things out then happyfacebot is happy to help
<pjt_014> > 1 + 3 == 5
<{^_^}> false
<pjt_014> good bot
<pjt_014> > (1 + 3 == 5) or (7 - 3 == 4)
<{^_^}> attempt to call something which is not a function but a boolean, at (string):316:1
<pjt_014> hm
jumper149 has quit [Quit: WeeChat 2.8]
<pjt_014> > (1 + 3 == 5) || (7 - 3 == 4)
<{^_^}> true
<MtotheM> Sounds good, I'll make a note for later.
codygman has quit [Ping timeout: 246 seconds]
codygman has joined #nixos
<MtotheM> I struggle to find the full set of options for things, how would I go about doing that? let's say I want to configure 'time'. I don't know what options it actually let's me set.
<pjt_014> man configuration.nix
<pjt_014> or man conf[tab] really
<simpson> Same info, different interface.
bqv has joined #nixos
<MtotheM> oh thanks. so there was a page for the options after all.
<pjt_014> yup. and in the man page you may wanna search it with /^ *time\.
<pjt_014> since 'time' is a common string
<pjt_014> regex is `fun` (air quotes optional)
<MtotheM> yeah
<MtotheM> what about package specific options? I copied the example for 'vim_configurable` but it doesn't seem to exist in the options database. so I assume it only covers the core nix system.
<simpson> nixpkgs != NixOS. https://nixos.org/nixpkgs/manual/#vim does have some documentation on vim_configurable, although it's not perfect.
<pjt_014> not sure what that means--non-nix things are in the man page though (see services.minecraft-server)
gustavderdrache has quit [Quit: Leaving.]
<MtotheM> ah
jmeredith has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #90143 → Agda: Fix haskell version 2.6.1 → https://git.io/Jf90M
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Jf9d2
proofofkeags has joined #nixos
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
<cole-h> pjt_014: I'm pretty sure simpson meant that `man configuration.nix` is only for NixOS system configuration, which includes running various servers (like nginx and even minecraft). For nixpkgs documentation, you need to refer to the manual or to the repo itself.
proofofkeags has quit [Ping timeout: 260 seconds]
whatisRT has quit [Ping timeout: 260 seconds]
sbetrium_ has quit [Quit: sbetrium_]
<simpson> cole-h: Yes, words.
sbetrium has joined #nixos
<{^_^}> [mobile-nixos] @samueldr opened pull request #164 → mruby-os: Fix native ARM build → https://git.io/Jf9dF
sigmundv has quit [Ping timeout: 258 seconds]
sbetrium has quit [Ping timeout: 246 seconds]
apolitico has joined #nixos
apolitico has left #nixos [#nixos]
orivej has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
whatisRT has joined #nixos
lawr3nce has quit [Quit: Leaving]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 246 seconds]
felixfoertsch23 is now known as felixfoertsch
whatisRT has quit [Remote host closed the connection]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
drakonis2 has quit [Ping timeout: 264 seconds]
m0rphism has quit [Ping timeout: 256 seconds]
drakonis2 has joined #nixos
proofofkeags has joined #nixos
cole-h has quit [Ping timeout: 264 seconds]
proofofkeags has quit [Ping timeout: 256 seconds]
cole-h has joined #nixos
<energizer> ,locate bin/alsa
<{^_^}> Found in packages: jack2, alsaUtils, zita-alsa-pcmi
<energizer> afaict none of those packages actually have bin/alsa
noobly has joined #nixos
whatisRT has joined #nixos
<samueldr> that doesn't search for a full binary name, but for anywhere in the path matching bin/alsa
<samueldr> so e.g. bin/alsamixer matche
<samueldr> ,locate bin alsa
<{^_^}> Found in packages: jack2, alsaUtils, zita-alsa-pcmi
<cole-h> I don't think there is an "alsa" binary
<samueldr> (this might also fail the same way)
<samueldr> yeah, cole-h, that's what I was going to continue with
<samueldr> never heard of that
<energizer> these people say the alsa command solved their problem https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1575078
<cole-h> Maybe they meant alsactl, if you're talking about `sudo alsa force-reload`
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<samueldr> it may be a ubuntu-ism or debian-ism
<cole-h> ^ Was just gonna suggest that
<cole-h> "Since the old "sudo rc.d restart alsa" and "sudo alsa force-reload" commands don't work anymore"
<cole-h> They then suggest `alsactl kill rescan` (though this was from 2013)
<CMCDragonkai> I have found that `nix-store --add-fixed sha256` also runs out of memory when the file is too large.
<energizer> omg
<energizer> soemthing worked
<colemickens> wait, I come back to my computer and you have fixed it? What if I do this more often?
<{^_^}> [nixpkgs] @marsam merged pull request #90166 → yq-go: 3.3.0 -> 3.3.1 → https://git.io/Jf9HX
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf9NR
<{^_^}> [nixpkgs] @marsam merged pull request #90138 → carla: 2.1 -> 2.1.1 → https://git.io/Jf9c9
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf9N0
<energizer> i'll try to figure out what it was
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #89964 → mu: 1.4.9 -> 1.4.10 → https://git.io/Jfyyf
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf9NK
<{^_^}> [nixpkgs] @marsam merged pull request #90167 → [20.03] gitAndTools.gh: 0.9.0 -> 0.10.0 → https://git.io/Jf979
<{^_^}> [nixpkgs] @marsam pushed 3 commits to release-20.03: https://git.io/Jf9NP
<energizer> ok so now my wifi interface has disappeared
<energizer> after rebooting
<noobly> Hi, I'm trying to install nix on guix, but I'm getting the 'cannot connect to daemon' error, as described here: https://github.com/NixOS/nix/issues/2401. Any tips? I've tried running with --no-daemon but I get the same error. I'm trying to install by $ sh <(curl https://nixos.org/nix/install)
<{^_^}> nix#2401 (by mumblez, 1 year ago, closed): Nix single user install broken - 2.1
<energizer> lovesegfault: talyz: are you using impermanence on real computers yet?
<colemickens> energizer: I also have that some times :)
<colemickens> energizer: xps 9370 for me
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<energizer> colemickens: just rebooting solved that
lunatera has quit [Ping timeout: 260 seconds]
<energizer> 9360 for me
<cole-h> energizer: 99% sure both are using it (or at least some variation on it)
drakonis2 has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
bahamas has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.0 - https://znc.in]
<clever> noobly: do you have the nix-store command?
<energizer> colemickens: sudo alsactl init
<energizer> from alsaUtils
sbetrium has joined #nixos
bahamas has quit [Ping timeout: 246 seconds]
<noobly> clever: no
<noobly> but i have the /nix/store directory
<clever> noobly: not sure then, i dont know much about guix
<noobly> clever: thanks away! I've given up on it personally, tarballing my whole system right now and wiping my drive
orivej has quit [Ping timeout: 264 seconds]
dkjii has quit [Ping timeout: 264 seconds]
<noobly> it would be great if it didn't have the politics of FSF
orivej has joined #nixos
CMCDragonkai has quit [Quit: CMCDragonkai]
<energizer> what would be left noobly?
CMCDragonkai has joined #nixos
whatisRT has quit [Ping timeout: 256 seconds]
<CMCDragonkai> Does anybody know why fetchurl is so much slower than wget?
<{^_^}> [nixpkgs] @marsam merged pull request #88681 → deno: 1.0.0 -> 1.0.5 → https://git.io/Jfanz
<{^_^}> [nixpkgs] @marsam pushed 4 commits to master: https://git.io/Jf9AU
<noobly> energizer: nix with a scheme config language :^)
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/Jf9AT
<CMCDragonkai> With wget, I get about 100 Mbps, whereas with fetchurl inside Nix the same download is at 3 Mbps
<clever> CMCDragonkai: pkgs.fetchurl is using curl, does that behave the same way?
Pidgeot has quit [Excess Flood]
<CMCDragonkai> If I use curl directly I get about the same speed as wget
dingenskirchen has quit [Quit: dingenskirchen]
Pidgeotto has joined #nixos
inkbottle has quit [Quit: Konversation terminated!]
<energizer> how are you measuring speed?
dingenskirchen has joined #nixos
<CMCDragonkai> iftop
<CMCDragonkai> oh how strange
<CMCDragonkai> now i tried it again
<CMCDragonkai> and fetchurl is now similar to curl
<CMCDragonkai> this "fix" only happened after i ran curl manually
cript0nauta has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
user_0x58 has joined #nixos
noobly has quit [Ping timeout: 264 seconds]
<lovesegfault> energizer: yep, I use it on my laptop :)
<lovesegfault> Although I use a fork
plutes has quit [Ping timeout: 272 seconds]
<{^_^}> [nix] @matthewbauer closed pull request #3673 → WIP: Add Store API-based HashedMirrors → https://git.io/Jfyq9
leungbk has joined #nixos
zebrag has joined #nixos
<energizer> lovesegfault: are you going to pull it into nixos?
<lovesegfault> Unclear
<lovesegfault> It's a bit niche
<gchristensen> it is the future
<energizer> it doesn't need to be niche :)
<gchristensen> but actually I think it would be good to let it simmer outside of nixos a while
szicari has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos
<energizer> how can i import it from github without using a local checkout?
bahamas has joined #nixos
plutes has joined #nixos
<ldlework> What is the proper way to follow these instructions for NixOS? https://wiki.rpcs3.net/index.php?title=Help:Controller_Configuration#On_Linux
<lovesegfault> energizer: niv
<energizer> lovesegfault: oh good idea
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
bahamas has quit [Ping timeout: 258 seconds]
Rusty1 has quit [Quit: WeeChat 2.3]
szicari has joined #nixos
leungbk has quit [Ping timeout: 260 seconds]
Pidgeotto has quit [Excess Flood]
marusich has joined #nixos
Pidgeotto has joined #nixos
cript0nauta has joined #nixos
szicari has quit [Ping timeout: 240 seconds]
leungbk has joined #nixos
szicari has joined #nixos
<drakonis> ldlework, there's a module for adding udev rules
<energizer> lovesegfault: if i'm using the nixos module without the hm module do i need to add /home or does that come free?
<{^_^}> [nixpkgs] @MP2E merged pull request #89829 → SDL2_mixer: add optional dependency mpg123 → https://git.io/JfD73
<{^_^}> [nixpkgs] @MP2E pushed commit from @Thra11 to master « SDL2_mixer: add optional dependency mpg123 »: https://git.io/Jf9Ay
cript0nauta has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @MP2E merged pull request #90012 → discord-canary: 0.0.103 -> 0.0.104 → https://git.io/JfSUS
<{^_^}> [nixpkgs] @MP2E pushed commit from @rileyinman to master « discord-canary: 0.0.103 -> 0.0.104 »: https://git.io/Jf9AS
<lovesegfault> energizer: You won't be able to use /home without the hm module or waiting for impermanence#3
<lovesegfault> nix-community/impermanence#3
<{^_^}> https://github.com/nix-community/impermanence/pull/3 (by lovesegfault, 5 days ago, open): nixos: bind mount with correct permissions
amosbird_ is now known as amosbird
<energizer> ok
<{^_^}> [nixpkgs] @expipiplus1 opened pull request #90170 → ffmpeg-full: add librsvg support → https://git.io/Jf9xU
<lovesegfault> talyz, etu: nix-community/impermanence#3 is ready for a new look
<{^_^}> https://github.com/nix-community/impermanence/pull/3 (by lovesegfault, 5 days ago, open): nixos: bind mount with correct permissions
endformationage has quit [Ping timeout: 256 seconds]
runciter_ has joined #nixos
<CMCDragonkai> So I'm using fetchurl on a 18 GiB zip file. Now its finished downloading. And it's spending a lot of time in `installPhase`. The install phase is taking much longer than I thought it would be.
<CMCDragonkai> `install -D -m 0444 "${src}" "$out/${src.name}"`
<CMCDragonkai> That's all the installphase is.
<CMCDragonkai> Why would this take so long.
<CMCDragonkai> I can see `install` command doing 30 MiB/s on iotop
leungbk has quit [Ping timeout: 256 seconds]
runciter has quit [Ping timeout: 260 seconds]
<lovesegfault> gchristensen: I'd appreciate a look from you as well, when you can
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
runciter_ is now known as runciter
bahamas has joined #nixos
bahamas has quit [Changing host]
bahamas has joined #nixos
<clever> CMCDragonkai: what does `top` say is actually running?
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<fps> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
leungbk has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<CMCDragonkai> clever: its finished now
<CMCDragonkai> clever: so i have an idea
<CMCDragonkai> clever: perhaps my install phase should just be a symlink
<CMCDragonkai> clever: to the src
<CMCDragonkai> clever: what do you think?
<clever> CMCDragonkai: that would be much better
kenran has joined #nixos
<CMCDragonkai> clever: what's the function to symlink the entire src directory?
<CMCDragonkai> clever: like a symlink tree thing
<cole-h> Why not just `ln -s $src $out/src` or something?
<CMCDragonkai> in this case the `$src` will be pointing to a directory that contains many files, i'd want to replicate that flat list of files as symlinks in the $out
<clever> CMCDragonkai: buildEnv requires the input dir to already have the right name, which is what cole-h's thing does
<clever> CMCDragonkai: fetchurl produces a single file, not a dir of many files
<CMCDragonkai> ah yes
<CMCDragonkai> but i recently changed to fetchzip just now
<CMCDragonkai> for this particular sub-problem
<clever> fetchzip already produces the dir you want
<clever> just use it naked
<CMCDragonkai> but this needs to be derivation with name/version... etc?
<CMCDragonkai> like an actual package
<CMCDragonkai> and perhaps meta
<clever> CMCDragonkai: fetchzip is a derivation
<CMCDragonkai> can i put `version` and `meta` into fetchzip?
<clever> yeah
<CMCDragonkai> clever: is this just a matter of overrideattrs or do you mean `fetchzip { version = ...; meta= ...; }`
<clever> CMCDragonkai: just plain fetchzip { version=; meta=; ... }
<CMCDragonkai> and `name`
<clever> name is auto-generated from the url, but you can still set your own name
orivej has quit [Ping timeout: 260 seconds]
<CMCDragonkai> clever: it says there's an unexpected argument 'version'
orivej has joined #nixos
<CMCDragonkai> clever: error: anonymous function at /nix/store/07s871hz02vb128z40y8sigxp95dpg2d-source/pkgs/build-support/fetchurl/default.nix:38:1 called with unexpected argument 'version', at /nix/store/07s871hz02vb128z40y8sigxp95dpg2d-source/pkgs/build-support/fetchzip/default.nix:17:2
<clever> does it really need a version field?
<CMCDragonkai> not really
retrocswl has joined #nixos
Acilim has joined #nixos
Acilim has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
kleisli has joined #nixos
lord| has quit [Read error: Connection reset by peer]
user_0x58 has quit [Quit: Leaving]
agsdheidjd has joined #nixos
<energizer> afaict my headphones don't work until i run `sudo alsactl init`. ok fair enough. now i want to run that automatically, so i go ` services.xserver.displayManager.sessionCommands = ''${pkgs.alsaUtils}/bin/alsactl init '';` but that didn't work ( no sound). what could be going wrong?
<cole-h> Maybe not running as root?
<energizer> lightdm does run as root
<cole-h> Does it work if you run it manually again?
<energizer> ya
<cole-h> Assuming you're also running pulseaudio, it could be that pulseaudio hasn't started at that point
<cole-h> Since it's socket activated by default IIRC
<energizer> interesting idea
<cole-h> You could try switching to a tty, `systemctl start --user pulseaudio` and then logging in and seeing if that works
<cole-h> (No clue if that will help, though)
eoli3n_ has joined #nixos
<energizer> on second thought maybe you were right about root
<energizer> cuz that script seems to be running as user
butterthebuddha has quit [Ping timeout: 260 seconds]
mtn has joined #nixos
alp has joined #nixos
MmeQuignon has joined #nixos
<mtn> Random q: is it possible to source a virtual environment automatically when running `nix-shell`?
<mtn> (By adding a line to my `shell.nix` or something)
<cole-h> You could try adding something to your `shellHook` (I think that's the name0
<cole-h> )
<mtn> Awesome, that worked
<mtn> Thanks cole-h!
<energizer> mtn: why bother with virtualenv when you already have it's big sister, nix-shell
<energizer> ?
bahamas has quit [Ping timeout: 264 seconds]
<mtn> I haven't set up things with poetry yet (using an annoying outside package I just got working with pip and not sure about making the switch since I may not use it for long), and I'm working in a codebase with packages that are in pip but not nixpkgs
<mtn> On the other hand, maybe getting poetry working will take less time than I'm anticipating
linarcx has joined #nixos
<energizer> if you have unusual packages it can take a little while to figure out what overrides they need, otherwise it's pretty quick
<energizer> unusual python deps, that is
<linarcx> Guys, i have proble to use webkitgtk in my project. Can you help me? https://gist.github.com/LinArcX/2720b3a459a2ddd59ba03534286d6256
<energizer> ok so now i/o failure on sda1 leading to failed boot
<energizer> this is straight out of xkcd
<cole-h> That's no bueno
rajivr has joined #nixos
viric has quit [Read error: Connection reset by peer]
zupo has joined #nixos
mallox has joined #nixos
cript0nauta has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @colemickens opened pull request #90171 → python3Packages.bravia-tv: 1.0.1 -> 1.0.5 → https://git.io/JfHLm
tobeportable has joined #nixos
<{^_^}> [nixpkgs] @AluisioASG opened pull request #90172 → sox: Add WavPack support → https://git.io/JfHLn
mallox has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @colemickens opened pull request #90173 → unifiStable: 5.12.72 -> 5.13.29 → https://git.io/JfHLl
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
medvid_ has joined #nixos
cr4y1 has joined #nixos
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
medvid has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 188 commits to staging-next: https://git.io/JfHLP
<{^_^}> [nixpkgs] @FRidh opened pull request #90174 → python3: don't use optimizations on Darwin → https://git.io/JfHLX
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8b071be7512 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3a70659b4d0 (from 21 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mananamenos has joined #nixos
kaliumxyz has quit [Remote host closed the connection]
cole-h has quit [Quit: Goodbye]
emilsp has quit [Quit: bye]
emilsp has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to master « linux: fix kernel config options for i686 »: https://git.io/JfHLA
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej_ has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
zupo has joined #nixos
chagra has joined #nixos
bahamas has joined #nixos
andi- has quit [Ping timeout: 260 seconds]
<chagra> There seems to be a pacman package in nixpkgs that's being actively maintained
<chagra> is it actually possible to perhaps install AUR packages on NixOS?
<{^_^}> [nixpkgs] @lsix merged pull request #90114 → poezio: 0.13 -> 0.13.1 → https://git.io/JfShR
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JfHtq
<chagra> It would really be handy to just quickly and temporarily have some package setup and not have to think about writing an expression
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
icey_ has joined #nixos
kaliumxyz has joined #nixos
Shados has quit [Quit: Shados]
<pjt_014> chagra: try it, see what happens
<{^_^}> [nixpkgs] @lsix pushed to release-20.03 « poezio: add missing setuptools dependency »: https://git.io/JfHtC
<pjt_014> nix-shell -p pacman
<chagra> pjt_014: I'm trying it, it seems it can't find /etc/pacman.conf
<{^_^}> [nixpkgs] @lsix closed pull request #87550 → poezio: add setuptools as propagatedBuildInput → https://git.io/JfW7B
<chagra> I'm trying to understand what's up with that for now
iceypoi has quit [Ping timeout: 256 seconds]
<chagra> I probably should create the mirrorlist and all that jazz
kreyren has quit [Remote host closed the connection]
<chagra> if anyone has any experience with this please do point me in the right direction
kreyren has joined #nixos
NeoCron has joined #nixos
kreyren_ has joined #nixos
<pjt_014> yeah, I'm looking at nix show-derivation nixos.pacman and I see nothing about /etc
kreyren_ has quit [Remote host closed the connection]
<pjt_014> I'm assuming it'd be there anyway
<pjt_014> chagra: what's a pkg that for sure makes things within /etc?
<chagra> not pure?
leungbk has quit [Ping timeout: 246 seconds]
<pjt_014> what?
<pjt_014> I just wanna see how /etc is normally hadnled
<pjt_014> handled
<chagra> oh it's just a dumb joke how most packages will just symlink from the nix store
<pjt_014> ah
<chagra> umm I'm not sure
<chagra> lemme look at /etc
<etu> Most of etc is populated by the activation script
<pjt_014> actually I just did a sec ago, looks like samba does
<qyliss> pjt_014: on NixOS, /etc is set in environment.etc
<qyliss> (Not as part of a package, but a module)
<chagra> qyliss: oh thanks! that just might be it
<chagra> the solution
<pjt_014> yup. Looking at nix show-derivation for it:
<pjt_014> "configureFlags": "--with-static-modules=NONE --with-shared-modules=ALL --with-system-mitkrb5 --with-system-mitkdc /nix/store/d4gkgy02y6lprbg38g9hfixm4b82f9qr-krb5-1.17 --enable-fhs --sysconfdir=/etc..
<chagra> I wonder if I can find a configuration.nix with pacman under systemPackages
<pjt_014> so maybe adding that flag is enough?
<chagra> there are 7 contributors to that packages
<chagra> there has to be someone using it
<chagra> somehow
lsix has joined #nixos
<pjt_014> chagra: use the nix show-... cmd above on bluez and you can see more examples of /etc being used. I imagine beween this and samba one of those shows how pacman should do it
<qyliss> What does Pacman need at /etc?
<chagra> it seems it needs a pacman.conf file and a pacman.d directory with a mirrorlist file under it
<qyliss> Right, so what you'll need is a NixOS module that uses environment.etc to put those things there
<chagra> I'm still going through what I need then i can find out what must go under environment.etc
<pjt_014> keep throwing things at it till the err messages stop complaining, that's what I'd do anyway
<pjt_014> not eleagant but it works
<chagra> error: failed to initialize alpm library
retrocswl has quit [Quit: Connection closed for inactivity]
<chagra> (could not find or read directory: /var/lib/pacman/)
<chagra> finally hit the error
<chagra> hmmm what a curious package, it was updated this april
<chagra> i need to recheck the package expression
<chagra> I'm 100% sure someone has to be using this
Shados has joined #nixos
<{^_^}> [patchelf] @domenkozar merged pull request #209 → Add libasan build option and test print-needed → https://git.io/JfS2R
<{^_^}> [patchelf] @domenkozar pushed 2 commits to master: https://git.io/JfHt9
<qyliss> It doesn't seem like there's anything wrong with the package, fwiw.
<chagra> actually on second thought... this could be someone using nix on arch rather than a nix user
<chagra> that would make a lot more sense
<chagra> or maybe not, I'm so confused
<qyliss> I think that's probably it
<chagra> I have about 600 pages of text books to memorize for these upcoming finals yet I'm obsessed with this one package
<chagra> I need to take a break
mallox has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
mallox has quit [Client Quit]
ddellacosta has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #90175 → ocamlPackages.piqi: 0.6.14 → 0.6.15 → https://git.io/JfHtp
<chagra> I solved the mystery, It is indeed an arch only package
<chagra> looked at the history of commiters
<chagra> found one person using this package
<chagra> it's just a dependency for other packages
<chagra> so they can build pacman tools using nix
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @DamienCassou opened pull request #90176 → cypress: 4.5.0 -> 4.8.0 → https://git.io/JfHqU
lopsided98 has joined #nixos
mtn has quit [Remote host closed the connection]
<sshow> infinisil: thanks again for the help tonight. sent me straight into the right direction again :) I'll try to give back as much back as you
civodul has quit [Remote host closed the connection]
civodul has joined #nixos
teto has joined #nixos
<{^_^}> [nixpkgs] @servalcatty opened pull request #90177 → v2ray: 4.23.3 -> 4.24.2 → https://git.io/JfHqz
<{^_^}> [nixpkgs] @vbgl merged pull request #90162 → coqPackages.coq-elpi: 1.4.0 -> 1.4.1 → https://git.io/Jf9DF
<{^_^}> [nixpkgs] @vbgl pushed commit from @CohenCyril to master « coqPackages.coq-elpi: 1.4.0 -> 1.4.1 »: https://git.io/JfHqF
jgeerds has joined #nixos
<{^_^}> [nixpkgs] @servalcatty opened pull request #90178 → nixos/tests/v2ray: init → https://git.io/JfHmJ
alp has quit [Ping timeout: 272 seconds]
knupfer has joined #nixos
knupfer has joined #nixos
ncakerlist has joined #nixos
ncakerlist has quit [Client Quit]
doomlist3 has joined #nixos
Joestar79 has joined #nixos
asymptotically has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/8946799e079 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-20.03)
jbox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
__monty__ has joined #nixos
doomlist3 has quit [Ping timeout: 256 seconds]
mallox has quit [Client Quit]
thc202 has joined #nixos
<{^_^}> [nixos-search] @garbas pushed 2 commits to fix-93: https://git.io/JfHmy
<chagra> nevermind I made pacman work in nixos
chagra has quit [Quit: WeeChat 2.7.1]
Cale has quit [Ping timeout: 256 seconds]
chagra has joined #nixos
qz has quit [Ping timeout: 260 seconds]
<{^_^}> [nixos-search] @garbas opened pull request #97 → Fix title of the app before it loads → https://git.io/JfHmQ
andreas303 has quit [Ping timeout: 240 seconds]
<chagra> after setting up /etc/pacman.conf and /etc/pacman.d/mirrorlist
<chagra> and mkdir /var/lib/pacman
<chagra> pacman just works!
tobiasBora has joined #nixos
szicari has quit [Ping timeout: 256 seconds]
<chagra> This is a game changer, I can finally have another package manager to fall back on when I need a rare package
andreas303 has joined #nixos
<evils> chagra: that's how i got into nix...
<tobiasBora> Hello! I recently updated my rasp that is running gitea. The update was successful, but there was a major issue at the end: gitea seems to have lost all the database information (so for example I can't connect anymore, there is no more public projects...). I can still see the repo in /var/lib/gitea/repositories, and I'll try to see if the database is just removed or still lives somewhere. If anobody
<tobiasBora> had that issue before, please let me know ;)
<chagra> evils: I've been using NixOS for a year and I've been too spoiled by it. I can't leave it
<chagra> but sometimes if I want to run some rare program
<evils> package it, share the love
<chagra> and I see it has an AUR epression already written
<chagra> I just get lazy
<chagra> I always write package
<chagra> packages*
<chagra> but sometimes I just wanna run something instantly
<chagra> it's just a quality of life thing
szicari has joined #nixos
lord| has joined #nixos
jgeerds has quit [Ping timeout: 246 seconds]
<jtojnar> pacman in buildFHSUserEnv?
<energizer> i wonder how many packages aur has that nixpkgs doesnt
<srk> aur2nix :)
<chagra> the way I managed to set it up, you can't run it in your current environement fully. I just got it set up enough for pacstrap to work so I can set up an arch-nspawn
<chagra> srk: aur2nix is a thing?
alp has joined #nixos
<srk> chagra: no, just invented it :)
<evils> srk++
<{^_^}> srk's karma got increased to 18
<chagra> honestly if that was a thing everyone here would just become so lazy lol
<srk> looks like someone had that idea already https://discourse.nixos.org/t/idea-pacman2nix-and-aur2nix-tools/5605 :)
<chagra> anyway I don't think running pacman in your normal enviroment on nixos is a good idea
<chagra> nspawn or chroot
<chagra> seems like a safer idea
sigmundv has joined #nixos
<chagra> I wonder if I could maybe write custom modules to make cirtual environements to use other package managers like arch or guix or apt
<chagra> would probably help attract a lot of new users
<chagra> but that seems like a project asking for a billion issues to be opened
ramses_ has joined #nixos
<fps> hmm, where is wrapProgram documented?
Cale has joined #nixos
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
<fps> manveru: hah, thanks :)
kreyren has quit [Remote host closed the connection]
qz has joined #nixos
Chiliparrot has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
<{^_^}> [nixops] @adisbladis opened pull request #1367 → Rename Deployment.active -> Deployment.active_machines → https://git.io/JfHY7
orivej has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JfHYb
julm has quit [Ping timeout: 258 seconds]
noj has quit [Quit: WeeChat 2.7]
pjt_014 has quit [Ping timeout: 264 seconds]
julm has joined #nixos
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3670 → Add tests for pool.hh → https://git.io/JfDPu
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JfHOg
chloekek has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
linarcx has quit [Quit: WeeChat 2.8]
orivej has joined #nixos
zupo_ has joined #nixos
cosimone has joined #nixos
zupo has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #90123 → poppler: 0.88.0 -> 0.89.0 → https://git.io/Jf9fR
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfHOd
<{^_^}> [nixpkgs] @jtojnar merged pull request #90154 → gimp: 2.10.18 -> 2.10.20 → https://git.io/Jf9oY
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/JfHOF
cosimone has quit [Client Quit]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @jtojnar merged pull request #88911 → libblockdev: 2.23 -> 2.24 → https://git.io/Jfwfk
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfH3e
kreyren has joined #nixos
eoli3n_ has quit [Remote host closed the connection]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @cole-h to release-19.09 « gnutls: 3.6.13 -> 3.6.14 »: https://git.io/JfH3W
eoli3n_ has joined #nixos
Guest78803 has quit [Quit: ZNC 1.7.5 - https://znc.in]
fendor has joined #nixos
jbox has joined #nixos
jbox is now known as Guest48129
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @martinbaillie closed pull request #87707 → ssm-session-manager-plugin: rename → https://git.io/Jf8bi
detran has quit [Quit: ZNC 1.7.5 - https://znc.in]
detran has joined #nixos
FRidh has joined #nixos
asheshambasta has joined #nixos
<asheshambasta> Is it possible to use Jack instead of Pulseaudio on NixOS? I've been looking into some music production on nix but it seems that Jack -> Pulseaudio is the suggested route, which seems to be hard to configure. But then again, I'm new to Jack and wonder how "lower level" Jack is compared to PA.
<srk> yes!
<srk> ,musnix asheshambasta
<{^_^}> asheshambasta: Real-time audio in NixOS - https://github.com/musnix/musnix [see also #musnix channel]
<srk> I would say Pulseaudio -> Jack is the suggested route as jack requires sound card
meh` has joined #nixos
<asheshambasta> Yeah, I was wondering if I could just use Jack as my primary sound-service.
kleisli has quit [Ping timeout: 265 seconds]
<srk> my desktop now has three soundcards so pulseaudio is more confy for daily use as I can switch them via pacmd instead of switching cables :D
<asheshambasta> srk: supercollider seems to require Jack (AFAICS)
<kenran> Is there an equivalent to something like 'writeShellScriptBin' that does "give me those files here as a nix derivation" without having to use a full-blown mkDerivation?
<srk> asheshambasta: ah, right :) that was one of the reasons I was running it I guess - with tidal
orivej has quit [Ping timeout: 258 seconds]
<srk> tidal can do without sc but only samples
orivej has joined #nixos
<asheshambasta> musnix looks promising
<asheshambasta> srk: so in your setup, you have jack sitting on top of ALSA and then pa on top of Jack?
<asheshambasta> that is, you have pa -> jack -> alsa for audio?
<srk> asheshambasta: yes, that was the case with my previous setup, currently I only have pa but want to revive that
<srk> I didn't fiddle with alsa, only used qjackctl but there was no jack module back then
<kenran> ,locate bin mv
<{^_^}> Found in packages: toybox, busybox, coreutils, klibcShrunk, coreutils-full
<srk> what sucks is that nvidia drivers are not compatible with -rt patched kernel so it's either gpu or rt sound.. gotta plugin one more gpu so I can pass the second one to vm with ugly drivers
<evils> ,locate kenran
<{^_^}> Couldn't find in any packages
<evils> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<srk> kenran: symlinkJoin
chloekek_ has joined #nixos
fendor has quit [Remote host closed the connection]
<kenran> srk: I'd already need an existing nix derivation for that, right?
<srk> kenran: yes, most things are derivations tho :)
zupo has joined #nixos
bahamas has quit [Quit: leaving]
<{^_^}> [nixos-search] @garbas merged pull request #97 → Fix title of the app before it loads → https://git.io/JfHmQ
<{^_^}> [nixos-search] @garbas pushed to master « Fix title of the app before it loads (#97) »: https://git.io/JfHsw
<{^_^}> [nixos-search] @garbas pushed 0 commits to fix-93: https://git.io/JfHsr
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #90179 → matrix-synapse: 1.14.0 -> 1.15.0 → https://git.io/JfHs7
andi- has joined #nixos
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @kraem opened pull request #90180 → facetimehd: 2019-12-10 -> 2020-04-16 → https://git.io/JfHsN
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
knupfer1 is now known as knupfer
romildo has joined #nixos
noudle has joined #nixos
<{^_^}> [nixos-search] @garbas pushed to fix-92 « List channel as button group »: https://git.io/JfHGm
<{^_^}> [nixos-search] @garbas pushed to fix-92 « List channel as button group »: https://git.io/JfHGY
<{^_^}> [nixos-search] @garbas opened pull request #98 → List channel as button group → https://git.io/JfHGO
<{^_^}> [nixpkgs] @martinbaillie opened pull request #90181 → terraform-ls: init at 0.3.2 → https://git.io/JfHGG
zarel has quit [Ping timeout: 256 seconds]
zarel has joined #nixos
markus[m]2 is now known as Foooooo[m]
m0rphism has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<ramses_> Is there a reliable way to get the path "lib/python3.7" when building a python packages? So that my derivation would continue to work if the python version changes?
<{^_^}> [nix] @edolstra pushed to master « Remove Store::queryDerivationOutputNames() »: https://git.io/JfHGw
<kenran> srk: I'm not a native speaker and probably explained my problem badly :) inside some directory, there are (non-nix) files, mostly CSV. Now I need them in a derivation I'm writing (it's a docker image via buildImage). How can I get them "in there"?
chloekek_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixos-search] @garbas merged pull request #98 → List channel as button group → https://git.io/JfHGO
<{^_^}> [nixos-search] @garbas pushed to master « List channel as button group (#98) »: https://git.io/JfHGo
<clever> > python3.sitePackages
<{^_^}> "lib/python3.7/site-packages"
<{^_^}> [nixos-search] @garbas pushed 0 commits to fix-92: https://git.io/JfHG6
<kenran> I thought about creating another derivation that would build nothing and in its `installPhase` copy those local files only to $out. But then I thought there must already be a utility function for such things.
<clever> ramses_: its an attribute of the python package
<ramses_> clever: that seems to be exactly what I need, thanks!
<srk> kenran: ${./myFileToCopyToStore}
maxter has quit [Ping timeout: 264 seconds]
<Shados> kenran: you could write such a function pretty trivially on top of pkgs.runCommand
<Shados> What do you want to use it for?
doomlist3 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #90113 → gnome3.polari: 3.36.2 -> 3.36.3 → https://git.io/JfSht
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfHG7
Darkmatter66_ has quit [Read error: Connection reset by peer]
cosimone has quit [Remote host closed the connection]
<{^_^}> [nix] @edolstra pushed to master « Add Store::readDerivation() convenience function »: https://git.io/JfHGF
cosimone has joined #nixos
<kenran> srk: thanks, I'm currently trying that. Shados: there's a server which at runtime seems to need some files (it's not mine). Those files are "there", and in the nix expression that describes the docker container I need them to be "next to it" as well.
Darkmatter66 has joined #nixos
<notgne2> I'm trying to package some software that has a lot of "install(...DESTINATION /..." in the cmake files, what is a good way to work around this in Nix? I'm honestly not very familiar with cmake at all either
MmeQuignon has quit [Ping timeout: 272 seconds]
<notgne2> also, what's the right way to make a PR to un-broken a package? `swiften` is broken (and marked as such) right now, but downgrading boost and fixing the flags in the preInstall script seems to bring it back to life
<asheshambasta> srk: it seems like to get tidal (+ sc) working, I will need to have Jack run on top of Alsa and then decide whether or not I want to keep pa around for more "normal" use audio.
<asheshambasta> Or have Jack -> Pa working as in the nixos wiki.
<asheshambasta> or something like musnix.
<srk> combination :) musnix if you want realtime
orivej has quit [Ping timeout: 246 seconds]
<srk> some apps have direct jack support like mpv, not sure about browsers
drakonis has joined #nixos
<notgne2> actually, looking at nixpkgs now I see that swift-im is packaged (same source) and working with the newer boost, that's weird
orivej has joined #nixos
<srk> asheshambasta: atm watching https://www.youtube.com/watch?v=Vomnc9R-7mw ^^
<{^_^}> [nixops] @adisbladis opened pull request #1368 → Minimise the dependency on <nixpkgs> → https://git.io/JfHZc
<{^_^}> [nixpkgs] @Profpatsch merged pull request #89795 → gitit: init at 0.13.0.0 → https://git.io/JfDEC
<{^_^}> [nixpkgs] @Profpatsch pushed 2 commits to master: https://git.io/JfHZl
drakonis1 has quit [Ping timeout: 264 seconds]
fendor has joined #nixos
<Joestar79> I'm trying to override kubernetes-helm version but I'm getting an error. Can anyone take a look please and help me find the problem? https://pastebin.com/ZLH8hpE4
evanjs has quit [Read error: Connection reset by peer]
romildo has left #nixos ["Leaving"]
fendor has quit [Ping timeout: 258 seconds]
fendor has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
drakonis_ has joined #nixos
knupfer has joined #nixos
evanjs has joined #nixos
fendor_ has joined #nixos
Rusty1 has joined #nixos
klntsky has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 256 seconds]
fendor has quit [Ping timeout: 264 seconds]
klntsky has joined #nixos
<{^_^}> [nixos-search] @garbas pushed to fix-94 « handle 10000 package limit in the UI correctly »: https://git.io/JfHZ5
<{^_^}> [nixos-search] @garbas opened pull request #99 → handle 10000 package limit in the UI correctly → https://git.io/JfHZd
EsperLily has quit [Remote host closed the connection]
alp has quit [Ping timeout: 272 seconds]
<asheshambasta> srk: I think given how painful audio seems to be in Linux, I'd probably want to go for the simplest setup.
<asheshambasta> (so far, I've been using Ableton Live/Reaktor for music production on a Mac)
alp has joined #nixos
<asheshambasta> also it seems like Jack has issues with suspend/hibernate etc
<{^_^}> [nixpkgs] @romildo opened pull request #90183 → gdk-pixbuf-xlib: fix the pkg-config file → https://git.io/JfHn4
<srk> asheshambasta: another option is to launch jack manually, disabling pulseaudio autospawn, then pulseaudio -k to stop it, launch jack via qjackctl, start pulse again so it uses jack
<{^_^}> [nixos-search] @garbas pushed to fix-43 « make nix-build work »: https://git.io/JfHnV
<{^_^}> [nixos-search] @garbas opened pull request #100 → make nix-build work → https://git.io/JfHno
<asheshambasta> so far I've been trying to do this https://nixos.wiki/wiki/JACK but it seems to me that qjackctl has changed (I don't see the options listed in the screenshot of the page), and loading the jack modules in pa seems to fail with some connection issues logged.
<asheshambasta> sigh.
* srk looks
<{^_^}> [nix] @Kloenk opened pull request #3688 → add gitlab auth token → https://git.io/JfHnQ
Jackneill has quit [Ping timeout: 256 seconds]
<srk> I'm used to the no one it seems, not changed that much just advanced options are hidden so the list is not that scary
<srk> it should be enough to select correct card in settings and pressing Start
Jackneill has joined #nixos
<srk> iff pulse is not locking the card already
<srk> *new one
<{^_^}> [nixpkgs] @grahamc merged pull request #90180 → facetimehd: 2019-12-10 -> 2020-04-16 → https://git.io/JfHsN
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JfHnN
<asheshambasta> well, pa cannot load the module-jack-sink/source.
<asheshambasta> it fails to connect to Jack, no info on what it is trying to connect to, nor where jack is listening.
<srk> asheshambasta: do you have pulseaudioFull installed?
<srk> you can disable autospawn and run pulseaudio -vvvvvvv for debugging :)
<asheshambasta> no, I cannot seem to find the full requirement on the wiki page.
mekeor has quit [Ping timeout: 265 seconds]
<srk> > pkgs.pulseaudioFull
<{^_^}> "<derivation /nix/store/ghf6rn3h082509xqxh7a1a61x9inrais-pulseaudio-13.0.drv>"
mekeor has joined #nixos
<asheshambasta> why is that required?
<asheshambasta> pkgs.pulseaudio.override { jackaudioSupport = true; } should suffice no?
<asheshambasta> (this is what the wiki page also seems to suggest)
<asheshambasta> (this is what the wiki page also seems to suggest)
<asheshambasta> (sorry, bad text pasted)
<{^_^}> [nixos-search] @garbas pushed to fix-43 « fix »: https://git.io/JfHcL
orivej has quit [Ping timeout: 256 seconds]
FRidh has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
FRidh has joined #nixos
<{^_^}> [nixos-search] @garbas pushed to fix-43 « fix2 »: https://git.io/JfHcn
<asheshambasta> BRB, reboot.
asheshambasta has quit [Remote host closed the connection]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/158cfa6b2bf (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
Chiliparrot has joined #nixos
kenran has quit [Ping timeout: 264 seconds]
szicari has quit [Ping timeout: 260 seconds]
<Orbstheorem> Hi. My /boot partition is full and nixos-rebuild switch fails. I have already run nixos-collect-garbage --delete-older-than 1d and it's still full. How can I remove the profiles using those kernels and cleanup my /boot partition?
FRidh has quit [Quit: Konversation terminated!]
asheshambasta has joined #nixos
FRidh has joined #nixos
<asheshambasta> I think the Jack wiki page is outdated, I'll see if I can update it.
<asheshambasta> In my case, it is clear that pa cannot connect to jack, not sure why.
szicari has joined #nixos
<infinisil> ,bootfull Orbstheorem
<infinisil> Hm, that doesn't help actually
iyzsong has quit [Quit: ZNC 1.8.0 - https://znc.in]
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
knupfer1 has quit [Client Quit]
<infinisil> Orbstheorem: I usually just run `sudo rm -rf /boot/kernels/*`, then I rebuild switch
knupfer has joined #nixos
knupfer has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
doomlist3 has quit [Ping timeout: 264 seconds]
iyzsong has joined #nixos
<infinisil> Or `nix-collect-garbage` first (so older generations are removed), then `sudo rm -rf /boot/kernels/*` (so a boot switch can succeed), then `nixos-rebuild switch` (which does a boot switch, this time only putting the kernels and initrds from the generations that you didn't remove)
omneh has joined #nixos
noudle has quit []
OmnipotentEntity has quit [Ping timeout: 260 seconds]
<Orbstheorem> infinisil: Thanks ^^ I wasn't sure just removing the old kerneles was safe x)
<{^_^}> [nixos-search] @garbas merged pull request #100 → make nix-build work → https://git.io/JfHno
<{^_^}> [nixos-search] @garbas pushed to master « make nix-build work (#100) »: https://git.io/JfHC3
<{^_^}> [nixos-search] @garbas pushed 0 commits to fix-43: https://git.io/JfHCG
<srk> asheshambasta: yes, that override should be sufficient
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #90158 → coqPackages.mathcomp: 1.11.0 → https://git.io/Jf91G
<{^_^}> [nixpkgs] @vbgl pushed commit from @CohenCyril to master « coqPackages.mathcomp: 1.11.0 »: https://git.io/JfHCP
proofofkeags has joined #nixos
<{^_^}> [nixos-search] @garbas pushed 19 commits to complete-option-name: https://git.io/JfHCS
<{^_^}> [nixpkgs] @flokli merged pull request #89919 → hostapd: apply patches for CVE-2020-12695 → https://git.io/Jfyzr
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JfHC5
<{^_^}> [nixpkgs] @flokli merged pull request #89920 → [20.03] hostapd: apply patches for CVE-2020-12695 → https://git.io/Jfyzi
<{^_^}> [nixpkgs] @flokli pushed 3 commits to release-20.03: https://git.io/JfHCd
omneh has quit [Read error: Connection reset by peer]
asheshambasta has quit [Remote host closed the connection]
omneh has joined #nixos
oida has quit [Remote host closed the connection]
proofofkeags has quit [Ping timeout: 260 seconds]
oida has joined #nixos
orivej_ has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
mrpi has joined #nixos
das_j has joined #nixos
Scriptkiddi has joined #nixos
ajs124 has joined #nixos
jgeerds has joined #nixos
jmeredith has joined #nixos
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<__red__> So I'm trying to build a project (simh) and they don't use configure, they just have a makefile.
<__red__> they accept LIBPATH as an input
<__red__> but I don't see where in the nixos environment I would find that
orivej has joined #nixos
<__red__> I see "NIX_LD_FLAGS" - which I guess I can sed and awk my way through into the correct format
<__red__> but I'm guessing that I'm thinking too hard
<__red__> any advice?
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b6cda510fae (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
justanotheruser has quit [Ping timeout: 272 seconds]
detran has quit [Ping timeout: 256 seconds]
detran has joined #nixos
maxter has joined #nixos
Maxdamantus has quit [Ping timeout: 265 seconds]
Maxdamantus has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #90066 → mpop: 1.4.9 -> 1.4.10 → https://git.io/JfS64
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfHlZ
vandenoever has joined #nixos
vandenoever has joined #nixos
fendor_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #90185 → ocamlPackages.merlin: 3.3.4 -> 3.3.6 → https://git.io/JfHll
<Shados> __red__: makeFlags, buildFlags, or installFlags. Sounds like either of the former in your case. https://nixos.org/nixpkgs/manual/#build-phase
<{^_^}> [nixpkgs] @marsam merged pull request #90173 → unifiStable: 5.12.72 -> 5.13.29 → https://git.io/JfHLl
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfHlE
<MtotheM> Is the options listed in examples the only ones that exist? and if not. where do I actually find them? https://nixos.wiki/wiki/Tmux
<{^_^}> [nixpkgs] @marsam merged pull request #90181 → terraform-ls: init at 0.3.2 → https://git.io/JfHGG
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfHla
whatisRT has joined #nixos
<{^_^}> [nixpkgs] @romildo closed pull request #90183 → gdk-pixbuf-xlib: fix the pkg-config file → https://git.io/JfHn4
<Shados> MtotheM: `man configuration.nix`, or the online version https://nixos.org/nixos/manual/options.html -- just search forward for programs.tmux, in this case
orivej has quit [Quit: No Ping reply in 180 seconds.]
plutes has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
<MtotheM> oh. I tried looking here yesterday, but got no results back. the page is so large it breaks my browsers search function. thanks @Shados
orivej has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @7c6f434c opened pull request #90186 → mplayer: fix build by forcing -lfreetype → https://git.io/JfHlx
szicari has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #89159 → nixos/networking: check interface state files exist before acting on them → https://git.io/JfKJc
sigmundv has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JfH8f
sigmundv has joined #nixos
<{^_^}> [nixops] @adisbladis closed pull request #1313 → Add a withPlugins function to the NixOps derivation → https://git.io/JfTFI
justanotheruser has joined #nixos
chloekek has quit [Quit: WeeChat 2.7]
szicari has joined #nixos
plutes has joined #nixos
<tobiasBora> Hello, after upgrading to nixos 20.03, my gitea's database is empty. Someone on the gitea's discord suggested that the upgrade of postgresql may be the issue, especially because I don't have any release.stateVersion in my project (when I installed the raspberry, I don't think this field was set automatically and I was not aware of it's existence). What do I need to do to make sure I get my old DB
<tobiasBora> back, and come to a stable system?
<{^_^}> [nixpkgs] @magnetophon opened pull request #90187 → Sjaehn → https://git.io/JfH8C
<evils> tobiasBora: i'm not familiar with gitea, but can you roll back nixos to a point where it works? then back up, maybe restore from that if you can't get anything else work?
asheshambasta has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #90048 → mkvtoolnix: 46.0.0 -> 47.0.0 → https://git.io/JfSEc
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JfH8i
Chiliparrot has joined #nixos
<asheshambasta> So, I've been through hell trying to get pa to work with Jack, using Jack as the sink. And I failed. :-)
<srk> :(((
<srk> asheshambasta: pa jack sink/sources cause trouble?
<asheshambasta> paudio cannot connect to jack even though systemctl reports jackd is running, jack cannot use the "alsa" driver (saving the prefs. makes jack constantly fall back to "dummy")
<asheshambasta> yeah, and I cannot list the jack sources or sinks for that matter.
agsdheidjd has quit [Ping timeout: 256 seconds]
<tobiasBora> evils: I can try, but I think that I was laking space and I did some garbage collection, so I'm not sure what's left or not. But I also would like to understand how stateEpoch works (only one occurence in the manual??). For example, if I add now a stateEpoch, can it save my database?
<srk> asheshambasta: will test on 20.09 later, it was working without any issues for me
<asheshambasta> Thanks, I will also try testing this on my laptop after work. So far I've wasted an 1hr of work on this. I wouldn't mind using Jack for all things, tbh, but it seems like a lot in Linux has been built with pa in mind; ah fragmentation.
<wrl> i always run pa on top of jack
<wrl> with jack always running underneath
<wrl> doesn't work if you've got soundcards dynamically showing up or leaving (usb hotplug generally)
<wrl> but otherwise rock solid
<asheshambasta> wrl: if you can share your related configuration it might help me.
<wrl> asheshambasta: i'm on arch now but i had things workin on nixos
<wrl> let me thinks
<wrl> think*
<wrl> jfc
fendor has joined #nixos
<wrl> i have pulse set to have no dynamic configuration, just pa jack source/sink
<wrl> 2 channels each
<wrl> here's my default.pa
<asheshambasta> yeah, pa, in my case keeps failing to load these modules
<wrl> hmh
<wrl> you might need to configure the package to build with them
<asheshambasta> I have pulseaudioFull installed, as srk also suggested, so these modules seem to be present.
<asheshambasta> jackdbus-detect seems loaded, but loading jack-sink/source leads to "cannot connect to server socket ..."
iyzsong has quit [Quit: ZNC 1.8.0 - https://znc.in]
<wrl> hm
<wrl> i really don't know at that point
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/23c9c3779d2 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<asheshambasta> and also worrying is that in qjackctl, if I tinker with the settings and attempt to set the driver to "alsa" it keeps falling back to "dummy" without errors/warnings.
iyzsong has joined #nixos
<wrl> i was using jackd as a system service
<wrl> on nixos
<asheshambasta> same here, jackd is started and running.
iyzsong has quit [Client Quit]
<asheshambasta> Anyway, this looks like hell this weekend.
<goibhniu1> are you just trying to get jack and PA to play nicely together?
<asheshambasta> yeah, route pa audio to/from jack
<goibhniu1> hrm, I've been doing that for years without issue
<goibhniu1> did you follow the guide on the wiki?
<srk> with the nixos module?
<asheshambasta> mind sharing your nix config? I did follow the guide on the wiki.
kenran has joined #nixos
<asheshambasta> goibhniu1: yeah, thats the one I referred to.
<goibhniu1> ah, hrm, I don't run anything as a system service
Jackneill has quit [Ping timeout: 256 seconds]
Joestar79 has quit [Quit: Textual IRC Client: www.textualapp.com]
<goibhniu1> sorry, this page has changed since I last looked
<asheshambasta> and I think its outdated.
<asheshambasta> (qjackctl seems to have changed since then.))
<{^_^}> [nixpkgs] @Ma27 merged pull request #89662 → nixos/ssmtp: add settings option → https://git.io/Jf1jn
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JfH4X
<goibhniu1> here's one part of my config: http://sprunge.us/DswWXk
<asheshambasta> thanks
<goibhniu1> and apart from that I just seem to have jack2Full and qjackctl installed as packages
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
cosimone_ has joined #nixos
<goibhniu1> services.jack.jackd.enable is false
<evils> ,dentalplan
kenran has quit [Ping timeout: 264 seconds]
cosimone has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/JfH47
cr4y1 has quit [Ping timeout: 256 seconds]
<asheshambasta> goibhniu1: interesting, you manually start jack/pa on each boot/session?
<goibhniu1> sorry, my config is spread out over a lot of files, I don't see anything else relevant, but let me know if I can check anything
<goibhniu1> I don't manually start PA, but maybe something (plasma?) does that for me
<srk> asheshambasta: it just works, you need to choose correct sound-card and start it via qjackctl as there seem to be no service in the module
<goibhniu1> I start jack with qjackctl and the scripts in the wiki article
<srk> yup, pactl load-module module-jack-sink channels=2; pactl load-module module-jack-source channels=2; pacmd set-default-sink jack_out
<srk> is enough
proofofkeags has joined #nixos
<tobiasBora> Ok great, I managed to get gitea to work again with a proper system.stateVersion = "18.09";! Now, my question is: if I don't want to keep old softwares (like postgresql 9.6 in that case) is there some script that can automatically moves me from one stateVersion to another stateVersion?
duairc_ is now known as duairc
Jackneill has joined #nixos
proofofkeags has quit [Ping timeout: 246 seconds]
<srk> hmm, actually there *is* a jack service
<srk> but it doesn't have multi-user.wants so it needs to be started manually it seems
<srk> asheshambasta: ^
<asheshambasta> srk: systemd is reporting it to already be running on my machine on boot.
* srk tests some more
<{^_^}> [nixpkgs] @jtojnar merged pull request #89408 → libucl: init at 0.8.1 → https://git.io/JfPXy
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfHBZ
magnetophon has joined #nixos
<asheshambasta> I think I need to stop pa to be able to allow Jack to use alsa as its driver.
<asheshambasta> I cannot inspect what the driver is for the already running jackd
ddellacosta has joined #nixos
<cransom> tobiasBora: there's nothing automatic that i'm aware of. https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
<wedens[m]> why I can't inovke nix-build with invalid (for the current channels) nixos config?
cr4y1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c60e2bee7c5 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<wedens[m]> is complains about non-existing option in the config and refuses to build anything
<jasom> asheshambasta: if you ensure that PA doesn't load the alsa module it should prevent it from grabbing the alsa devices
markus1189 has quit [Ping timeout: 260 seconds]
<tobiasBora> cransom: thanks!
<srk> jasom: do you have an example?
<asheshambasta> I see, so the key here is to somehow ensure that jackd starts before pa.
<srk> yes, or that
<{^_^}> [nixpkgs] @volth opened pull request #90189 → treewide: central.maven.org -> repo1.maven.org → https://git.io/JfHBV
rajivr has quit [Quit: Connection closed for inactivity]
Acilim has quit [Remote host closed the connection]
<jasom> srk: been a while (me messing around with jack/pa predates my using nixos) but I think it's just unload-module module-alsa-sink in default.pa
<jasom> "unload-module module-alsa-sink" that is
<srk> thanks, I will take a look at nixos modules if it can be integrated bit better
magnetophon has quit [Read error: Connection reset by peer]
cr4y1 has quit [Ping timeout: 264 seconds]
magnetophon has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
rardiol has joined #nixos
<{^_^}> [nixpkgs] @phunehehe opened pull request #90190 → html5validator: init at 0.3.3 → https://git.io/JfHRe
vandenoever has joined #nixos
vandenoever has joined #nixos
markus1189 has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
agsdheidjd has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #89931 → palemoon: 28.9.3 -> 28.10.0 → https://git.io/Jfywd
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JfHRL
dingenskirchen has joined #nixos
rardiol_ has joined #nixos
rardiol has quit [Read error: Connection reset by peer]
<asheshambasta> so to get jack to work with pa I need to do the following: 1. ensure pa "alsa-sink" modules are unloaded 2. ensure pa "jack-sink/source" modules are loaded, 3. jackd is running and reachable (which also seems to be an issue but I need to check))
<asheshambasta> is there an easy way to tinker with these things without having to repeatedly reboot and/or start new sessions?
doomlist3 has joined #nixos
siers is now known as ij
<asheshambasta> all of pa/jack etc seem to be "hideously" stateful.
orivej has joined #nixos
<srk> you don't have to reboot unless switching kernel
dingenskirchen has quit [Quit: dingenskirchen]
<srk> interestingly if I run jack via service I don't get audio but everything looks fine
<{^_^}> [nixops] @adisbladis merged pull request #1368 → Remove the dependency on <nixpkgs> for flakes → https://git.io/JfHZc
<{^_^}> [nixops] @adisbladis pushed 2 commits to master: https://git.io/JfHR8
armin_ has quit [Quit: Great minds discuss ideas. Average minds discuss events. Small minds discuss people.]
amerigo has joined #nixos
ArdaXi has quit [Ping timeout: 246 seconds]
ArdaXi has joined #nixos
<asheshambasta> okay, if I restart pulseaudio so far in the same session, none of my applications manage to reconnect to it.
<asheshambasta> I believe this is because paudio sets environment variables etc. to be found
dingenskirchen has joined #nixos
<{^_^}> [nix] @matthewbauer opened pull request #3689 → WIP: Substitutions from different store dirs → https://git.io/JfHRM
genevino has joined #nixos
meh` has quit [Ping timeout: 240 seconds]
meh` has joined #nixos
eoli3n_ has quit [Ping timeout: 264 seconds]
<mdlayher> hey all! i'm going live at https://twitch.tv/mdlayher to work on a NixOS channel metadata Prometheus exporter in Go that could be used to power status.nixos.org! feel free to stop by and chat!
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<evanjs> So is there any type of limit to diskSize in the context of this function?
<simpson> gchristensen: I decided to blend your approach with some stuff I already had, and came up with https://github.com/MostAwesomeDude/treehouse/blob/master/nixos/metrics.nix
drakonis has joined #nixos
<evanjs> Trying to create disks beyond ~65GB (not sure what size is the max, exactly) and it will stall on `cptofs -p ${optionalString (partitionTableType != "none") "-P ${rootPartition}"} -t ${fsType} -i $diskImage $root/* /`
leungbk has joined #nixos
<clever> evanjs: does the image need to be that big initially? why not resizefs after deploying?
<simpson> I'm not sure if I like this yet, but I think it has everything I need; it's got the generation, the time that the generation was built, the release and state versions, and I can infer things like age and freshness using time().
<evanjs> clever: yeah lassulus was wondering the same thing. Trying to encode sensible defaults for virtual appliances we are going to provision
<gchristensen> simpson: nice! maybe should make a proper module for that
<evanjs> Figured that might be easier than including "how to resize to our recommended specs are importing the OVA"
<evanjs> Well, for ESXi, at least...
<clever> evanjs: you can look at how the aws images resize themselves on boot
<clever> evanjs: and then use something like qemu-img to just change the length of the disk image, without touching the contents any
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
drakonis1 has joined #nixos
<simpson> gchristensen: Hey, IMO this is the most proper that this module has ever been~ But yeah, I would love to get something like this upstream. I want to spend a few weeks with these metrics first and see whether they're even effective.
virus_dave has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
<evanjs> clever: do you mean aws stuff under nixos/modules/virtualisation?
<gchristensen> simpson: please do, mine seems to have some sort of problem where it stops being correct ... but I haven't looked in to it. I'll adopt yours and see if I can chase it down
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
<clever> evanjs: yeah
<evanjs> either way, it does seem uncomfortable to have an implicit limit like that. bah
<jboy> anybody know whether upgrading to nix>=2.2 can break things when coming from an earlier version (like 2.1.1)?
<jboy> I ask because of this issue: https://github.com/jupyter/repo2docker/issues/911
<{^_^}> jupyter/repo2docker#911 (by jboynyc, 1 day ago, open): nixpkg-unstable channel requires nix>=2.2
<simpson> Yikes. I'm not sure why that would happen. Maybe the textfiles get jammed up somehow? I'll keep an eye out for that.
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
<gchristensen> I'm not totally sure
drakonis has quit [Ping timeout: 272 seconds]
szicari has quit [Ping timeout: 256 seconds]
<gchristensen> simpson: I'm dreaming of a services.prometheus.exporters.nixos.enable = true; which enables the textfile exporter and writes out
<evanjs> clever: lol you didn't literally mean just "autoResize = true;" did you? :P Errr that and "boot.growPartition", I guess?
<clever> evanjs: maybe, i forget how trivial it is to use outside of nixos
<simpson> gchristensen: Yeah! That would be nice, and that's definitely along the lines of what I'm intending to get here. I'm hoping that these metrics will still be useful even if machines can nixos-rebuild themselves automatically.
<gchristensen> good idea
<simpson> Also mdlayher++ for writing new exporters.
evanjs has quit [Read error: Connection reset by peer]
<{^_^}> mdlayher's karma got increased to 0b10
evanjs has joined #nixos
genevino has quit [Quit: Great minds discuss ideas. Average minds discuss events. Small minds discuss people.]
leungbk has quit [Ping timeout: 258 seconds]
leah2 has quit [Ping timeout: 260 seconds]
szicari has joined #nixos
<evanjs> clever: alright I'll play around with that a bit and see what I can find. I wonder how/if this could event be addressed in the context of cptofs. Like even something like nix's "doing something that needs more than X MB of memory... this may fail" or whatever it was
<evanjs> just something that tells the user "idk if this is going to work" :P
<clever> evanjs: you could also use cptofs with a smaller image, then manually expand it in a second derivation
<{^_^}> [nixpkgs] @bcdarwin opened pull request #90191 → python3Packages.pydicom: 1.4.2 -> 2.0.0 → https://git.io/JfH01
<{^_^}> [nixpkgs] @kraem opened pull request #90192 → facetimehd: remove patch in nixpkgs, patched upstream → https://git.io/JfH0F
<evanjs> right yeah. more just wondering if there's a way to add "bumpers" or something to make-disk-image.nix, etc.
<evanjs> Like trying to understand _why_ it's failing lol
<evanjs> Because it works with e.g. the default 50GB, even when I don't have that much space free
drakonis has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #90193 → buildRustCrate: set CARGO_FEATURE_* when running the build script → https://git.io/JfH0h
pamplemousse has joined #nixos
cr4y1 has joined #nixos
kreyren has quit [Remote host closed the connection]
drakonis1 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @bbigras opened pull request #90194 → broot: 0.13.6 -> 0.15.0 → https://git.io/JfHEI
kreyren has joined #nixos
smatting has joined #nixos
ramses_ has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 264 seconds]
chrispickard has joined #nixos
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 272 seconds]
MmeQuignon has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
<evanjs> Like I totally agree that images like that are sort of insane, it would just be nice to have some clarity on what's happening, especially if something might fail, etc
leah2 has joined #nixos
m0rphism has quit [Quit: WeeChat 2.7.1]
magnetophon has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @danielfullmer opened pull request #90195 → rclone: 1.52.0 -> 1.52.1 → https://git.io/JfHEi
cr4y1 has quit [Ping timeout: 260 seconds]
pamplemousse has quit [Ping timeout: 265 seconds]
leungbk has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #90192 → facetimehd: remove patch in nixpkgs, patched upstream → https://git.io/JfH0F
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JfHEd
alp has quit [Ping timeout: 272 seconds]
<evanjs> Especially since everything just seems to stop altogether. hrm
knupfer has quit [Remote host closed the connection]
<evanjs> *checks strace*
<evanjs> full of "timer_settime(0, 0, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=9884834}}, NULL) = 0". how helpful
knupfer has joined #nixos
<evanjs> ahhhhh
<{^_^}> #59867 (by dfordivam, 1 year ago, open): VirtualBoxOVA does not work for more than 64gb baseImageSize
<evanjs> clever: lassulus found it lol
<MtotheM> Both vim and tmux have built in ways to declare the configuration. but for those that don't. is the only way to handle this with home manager?
<simpson> Yes. home-manager was originally developed because NixOS didn't handle this sort of per-user per-program configuration well.
<evanjs> MtotheM: it really depends. Sometimes you can do a bit with overrides, but home-manager is definitely the best way to go for dotfile config and etc imo
cosimone_ is now known as cosimone
<evanjs> it can definitely seem intimidating at first, for sure
leungbk has quit [Ping timeout: 264 seconds]
<simpson> (There are other tools and proposals, but home-manager's gotten quite popular.)
leungbk has joined #nixos
<MtotheM> let's delve right in I suppose :)
<evanjs> I based a lot of my current config (https://github.com/evanjs/nixos_cfg/tree/master/config) off of infinisil's (https://github.com/Infinisil/system), which integrates the home-manager NixOS submodule very nicely
<simpson> MtotheM: Also, IME dotfiles don't *need* to be managed immediately; it can be done incrementally.
<MtotheM> Yeah, historically I've liked managing dotfiles myself. but it seems really handy to have everything baked into the declaration.
<{^_^}> [nixpkgs] @jlesquembre closed pull request #89179 → sway: deterministic .desktop file → https://git.io/JfKO1
pamplemousse has joined #nixos
<MtotheM> Especilly if you can create containers on the fly using the same configuration files. I can see myself using that feature a lot to create small boxes you can ssh into.
<MtotheM> having then pre-defined*
minall has joined #nixos
<minall> Hello nixos community!... I'm interested in trying nixos, but I have some questions...
<betawaffle> does anyone know if `ninja -j 0` is different from giving the actual number of cores/threads to `-j`? It seems to be behaving differently.
<minall> When I want to use for example, a apache server, or mysql database, do I need to add it to my system wide configuration in NixOS, or just installing it as a package of that user, I can do a 'systemctl start apache2' for example, and it will work
<betawaffle> also, is `$NIX_BUILD_CORES` what i should be using?
<betawaffle> on my machine it seems to be zero, which doesn't seem like what i want
<simpson> Minall: That's your choice. NixOS has tools to ease configuring those services on a systemwide level (e.g. binding port 80), but you can also use those packages from an unprivileged user if you like, and there's even some support for systemd user services.
kenran has joined #nixos
meh` has quit [Ping timeout: 256 seconds]
fendor has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<betawaffle> "The cores setting determines the value of NIX_BUILD_CORES. NIX_BUILD_CORES is equal to cores, unless cores equals 0, in which case NIX_BUILD_CORES will be the total number of cores in the system."
<betawaffle> but in my case, it's not setting NIX_BUILD_CORES to 64, just zero
kenran has quit [Ping timeout: 246 seconds]
<betawaffle> any idea what i'm doing wrong?
<simpson> betawaffle: No idea offhand, but it appears that at least some nixpkgs expressions know that it can be zero, and explicitly check for zero before using it.
<betawaffle> example?
<{^_^}> [nix] @edolstra merged pull request #3674 → Allow empty hash in derivations → https://git.io/JfymR
<{^_^}> [nix] @edolstra pushed 5 commits to master: https://git.io/JfHuy
<betawaffle> can i rely on nproc being available in the build environment? is it part of stdenv?
<minall> simpson: That's cool, If I don't need to make it systemwide, I can just enable the service in one user?, that's what I'm looking for
pamplemousse has quit [Quit: Lost terminal]
<minall> Since installing it system wide will waste a lot of time
<infinisil> Minall: Why would it waste time?
<gchristensen> betawaffle: give it a try?
<betawaffle> will do
<infinisil> Minall: I recommend using the NixOS options that set the things up. E.g. services.mysql.enable = true (see https://nixos.org/nixos/options.html#services.mysql )
<betawaffle> gchristensen: it's weird, i've got a clang build that doesn't run out of memory with -j 64, but does run out at -j 0
<gchristensen> how many cores do you have?
<betawaffle> not sure how many cores ninja is assuming in the case of 0
<betawaffle> 64
<betawaffle> (threads)
<minall> infinisil: Because, in another distro, like arch, I just install apache2 and 'systemctl start apache2' it. Pretty fast, and I though the only way to add apache2 in nixos was doing it system wide in the configuration, and a nix rebuild switch, which will install a lot of new packages and waste some time... But If I can also do the first, installing
<minall> apache with nix-env -i and systemctl start, and I'll have my server started, then there's no problem
leungbk has quit [Ping timeout: 240 seconds]
magnetophon has quit [Read error: Connection reset by peer]
<betawaffle> gchristensen: and nproc reports 64 at least, so that's good
<simpson> Minall: The time of building the system configuration is usually not that much, overall, and that'd be the only difference. Like, it's gonna be the *same* new packages either way, in Nix, right? Because Nix packages don't really care which user requested them.
<infinisil> Minall: Adding `services.mysql.enable = true;` and running `nixos-rebuild switch` isn't slow, it installs exactly what's needed, nothing more
<asheshambasta> srk: were you able to get audio to work with the jackd service?
selfsymmetric-mu has joined #nixos
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
nikita` has quit []
<{^_^}> [nixpkgs] @danielfullmer opened pull request #90196 → diffoscope: 146 -> 147 → https://git.io/JfHzq
magnetophon has joined #nixos
<selfsymmetric-mu> Hey, I'm looking for a package that can get me `libpq.so.5` in my nix-shell. I have one in my `/nix/store` but it's under `lnfh7mm8vw8sdmp1nccqmk0alvl6jm74-postgresql-9.6.11-lib` and that `-lib` is throwing me off. What should I put in my `buildInputs` and in my `LD_LIBRARY_PATH`?
<{^_^}> [nixpkgs] @maralorn opened pull request #90197 → [haskell-updates] haskellPackages.neuron: Fix build → https://git.io/JfHzs
<infinisil> ,locate libpq.so.5
<clever> selfsymmetric-mu: what happens if you just put postgresql in buildInputs?
<{^_^}> Found in packages: postgresql95.lib, postgresql96.lib, postgresql_10.lib, postgresql_11.lib, postgresql_12.lib
Chiliparrot has joined #nixos
<clever> selfsymmetric-mu: and then link with -lpq
orivej has quit [Ping timeout: 256 seconds]
<infinisil> So -lib corresponds to the .lib output
<infinisil> And things in buildInputs automatically have their .lib output added
orivej has joined #nixos
<infinisil> So as clever said, just adding postgresql in buildInputs should work
<{^_^}> [nixpkgs] @FRidh merged pull request #90174 → python: don't use optimizations on Darwin → https://git.io/JfHLX
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « python: don't use optimizations on Darwin »: https://git.io/JfHz4
<srk> asheshambasta: no, only by running it via qjackctl, need to investigate. I've used the same command line args as qjackctl did via services.jack.jackd.extraOptions and it hooks on correct soundcard but no sound
leungbk has joined #nixos
<asheshambasta> I see, thanks. I'm still struggling even after `unload-module module-alsa-card`, using qjackctl I cannot seem to be able to set the driver to 'alsa' instead of 'dummy'.
chagra has quit [Ping timeout: 256 seconds]
user_0x58 has joined #nixos
<srk> asheshambasta: my is running via alsa, only had to specify correct soundcard via extraOptions = [ "-dalsa" "-dhw:Solo" "-r48000" "-p1024" "-n2" ];
nikita` has joined #nixos
<srk> for service to start correctly
zupo has joined #nixos
<betawaffle> is 183 seconds a good clang build time?
<{^_^}> [nixpkgs] @jlesquembre opened pull request #90198 → kubectx: re-pack, switch from bash to go → https://git.io/JfHzV
<asheshambasta> I see. I feel quite lost at this point tbh.
<selfsymmetric-mu> clever: What's -lpq?
<selfsymmetric-mu> infinisil: Oh okay. Weird, I have postgresql in my buildInputs already…
<clever> selfsymmetric-mu: that tells gcc to search for either libpq.so or libpq.a, and link to it
<selfsymmetric-mu> Oh I see. I'm in Haskell, maybe that's different. I'll take a look.
<{^_^}> [nixpkgs] @jeremyschlatter opened pull request #90199 → python3Packages.iterm2: init at 1.14 → https://git.io/JfHzr
<{^_^}> #23454 (by nh2, 3 years ago, closed): nix-build can't build Haskell executables that depend on postgresql-libpq
<selfsymmetric-mu> Closed as Can't Repro.
<srk> asheshambasta: does it work with pulse disabled?
<catern> is there a way to disable color output from "nix search"?
<asheshambasta> srk: I've unloaded the alsa module in PA, so effectively, would that mean pa is disabled? Or do I need to kill the daemon?
<asheshambasta> also I'm not sure which 'daemon' qjackctrl is showing me.
<selfsymmetric-mu> I replace `postgresql` with `postgresql.lib` and added `${pkgs.postgresql.lib}/lib` for now.
<srk> asheshambasta: when I try unload alsa-sink I get Module module-alsa-sink not loaded. and it looks like it's still uses the soundcard as it is visiable in configuration tab of pavucontrol
<asheshambasta> and it seems like pactl cannot load the jack-sink module since it cannot connect to jack.
<srk> qjackctl detects the system one if it's running
<srk> (after restart)
magnetophon has quit [Read error: Connection reset by peer]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<asheshambasta> I see, I've not rebooted.
<asheshambasta> Maybe that is the issue.
<asheshambasta> using pavucontrol I see no output devices but dummy.
zupo has quit [Remote host closed the connection]
<srk> no need for reboots I would say, only if you're trying to get it start just right on boot
kreyren has quit [Remote host closed the connection]
<srk> asheshambasta: what's the output of pactl load-module module-jack-sink channels=2 ?
magnetophon has joined #nixos
kreyren has joined #nixos
<srk> for me it outputs a number and sink appears in pavucontrol
<asheshambasta> Quite an unhelpful "module initialisation failed"
<srk> I would try it step by step, get jack running first, then adding pulse
<clever> asheshambasta: more output may wind up in the journal for the service running pulseaudio
zarel has quit [Ping timeout: 240 seconds]
zarel has joined #nixos
zupo has joined #nixos
kreyren has quit [Remote host closed the connection]
<phirsch> asheshambasta: What works for me: pactl unload-module module-alsa-card; jack_control start . With module-jackdbus-detect loaded, PA then automatically loads module-jack-sink amodule-jack-source. Jack set to alsa driver. Make sure to unmute and adjust volume using alsamixer.
kreyren has joined #nixos
kreyren has quit [Remote host closed the connection]
<asheshambasta> jack_control start fails for me with a DBus error: `DBus exception: org.jackaudio.Error.Generic: Failed to open server`
<srk> phirsch: oh, good point about alsamixer
kreyren has joined #nixos
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
<phirsch> This is with services.jack.jackd.enable=false
<srk> This sound device does not have any controls. :D
<srk> can't even mpv -ao jack with jackd.enable = true
growpotkin has joined #nixos
doomlist3 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @anmonteiro opened pull request #90200 → ocamlPackages.tls: 0.12.0 -> 0.12.1 → https://git.io/JfHgn
philr_ has quit [Ping timeout: 246 seconds]
<phirsch> srk: are you sure jack is configured correctly? (Haven't followed the full conversation. Jackdbus log output is in ~/.log/jack/jackdbus.log . Have you looked at /proc/asound/cards ?
Joy43 has joined #nixos
<Joy43> I am new here, main purpose of Nix is?
fendor has joined #nixos
<asheshambasta> phirsch: my log file is full of errors like these: https://gist.github.com/asheshambasta/f778053a809d10cacf8f1b9b980aaf49
alp has joined #nixos
<srk> phirsch: something is weird, it worked but no longer does now :D
chagra has joined #nixos
zarel has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nix] @edolstra pushed to master « Fix build »: https://git.io/JfHgu
zarel has joined #nixos
doomlist3 has joined #nixos
Joy43 has quit [Remote host closed the connection]
civodul has quit [Ping timeout: 272 seconds]
<asheshambasta> brb, desperate reboot attempt.
asheshambasta has quit [Remote host closed the connection]
OmnipotentEntity has joined #nixos
OmnipotentEntity has joined #nixos
OmnipotentEntity has quit [Changing host]
omneh has quit [Ping timeout: 246 seconds]
pamplemousse has joined #nixos
asheshambasta has joined #nixos
<asheshambasta> okay, reboot, as one would've guessed, didn't help.
<asheshambasta> This is incredibly frustrating. :-()
<phirsch> asheshambasta: I remember seeing similar (identical?) errors from PA when running JACK as a system service. Starting JACKdbus via jack_control as described above works for me.
chloekek_ has joined #nixos
coderobe has quit [Ping timeout: 256 seconds]
teto has quit [Quit: WeeChat 2.8]
<phirsch> Joy43: Mitigating dependency hell through transactional declarative installation of isolated software components yielding reproducible setups.
<phirsch> Joy43: (That's not an official statement, just my personal understanding.)
<asheshambasta> phirsch: I now have audio via Jack but PA still cannot see jack
<asheshambasta> I'll disable the service and try with what you suggest
<phirsch> asheshambasta: Do you have module-jackdbus-detect loaded?
<phirsch> asheshambasta: This is AFAIK the NixOS PA default setup.
<asheshambasta> yeah
<asheshambasta> I'm seeing something like `Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11` in the ogs now
<asheshambasta> logs*
magnetophon has quit [Read error: Connection reset by peer]
<phirsch> asheshambasta: Did you disable the service? The message seems to indicate that the daemon is being started outside of an X11 session.
chrispickard has quit [Remote host closed the connection]
szicari has quit [Ping timeout: 256 seconds]
nikita` has quit [Quit: leaving]
magnetophon has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<asheshambasta> trying that now
Thra11 has joined #nixos
noudle has joined #nixos
szicari has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #90171 → python3Packages.bravia-tv: 1.0.1 -> 1.0.5 → https://git.io/JfHLm
codygman has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer pushed commit from @colemickens to master « pythonPackages.bravia-tv: 1.0.1 -> 1.0.5 »: https://git.io/JfH2v
<asheshambasta> jack_control start fails for me "failed to open server" (DBUs exception)
codygman has joined #nixos
doomlist3 has quit [Ping timeout: 256 seconds]
m0rphism has joined #nixos
<asheshambasta> and even without the jackd service, the issue for the dbus/$SESSION error on the load-module remains.
cosimone has quit [Quit: Quit.]
cosimone has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #90197 → [haskell-updates] haskellPackages.neuron: Fix build → https://git.io/JfHzs
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfH2Z
chrispickard has joined #nixos
asheshambasta has quit [Remote host closed the connection]
chrispickard has quit [Remote host closed the connection]
nikita` has joined #nixos
chrispickard has joined #nixos
asheshambasta has joined #nixos
<asheshambasta> I now get audio from Jack but pa now refuses to connect to jack with and without jackd.enable
<phirsch> asheshambasta: I dimly remember resetting the jackdbus configuration (I think I just removed ~/.config/jack/ altogether).
<phirsch> asheshambasta:
<asheshambasta> this error that is getting logged seems to be pa being unable to connect to dbus for some reason
<phirsch> asheshambasta: You might have to reboot again - or at least log out / in, as jackdbus is likely started early in the session.
jgeerds_ has joined #nixos
jumper149 has joined #nixos
<srk> heh, su - srk indeed fixed playback via service
<srk> got lucky somehow before
jgeerds has quit [Ping timeout: 265 seconds]
<asheshambasta> I think the issue is also reported here: https://github.com/NixOS/nixpkgs/issues/15851
<{^_^}> #15851 (by anderspapitto, 4 years ago, open): pulseaudio realtime error with jackdbus integration
EsperLily has joined #nixos
simba1 has joined #nixos
cole-h has joined #nixos
zarel has quit [Ping timeout: 264 seconds]
zarel has joined #nixos
<MtotheM> The fact that nix rebuilds the whole system has me a bit worried. where can I safely store things that will never be touched by nix?
<phirsch> MtotheM: Have a look at https://grahamc.com/blog/erase-your-darlings
chrispickard has quit [Remote host closed the connection]
MtotheM1 has joined #nixos
<MtotheM1> thanks
coderobe has joined #nixos
<phirsch> srk: Nice.
<phirsch> asheshambasta:
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
<phirsch> * asheshambasta:Haven't been running JACK as realtime - forgot to add myself to the group first... Reboot has to wait for some more days...
<asheshambasta> at this point I just wish I could do without pulseaudio and use things like my browser audio etc. without needing to do all of this.
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
MtotheM has quit [Ping timeout: 240 seconds]
<asheshambasta> this looks like pulseaudio trying to connect to dbus.
<asheshambasta> anyway, giving up on this for now, its too frustrating.
justanotheruser has quit [Ping timeout: 256 seconds]
<simpson> MtotheM1: Nix itself will only operate on /nix, and nix-env will only touch a few specific .nix-*/ directories in your homedir. NixOS will leave homedirs alone, except where requested; you can also assume that anything custom you put in /etc will be okay.
coderobe has joined #nixos
<simpson> MtotheM1: But, TBH, I would look at NixOS as *projecting* out the state of the system; the userland is projected from the Nix store onto your login session. The Nix store can hold many userlands; the trick is to realize that "the whole system" is mostly just a few clever symlinks.
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
<{^_^}> [nixpkgs] @peti pushed 439 commits to haskell-updates: https://git.io/JfHaY
leungbk has quit [Ping timeout: 256 seconds]
meh` has joined #nixos
drakonis has joined #nixos
doomlist3 has joined #nixos
minall has quit [Remote host closed the connection]
leungbk has joined #nixos
alp has quit [Ping timeout: 272 seconds]
cosimone has quit [Quit: Quit.]
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
davidv7 has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @veehaitch opened pull request #90203 → pythonPackages.pytest-check: 0.3.5 -> 0.3.9 → https://git.io/JfHaV
kenran has joined #nixos
tobiasBora has quit [Quit: WeeChat 2.7.1]
kenran has quit [Ping timeout: 258 seconds]
ddellacosta has quit [Quit: WeeChat 2.2]
<__red__> Shados: unfortunately their makefile doesn't take any of those sheel arguments as inputs
<__red__> Shados: it may be easier for me to generate my own nixos specific Makefile at this rate :-/
<asheshambasta> it also seems like Jack fails to resume after a suspend.
szicari has quit [Remote host closed the connection]
<asheshambasta> tbh, at this stage, switching to Jack seems like its going to be a world of pain.
szicari has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #90204 → perlPackages.ExtUtilsPkgConfig: Fix build → https://git.io/JfHVT
MichaelRaskin has joined #nixos
asheshambasta has quit [Ping timeout: 272 seconds]
teto has joined #nixos
quinn has joined #nixos
Mateon1 has quit [Ping timeout: 264 seconds]
Mateon1 has joined #nixos
ggp0647 has quit [Quit: ZNC 1.7.5 - https://znc.in]
ggp0647 has joined #nixos
<jared-w> Out of curiosity, if I want to save /nix/store in docker across various stuff in CI, would it be better to mount /nix as a volume or just /nix/store? The containers themselves are "mega-containers" and use their own nix; they're more akin to VM images than "real containers". I also don't have to worry about parallelism.
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has quit [Changing host]
vandenoever has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-polysemy-plugin: drop obsolete overrides »: https://git.io/JfHVz
Chiliparrot has joined #nixos
cript0nauta has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ekleog closed pull request #86094 → [20.03] nvidia prime render offload → https://git.io/Jfqk9
<energizer> i have i/o errors reading from dev sda1 (the "/" partition), leading to boot failure. i'm guessing this is hopeless and i should just reinstall?
<{^_^}> [nixpkgs] @primeos merged pull request #90165 → signal-desktop: 1.34.1 -> 1.34.2 → https://git.io/Jf99E
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-20.03: https://git.io/JfHVi
<{^_^}> [nixpkgs] @SCOTT-HAMILTON closed pull request #90030 → baobab: Fix missing icons on KDE → https://git.io/JfS3l
OmnipotentEntity has quit [Read error: Connection reset by peer]
OmnipotentEntity has joined #nixos
OmnipotentEntity has joined #nixos
OmnipotentEntity has quit [Changing host]
<MichaelRaskin> At that point I would start evaluating whether you want to physically install a new storage device first… (not clear from one sentence, but worth investigating)
alp has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed 8 commits to python-unstable: https://git.io/JfHV1
<energizer> MichaelRaskin: what would i check?
<MichaelRaskin> Well, what type of the errors these are…
gentauro has quit [Read error: Connection reset by peer]
alexherbo2 has joined #nixos
pamplemousse has quit [Ping timeout: 256 seconds]
gentauro has joined #nixos
<alexherbo2> hi
meh` has quit [Ping timeout: 256 seconds]
<{^_^}> [cabal2nix] @peti closed pull request #375 → Allows for package definition in package.dhall → https://git.io/fA0aV
<alexherbo2> I have the following error trying experimenting with nix-build
<energizer> MichaelRaskin: https://i.imgur.com/ixLxBY7.jpg
<alexherbo2> > error: anonymous function at /home/alex/root/projects/configuration/etc/nixos/pkgs/applications/networking/browsers/surf/default.nix:1:1 called without required argument 'gtk', at /nix/store/cmi14x6qb80v1ivg73r1r8y28c4dh93d-nixos-20.09pre228622.029a5de0839/nixos/lib/customisation.nix:69:16
<{^_^}> error: syntax error, unexpected ':', expecting ')', at (string):316:133
<alexherbo2> I used `nix-build --expr 'with import <nixpkgs> {}; callPackage ./default.nix {}'`
<evils> pkgs.gtk
<evils> > pkgs.gtk
<{^_^}> attribute 'gtk' missing, at (string):316:1
<MichaelRaskin> energizer: hmm, media error does not look good
jgeerds_ has quit [Remote host closed the connection]
<alexherbo2> evils where to add gtk?
jgeerds_ has joined #nixos
<evils> alexherbo2: literal answer to that would be all-packages.nix, i think you're after pkgs.gtk2 or gtk3
kenran has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #87178 → nixos/{modules,tests}/teeworlds: init → https://git.io/JfnrH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfHVp
<{^_^}> [nixpkgs] @Mic92 merged pull request #88436 → [19.09] dovecot: v2.3.9.3 → v2.3.10 → https://git.io/JfgeH
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to release-19.09: https://git.io/JfHVj
<energizer> i dont have another disk atm, so i'm gonna try to reinstall. `nixos-generate -c configuration.nix -f iso` says The option `fileSystems./.fsType' has conflicting definitions, in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/installer/cd-dvd/iso-image.nix' and `/home/energizer/nixos-hosts/gamma/hardware-configuration.nix'.
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
greizgh has quit [Quit: greizgh]
<energizer> why does iso-image.nix have an opinion about my root fsType?
Neo-- has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #89264 → ffmpeg: default to ffmpeg_4 → https://git.io/Jf6iu
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JfHwf
greizgh has joined #nixos
<MichaelRaskin> This is the module for building an ISO image intended to be root-on-CD Live medium
magnetophon has quit [Read error: Connection reset by peer]
shibboleth has joined #nixos
<energizer> i haven't thought this through quite. is that what i want?
ddellacosta has joined #nixos
kenran has quit [Ping timeout: 264 seconds]
<MichaelRaskin> For your system? probably not
amanjeev- is now known as amanjeev
<{^_^}> [nixpkgs] @jonringer merged pull request #90199 → python3Packages.iterm2: init at 1.14 → https://git.io/JfHzr
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JfHwt
<energizer> how do i build the system that i have configured?
andreas303 has quit [Remote host closed the connection]
magnetophon has joined #nixos
andreas303 has joined #nixos
<energizer> do i need to go through the imperative installation process?
<energizer> from the normal nixos installation image
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JfHwC
kenran has joined #nixos
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<evils> alexherbo2: that package is called like this `surf = callPackage ../applications/networking/browsers/surf { gtk = gtk2; };`
<{^_^}> [nixpkgs] @Mic92 merged pull request #90189 → treewide: central.maven.org -> repo1.maven.org → https://git.io/JfHBV
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfHw4
<sauyon> My firefox on Arch (installed via home-manager) crashes on startup now with 'could not load pixbuf'
magnetophon has quit [Read error: Connection reset by peer]
<sauyon> also fonts seem to have broken across the board
omneh has joined #nixos
omneh has quit [Changing host]
omneh has joined #nixos
magnetophon has joined #nixos
OmnipotentEntity has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/JfHwB
<{^_^}> [nixpkgs] @7c6f434c merged pull request #90186 → mplayer: fix build by forcing -lfreetype → https://git.io/JfHlx
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JfHwg
* energizer wonders why everything talks about a "live CD" instead of a more modern format like HD-DVD
<MichaelRaskin> I guess because CD and DVD actually got some use
<cransom> i thought hd-dvd lost to bluray
<cransom> you could say livebd, but i have only one machine in the house that has a working, external drive.
pamplemousse has joined #nixos
<simpson> energizer: Space vs temporal access modes. Technically, an HD-DVD can be reburnt a few hundred times, which makes up for it, but otherwise there's just a lot of unneeded space.
domogled has joined #nixos
<simpson> That said, doesn't at least Debian produce a series of DVD ISOs?
chagra has quit [Read error: Connection reset by peer]
rschulman has joined #nixos
<energizer> twas a joke, im actually wondering why it doesnt say live usb :)
chagra has joined #nixos
<cole-h> energizer: You could try `nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage`
<{^_^}> [nixpkgs] @sorki opened pull request #90205 → haskellPackages: Unbreak few, add me as a maintainer → https://git.io/JfHwM
domogled has quit [Quit: domogled]
omneh has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<energizer> cole-h: what's the difference between that and nixos-generate -fiso?
ncakerlist has joined #nixos
<cole-h> ¯\_(ツ)_/¯
orivej has joined #nixos
meh` has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #90206 → release-lib: Avoid filtering twice → https://git.io/JfHre
OmnipotentEntity has joined #nixos
OmnipotentEntity has joined #nixos
doomlist3 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #89112 → musl: include libc.musl-$arch → https://git.io/JfoRv
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JfHrO
leungbk has quit [Ping timeout: 265 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jet_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #90105 → piccata 1.0.1 -> 2.0.0 → https://git.io/JfSxz
<{^_^}> [nixpkgs] @jonringer pushed commit from @siriobalmelli to master « piccata 1.0.1 -> 2.0.0 »: https://git.io/JfHrn
<{^_^}> [nixpkgs] @jonringer closed pull request #90203 → pythonPackages.pytest-check: 0.3.5 -> 0.3.9 → https://git.io/JfHaV
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfHrl
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update the set of broken packages to fix evaluation »: https://git.io/JfHr8
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfHrB
<{^_^}> [nixpkgs] @jonringer merged pull request #89971 → python3Packages.duecredit: init at 0.8.0 → https://git.io/JfySN
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JfHrE
<{^_^}> [nixpkgs] @peti merged pull request #90205 → haskellPackages: Unbreak few, add me as a maintainer → https://git.io/JfHwM
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/JfHru
drakonis_ has quit [Ping timeout: 264 seconds]
user_0x58 has quit [Remote host closed the connection]
omneh has joined #nixos
omneh has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix.yaml: un-break maintained packages »: https://git.io/JfHro
OmnipotentEntity has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfHr6
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: gitit is still broken, I'm afraid »: https://git.io/JfHrS
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfHr9
<{^_^}> [nixpkgs] @sternenseemann opened pull request #90207 → ocamlPackages.dns(-client): 4.5.0 -> 4.6.0 → https://git.io/JfHrH
<{^_^}> [nixpkgs] @peti merged pull request #90062 → haskellPackages.hasql-notifications: unbreak → https://git.io/JfSoI
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/JfHrd
orivej has quit [Ping timeout: 246 seconds]
omneh has quit [Ping timeout: 265 seconds]
drakonis_ has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 29 commits to haskell-updates: https://git.io/JfHrN
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfHrp
OmnipotentEntity has joined #nixos
OmnipotentEntity has joined #nixos
OmnipotentEntity has quit [Changing host]
<{^_^}> [nixpkgs] @FRidh opened pull request #90208 → buildPythonPackage: recompile bytecode for reproducibility → https://git.io/JfHoe
dingenskirchen has quit [Ping timeout: 256 seconds]
luc65r has joined #nixos
omneh has joined #nixos
omneh has quit [Changing host]
omneh has joined #nixos
dingenskirchen has joined #nixos
OmnipotentEntity has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed 29 commits to haskell-updates: https://git.io/JfHot
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @peti pushed 8 commits to haskell-updates: https://git.io/JfHom
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2020-06-12T00:09:36Z »: https://git.io/JfHoY
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #89488 → haskellPackages.c2hsc: apply patchto find gcc → https://git.io/JfX6U
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JfHoZ
orivej has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfHoW
civodul has joined #nixos
omneh has quit [Ping timeout: 258 seconds]
captn3m0 has joined #nixos
leungbk has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: gcodehs and ttn-client can't be build because of broken dependencies »: https://git.io/JfHoz
captn3m0- has quit [Ping timeout: 258 seconds]
OmnipotentEntity has joined #nixos
OmnipotentEntity has joined #nixos
OmnipotentEntity has quit [Changing host]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfHoV
knupfer1 has joined #nixos
pamplemousse has quit [Ping timeout: 260 seconds]
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 has quit [Ping timeout: 260 seconds]
das_j has quit [Quit: killed]
ajs124 has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
mrpi has quit [Quit: killed]
brainopia has joined #nixos
<brainopia> Hello, I'm trying to use services.elasticsearch and specify version as 7.7.1:
Scriptkiddi has joined #nixos
ajs124 has joined #nixos
mrpi has joined #nixos
das_j has joined #nixos
<brainopia> I've tried package = services.elasticsearch7 // { version = "7.7.1" }, but it still uses the defealt 7.5.1
<brainopia> default*
<{^_^}> [nixpkgs] @peti pushed 11 commits to haskell-updates: https://git.io/JfHo9
<stoile> brainopia: I think you have to override the src with overrideAttr.
<brainopia> Thank you, I'll try
<{^_^}> [nixpkgs] @ajs124 closed pull request #89438 → firefox: updates → https://git.io/JfPxl
<{^_^}> [nixpkgs] @berbiche opened pull request #90209 → playerctl: enable bash completions → https://git.io/JfHoN
seku has joined #nixos
luc65r has quit [Remote host closed the connection]
luc65r has joined #nixos
<stoile> brainopia: But you go from 7.5.1 or lower to 7.7.1. Maybe that it's more difficult.
Thra11 has quit [Ping timeout: 246 seconds]
<{^_^}> [cabal2nix] @maralorn opened pull request #461 → Add regenerate-nixpkgs.sh → https://git.io/JfHKe
<bqv> ,locate bin hie
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « blender: fix build with python 3.8 »: https://git.io/JfHKv
knupfer has joined #nixos
knupfer has quit [Client Quit]
<{^_^}> Found in packages: python27Packages.hieroglyph, python37Packages.hieroglyph, python38Packages.hieroglyph
knupfer has joined #nixos
<bqv> ,locate bin ide-engine
<{^_^}> Couldn't find in any packages
<bqv> ,locate bin haskell-ide-engine
<{^_^}> Couldn't find in any packages
<{^_^}> [cabal2nix] @peti merged pull request #461 → Add regenerate-nixpkgs.sh → https://git.io/JfHKe
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/JfHKT
omneh has joined #nixos
omneh has joined #nixos
<{^_^}> [nixpkgs] @FRidh reopened pull request #89438 → firefox: updates → https://git.io/JfPxl
OmnipotentEntity has quit [Ping timeout: 256 seconds]
szicari has quit [Ping timeout: 272 seconds]
<eyJhb> Trying to use znapzend service in NixOS for backing my encrypted dataset (rpool is set so all datasets are encrypted), to my rtank (which has the same encryption fun), but it fails with ` cannot receive new filesystem stream: zfs receive -F cannot be used to destroy an encrypted filesystem or overwrite an unencrypted one with an encrypted one`
<eyJhb> Any ideas?
jet_ has left #nixos ["Leaving"]
<bqv> eugh
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<bqv> infinisil: would you like a PR that turns https://github.com/Infinisil/all-hies into a flake? o:)
proofofkeags has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed 10 commits to haskell-updates: https://git.io/JfHK8
nmayhew_ has quit [Quit: Bye y'all]
<infinisil> bqv: Big changes are due, see https://github.com/Infinisil/all-hies/issues/61
<{^_^}> Infinisil/all-hies#61 (by Infinisil, 4 days ago, open): The future of all-hies
proofofkeags has joined #nixos
<infinisil> I still haven't looked much into flakes, but if you know how to make it work smoothly then sure
janneke_ has joined #nixos
nikita` has quit [Quit: leaving]
szicari has joined #nixos
<bqv> huh.. ok i'm still not sure how this works or what it's meant to do, i just want lsp-haskell in emacs
<bqv> but it wants hie/hie-wrapper
<bqv> which i can't install from nixpkgs so i found your repo
devalot has joined #nixos
janneke_ is now known as janneke`
orivej has quit [Ping timeout: 246 seconds]
<bqv> but now it looks like people have a hie.nix and this is turning into way more effort than it's worth
orivej_ has joined #nixos
janneke has quit [Ping timeout: 272 seconds]
proofofkeags has quit [Ping timeout: 265 seconds]
Thra11 has joined #nixos
kleisli has joined #nixos
booterror has joined #nixos
booterror has quit [Client Quit]
<{^_^}> [nixpkgs] @FRidh pushed to release-20.03 « python.pkgs.apsw: 3.30.1-r1 -> 3.32.2-r1 »: https://git.io/JfHKN
<eyJhb> Weird that ZFS send/recv does not work nicely with encryption...
<eyJhb> I would have thought it did
nikita` has joined #nixos
iqubic has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
<stoile> FRidh: I think the apsw version needs to be in sync with sqlite, so the cherry-pick of 3.32.x might be a problem.
<MtotheM1> why wouldn't it? it has native support for it eyJhb
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<iqubic> So, I have the following ZFS settings set in my configuration.nix. http://dpaste.com/1JFVK6N How can I change how often the ZFS Snapshots are made, and how many are kept?
<eyJhb> MtotheM1: apparantly having src and dst is not supported, as far as I can read because of some key fun...
user_0x58 has joined #nixos
kenran has quit [Ping timeout: 256 seconds]
<cole-h> iqubic: `man configuration.nix` and search for `services.zfs.autoSnapshot` and see what other options it supports.
<iqubic> I'll do that.
ncakerlist has quit [Ping timeout: 265 seconds]
<jasom> iqubic: https://nixos.org/nixos/options.html#zfs.autosnapshot
<{^_^}> [nixpkgs] @ryantm merged pull request #90106 → piper: 0.4 -> 0.5 → https://git.io/JfSxo
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfH6s
<iqubic> Is 0 a valid option, to just never make snapshots at that frequency?
<iqubic> Becauase I don't want to make any monthly snapshots.
omneh has quit [Ping timeout: 246 seconds]
<cole-h> Try looking at the source for the module.
<{^_^}> [nixpkgs] @dywedir merged pull request #89877 → watchexec: 1.13.0 -> 1.13.1 → https://git.io/JfyLs
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JfH6C
<T0pH4t> do binarycache settings not go into affect until after a rebuild?
<brainopia> stoile: The end result is a bit messy (additionally replaced "src" attr to pass a new sha): https://gist.github.com/brainopia/8ba890ef1c5f2b570b505928ba95a30b
<brainopia> Thanks for advice! :)
OmnipotentEntity has joined #nixos
OmnipotentEntity has joined #nixos
OmnipotentEntity has quit [Changing host]
lsix has quit [Ping timeout: 272 seconds]
jlv[m]1 has joined #nixos
<{^_^}> [cabal2nix] @peti pushed to master « doc: remember my live stream notes »: https://git.io/JfH6o
orivej_ has quit [Ping timeout: 260 seconds]
<iqubic> Like, sure, the data type for the number of snapshots at each range to keep is signed integer, but I worry that values that are less than or equal to 0 will mess up the system.
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<eyJhb> Any solution to this would be nice. src and dest are encrypted, same key
<eyJhb> //termbin.com/lpochttps://termbin.com/lpoc
<{^_^}> [nixpkgs] @jonringer pushed 9 commits to python-unstable: https://git.io/JfH6S
<{^_^}> [nixpkgs] @jonringer closed pull request #89514 → python3Packages.pytest-rerunfailures: 8.0 -> 9.0 → https://git.io/JfXFs
brainopia has quit [Remote host closed the connection]
<teto> I haven't followed: are SRI hashes ok for master ?
FRidh has quit [Quit: Konversation terminated!]
<jasom> iqubic: and the script it runs appears to be a ruby script with no man page nor support for --help
<ma27[m]> teto: yes,since 8f9e4bef4c95f057b09cf5914933834c2277dc60
<iqubic> What script?
<iqubic> I'm not sure what you mean?
<iqubic> jasom: ^^^
<teto> ma27[m]: ty
codygman has quit [Read error: Connection reset by peer]
alp has joined #nixos
codygman has joined #nixos
<jasom> iqubic: it looks like it will install a timer that does nothing if you have keep set to 0, because the program it runs will exit immediately if keep is 0: do_new_snapshots(datasets, interval) if keep > 0
<iqubic> Yeah. I know.
<jasom> iqubic: I'm guessing a negative value will be bad though
<iqubic> I suppose so.
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
leungbk has quit [Ping timeout: 256 seconds]
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
leungbk has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
knupfer1 is now known as knupfer
omneh has joined #nixos
nikita` has quit [Ping timeout: 265 seconds]
slack1256 has joined #nixos
tokudan has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @sternenseemann opened pull request #90210 → ocamlPackages.tls: 0.12.0 -> 0.12.1 → https://git.io/JfHip
noudle has quit []
tokudan has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
magnetophon has joined #nixos
Thra11 has quit [Ping timeout: 260 seconds]
<{^_^}> [nix] @Ericson2314 opened pull request #3690 → Use `std::string_view` in a few more places → https://git.io/JfHPY
<energizer> i dont think i have <nixpkgs> in my configuration.nix, where is the nixpkgs and nixpkgs/nixos info coming from?
<tokudan> energizer, by default probably from the environment variable NIX_PATH
<MtotheM1> I was confused about this too. I solved it by importing it `with import <nixpkgs> {};`
<samueldr> the actual answer is "it's complicated", https://nixos.org/nixos/options.html#nixpkgs.pkgs
<samueldr> (nixpkgs.pkgs specifically)
<samueldr> but a right answer is what tokudan said,
<energizer> so if i want to avoid relying on environment info, what should i do?
<tokudan> not a complete answer though :)
<samueldr> energizer: what is the goal?
rickhull has joined #nixos
knupfer has quit [Quit: knupfer]
<energizer> samueldr: whenever i install nixos, i have to mess around with channels imperatively and i dont like it, so i want to avoid that
<samueldr> ah
<samueldr> sorry, I don't know a "good" way, but what I do is mess with NIX_PATH so nixpkgs is what I want and extrapolate from there, I won't share exactly how because I don't know that it's "good"
<energizer> is flakes a solution to this?
<samueldr> it is _a_ solution
<samueldr> (I don't have experience with it though)
<energizer> "In the next blog post, we’ll talk about typical uses of flakes, such as managing NixOS system configurations, distributing Nixpkgs overlays and NixOS modules, and CI integration." https://www.tweag.io/blog/2020-05-25-flakes/
* energizer waits for the next blog post
proofofkeags has joined #nixos
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
luc65r has quit [Read error: Connection reset by peer]
luc65r has joined #nixos
luc65r has quit [Client Quit]
Thra11 has joined #nixos
janneke` is now known as janneke
vykook has quit [Ping timeout: 258 seconds]
seku has quit [Quit: Connection closed]
never_released_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
never_released has joined #nixos
<bqv> infinisil: can i use all-hies with whatever version nixpkgs#ghc points to at the time?
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
NeoCron has quit [Ping timeout: 260 seconds]
<infinisil> You do need to use the matching ghc version
gustavderdrache has quit [Quit: Leaving.]
<bqv> yes, exactly
<bqv> i'm using pkgs.ghc
<bqv> so can i directly build hie for that?
eoli3n_ has joined #nixos
<infinisil> You can check its version, then get that version from all-hies
<bqv> that will just work?
muslimm has joined #nixos
<bqv> (i.e. it's ghc883 now, but that's not in nixpkgsForGhc
muslimm has quit [Max SendQ exceeded]
<infinisil> Yeah, although you need a matching glibc version too
<energizer> can i do something like config.nixpkgs.pkgs = fetchTarball { url = "https://github.com/nixos/nixpkgs/archive/ca2ba44cab47767c8127d1c8633e2b581644eb8f.tar.gz";
<energizer> or is that too easy
<bqv> hm
muslimm has joined #nixos
<bqv> let's see how far i get.
<infinisil> bqv: For ghc883, glibc is 2.30, and that's in 20.03 and unstable the case
muslimm has quit [Max SendQ exceeded]
<infinisil> But other that that it should Just Work (tm)
<infinisil> (after you fix all other issues lol)
muslimm has joined #nixos
<infinisil> Theer's a lot to improve ok!
muslimm has quit [Max SendQ exceeded]
<bqv> lol
<bqv> ok
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
chagra has quit [Ping timeout: 260 seconds]
agsdheidjd has quit [Quit: WeeChat 2.8]
<{^_^}> [nixops] @adisbladis opened pull request #1369 → network: Add nixpkgs attribute for passing nixpkgs → https://git.io/JfHXc
nek0 has quit [Quit: ZNC 1.8.0 - https://znc.in]
globin has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #90204 → perlPackages.ExtUtilsPkgConfig: Fix build → https://git.io/JfHVT
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JfHXB
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
nek0 has joined #nixos
justanotheruser has quit [Ping timeout: 264 seconds]
vykook has joined #nixos
coderobe has quit [Ping timeout: 246 seconds]
shibboleth has quit [Quit: shibboleth]
anderslundstedt has quit [Remote host closed the connection]
coderobe has joined #nixos
user_0x58 has quit [Ping timeout: 260 seconds]
<typetetris> Do overlays and haskellPackages.overridePackages mix well?
leungbk has quit [Ping timeout: 256 seconds]
johnw has joined #nixos
agsdheidjd has joined #nixos
sabry97[m] has joined #nixos
__monty__ has quit [Quit: leaving]
vykook has quit [Ping timeout: 260 seconds]
Jackneill has quit [Ping timeout: 240 seconds]
cjpbirkbeck has joined #nixos
RobiX has joined #nixos
<sshow> when fetchGit without a `rev`, does it /always/ check for new commits?
<sshow> e.g. when pulling master
vykook has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.0 - https://znc.in]
RobiX has quit [Client Quit]
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #90157 → Add socket-based IPFS support → https://git.io/Jf9Xb
<{^_^}> [nixpkgs] @Ericson2314 pushed 8 commits to master: https://git.io/JfH1m
<MtotheM1> what option let's me customize the nixos prompt?
<MtotheM1> the 'welcome to nixos' message
vykook has quit [Ping timeout: 264 seconds]
sterni has joined #nixos
Jackneill has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
vykook has joined #nixos
<infinisil> MtotheM1: services.mingetty.greetingLine
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
fendor has quit [Ping timeout: 260 seconds]
<MtotheM1> thanks
alp has quit [Ping timeout: 272 seconds]
<ldlework> Anyone here know how to get RPCS3 to work with Vulcan?
<ldlework> Vulkan rather
vykook has quit [Ping timeout: 256 seconds]
alp has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
pjt_014 has joined #nixos
<chloekek_> Is it possible to enable an LLVM target without rebuilding LLVM from scratch?
<pjt_014> build it once and pin it?
vykook has joined #nixos
<pjt_014> nix-store -r /nix/store/foo --add-root result-somename --indirect
<pjt_014> will not work if you suddenly need a slightly different ver of llvm but that's prob not avoidable
<pjt_014> also there's cachix
<chloekek_> When building LLVM with CMake, and then building it again later with more features enabled, it won’t rebuild from scratch.
<chloekek_> I suppose with Nix that cannot be avoided indeed, because Nix invokes CMake without any object files in scope.
MmeQuignon has quit [Ping timeout: 256 seconds]
rickhull has left #nixos [#nixos]
<chloekek_> It would require reimplementing CMake in Nix, and generating fine-grained derivations, but that’s not what it does currently, so I’ll just rebuild it from scratch.
asymptotically has quit [Quit: Leaving]
meh` has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @lovesegfault opened pull request #90211 → rust-analyzer: 2020-06-01 -> 2020-06-08 → https://git.io/JfH1h
vykook has quit [Ping timeout: 260 seconds]
Rusty1 has joined #nixos
<MtotheM1> can I not reference options inside of a string? I have this `"{networking.hostName}"` but it sais 'networking' is an undefined variable. despite me having declared it above.
gustavderdrache has joined #nixos
<cole-h> Probably want `config.networking.hostName`
<MtotheM1> oh, so config is the first scope?
julm has quit [Ping timeout: 258 seconds]
<slack1256> If I got a package on hackage that ships with a shell.nix file, does it affect in anyway if it is included on nixpkgs or not?
<infinisil> slack1256: Nope, no effect
drakonis1 has joined #nixos
lsix has joined #nixos
lsix has quit [Client Quit]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis2 has joined #nixos
vykook has joined #nixos
leungbk has joined #nixos
julm has joined #nixos
drakonis1 has quit [Ping timeout: 272 seconds]
<slack1256> Cool!
tsrt^ has quit []
OmnipotentEntity has joined #nixos
omneh has quit [Ping timeout: 240 seconds]
ffl^ has joined #nixos
simba1 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @lovesegfault opened pull request #90212 → casperjs: remove → https://git.io/JfHMn
tobiasBora has joined #nixos
<tobiasBora> Hello,
OmnipotentEntity has quit [Client Quit]
leungbk has quit [Remote host closed the connection]
alp has quit [Remote host closed the connection]
leungbk has joined #nixos
alp has joined #nixos
vykook has quit [Ping timeout: 256 seconds]
<jasom> chloekek_: plus there is no guarantee that the result of building for target X, then adding target Y and rebuilding will be the same as building target Y, then adding target X and rebuilding, so the derivation would have to depend on the ordering as well as the list of targets.
dxtr has quit [Ping timeout: 246 seconds]
alp has quit [Remote host closed the connection]
<chloekek_> jasom: LLVM + AVR would just take LLVM as an input. Would have a different input hash, so no problem.
alp has joined #nixos
drakonis_ has joined #nixos
<jasom> chloekek_: you could make that possible by saving off the entire build tree in your LLVM derivation, and then using that as an iput for building with +AVR; but obviously the LLVM in nixpkgs doesn't do taht.
<chloekek_> Right.
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
virus_dave has joined #nixos
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #90213 → [20.03] palemoon: 28.9.3 -> 28.10.0 → https://git.io/JfHMu
drakonis2 has quit [Ping timeout: 246 seconds]
dxtr has joined #nixos
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
virus_dave has joined #nixos
eoli3n_ has quit [Ping timeout: 260 seconds]
virus_dave has quit [Client Quit]
virus_dave has joined #nixos
virus_dave has joined #nixos
dxtr_ has joined #nixos
virus_dave has quit [Client Quit]
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
<bqv> infinisil: this is problematic for my flake - builtins.currentSystem is used https://github.com/Infinisil/all-hies/blob/4d52f70a28b337a70d1c92f5a4483ebcd7612e03/sources.nix#L8
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
virus_dave has joined #nixos
vykook has joined #nixos
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
mbrgm_ has joined #nixos
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
virus_dave has joined #nixos
mbrgm_ is now known as mbrgm
mbrgm has quit [Ping timeout: 246 seconds]
virus_dave has quit [Client Quit]
virus_dave has joined #nixos
leungbk has quit [Quit: ERC (IRC client for Emacs 27.0.91)]
virus_dave has quit [Client Quit]
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
virus_dave has joined #nixos
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
vykook has quit [Ping timeout: 256 seconds]
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
justanotheruser has joined #nixos
virus_dave has joined #nixos
vykook has joined #nixos
drakonis1 has joined #nixos
vykook[m]1 is now known as Vykook[m]
drakonis_ has quit [Ping timeout: 260 seconds]
agsdheidjd has quit [Ping timeout: 260 seconds]
codygman has quit [Read error: Connection reset by peer]
vykook has quit [Ping timeout: 258 seconds]
codygman has joined #nixos
alp has quit [Ping timeout: 272 seconds]
vykook has joined #nixos
muslimm has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
muslimm has quit [Max SendQ exceeded]
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
<infinisil> bqv: Feel free to propose a PR to make it work with flakes too
<dgpratt> I have the nix package manager configured on Ubuntu. I notice that nix puts some things in ~/.nix-profile/share that (I think) might otherwise go in ~/.local/share.
<dgpratt> is this happening because if I were on full-blown NixOS, that would be the place to put such things?
<bqv> infinisil: well, how? the problem is that pkgs isn't plumbable, but would you be ok with it being?
<bqv> or well no, i guess that's not the problem
<bqv> but i can't think of any other solution off head
<dgpratt> in short, I'm trying to understand the scheme at work here and how best to get things like fonts installed with nix-env where other things expect to find them
justanotheruser has quit [Ping timeout: 240 seconds]
vykook has quit [Ping timeout: 246 seconds]
<infinisil> bqv: Tbh I have no idea, especially since with the issue I linked, I plan to only provide an overlay. But the overlay internally uses its own pinned nixpkgs versions
<infinisil> Though maybe that's no problem with flakes?