andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2019 || For best support,
WinchellsM has quit [Quit: Lost terminal]
jgeerds has quit [Ping timeout: 265 seconds]
erictapen has quit [Ping timeout: 265 seconds]
agb has quit [Ping timeout: 245 seconds]
agb has joined #nixos
erictapen has joined #nixos
lukash is now known as lukash|away
Mateon3 has joined #nixos
<kvda> How does $PATH work with nix? I
dockerandnix has quit [Remote host closed the connection]
fenedor has quit [Quit: Leaving]
mDuff has quit [Ping timeout: 265 seconds]
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @dtzWill closed pull request #79122 → kcontacts: kdeApplications -> kdeFrameworks → https://git.io/Jvs2e
<kvda> nvm found NIX_PATH docs
<{^_^}> [nixpkgs] @Zer0- closed pull request #61219 → Help fix quodlibet! (Doesn't find icons) → https://git.io/fjCCK
eacameron has quit [Quit: Connection closed for inactivity]
shibboleth has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
astk96 has joined #nixos
<astk96> is there any way to get projects deployed to a server to reuse a closure?
<astk96> to save it having to copy things over repeatedly which is slow...
<infinisil> astk96: nix-copy-closure does that automatically
<ajs124> as long as you don't GC them
<astk96> oh right, so i just need to do nix copy closure on the new project and it will gather the things from the other existing closure
erictapen has quit [Ping timeout: 265 seconds]
<jackdk> `nix copy` takes a `-s` option that substitutes from cache where possible; this is very useful
<astk96> ah, so i can just get the exe produced by cabal and copy it in a way that sees the nix closures
<astk96> thats good, because i cant seem to get my project to build with nix, despite it building ok with cabal
alex`` has quit [Ping timeout: 268 seconds]
alexherbo2 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixos-org-configurations] @grahamc merged pull request #98 → alertmanager: reduce alerts for flipping systemd states → https://git.io/JvGJY
<{^_^}> [nixos-org-configurations] @grahamc pushed 2 commits to master: https://git.io/JvGmQ
sigmundv has quit [Ping timeout: 265 seconds]
johann_ has joined #nixos
<johann_> Hello everyone!
thc202 has quit [Ping timeout: 245 seconds]
shibboleth has quit [Quit: shibboleth]
<kvda> Hi johann_
<johann_> Hey!
<kvda> How do I add git repo nixpkgs to my nix channel? (ie. to use a package i've created in another project)
<astk96> the error is reproducable using;
<astk96> git clone https://github.com/astk-hs/hello-nix; cd hello-nix/hello-project/ ; nix-build -A HelloWorld
<jackdk> kvda: what is your ultimate objective? You may not need to fiddle with channels to do that.
<kvda> so i've created a new package (AWS session manager, not in any of the channels currently) .. now I want to test it with my project where i need it, before opening a PR
<kvda> nix-build -A awscli-session-manager is building ok, I want to test if the bin is avaiable for awscli to use etc
<kvda> session manager being a plugin for awscli which is available in nixpkgs
<johann_> I just wanted to say hi! I am a completely fresh nixos user and currently fiddling with the base configuraton
<johann_> but i love it so far
<kvda> johann_ it's pretty neat, people here are very helpful too, welcome
<kvda> jackdk does the above make sense?
astk96 has quit [Ping timeout: 260 seconds]
notgne2 has quit [Quit: ZNC 1.7.4 - https://znc.in]
<jackdk> kvda: how is the "project where I need it" set up? is it nixified itself? A lot of haskell projects, for example, have a default.nix that takes nixpkgs as an argument, so you can `nix-shell --arg nixpkgs 'import /path/to/local/nixpkgs {}'`
<kvda> ah so the project use nix-shell which just provides core packages (node, ruby, awscli)
notgne2 has joined #nixos
<kvda> i think this will work how i have it setup, will try now
<jackdk> kvda: is this project open-source? can you share the shell.nix?
<johann_> I think i will have to dive deeper into nix expressions :-)
<johann_> Currently I am running most of my tools in docker containers
oida has quit [Quit: byez]
<dashkal> Is it possible to, at the command-line/bash, make queries of my /etc/nixos/configuration.nix? I'd like to be able to check if a key is true or false in a shell script. (Context: switching what I execute based on bumbleebee being on or off)
<clever> dashkal: nixos-option
<dashkal> Danke
<johann_> j #docker
johann_ has left #nixos ["https://quassel-irc.org - Chat comfortably. Anywhere."]
mbrgm_ has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mbrgm has quit [Ping timeout: 265 seconds]
mbrgm_ is now known as mbrgm
CMCDragonkai1 has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JvGYP
<{^_^}> [nixpkgs] @peterhoeg merged pull request #79185 → crun: 0.11 -> 0.12 → https://git.io/JvGI9
erasmas has quit [Quit: leaving]
ThatGuy has joined #nixos
<ThatGuy> hi all, general question about nix, if I create a build derivation that is say gcc8 in a nix shell, should not any deps that I pull in also be required to be using gcc8?
<ThatGuy> i'm asking since i am in fact not getting deps with gcc8, but a different gcc version.
jluttine has quit [Ping timeout: 272 seconds]
erictapen has joined #nixos
Baughn has quit [Read error: Connection reset by peer]
Rusty1 has quit [Remote host closed the connection]
astk has joined #nixos
<astk> what does it mean that the default.nix is "called without required argument _"
<ThatGuy> looks like i can override the stdenv with proper compiler, but i kind of expected the lib to either do it automatically or blow up :/
<ThatGuy> astk: probably have an argument to function that is not defined/in scope
<ThatGuy> maybe?
<dashkal> Hrm, anything lower level than nixos-option? The docs for that don't reveal what it's passing to nix-instantiate to get the option stuff, and I'm getting nowhere with nix eval.
<astk> it builds with cabal ok...
<dashkal> nixos-option coughs up a lot of extra information I'd have to parse. Hoping to cut the output down to a simple true/false.
<{^_^}> [nixpkgs] @Shados opened pull request #79194 → luajit: Expose build options, enable JIT debug module → https://git.io/JvGOY
johnw has quit [Remote host closed the connection]
<clever> dashkal: you might be better off just creating your own file in /etc/
johann_ has joined #nixos
<clever> dashkal: via a nixos module
jluttine has joined #nixos
<clever> dashkal: environment.etc.whatever.text = toString config.hardware.bumblebee.enable;
<clever> dashkal: if you add that to your nixos config, it will generate a /etc/whatever file, that contains the bool
<clever> might want to use if though, toString does weird things with bools
<clever> dashkal: environment.etc.whatever.text = if config.hardware.bumblebee.enable then "bumblee on" else "wheres the bee";
<dashkal> hrm, if that's the level I need to jump to, it's probably easier to just probe for a GLX visual and switch on that.
kvda has joined #nixos
<dashkal> I'm hacking around the fact that I can't get a GLX visual for the intel card in this hybrid laptop if I enable bumblebee.
<clever> dashkal: the reason i say to make a file like this, is state vs config
<dashkal> The hack will be to just run everything on the nvidia if in that mode.
<astk> ThatGuy: do you mean in haskell or nix?
<clever> dashkal: if you edit configuration.nix and dont nixos-rebuild, then querying configuration.nix gives you the wrong answer, and everything breaks
<clever> dashkal: but if your config generates an answer in /etc, that answer will always match your current state
<ThatGuy> astk: nix, the first line of default.nix should have parameters for function
<dashkal> Hence wanting to just ask the system what the value for that key is on the current configuration.
<dashkal> Not the file itself, but the current active profile
<clever> dashkal: nixos doesnt keep the configuration.nix around after it builds
<clever> dashkal: so you need to either look for the side-effects that hardware.bumblebee.enable causes, or just make your own side-effect that is obvious (the above example)
<kvda> jackdk and this is the new package that i'm trying to consume http://dpaste.com/20EKDFW
<kvda> I've done this before with another package but forgot how to do it
<dashkal> Alright, sad panda, but so be it. I'll just probe for GLX visuals and check that way.
<dashkal> If I have to parse things, I might as well parse authorative things.
<clever> dashkal: you could also just make a shell script, that does the right thing, and choose which shell script to install, based on hardware.bumblebee.enable
<clever> then you have 2 different scripts, that both do basically the same thing, and nixos installs the right one
erictapen has quit [Ping timeout: 265 seconds]
<dashkal> I don't even begin to know how to do that.
<clever> dashkal: what command do you need to run when bumblebee is active?
<kvda> clever do you happen to know how to 'link' a package built in local nixpkgs to a shell.nix file in another project? I've managed to build that package http://dpaste.com/20EKDFW but want to test it before opening a PR
<clever> kvda: you need to build it with nix-build, thats the only way that another package can then depend on it
<kvda> clever it is built, in nixpgs git directory
Rusty1 has joined #nixos
<clever> kvda: then you can just add it to the buildInputs of anything else within that nixpkgs dir, and it should just work like any other package
gkmngrgn has quit [Ping timeout: 265 seconds]
<kvda> Did try this, as suggested by jackdk, nix-shell --arg nixpkgs 'import /Projects/nixpkgs {}'
<kvda> clever i need it out be outside of the nixpkgs dir though
<kvda> essentially i want to use local nixpkgs elsewhere
<dashkal> clever: optirun xmonad vs xmonad.
CMCDragonkai1 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Profpatsch merged pull request #68471 → bazel-remote: 2019-01-12 -> 2020-01-29 → https://git.io/JemnS
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @uri-canva to master « bazel-remote: 2019-01-12 -> 2020-01-29 »: https://git.io/JvGOV
<dashkal> It may end up more subtle than that. I might wrap some specific things in it, but the point is I need to be able to do the conditional.
<clever> dashkal: save that file to /etc/nixos, and add ./module.nix to the imports list, then do a nixos-rebuild switch, and `cat /etc/whatever`
<dashkal> Gotcha. Much appreciated.
<dashkal> Once I have one of those, I can wrap specifically what needs to be under optirun and just invoke that.
<dashkal> I'll need to iterate of course. Thanks again. Unblocked for now :)
<clever> dashkal: yeah, you could probably just delete the word xmonad from both scripts, then script2 will do nothing, and script1 will prefix it
<dashkal> More or less what I was going to do. An optimaybe script.
<dashkal> I'm not even sure invoking xmonad under optirun is transitive. But it wouldn't matter that much if it isn't. I can wrap at whatever level I need to.
<clever> dashkal: you could also change it to be in systemPackages, one sec...
johann_ has quit [Quit: leaving]
<clever> dashkal: gist updated, it will now give you a `whatever` command, that is in the default $PATH
<clever> rename as needed
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvGOo
<dashkal> Got it. Next up, reading every bit of documentation I can around these bits. I'll climb this learning cliff yet.
* clever heads off to bed
<kvda> see you clever, thanks for your help
<kvda> nix-env -i /nix/store/mrg8mpdb8q00r61xwdnm296h28csa9j6-awscli-session-manager-1.1.54.0 worked
astk has quit [Ping timeout: 260 seconds]
<kvda> Now the question is how do paths work in Nix
<clever> kvda: nix-env -i adds it to ~/.nix-profile
<clever> kvda: youll find it in ~/.nix-profile/bin/
<kvda> I've also used 'addToSearchPath _PATH $out/bin' in installPhase
<kvda> oh so it's just my terminal that needs to be restarted for it to become available
<kvda> All working! thanks again clever and jackdk
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @nikuda opened pull request #79195 → Add AWS cli session manager plugin v1.1.54.0 → https://git.io/JvGOj
<{^_^}> #79195 (by nikuda, 26 seconds ago, open): Add AWS cli session manager plugin v1.1.54.0
<kvda> I will add linux version in a follow up
judson has quit [Ping timeout: 272 seconds]
astk has joined #nixos
astk45 has joined #nixos
slack1256 has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
werner291 has quit [Quit: werner291]
bvdw has joined #nixos
astk has quit [Ping timeout: 260 seconds]
astk45 has quit [Ping timeout: 260 seconds]
jluttine has quit [Ping timeout: 265 seconds]
slack1256 has joined #nixos
<xavierzwirtz[m]> anyone working on a paket2nix, or dotnet core mkDerivation?
jluttine has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
kvda has quit [Client Quit]
thongpv87 has left #nixos [#nixos]
<{^_^}> [nixpkgs] @eadwu opened pull request #79196 → vscode-extensions: 2020.02.03 → https://git.io/JvG3a
<{^_^}> [nixpkgs] @eadwu opened pull request #79197 → nvidia_x11: 440.44 -> 440.59 → https://git.io/JvG3V
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
wiml has quit [Quit: wiml]
h0m1 has quit [Ping timeout: 272 seconds]
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #79198 → e2fsprogs: 1.45.4 -> 1.45.5 → https://git.io/JvGsl
kenjis1 has quit [Ping timeout: 265 seconds]
Baughn has joined #nixos
slack1256 has quit [Remote host closed the connection]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @zowoq opened pull request #79199 → gitAndTools.gh: init at 0.5.3 → https://git.io/JvGsr
tpanum has quit [Read error: Connection reset by peer]
kvda has joined #nixos
wiml has joined #nixos
tpanum has joined #nixos
bhipple has joined #nixos
wiml has quit [Quit: wiml]
<{^_^}> [nixpkgs] @marsam opened pull request #79200 → flexget: 3.1.13 -> 3.1.18 → https://git.io/JvGsF
lovesegfault has joined #nixos
dansho has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @marsam opened pull request #79201 → syncthing: 1.3.3 -> 1.3.4 → https://git.io/JvGsN
iyzsong has joined #nixos
bhipple has quit [Ping timeout: 268 seconds]
drakonis has quit [Read error: Connection reset by peer]
bhipple has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #79045 → graylog: 3.1.4 -> 3.2.0 → https://git.io/Jv3hW
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvGGt
das_j has quit [Remote host closed the connection]
ajs124 has quit [Remote host closed the connection]
Scriptkiddi has quit [Remote host closed the connection]
das_j has joined #nixos
ajs124 has joined #nixos
Scriptkiddi has joined #nixos
kvda has quit [Ping timeout: 265 seconds]
kvda has joined #nixos
<{^_^}> [mobile-nixos] @samueldr merged pull request #66 → Completely bespoke stage-1 init, shell-free → https://git.io/JeFMt
<{^_^}> [mobile-nixos] @samueldr pushed 159 commits to master: https://git.io/JvGGy
felixfoertsch has joined #nixos
felixfoertsch23 has quit [Ping timeout: 260 seconds]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
captn3m0 has quit [Ping timeout: 260 seconds]
Supersonic has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #79197 → nvidia_x11: 440.44 -> 440.59 → https://git.io/JvG3V
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JvGZT
lovesegfault has quit [Ping timeout: 265 seconds]
lovesegfault has joined #nixos
<xavierzwirtz[m]> Is it possible to use the output from sha256sum for a file to refer to that file in nix? Or does it have to be wrapped up in the nix store before you can compute its hash
<bhipple> xavierzwirtz[m]: you're better off doing `nix-hash --type sha256 --base32 --flat <file>`
<bhipple> just to make sure you're using the same tools
<bhipple> However, these do return the same thing (sha256sum is base16 encoded by default tho)
<xavierzwirtz[m]> I think I found the section in the documentation that tells me how to do what I am trying to do: https://nixos.org/nixos/nix-pills/nix-store-paths.html
<bhipple> https://i.imgur.com/aAvi5vi.jpg for example
<xavierzwirtz[m]> bhipple: thanks, adding --flat makes it all make sense
domogled has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #79199 → gitAndTools.gh: init at 0.5.3 → https://git.io/JvGsr
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvGZW
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
iqubic has quit [Ping timeout: 245 seconds]
jat has joined #nixos
jat has quit [Remote host closed the connection]
orivej has joined #nixos
chagra_ has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.7]
ddellacosta has joined #nixos
foonicorn has quit [Ping timeout: 265 seconds]
chagra has quit [Ping timeout: 260 seconds]
foonicorn has joined #nixos
Arahael has quit [Ping timeout: 252 seconds]
ddellacosta has quit [Ping timeout: 265 seconds]
ddellacosta has joined #nixos
ThatGuy has quit [Remote host closed the connection]
bhipple has quit [Remote host closed the connection]
Arahael has joined #nixos
justan0theruser is now known as justanotheruser
<{^_^}> [nixpkgs] @veprbl pushed commit from @andersk to release-19.09 « openafs_1_8: 1.8.3 -> 1.8.5 (#75104) »: https://git.io/JvGZb
<{^_^}> [nixpkgs] @veprbl opened pull request #79202 → pythonPackages.hglib: fix tests → https://git.io/JvGZj
gagbo has joined #nixos
ddellacosta has quit [Ping timeout: 265 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
mir100 has quit [Ping timeout: 265 seconds]
mir100 has joined #nixos
abrar has quit [Ping timeout: 248 seconds]
abrar has joined #nixos
domogled has joined #nixos
monadplus has joined #nixos
thongpv87 has joined #nixos
palo1 has joined #nixos
endformationage has quit [Ping timeout: 240 seconds]
<jackdk> is there an easy way to overlay single files in a directory? I'm trying to construct a dir that contains an unpacked package from hackage (tarball) plus some updated metadata files that haven't hit all-cabal-hashes yet
<jackdk> I have tried symlinkJoin but that's no good as my fetchurl to get the updated cabal file isn't a directory
palo1 is now known as palo
zupo has joined #nixos
captn3m0 has joined #nixos
zupo has quit [Ping timeout: 268 seconds]
zupo has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karantan has joined #nixos
rsoeldner_ has quit [Ping timeout: 265 seconds]
noudle has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dansho has quit [Remote host closed the connection]
iqubic has joined #nixos
dansho has joined #nixos
Chiliparrot has joined #nixos
civodul has quit [Ping timeout: 252 seconds]
hyper_ch2 has joined #nixos
Soo_Slow has joined #nixos
<{^_^}> [nixos-org-configurations] @tilpner opened pull request #99 → delft/eris: drop alerts with severity!='page', ignore stuck channels → https://git.io/JvGC4
m0rphism has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @cw789 opened pull request #79203 → beamPackages.hex: 0.20.1 -> 0.20.4 → https://git.io/JvGCx
dansho_ has joined #nixos
vesper11 has quit [Ping timeout: 265 seconds]
dansho has quit [Ping timeout: 260 seconds]
vesper11 has joined #nixos
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #79200 → flexget: 3.1.13 -> 3.1.18 → https://git.io/JvGsF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvGWD
zupo has joined #nixos
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #79201 → syncthing: 1.3.3 -> 1.3.4 → https://git.io/JvGsN
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvGWx
chenhq2005 has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
gxt has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @thefloweringash closed pull request #77103 → makeKernelHeaders: expose via passthru, support kernel 5.3 and newer → https://git.io/JejVQ
v88m has quit [Read error: Connection reset by peer]
lsix has joined #nixos
knupfer has joined #nixos
civodul has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chenhq2005 has quit [Ping timeout: 260 seconds]
four has joined #nixos
Tucky has joined #nixos
Makaveli7 has joined #nixos
<eyJhb> What is the correct way to nix-shell unstable channel?
<four> Hello, what is the easiest route to go to be able to install something that's not in nixpkgs? I have a binary right now, is there any way to run this without needing to write a whole nix expression to install it?
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
dansho_ has quit [Quit: Leaving]
<tilpner> four: Try steam-run on it
__monty__ has joined #nixos
v88m has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @vbgl merged pull request #78771 → ocamlPackages.lwt4: 4.4.0 → 4.5.0 → https://git.io/JvYdA
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.lwt4: 4.4.0 → 4.5.0 »: https://git.io/JvGlV
Chiliparrot has joined #nixos
logzet has joined #nixos
smatting has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #79103 → pueue: init at 0.1.4 → https://git.io/JvsBq
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvGly
<tilpner> eyJhb: nix-shell -I nixpkgs=channel:nixos-unstable -p hello
<Aleksejs> hello, if I use build-vm, is there an option to put some file somewhere in it? I need to have an openVPN config file on my VM
<{^_^}> [nix] @edolstra merged pull request #3344 → ssh-store: add remote-store and remote-program query params → https://git.io/JvGIQ
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JvGlb
<tilpner> Aleksejs: Easiest option is environment.etc."foo".source = ./your_config;
gkmngrgn has joined #nixos
<tilpner> Note that this will copy your_config into the world-readable store
<{^_^}> [nixpkgs] @vbgl opened pull request #79205 → ocamlPackages.reason: 3.5.1 → 3.5.4 → https://git.io/JvGlx
chenhq2005 has joined #nixos
Sigma has quit [Ping timeout: 268 seconds]
chagra_ has quit [Quit: WeeChat 2.6]
anohigisavay has joined #nixos
chagra has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kleisli has quit [Ping timeout: 268 seconds]
lukash|away is now known as lukash
arjen-jonathan has joined #nixos
karantan has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.7]
<four> Anyone use yarn2nix before? I keep getting errors with electron not getting installed properly. I'm trying to use it to install an app, since npm and normal yarn don't work i guess.
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ma27[m]> don't know the details, but IIRC electron has some postInstall magic that isn't run by yarn2nix. And why wouldn't npm/yarn not work?
fendor has joined #nixos
thc202 has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<manveru> because it downloads a binary for electron, which needs to be patched
nikivi has joined #nixos
ramses_27 has joined #nixos
<manveru> take a look at packages depending on electron in nixpkgs, there are some ways around this
karetsu has joined #nixos
<Shoubit> four, what do you mean by Electron not getting installed properly?
<Shoubit> As a package.json dependency?
<four> Yes, first I tried using npm to install and run the app, but I ran into an error regarding run-electron. I then tried using yarn2nix to create a nix expression to build the app, but executing the binary that results immediately crashes, saying electron was not installed properly and to delete node_modules/electron and reinstall.
<Shoubit> four, during `patchPhase` I would try to remove NPM's dependency on Electron and use a Nix provided Electron if possible.
<{^_^}> [nixpkgs] @Frostman opened pull request #79206 → hugo: 0.63.2 -> 0.64.0 → https://git.io/JvG8S
Makaveli7 has joined #nixos
<four> Shoubit: what is `patchPhase`? I'll try to figure it out but not great with nix yet.
chloekek has joined #nixos
chenhq2005_ has joined #nixos
<four> cool, thanks i'll take a look
<Shoubit> You can run arbitrary shell commands (w/o network access) during these phases and do things like delete lines in a package.json. I _think_ you can just pass in a `prePatch = '' my commands '';` but it may require its own attribute
Soo_Slow has quit [Quit: Soo_Slow]
<Shoubit> Unfortunately in my experience with yarn2nix your best bet is to just read its source code and look at what attributes it takes in its function argument and what it does to them
<anohigisavay> hi! how should i install python3 with a set of packages? i followed the guide here with the environment.systemPackages approach: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md
bahamas has joined #nixos
<anohigisavay> but i got this error: The option value `environment.systemPackages.[definition 1-entry 34]' in `/etc/nixos/packages.nix' is not of type `package'.
<srhb> anohigisavay: Usually that's missing parantheses. What did you actually type into systemPackages?
chenhq2005 has quit [Ping timeout: 260 seconds]
<anohigisavay> let me put it on a pastebin
<infinisil> anohigisavay: (Spaces are list separators)
<bahamas> hello. I've added a package to nixpkgs with an override in `config`. but that package is not available in python37.withPackages. is there a difference between python37Packages and python37.withPackages?
four has quit [Quit: WeeChat 2.7]
hyper_ch2 has quit [Remote host closed the connection]
<anohigisavay> srhb: infinisil packageOverrides seems to work. but i
sigmundv has joined #nixos
<anohigisavay> though i haven't finished rebuild with packageOverrides, and i'm not sure what's a better approach
<infinisil> anohigisavay: i guess you don't have a space there, but
hyper_ch2 has joined #nixos
<infinisil> > :p [ python3.withPackages(p: []) ]
<{^_^}> [ <LAMBDA> <LAMBDA> ]
<infinisil> anohigisavay: This is two list elements
<anohigisavay> infinisil: wow!
<anohigisavay> infinisil: _(:з」∠)_
<anohigisavay> at first i didn't get why there's an extra pair of parentheses_(:з」∠)_
<anohigisavay> thank you infinisil and srhb
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karantan has joined #nixos
zupo has joined #nixos
<bahamas> I have this setup: https://bpaste.net/BPWA. if I just use `bull` instead of `pkgs."${pyVersion}Packages".bull`, nix complains that bull is undefined. why?
Makaveli7 has quit [Ping timeout: 265 seconds]
plutes has quit [Remote host closed the connection]
plutes has joined #nixos
aveltras has joined #nixos
Sigma has joined #nixos
arjen-jonathan has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @babariviere opened pull request #79208 → insomnia: 7.0.5 -> 7.0.6 → https://git.io/JvG4a
<{^_^}> [nixpkgs] @jpgu-epam opened pull request #79209 → tempita: fix broken repo → https://git.io/JvG4V
<{^_^}> [nixpkgs] @petabyteboy merged pull request #79172 → qutebrowser: 1.9.0 -> 1.10.0 → https://git.io/JvGfx
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @rnhmjoj to master « qutebrowser: 1.9.0 -> 1.10.0 (#79172) »: https://git.io/JvG4r
<tilpner> bahamas: Because you didn't define a top-level bull, or pkgs.bull
orivej has joined #nixos
Makaveli7 has joined #nixos
arjen-jonathan has joined #nixos
<tilpner> You could do either of those with bull = pkgs.${pyVersion}.pkgs.bull; between 11-12 and 15-16, respectively
alexherbo2 has joined #nixos
<tilpner> That assignment can also be written as inherit (pkgs.${pyVersion}.pkgs) bull;
<tilpner> (Swap the line-ranges, the respectively is the wrong way around)
alex`` has joined #nixos
oida has joined #nixos
<pie_[bnc]> anyone know how to increase the nixos-container start timeout?
<oida> ^ timeoutStartSec
knupfer has quit [Ping timeout: 265 seconds]
<bahamas> tilpner: I'm confused. doesn't python37.withPackages pass python37Packages as argument to the function you use to specify the packages?
cust0dian has joined #nixos
<pie_[bnc]> clever: help im dumb and cant get my port to be open again https://bpaste.net/ARDA
<pie_[bnc]> oida: thanks ill look into that
<pie_[bnc]> clever: its open in the container but nmap -sS 10.250.0.7 -sS -p 80
<pie_[bnc]> shows closed
o1lo01ol1o has joined #nixos
captn3m0 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #79206 → hugo: 0.63.2 -> 0.64.0 → https://git.io/JvG8S
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvGBY
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<pie_[bnc]> tcpdump -i eth0 -p sees nothing in the container
<pie_[bnc]> ugh i think i got my ip addresses backwards
pbb has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pie_[bnc]> yeah ok there we go...
<tilpner> bahamas: It probably passes python37.pkgs, but that should be equivalent or identical
psyanticy has joined #nixos
arjen-jonathan has quit [Ping timeout: 265 seconds]
lstanley has quit [Quit: Connection closed for inactivity]
_0mp has left #nixos [#nixos]
<pie_[bnc]> clever: i got it to work, accidentally swapped the host and container ips
<{^_^}> [nixos-homepage] @edolstra pushed 19 commits to flake: https://git.io/JvGBg
karetsu_ has joined #nixos
karetsu_ has quit [Client Quit]
karetsu has quit [Quit: WeeChat 2.6]
Mic92 has quit [Quit: WeeChat 2.6]
Mic92 has joined #nixos
worldofpeace has quit [*.net *.split]
tomberek[m] has quit [*.net *.split]
fabiomen10[m] has quit [*.net *.split]
PlayfulCuriosity has quit [*.net *.split]
psiperator[m] has quit [*.net *.split]
rihardsk[m] has quit [*.net *.split]
the_pumpkin_man[ has quit [*.net *.split]
eeyun[m] has quit [*.net *.split]
alan[m]1 has quit [*.net *.split]
Victor[m]2 has quit [*.net *.split]
ilya-fedin has quit [*.net *.split]
arcnmx has quit [*.net *.split]
gsals[m] has quit [*.net *.split]
sylvie[m] has quit [*.net *.split]
goibhniu has quit [*.net *.split]
haslersn has quit [*.net *.split]
jtojnar has quit [*.net *.split]
Ericson2314 has quit [*.net *.split]
cocreature has quit [*.net *.split]
Makaveli7 has quit [*.net *.split]
alex`` has quit [*.net *.split]
logzet has quit [*.net *.split]
gkmngrgn has quit [*.net *.split]
Chiliparrot has quit [*.net *.split]
fendor has quit [*.net *.split]
__monty__ has quit [*.net *.split]
nikivi has quit [*.net *.split]
chenhq2005_ has quit [*.net *.split]
Jackneill has quit [*.net *.split]
Arahael has quit [*.net *.split]
abrar has quit [*.net *.split]
shah^ has quit [*.net *.split]
dingenskirchen has quit [*.net *.split]
agb has quit [*.net *.split]
Baughn has quit [*.net *.split]
adamtkh has quit [*.net *.split]
benedikt93 has quit [*.net *.split]
andi- has quit [*.net *.split]
jmeredith has quit [*.net *.split]
rauno has quit [*.net *.split]
justanotheruser has quit [*.net *.split]
delan has quit [*.net *.split]
vdemeester has quit [*.net *.split]
ctp has quit [*.net *.split]
aristid has quit [*.net *.split]
philipcristiano has quit [*.net *.split]
alanz has quit [*.net *.split]
deepchange[m] has quit [*.net *.split]
etrepum has quit [*.net *.split]
teozkr has quit [*.net *.split]
tabasko has quit [*.net *.split]
magnetophon has quit [*.net *.split]
pittma has quit [*.net *.split]
hamishmack has quit [*.net *.split]
acarrico has quit [*.net *.split]
sgraf has quit [*.net *.split]
raboof has quit [*.net *.split]
eddyb[legacy] has quit [*.net *.split]
scott has quit [*.net *.split]
kapil_ has quit [*.net *.split]
thoughtpolice has quit [*.net *.split]
dmj` has quit [*.net *.split]
SyrupThinker has quit [*.net *.split]
Emantor has quit [*.net *.split]
fuzen has quit [*.net *.split]
eyenx has quit [*.net *.split]
dminuoso has quit [*.net *.split]
srk has quit [*.net *.split]
mrus has quit [*.net *.split]
efriend has quit [*.net *.split]
nornagon has quit [*.net *.split]
moredhel has quit [*.net *.split]
rprospero has quit [*.net *.split]
hyperfekt has quit [*.net *.split]
Rovanion has quit [*.net *.split]
civodul has quit [*.net *.split]
anohigisavay has quit [*.net *.split]
aveltras has quit [*.net *.split]
Dagger has quit [*.net *.split]
zaeph has quit [*.net *.split]
Tritlo has quit [*.net *.split]
nand0p_ has quit [*.net *.split]
hexagoxel has quit [*.net *.split]
rembo10 has quit [*.net *.split]
ardumont has quit [*.net *.split]
CustosLimen has quit [*.net *.split]
dozn has quit [*.net *.split]
jfhbrook has quit [*.net *.split]
d1rewolf has quit [*.net *.split]
lightbulbjim has quit [*.net *.split]
danguita has quit [*.net *.split]
siiky has quit [*.net *.split]
index-0[m] has quit [*.net *.split]
malSet has quit [*.net *.split]
{^_^} has quit [*.net *.split]
kyren has quit [*.net *.split]
mudrii[m] has quit [*.net *.split]
petersjt014[m] has quit [*.net *.split]
test53453535[m] has quit [*.net *.split]
teuffil[m] has quit [*.net *.split]
wildtrees[m] has quit [*.net *.split]
grahamc[m] has quit [*.net *.split]
acowley[m] has quit [*.net *.split]
alienpirate5 has quit [*.net *.split]
pingveno[m] has quit [*.net *.split]
li_matrix has quit [*.net *.split]
boturl4r[m] has quit [*.net *.split]
grin[m] has quit [*.net *.split]
pentadyne[m] has quit [*.net *.split]
Irenes[m] has quit [*.net *.split]
ZerataX has quit [*.net *.split]
nolan_d has quit [*.net *.split]
emily has quit [*.net *.split]
blitzclone_ has quit [*.net *.split]
siraben has quit [*.net *.split]
schmittlauch[m] has quit [*.net *.split]
mt[m] has quit [*.net *.split]
flacks_ has quit [*.net *.split]
contrun[m] has quit [*.net *.split]
abbradar[m] has quit [*.net *.split]
florianjacob has quit [*.net *.split]
mkg20001 has quit [*.net *.split]
leons has quit [*.net *.split]
NoblesseOblige24 has quit [*.net *.split]
KennosiS has quit [*.net *.split]
fpletz has quit [*.net *.split]
GlennS has quit [*.net *.split]
PyroLagus has quit [*.net *.split]
siel has quit [*.net *.split]
flokli has quit [*.net *.split]
betaboon has quit [*.net *.split]
inkOne__ has quit [*.net *.split]
aranea has quit [*.net *.split]
sigwinch28 has quit [*.net *.split]
f0x2 has quit [*.net *.split]
rotaerk has quit [*.net *.split]
smj has quit [*.net *.split]
heinrich5991 has quit [*.net *.split]
djanatyn_ has quit [*.net *.split]
abbe has quit [*.net *.split]
psyanticy has quit [*.net *.split]
pbb has quit [*.net *.split]
mdash has quit [*.net *.split]
sigmundv has quit [*.net *.split]
monadplus has quit [*.net *.split]
noudle has quit [*.net *.split]
iyzsong has quit [*.net *.split]
felixfoertsch has quit [*.net *.split]
aw has quit [*.net *.split]
spacefrogg has quit [*.net *.split]
notgne2 has quit [*.net *.split]
shafox has quit [*.net *.split]
Kritnich has quit [*.net *.split]
stzsch has quit [*.net *.split]
sorear has quit [*.net *.split]
savanni has quit [*.net *.split]
misuzu has quit [*.net *.split]
tokudan has quit [*.net *.split]
steveeJ has quit [*.net *.split]
dckc has quit [*.net *.split]
mpickering has quit [*.net *.split]
sethetter_ has quit [*.net *.split]
chrisaw has quit [*.net *.split]
ehmry has quit [*.net *.split]
andersk has quit [*.net *.split]
mingc has quit [*.net *.split]
torque has quit [*.net *.split]
thonkpod has quit [*.net *.split]
JohnAZoidberg has quit [*.net *.split]
talyz has quit [*.net *.split]
chin-tastic has quit [*.net *.split]
mzan has quit [*.net *.split]
Hunterkll has quit [*.net *.split]
aminechikhaoui has quit [*.net *.split]
genesis has quit [*.net *.split]
mumuluxi has quit [*.net *.split]
myme has quit [*.net *.split]
johanot has quit [*.net *.split]
johs has quit [*.net *.split]
marcinkuzminski has quit [*.net *.split]
lirzhv has quit [*.net *.split]
gausby_ has quit [*.net *.split]
kwork has quit [*.net *.split]
megfault has quit [*.net *.split]
fpob has quit [*.net *.split]
Fulgen has quit [*.net *.split]
ZeDestructor has quit [*.net *.split]
fadenb has quit [*.net *.split]
nixy has quit [*.net *.split]
craige has quit [*.net *.split]
bastion-tester has quit [*.net *.split]
bitonic has quit [*.net *.split]
jchw has quit [*.net *.split]
jjakob has quit [*.net *.split]
pkral has quit [*.net *.split]
tg has quit [*.net *.split]
michaelpj has quit [*.net *.split]
ikwildrpepper has quit [*.net *.split]
zemm has quit [*.net *.split]
mtjmullen has quit [*.net *.split]
haruko[m] has quit [*.net *.split]
smollcato has quit [*.net *.split]
layus[m] has quit [*.net *.split]
hexa- has quit [*.net *.split]
deni has quit [*.net *.split]
multun has quit [*.net *.split]
qyliss has quit [*.net *.split]
afics has quit [*.net *.split]
pareidolia has quit [*.net *.split]
fre2 has quit [*.net *.split]
janneke has quit [*.net *.split]
cyraxjoe has quit [*.net *.split]
orcus has quit [*.net *.split]
devalot has quit [*.net *.split]
snajpa has quit [*.net *.split]
victorbjelkholm_ has quit [*.net *.split]
infinisil has quit [*.net *.split]
puck has quit [*.net *.split]
Adluc has quit [*.net *.split]
hexo_ has quit [*.net *.split]
NinjaTrappeur has quit [*.net *.split]
aria has quit [*.net *.split]
c00w has quit [*.net *.split]
crusader1 has quit [*.net *.split]
ashkitten has quit [*.net *.split]
inferencerules_ has quit [*.net *.split]
sevanspowell has quit [*.net *.split]
CRTified has quit [*.net *.split]
nadley has quit [*.net *.split]
tazjin has quit [*.net *.split]
d10n-work has quit [*.net *.split]
techtangents has quit [*.net *.split]
hoek has quit [*.net *.split]
pointfree has quit [*.net *.split]
jeregrine has quit [*.net *.split]
coot has quit [*.net *.split]
oharvey has quit [*.net *.split]
ok2` has quit [*.net *.split]
ambroisie has quit [*.net *.split]
averell has quit [*.net *.split]
v88m has quit [Write error: Connection reset by peer]
bahamas has quit [Ping timeout: 265 seconds]
v88m has joined #nixos
alex` has joined #nixos
alex` is now known as Guest34893
Guest34893 is now known as alex``
captn3m0 has joined #nixos
kreisys has quit [Ping timeout: 240 seconds]
ericnoan has quit [Ping timeout: 268 seconds]
azazel has quit [Ping timeout: 268 seconds]
shah^ has joined #nixos
iz16 has quit [*.net *.split]
imj[m] has quit [*.net *.split]
sputny[m] has quit [*.net *.split]
xavierzwirtz[m] has quit [*.net *.split]
p-h[m] has quit [*.net *.split]
hr[m] has quit [*.net *.split]
sreybastien[m] has quit [*.net *.split]
Dave[m]5 has quit [*.net *.split]
dyon[m] has quit [*.net *.split]
Nyanloutre[m] has quit [*.net *.split]
WillW has quit [*.net *.split]
chris| has quit [*.net *.split]
ma27[m] has quit [*.net *.split]
kaychaks[m] has quit [*.net *.split]
Gaz[m]1 has quit [*.net *.split]
wangoe[m] has quit [*.net *.split]
david-sawatzke[m has quit [*.net *.split]
thefloweringash has quit [*.net *.split]
Noughtmare[m] has quit [*.net *.split]
veleiro has quit [*.net *.split]
musicmatze has quit [*.net *.split]
MerlinGttlinger[ has quit [*.net *.split]
wak-work has quit [*.net *.split]
tg has joined #nixos
shah^ has quit [Excess Flood]
v88m has quit [Read error: Connection reset by peer]
_cyril_ has quit [Ping timeout: 240 seconds]
aveltras has joined #nixos
anohigisavay has joined #nixos
zaeph has joined #nixos
sigwinch28 has joined #nixos
index-0[m] has joined #nixos
emily has joined #nixos
civodul has joined #nixos
rembo10 has joined #nixos
PyroLagus has joined #nixos
danguita has joined #nixos
dozn has joined #nixos
GlennS has joined #nixos
siiky has joined #nixos
grin[m] has joined #nixos
fpletz has joined #nixos
inkOne__ has joined #nixos
siel has joined #nixos
malSet has joined #nixos
alienpirate5 has joined #nixos
NoblesseOblige24 has joined #nixos
schmittlauch[m] has joined #nixos
kyren has joined #nixos
betaboon has joined #nixos
KennosiS has joined #nixos
Irenes[m] has joined #nixos
leons has joined #nixos
flokli has joined #nixos
nolan_d has joined #nixos
CustosLimen has joined #nixos
test53453535[m] has joined #nixos
grahamc[m] has joined #nixos
wildtrees[m] has joined #nixos
siraben has joined #nixos
pentadyne[m] has joined #nixos
mdash has joined #nixos
djanatyn_ has joined #nixos
teuffil[m] has joined #nixos
f0x2 has joined #nixos
boturl4r[m] has joined #nixos
mkg20001 has joined #nixos
aranea has joined #nixos
mt[m] has joined #nixos
smj has joined #nixos
hexagoxel has joined #nixos
Dagger has joined #nixos
abbradar[m] has joined #nixos
nand0p_ has joined #nixos
ZerataX has joined #nixos
petersjt014[m] has joined #nixos
li_matrix has joined #nixos
{^_^} has joined #nixos
rotaerk has joined #nixos
florianjacob has joined #nixos
heinrich5991 has joined #nixos
Tritlo has joined #nixos
blitzclone_ has joined #nixos
pingveno[m] has joined #nixos
acowley[m] has joined #nixos
lightbulbjim has joined #nixos
mudrii[m] has joined #nixos
ardumont has joined #nixos
d1rewolf has joined #nixos
abbe has joined #nixos
jfhbrook has joined #nixos
shah^ has joined #nixos
PlayfulCuriosity has joined #nixos
tomberek[m] has joined #nixos
worldofpeace has joined #nixos
haslersn has joined #nixos
fabiomen10[m] has joined #nixos
rihardsk[m] has joined #nixos
ilya-fedin has joined #nixos
psiperator[m] has joined #nixos
jtojnar has joined #nixos
sylvie[m] has joined #nixos
the_pumpkin_man[ has joined #nixos
gsals[m] has joined #nixos
eeyun[m] has joined #nixos
goibhniu has joined #nixos
Victor[m]2 has joined #nixos
alan[m]1 has joined #nixos
arcnmx has joined #nixos
Ericson2314 has joined #nixos
cocreature has joined #nixos
chagra has quit [*.net *.split]
chloekek has quit [*.net *.split]
vesper11 has quit [*.net *.split]
domogled has quit [*.net *.split]
Mateon1 has quit [*.net *.split]
gagbo has quit [*.net *.split]
wolfshappen has quit [*.net *.split]
Shoubit has quit [*.net *.split]
locallycompact has quit [*.net *.split]
boegel has quit [*.net *.split]
makefu has quit [*.net *.split]
tilpner has quit [*.net *.split]
tjg1 has quit [*.net *.split]
Izorkin has quit [*.net *.split]
shabius_ has quit [*.net *.split]
Unode has quit [*.net *.split]
ToxicFrog has quit [*.net *.split]
mmlb has quit [*.net *.split]
emacsomancer has quit [*.net *.split]
jtcs has quit [*.net *.split]
tv has quit [*.net *.split]
chiefgoat has quit [*.net *.split]
arianvp has quit [*.net *.split]
markus1189 has quit [*.net *.split]
xantoz has quit [*.net *.split]
fleaz has quit [*.net *.split]
pepesza has quit [*.net *.split]
cjay- has quit [*.net *.split]
Shell has quit [*.net *.split]
CMCDragonkai has quit [*.net *.split]
puffnfresh has quit [*.net *.split]
valwal has quit [*.net *.split]
otti0815 has quit [*.net *.split]
cransom has quit [*.net *.split]
EsperLily has quit [*.net *.split]
nahamu has quit [*.net *.split]
mkaito- has quit [*.net *.split]
jaeckel has quit [*.net *.split]
Raito_Bezarius has quit [*.net *.split]
dooms has quit [*.net *.split]
lukash has quit [*.net *.split]
kcalvinalvin has quit [*.net *.split]
kriztw has quit [*.net *.split]
Aleksejs has quit [*.net *.split]
danderson has quit [*.net *.split]
xqsl has quit [*.net *.split]
edwtjo has quit [*.net *.split]
numerobis has quit [*.net *.split]
vuko has quit [*.net *.split]
rsa has quit [*.net *.split]
statusfailed has quit [*.net *.split]
minicom has quit [*.net *.split]
callahad870 has quit [*.net *.split]
lejonet has quit [*.net *.split]
garbas has quit [*.net *.split]
p01ar has quit [*.net *.split]
barrucadu has quit [*.net *.split]
hellrazo1 has quit [*.net *.split]
LnL has quit [*.net *.split]
meatcar has quit [*.net *.split]
Khetzal has quit [*.net *.split]
bridge[evilred] has quit [*.net *.split]
eeva has quit [*.net *.split]
alp has quit [*.net *.split]
duairc has quit [*.net *.split]
laerling has quit [*.net *.split]
sepi`` has quit [*.net *.split]
cross has quit [*.net *.split]
lohfu has quit [*.net *.split]
qz has quit [*.net *.split]
ekleog has quit [*.net *.split]
runciter has quit [*.net *.split]
c_wraith has quit [*.net *.split]
doublej472 has quit [*.net *.split]
evax has quit [*.net *.split]
woffs has quit [*.net *.split]
energizer has quit [*.net *.split]
CustosLimen has quit [Max SendQ exceeded]
d1rewolf has quit [Ping timeout: 254 seconds]
steveeJ has joined #nixos
lc has joined #nixos
averell has joined #nixos
ok2` has joined #nixos
meatcar_ has joined #nixos
p01ar_ has joined #nixos
averell has quit [Max SendQ exceeded]
sepi``` has joined #nixos
vuko_ has joined #nixos
puffnfresh_ has joined #nixos
statusfailed has joined #nixos
Khetzal has joined #nixos
alex`` has quit [Client Quit]
barrucadu has joined #nixos
alp- has joined #nixos
edwtjo has joined #nixos
danderso1 has joined #nixos
__monty__ has joined #nixos
Jackneill has joined #nixos
logzet has joined #nixos
Chiliparrot has joined #nixos
abrar has joined #nixos
fendor has joined #nixos
gkmngrgn has joined #nixos
dingenskirchen has joined #nixos
vdemeester has joined #nixos
Arahael has joined #nixos
tabasko has joined #nixos
magnetophon has joined #nixos
benedikt93 has joined #nixos
justanotheruser has joined #nixos
adamtkh has joined #nixos
ctp has joined #nixos
deepchange[m] has joined #nixos
delan has joined #nixos
chenhq2005_ has joined #nixos
teozkr has joined #nixos
hamishmack has joined #nixos
acarrico has joined #nixos
nikivi has joined #nixos
Makaveli7 has joined #nixos
etrepum has joined #nixos
rauno has joined #nixos
andi- has joined #nixos
Baughn has joined #nixos
jmeredith has joined #nixos
philipcristiano has joined #nixos
alanz has joined #nixos
agb has joined #nixos
pittma has joined #nixos
raboof has joined #nixos
scott has joined #nixos
aristid has joined #nixos
thoughtpolice has joined #nixos
sgraf has joined #nixos
SyrupThinker has joined #nixos
Emantor has joined #nixos
valwal has joined #nixos
evax has joined #nixos
meatcar_ is now known as meatcar
c_wraith has joined #nixos
chloekek has joined #nixos
jfhbrook has quit [Changing host]
jfhbrook has joined #nixos
moredhel has joined #nixos
rprospero has joined #nixos
efriend has joined #nixos
mrus has joined #nixos
nornagon has joined #nixos
dminuoso has joined #nixos
srk has joined #nixos
Rovanion has joined #nixos
fuzen has joined #nixos
eyenx has joined #nixos
hyperfekt has joined #nixos
bridge[evilred] has joined #nixos
ekleog has joined #nixos
steveeJ has joined #nixos
steveeJ has quit [Changing host]
alp- is now known as alp
ToxicFrog has joined #nixos
monadplus has joined #nixos
spacefrogg has joined #nixos
noudle has joined #nixos
aw has joined #nixos
sigmundv has joined #nixos
pbb has joined #nixos
stzsch has joined #nixos
felixfoertsch has joined #nixos
mumuluxi has joined #nixos
sethetter_ has joined #nixos
mingc has joined #nixos
notgne2 has joined #nixos
sorear has joined #nixos
genesis has joined #nixos
iyzsong has joined #nixos
Kritnich has joined #nixos
psyanticy has joined #nixos
savanni has joined #nixos
myme has joined #nixos
tokudan has joined #nixos
chin-tastic has joined #nixos
techtangents has joined #nixos
mzan has joined #nixos
fpob has joined #nixos
aria has joined #nixos
megfault has joined #nixos
devalot has joined #nixos
puck has joined #nixos
jeregrine has joined #nixos
marcinkuzminski has joined #nixos
ZeDestructor has joined #nixos
smollcato has joined #nixos
tazjin has joined #nixos
chrisaw has joined #nixos
inferencerules_ has joined #nixos
jchw has joined #nixos
hexo_ has joined #nixos
c00w has joined #nixos
craige has joined #nixos
fadenb has joined #nixos
zemm has joined #nixos
gausby_ has joined #nixos
lirzhv has joined #nixos
coot has joined #nixos
oharvey has joined #nixos
talyz has joined #nixos
victorbjelkholm_ has joined #nixos
thonkpod has joined #nixos
bitonic has joined #nixos
michaelpj has joined #nixos
multun has joined #nixos
orcus has joined #nixos
dckc has joined #nixos
infinisil has joined #nixos
andersk has joined #nixos
JohnAZoidberg has joined #nixos
nixy has joined #nixos
shafox has joined #nixos
nadley has joined #nixos
pareidolia has joined #nixos
pkral has joined #nixos
pointfree has joined #nixos
kwork has joined #nixos
janneke has joined #nixos
ashkitten has joined #nixos
snajpa has joined #nixos
ehmry has joined #nixos
qyliss has joined #nixos
sevanspowell has joined #nixos
aminechikhaoui has joined #nixos
afics has joined #nixos
mtjmullen has joined #nixos
hexa- has joined #nixos
jjakob has joined #nixos
cyraxjoe has joined #nixos
crusader1 has joined #nixos
mpickering has joined #nixos
deni has joined #nixos
ikwildrpepper has joined #nixos
johanot has joined #nixos
bastion-tester has joined #nixos
CRTified has joined #nixos
haruko[m] has joined #nixos
johs has joined #nixos
torque has joined #nixos
Adluc has joined #nixos
misuzu has joined #nixos
Hunterkll has joined #nixos
Fulgen has joined #nixos
layus[m] has joined #nixos
NinjaTrappeur has joined #nixos
fre2 has joined #nixos
ambroisie has joined #nixos
fleaz has joined #nixos
barrucadu has joined #nixos
barrucadu has quit [Changing host]
edwtjo has joined #nixos
edwtjo has quit [Changing host]
Aleksejs_Home has joined #nixos
gchristensen has joined #nixos
cransom has joined #nixos
<karantan> this value shouldn't be hardcode because it can/should be overwritten: https://nixos.org/nixos/options.html#services.wordpress (see documentRoot option)
Raito_Bezarius has joined #nixos
nahamu has joined #nixos
lukash has joined #nixos
eddyb[legacy] has joined #nixos
laerling has joined #nixos
justanotheruser has quit [Max SendQ exceeded]
Arahael has quit [Max SendQ exceeded]
arianvp has joined #nixos
numerobis has joined #nixos
alex`` has joined #nixos
qz has joined #nixos
garbas has joined #nixos
eddyb[legacy] has quit [Changing host]
eddyb[legacy] has joined #nixos
gchristensen is now known as Guest46376
laerling has joined #nixos
laerling has quit [Changing host]
smollcato has quit [Excess Flood]
meatcar has joined #nixos
meatcar has quit [Changing host]
valwal has joined #nixos
valwal has quit [Changing host]
lukash has joined #nixos
lukash has quit [Changing host]
eddyb[legacy] has joined #nixos
eddyb[legacy] has quit [Changing host]
emacsomancer has joined #nixos
ericnoan has joined #nixos
tjg1 has joined #nixos
Tritlo has quit [Ping timeout: 242 seconds]
nand0p_ has quit [Ping timeout: 242 seconds]
ericnoan has joined #nixos
ericnoan has quit [Changing host]
azazel has joined #nixos
noonien has quit [Ping timeout: 245 seconds]
lohfu has joined #nixos
jtcs has joined #nixos
mkaito_ has joined #nixos
garbas is now known as Guest17523
Unode has joined #nixos
Arahael has joined #nixos
makefu has joined #nixos
LnL has joined #nixos
boegel has joined #nixos
doublej472 has joined #nixos
cbarrett has quit [Ping timeout: 246 seconds]
rodarmor has quit [Ping timeout: 245 seconds]
nh2 has quit [Ping timeout: 245 seconds]
doublej472 has joined #nixos
doublej472 has quit [Changing host]
Unode has joined #nixos
Unode has quit [Changing host]
CustosLimen has joined #nixos
elvishjerricco has quit [Ping timeout: 246 seconds]
rizary_ has quit [Ping timeout: 246 seconds]
nlofaro has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
LnL is now known as Guest81886
Guest81886 has quit [Changing host]
Guest81886 has joined #nixos
<anohigisavay> hmm...
diamondman has quit [Ping timeout: 260 seconds]
hamishmack has quit [Ping timeout: 257 seconds]
ctp has quit [Ping timeout: 257 seconds]
sgraf has quit [Ping timeout: 257 seconds]
wolfshappen has joined #nixos
justanotheruser is now known as Guest46475
Shell has joined #nixos
wavirc22 has quit [Ping timeout: 268 seconds]
luigy_ has quit [Ping timeout: 268 seconds]
shabius has joined #nixos
pepesza has joined #nixos
sorear has quit [Ping timeout: 244 seconds]
johs has quit [Ping timeout: 244 seconds]
coot has quit [Ping timeout: 244 seconds]
bitonic has quit [Ping timeout: 244 seconds]
gagbo has joined #nixos
runciter has joined #nixos
averell has joined #nixos
chiefgoat has joined #nixos
r0bby has quit [Ping timeout: 245 seconds]
feepo has quit [Ping timeout: 245 seconds]
_cyril_ has joined #nixos
Guest81886 has quit [Client Quit]
<anohigisavay> how should i use virtualenvwrapper after installation?
otti0815 has joined #nixos
nh2 has joined #nixos
xqsl has joined #nixos
cbarrett has joined #nixos
luigy has joined #nixos
<anohigisavay> sourcing virtualenvwrapper.sh immediately kills the shell
nlofaro has joined #nixos
vesper11 has joined #nixos
Izorkin has joined #nixos
tv has joined #nixos
sorear has joined #nixos
sgraf has joined #nixos
ctp has joined #nixos
Mateon1 has joined #nixos
Tritlo has joined #nixos
diamondman has joined #nixos
scott has quit [Ping timeout: 265 seconds]
wavirc22 has joined #nixos
rodarmor has joined #nixos
feepo has joined #nixos
dmj` has joined #nixos
chrisaw has quit [Ping timeout: 272 seconds]
sethetter_ has quit [Ping timeout: 272 seconds]
kriztw has joined #nixos
markus1189 has joined #nixos
elvishjerricco has joined #nixos
rsa has joined #nixos
duairc has joined #nixos
nand0p_ has joined #nixos
cjay- has joined #nixos
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
dooms has joined #nixos
CMCDragonkai has joined #nixos
cross has joined #nixos
scott has joined #nixos
chrisaw has joined #nixos
rizary_ has joined #nixos
xantoz has joined #nixos
mpickering has quit [Ping timeout: 272 seconds]
mzan has joined #nixos
EsperLily has joined #nixos
noonien has joined #nixos
r0bby has joined #nixos
Aleksejs_Home has quit [Quit: Goodbye]
sethetter_ has joined #nixos
coot has joined #nixos
Aleksejs has joined #nixos
kreisys has joined #nixos
hamishmack has joined #nixos
chagra has joined #nixos
tazjin has quit [Ping timeout: 272 seconds]
d1rewolf has joined #nixos
johs has joined #nixos
d10n-work has joined #nixos
hoek has joined #nixos
tazjin has joined #nixos
mpickering has joined #nixos
hellrazo1 has joined #nixos
bitonic has joined #nixos
energizer has joined #nixos
domogled has joined #nixos
kcalvinalvin has joined #nixos
kapil_ has joined #nixos
v88m has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvGBQ
jaeckel has joined #nixos
<pie_[bnc]> anyone know how to get dns working in a container
cartwright has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos opened pull request #79212 → dmenu2, tdesktopPackages: Remove the deprecation messages → https://git.io/JvGBb
cartwright has joined #nixos
<{^_^}> [nixpkgs] @arnoldfarkas opened pull request #79213 → pythonPackages.superlance: init at 1.0.0 → https://git.io/JvGBA
karetsu has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
<pie_[bnc]> how do i even figure out what dns resolver is running
<__monty__> ,locate bin rga
<{^_^}> Found in packages: ripgrep-all
Raito_Bezarius has quit [Changing host]
Raito_Bezarius has joined #nixos
marek has joined #nixos
alex`` has quit [Quit: WeeChat 2.7]
alex` has joined #nixos
alex` is now known as Guest25912
Guest25912 is now known as alex``
<{^_^}> [nixpkgs] @arnoldfarkas opened pull request #79214 → pythonPackages.vertica-python: init at 0.10.2 → https://git.io/JvGRt
pbb_ has joined #nixos
<{^_^}> [nixpkgs] @arnoldfarkas opened pull request #79215 → pythonPackages.zstandard: init at 0.13.0 → https://git.io/JvGRY
mgdm has left #nixos ["WeeChat 1.9.1"]
pbb has quit [Ping timeout: 252 seconds]
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
<{^_^}> [nixos-hardware] @Mic92 merged pull request #114 → Initial 15-7590 → https://git.io/fj17t
<{^_^}> [nixos-hardware] @Mic92 pushed 7 commits to master: https://git.io/JvGRn
<karantan> what is the simplest approach of modifying e.g. https://github.com/NixOS/nixpkgs/blob/release-19.09/nixos/modules/services/web-apps/wordpress.nix locally
<karantan> and then maybe creating a PR if the changes make sense
<karantan> just copy & paste the .nix and edit it locally?
<{^_^}> [nixpkgs] @tomoyat1 opened pull request #79216 → telepresence: 0.101 -> 0.104 → https://git.io/JvGR8
<{^_^}> [nixpkgs] @mmahut opened pull request #79217 → dat: move from all-packages to aliases → https://git.io/JvGR4
<{^_^}> [nixos-hardware] @Mic92 pushed to master « README.md: link to dell xps 15-7590 »: https://git.io/JvGRB
<rajivr___> zimbatm: I just finished watching your NixOS friday around `direnv`. Thanks for doing it. I used to previously build by own docker containers and use `buildEnv` to build up the Nix based development environment that I needed inside Docker. Now I can just use `direnv` + `buildEnv` without Docker, which is really neat!
<pie_[bnc]> where does networking.nameservers and networking.useHostResolvConf get evaluated? :/
captn3m0 has quit [Ping timeout: 265 seconds]
<zimbatm> nice rajivr___, glad that it helped! :)
bahamas has quit [Ping timeout: 265 seconds]
arjen-jonathan has joined #nixos
<DigitalKiwi> karantan: git clone your fork of it and edit on a branch and then commit and push and do a pr https://nixos.org/nixpkgs/manual/#submitting-changes-submitting-changes (and above) has information
<karantan> but how do I test it first?
<pie_[bnc]> eyJhb: ok so nameservers is actually findable, i didnt find any instances of usehostresolvconf
<{^_^}> [nixos-hardware] @Mic92 pushed to master « xps-15-7590: convert wiki to markdown. »: https://git.io/JvGRD
<pie_[bnc]> also i set nameservers but my container isnt getting any entries like it in the resolv.conf ..
<pie_[bnc]> but maybe theres some kind of weird mutbability crap, guess i can try a more thorough rebuild
<DigitalKiwi> either in virtual machines or if it has built in tests or you can do nixos-rebuild -I nixpkgs=/path/to/your/nixpkgs test
<pie_[bnc]> yeah the container just has the same resolv.conf as the hst or something :(
<DigitalKiwi> karantan: 12:02:31 [kiwi@mvp-nixos nixpkgs]$ nix-build nixos/tests/wordpress.nix
gentauro has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-hardware] @Mic92 pushed to master « dell-xps-15-7590: fix README link »: https://git.io/JvGRy
<karantan> aha ok, thanks
gentauro has joined #nixos
<DigitalKiwi> whether that is sufficient or not depends on what you're changing
<{^_^}> [nixos-hardware] @Mic92 pushed to master « Revert "xps-15-7590: convert wiki to markdown." »: https://git.io/JvGRF
<pie_[bnc]> line 15 doesnt seem to do anything https://bpaste.net/3DJA
<DigitalKiwi> when i work on matomo i have a test that launches a virtual machine with QEMU options that let me port use an ssh port forwarding and actually install it >.>
<pie_[bnc]> eyJhb: i dont suppose you know how to figure out which resolver is being used
<eyJhb> pie_[bnc]: nope, not that great a nix master yet ;)
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
kenjis1 has joined #nixos
<pie_[bnc]> eyJhb: well, i straced ping...
<pie_[bnc]> apparently it accesses some nscd socket
<pie_[bnc]> and looks like nscd is enabled by default
<pie_[bnc]> so ...im not sure but thats one datapoint at least.
<pie_[bnc]> not sure who nscd talks to or if nscd can just directly query
<Aleksejs> is there a way to modify parameters that will be used for qemu vm made with build-vm? I need to add more RAM for VM
lstanley has joined #nixos
<pie_[bnc]> argh how the heck does this stuff work
<Taneb> Stuff works?
<pie_[bnc]> Taneb: no
* pie_[bnc] frustrated
LnL has joined #nixos
LnL has quit [Changing host]
LnL has joined #nixos
<pie_[bnc]> oh s*** tfw accidentally rm-rf the wrong directory root fml
<pie_[bnc]> damnit
<pie_[bnc]> well at least most of those were regeneratable afaik
<Taneb> pie_[bnc]: I'd suggest that you take a break and get some fresh air
bahamas has joined #nixos
bahamas has quit [Changing host]
bahamas has joined #nixos
* pie_[bnc] accidentally sudo rm -rf /var/lib/containers
<pie_[bnc]> Taneb: I should get breakfast. >_>
<pie_[bnc]> but its cold outside.
<Taneb> Maybe not very much fresh air
<{^_^}> [nixpkgs] @turboMaCk opened pull request #79219 → urweb: Fix icu headers include path → https://git.io/JvG07
<pie_[bnc]> :pp
hyper_ch2 has quit [Remote host closed the connection]
<bahamas> is there a setting that passes --pure to nix-shell by default?
erictapen has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #79221 → sqldeveloper: {17.4.1.054.0712,18.2.0.183.1748} -> 19.4.0.354.1759 → https://git.io/JvGEY
werner291 has joined #nixos
woffs has joined #nixos
<pie_[bnc]> running this script seems to do nothing to resolv.conf https://bpaste.net/F3EA
<pie_[bnc]> oh weird resolvconf has multiple..."interfaces"
<pie_[bnc]> how the heck does that work
Guest46376 is now known as gchristensen
gchristensen has quit [Changing host]
gchristensen has joined #nixos
<pie_[bnc]> things are working better now
<pie_[bnc]> apparently usehostresolvconf gets enabled _somehow_ for containers, i have no idea how
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #79217 → dat: move from all-packages to aliases → https://git.io/JvGR4
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvGEo
<{^_^}> [nixos-org-configurations] @grahamc merged pull request #99 → delft/eris: drop alerts with severity!='page', ignore stuck channels → https://git.io/JvGC4
<{^_^}> [nixos-org-configurations] @grahamc pushed 2 commits to master: https://git.io/JvGEP
<DigitalKiwi> next task for pie_[bnc] is to convert to zfs and learn snapshots :P
<{^_^}> [nixos-org-configurations] @grahamc pushed 3 commits to master: https://git.io/JvGEM
<pie_[bnc]> DigitalKiwi: actually i do use zfs and snapshots but i havent figured out how to use it in a way that doesnt suck for me
<pie_[bnc]> the problem is sometimes snapshots have some big files, and then i cant go bakc and free up space without deleting every snapshot
<pie_[bnc]> which sucks
<pie_[bnc]> because now you have no ackups
waleee-cl has joined #nixos
<pie_[bnc]> DigitalKiwi: good point though
<pie_[bnc]> ideally id have automatic snapshots with exponential intervals like this thing
mojjoo has joined #nixos
<DigitalKiwi> There's an auto prune setting
<pie_[bnc]> err this was what i was looking for http://jekor.com/log2rotate
<pie_[bnc]> DigitalKiwi: what does that mean
<gchristensen> like you might want a snapshot every 5 minutes, but only keep them for 1hour, and keep hourly snapshots for 1 day, and daily snapshots for 1 week, and weekly snapshots for 1 year, and monthly snapshots for 10 years?
<pie_[bnc]> the problem is if i have a 50 gig fileN backups in the past, i cant free up that space without deleting all N snapshots
<gchristensen> that is true
<pie_[bnc]> this is my breaking problem with zfs snapshots right now, ive done it multiple times
ddellacosta has joined #nixos
<gchristensen> you want to be able to "break them up" or like delete an object
<pie_[bnc]> two options, one is dont backup the large files, the other is make zfs able to "rebuild" the snapshot structures, but it doesnt do the latter :P
<gchristensen> like git-filter-bracnh but for zfs
<pie_[bnc]> gchristensen: yes exactly!
<gchristensen> fwiw I broke up my zfs hierarchy in to a set which is backed up and a set which isn't, and I do sometimes have to take care to write big garbage files to the one that isn't
<pie_[bnc]> this stuff needs to be automatic for me to use it properly :(
<pie_[bnc]> i leave all kinds of crap arond in my project directories
<gchristensen> aye
<gchristensen> then it is perhaps not a good fit
<pie_[bnc]> i want it so bad though
<gchristensen> one solution is to just get more disk
<pie_[bnc]> i dont have the money for that :P
<pie_[bnc]> i havent really found a solution
<gchristensen> I know that feeling
<pie_[bnc]> i guess i could start making a lot more datasets, but then im gonna need tools to manage those better
<__monty__> Maybe borg style deduplicated backups are a better fit? Afaik you can delete files from the store?
<pie_[bnc]> __monty__: yeah i should look into that
<__monty__> Should be a breeze to setup with nixos.
<{^_^}> [nixpkgs] @aanderse merged pull request #79159 → mariadb: mytop add "clear" to PATH → https://git.io/Jvsjs
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvGuc
<DigitalKiwi> Might be able to compromise and delete everything over like 2 weeks or 30 days old or something.
ddellacosta has quit [Ping timeout: 265 seconds]
cfricke has joined #nixos
<karantan> I've created a new file "wordpress.nix" (atm just a copy of the original) and I want to use this one instead of the one in the nixpkgs. I run "nixos-rebuild -I nixos-config=wordpress.nix build-vm" and I get an error:
<karantan> The option `services.wordpress' in `/root/.nix-defexpr/channels/nixpkgs/nixos/modules/services/web-apps/wordpress.nix' is already declared in `/etc/nixos/wordpress.nix'.
<karantan> I'm looking at these docs: https://nixos.wiki/wiki/Cheatsheet (section Building a service as a VM (for testing))
<pie_[bnc]> well, now that dns works on first container boot nextcloud seems to be working properly too
Chiliparrot has joined #nixos
<pie_[bnc]> so thats one thing checked off, only took too many hours
<karantan> I've also tried to specify "-I nixpkgs=/path/to/nixpkgs" but I get the same error
<pie_[bnc]> hm.
<DigitalKiwi> sometimes i make a manual snapshot and delete autosnapshots but i haven't had to do that in a while
<pie_[bnc]> i need to come back to this later
<pie_[bnc]> not having automatic backups is bad
<pie_[bnc]> pff. nice domain.
<DigitalKiwi> :D
<{^_^}> [nixpkgs] @primeos opened pull request #79223 → pijul: Fix the build (broke due to a more recent Rust version) → https://git.io/JvGu6
<{^_^}> [nixpkgs] @primeos merged pull request #79212 → dmenu2, tdesktopPackages: Remove the deprecation messages → https://git.io/JvGBb
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JvGuP
<{^_^}> [nixpkgs] @a-rodin opened pull request #79224 → vector: 0.7.1 -> 0.7.2 → https://git.io/JvGuX
tpham has joined #nixos
<DigitalKiwi> oh why's it make that download :<
<tpham> How can I add xmonad which was installed by home-manager to lightdm session?
bastion-tester has quit [Ping timeout: 272 seconds]
tpham has quit [Remote host closed the connection]
KeiraT has quit [Remote host closed the connection]
KeiraT has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.30.0 -> 1.30.1 »: https://git.io/JvGuh
kenjis1 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #79225 → [19.09] signal-desktop: 1.30.0 -> 1.30.1 (backport) → https://git.io/JvGzI
gxt has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #77050 → editline: 1.16.1 -> 1.17.0 → https://git.io/JejRi
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/JvGzW
bahamas has quit [Quit: leaving]
KeiraT has quit [Remote host closed the connection]
KeiraT has joined #nixos
wavirc22 has quit [Ping timeout: 240 seconds]
Rusty1 has joined #nixos
werner291 has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/JvGgI
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JvGgY
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @primeos merged pull request #79223 → pijul: Fix the build (broke due to a more recent Rust version) → https://git.io/JvGu6
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JvGg2
ddellacosta has joined #nixos
kleisli has joined #nixos
sigmundv has quit [Ping timeout: 272 seconds]
johnw has joined #nixos
ravndal has joined #nixos
chagra has quit [Ping timeout: 268 seconds]
Shoubit has joined #nixos
andreas303 has quit [Remote host closed the connection]
<evanjs> Anybody know how I might _override_ some settings in busybox vs just using extraConfig?
andi- has quit [Ping timeout: 265 seconds]
andreas303 has joined #nixos
sigmundv has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.7]
ixxie has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #78448 → irqbalance: systemd service config aligned with upstream → https://git.io/Jvqt9
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JvG2u
chenhq2005_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @mmahut opened pull request #79226 → sequoia: 0.11.0 -> 0.13.0 → https://git.io/JvG2i
andi- has joined #nixos
cosimone has joined #nixos
sigmundv has quit [Ping timeout: 265 seconds]
werner291 has joined #nixos
sigmundv has joined #nixos
codygman_itprotv has joined #nixos
<codygman_itprotv> I'm having a lot of trouble getting an existing repo that uses docker to build volumes using the host uid/gid. I'm distilled it down to a minimal repro here if anyone can help: https://github.com/codygman/minimal-nixos-volume-guid-uid-issue
gustavderdrache has joined #nixos
<gchristensen> codygman_itprotv: it seems likely to me that you're running as root inside the docker container
<codygman_itprotv> gchristensen So I guess for that specific example `docker run --user` would probably fix it. My more complex example I'd like to also get a repro up of used the nginx image. I tried using https://github.com/nginxinc/docker-nginx-unprivileged/blob/master/stable/alpine/Dockerfile. It creates a user called nginx I believe with uid 1000 and gid 101.
<codygman_itprotv> This will differ from nixos so I won't be able to modify files it creates from host right? I have a lot of pieces of this puzzle but I'm struggling to pull them together.
<codygman_itprotv> will differ from nixos default uid 1000 and gid 100*
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2020-01-31 -> 2020-02-04 »: https://git.io/JvGa8
<{^_^}> [nixpkgs] @primeos merged pull request #79225 → [19.09] signal-desktop: 1.30.0 -> 1.30.1 (backport) → https://git.io/JvGzI
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-19.09: https://git.io/JvGaB
jophish has joined #nixos
acarrico has quit [Ping timeout: 265 seconds]
cfricke has quit [Quit: WeeChat 2.7]
numerobis has left #nixos ["WeeChat 2.6"]
zupo has joined #nixos
sigmundv has quit [Ping timeout: 265 seconds]
mojjoo has quit [Ping timeout: 260 seconds]
<evanjs> okay, so busybox takes an extraConfig like the kernel, but it simply overlays extraConfig on top of that. Is there anyway to e.g. disable certain features in busybox but largely keep the default config?
<evanjs> I want to disable various applets that come with it, but enableMinimal seemed to disable too much, even after applying my config
ramses_27 has quit [Ping timeout: 260 seconds]
<evanjs> hrm, looking at it now, it does look like the busybox expression, unlike the kernel, accepts N, rather than just Y options. Maybe I just need to make sure all the "Not defined" options are switched to "N"?
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> evanjs: something i noticed while playing with the kernel lately, is that it only says "# not defined" if the option can be enabled but isnt
<clever> evanjs: if the option depends on something else, which is disabled, then it entirely vanishes from the .config
acarrico has joined #nixos
<evanjs> clever: hrm. I'm trying to take a config my coworker ended up with and apply that to busybox, but various things stay enabled, like hush. Which, thinking about it now.... okay maybe that actually makes sense
minicom has joined #nixos
<evanjs> defconfig + my options, which don't have no's, only "not set", would obviously not do anything
karetsu has quit [Quit: WeeChat 2.6]
ramses_ has joined #nixos
sigmundv has joined #nixos
<evanjs> bah. hush remains enabled. I have to wonder why my config doesn't seem to do anything.
captn3m0 has joined #nixos
run500 has quit [Ping timeout: 265 seconds]
<evanjs> clever: .... okay I just dropped into a nix-shell to confirm... at the very least... .config doesn't seem to listen to my changes from extraConfig >.>
<clever> evanjs: which phase in the default.nix does something with extraConfig?
ng0_ has joined #nixos
<evanjs> clever: configurePhase, though I was checking after running genericBuild
erictapen has quit [Ping timeout: 265 seconds]
<evanjs> clever: https://github.com/NixOS/nixpkgs/blob/7b599dc25ec455ec4bab26ec2c5e099868201d73/pkgs/os-specific/linux/busybox/default.nix#L56 it does some stuff like using the minimal config if desired then tacks on extraConfig near the end before running `make oldconfig`
ixxie has quit [Ping timeout: 268 seconds]
<clever> evanjs: try running each of those steps by hand, in nix-shell, and look at the .config after each one
ng0 has quit [Ping timeout: 268 seconds]
chagra has joined #nixos
<evanjs> clever: *gets stuck at configurePhase not doing anything* :P
<clever> evanjs: manually run each command inside the configurePhase
ng0_ is now known as ng0
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> evanjs: you can `echo "$configurePhase"` to see what nix changed along the way
<evanjs> yeah I need to spend time here more. TIL $configurePhase and configurePhase are two different things :D
<clever> yeah
<clever> configurePhase is a bash function, $configurePhase is the override from the expr
<clever> genericBuild will detect the override, and eval that instead
ixxie has joined #nixos
zupo has joined #nixos
<clever> phases="configurePhase" genericBuild
<clever> will let you run just one phase, while obeying that
<clever> but in your case, you want to run part of the phase, and inspect after each part
ramses_ has quit [Ping timeout: 272 seconds]
<evanjs> okay, I can run patchPhase (after cd'ing into $src) but configurePhase just says "no configure script, doing nothing"
run500 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<clever> evanjs: because you need to `eval "$configurePhase"` instead
karantan has joined #nixos
<evanjs> clever: tried that but I get a syntax error "bash: syntax error near unexpected token `do'"
<clever> evanjs: phases="configurePhase" genericBuild
<clever> ?
<evanjs> works fine there
<{^_^}> [nixpkgs] @jpgu-epam closed pull request #78764 → mesos: fix insecure Maven domain → https://git.io/JvYHY
<{^_^}> [nixpkgs] @bcdarwin closed pull request #74067 → ocamlPackages.parmap: init at 1.0-rc11 → https://git.io/JePUN
karantan has quit [Ping timeout: 268 seconds]
magnetophon has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @alyssais pushed to master « Revert "mailman-wrapper: crazy hack to work around the missing urllib3 dependency" »: https://git.io/JvGVC
<evanjs> mmmyup. it ignores my config :D CONFIG_HUSH remains Y
<evanjs> .... I have a thought...
<evanjs> extraConfig needs to be a string, doesn't it >_>
magnetophon has joined #nixos
<evanjs> Um, I've been using a path >_>
<{^_^}> [nixpkgs] @jpgu-epam opened pull request #79228 → Fork/master → https://git.io/JvGV4
<{^_^}> [nixpkgs] @bcdarwin opened pull request #79229 → ocamlPackages.parmap: init at 1.1 → https://git.io/JvGVB
<monadplus> Is it possible with nixOps to compile the derivation on your machine and send it to the server ?
<evanjs> Oh look, it behaves differently not that I gave it `extraConfig = (lib.readFile ./busybox.config);` ...
<clever> monadplus: nixops always compiles it locally
captn3m0 has quit [Ping timeout: 265 seconds]
captn3m0 has joined #nixos
virus_dave has joined #nixos
<monadplus> I was wrong then :facepalm: clever
opthomasprime has joined #nixos
<monadplus> Just to confirm, is the derivation compiled in the machine executing the nixops commands ? Or in the remote machine ?
gxt has quit [Ping timeout: 240 seconds]
captn3m0 has quit [Ping timeout: 268 seconds]
<clever> monadplus: if the machine running nixops is linux, it will build it locally, but also obey any build machines configured in /etc/nix/machines
<clever> monadplus: if nixops is being ran on darwin, it cant build linux things, so it will try to configure the remote machine as a build machine, automatically
ixxie has quit [Ping timeout: 265 seconds]
captn3m0 has joined #nixos
<monadplus> Now it all makes sense, thanks clever
<monadplus> ++clever
nahamu has quit [Quit: WeeChat 2.5]
<clever> monadplus: other way around
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75885 → asus-wmi-sensors: init at 0.0.1 → https://git.io/Je5Z3
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvGVr
<monadplus> clever++
<{^_^}> clever's karma got increased to 317
nahamu has joined #nixos
<Taneb> Around here we only post-increment people
zupo has quit [Ping timeout: 240 seconds]
<evanjs> hrm, alright, definitely further, now. Though it seems to require input for some options halfway through (normal nix-build fails with "sed: -e expression #1, char 37: expected newer version of sed") and even when just choosing the defaults for those, it still includes the options I disabled. Hrm
growpotkin has joined #nixos
<evanjs> checked my config, and the options it is prompting for _are_ defined
zupo has joined #nixos
<{^_^}> [nixpkgs] @jpgu-epam closed pull request #79228 → mesos: fix insecure domain → https://git.io/JvGV4
sb0 has joined #nixos
karetsu has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c pushed to master « sbcl: reinstate 2.0.0; add sbcl_2_0_1 for 2.0.1 »: https://git.io/JvGVS
<{^_^}> [nixpkgs] @lsix merged pull request #79093 → weechatScripts.wee-slack: 2.3.0 -> 2.4.0 → https://git.io/Jvsl4
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JvGVH
komasa has quit [Ping timeout: 246 seconds]
Tucky has quit [Quit: WeeChat 2.7]
Guest46475 has quit [Quit: WeeChat 2.6]
justanotheruser has joined #nixos
<evanjs> yeah it looks like it's choking on the config file
marek has quit [Ping timeout: 248 seconds]
virus_dave has quit [Quit: virus_dave]
opthomasprime has left #nixos [#nixos]
W1lkins has joined #nixos
<evanjs> The configParser in the busybox expression seems to choke whenever it encounters quotation marks (") ?
<evanjs> wait.... it's the equals isn't it >.>
KeiraT has quit [Remote host closed the connection]
KeiraT has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c pushed to master « lispPackages.cl-store: fix build »: https://git.io/JvGwI
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0c960262d15 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
sb0 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @curiousleo opened pull request #79230 → lorri: unstable-2020-01-09 -> 1.0 → https://git.io/JvGwt
noudle has quit []
kleisli has quit [Ping timeout: 272 seconds]
dm9 has joined #nixos
chagra has quit [Ping timeout: 268 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karetsu has quit [Quit: WeeChat 2.6]
ddellacosta has quit [Ping timeout: 272 seconds]
cust0dian has quit [Read error: Connection reset by peer]
cust0dia1 has joined #nixos
cransom has quit [Quit: WeeChat 2.6]
cransom has joined #nixos
ixxie has joined #nixos
endformationage has joined #nixos
karetsu has joined #nixos
karetsu has quit [Client Quit]
virus_dave has joined #nixos
karetsu has joined #nixos
karetsu has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79231 → SPAdes: 3.13.1 -> 3.14.0 → https://git.io/JvGwK
<wild_buffalo> Hi, how do I reload/execute my ~/.config/nixos/config.nix after making modifications?
<clever> wild_buffalo: each time you run a nix command, it re-reads it
WinchellsM has joined #nixos
<clever> wild_buffalo: what are you trying to do?
<wild_buffalo> I want to start ssh-agent on login
cust0dia1 has quit [Quit: WeeChat 2.7]
<clever> wild_buffalo: and how did you define that in config.nix?
<WinchellsM> Is there a way to set `build-use-sandbox false` in my *.nix file, instead of as a flag to `nix-build`?
<wild_buffalo> follow up question what's the difference between config.nix and configuration.nix?
cust0dian has joined #nixos
<wild_buffalo> clever: I've added the following line:
<clever> wild_buffalo: config.nix is only for nixpkgs level flags
<wild_buffalo> ahhh
<clever> wild_buffalo: configuration.nix is for nixos options, which are used to build /run/current-system/
virus_dave has quit [Quit: virus_dave]
<wild_buffalo> ssh = { startAgent = true; }
<wild_buffalo> So that means that I should put that on configuration.nix instead
<clever> that sounds like a configuration.nix only option
<clever> yeah
<wild_buffalo> brilliant, thanks
zupo has joined #nixos
erasmas has joined #nixos
<Shoubit> You can also have a look at home-manager which is like configuration.nix for your user instead of system :)
<wild_buffalo> Shoubit: cool, I had already stumbled on it but one thing at a time
<mdash> oh yeah, home-manager question: what do y'all use for secrets storage, like for email accounts
<wild_buffalo> Nixos is a brilliant idea which is why I'm persevering with it but I'm hella struggling with the documentation
<mdash> i'm trying to figur eout what goes in accounts.email.accounts.<name>.passwordCommand
<wild_buffalo> ah speaking of whihc
kleisli has joined #nixos
<wild_buffalo> so packages have their options documented right, under the description field
<infinisil> wild_buffalo: Yeah docs are kind of bad/sparse/outdated
<mdash> I use BitWarden for secrets storage but that doesn't seem appropriate here
<wild_buffalo> Is there a place I can browse all the options for configuration.nix?
<mdash> wild_buffalo: yes, https://nixos.org/nixos/options.html
<wild_buffalo> Nice
<wild_buffalo> phew
<mdash> wild_buffalo: also duckduckgo has a `!nixopt` prefix for searching it conveniently ;-)
<{^_^}> [nixpkgs] @vbgl merged pull request #79229 → ocamlPackages.parmap: init at 1.1 → https://git.io/JvGVB
<{^_^}> [nixpkgs] @vbgl pushed commit from @bcdarwin to master « ocamlPackages.parmap: init at 1.1 »: https://git.io/JvGwF
<Shoubit> wild_buffalo, you can also use `man configuration.nix` if you're on the CLI
<wild_buffalo> Shoubit: also awesome
<wild_buffalo> mdash: thanks for the tip!
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chloekek has quit [Quit: WeeChat 2.6]
kleisli has quit [Ping timeout: 260 seconds]
v88m has quit [Ping timeout: 268 seconds]
<wild_buffalo> Can I get program specific options for only certain users?
<clever> wild_buffalo: thats what home-manager does
<wild_buffalo> ah but not directly through the configuration.nix
komasa has joined #nixos
<clever> enless you use the home-manager nixos module
<wild_buffalo> I see
<wild_buffalo> cool, thanks
drakonis has joined #nixos
<Taneb> I'm running into an issue trying to move from 19.09 to a recent unstable. One of the Python packages we have internally has stopped working.
<Taneb> It's a library and executable, packaged with buildPythonPackage, where the executable calls the library
<Taneb> But trying to run the executable, it seems like it can't find the library to import
<Taneb> This was working previously and I can't work out what's changed
<blackriversoftwa> Taneb: do you have `nix-diff` installed?
<Taneb> blackriversoftwa: yes but because I'm changing version of nixpkgs, an awful lot will have changed
arjen-jonathan has quit [Ping timeout: 248 seconds]
<blackriversoftwa> Taneb: sure but it can still be helpful, especially if you can diff just the attribute that is broken and not your whole codebase
<blackriversoftwa> If you run `nix-store --query --references` on the output for the executable, does the library still show up?
chagra has joined #nixos
worldofpeace_ has joined #nixos
<Taneb> Yes, they're in the same derivation
l_inus[m] has joined #nixos
<Taneb> If I nix-shell -p that derivation I can import the library in the repl (but the executable doesn't pick it up)
kleisli has joined #nixos
<evanjs> clever: yeah the busybox config parser rules are weird, afaict. numbers need and equals, y|n and strings/paths don't, trying to figure out how flags get parsed, now ...
<evanjs> okay, needed to change "-R -n" -> "-Rn" ...
<evanjs> fiiiiiinally, hush is gone
gnidorah has joined #nixos
<infinisil> Hm, how about a nixos option that sets up a basic system, enabling some defaults for the most common usecases
<gnidorah> hi. merge please? #78312
<{^_^}> https://github.com/NixOS/nixpkgs/pull/78312 (by gnidorah, 1 week ago, open): openmw-tes3mp: fix build
<mdash> infinisil: is it better to do that or generate a basic-system config
<infinisil> Such that you can say "enable this option if you just want a working system with basic utilities"
chagra has quit [Ping timeout: 240 seconds]
<evanjs> jk that was busybox >_>
<clever> infinisil: the demo.nix profile?
<infinisil> Generating is basically the same as generating "the.option = true"
<infinisil> clever: Not quite, more realistic
<infinisil> Well the graphical demo is close. Though
<mdash> infinisil: i'm just thinking of what makes for a more incremental path to mastery
<infinisil> Maybe that's it yeah, or something like it
gagbo has quit [Quit: I'm out !]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
gkmngrgn has quit [Ping timeout: 265 seconds]
sigmundv has quit [Ping timeout: 240 seconds]
anohigisavay has quit [Quit: Konversation terminated!]
dm9 has quit [Quit: WeeChat 2.7]
<Taneb> Seems like PYTHONPATH being set in the environment is interferring here
lsix has quit [Quit: WeeChat 2.6]
kleisli has quit [Remote host closed the connection]
kleisli_ has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<buckley310> does anyone know how to add a nixos machine to MS Active Directory? ive been messing around with sssd, samba, and krb5 but i cant quite get all the pieces together
chagra has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79232 → sslmate: 1.7.0 -> 1.7.1 → https://git.io/JvGoU
fresheyeball has joined #nixos
chagra has quit [Ping timeout: 268 seconds]
chagra has joined #nixos
acowley has joined #nixos
gkmngrgn has joined #nixos
<pie_[bnc]> buckley310: not momentarily relevant to me but im interested if you figure it out
<pie_[bnc]> meanwhile, there was something for cleaning a git repository when using it as a src but i dont remember what?
<qyliss> you mean a local git source?
<pie_[bnc]> yes
<qyliss> builtins.fetchGit or lib.cleanSource, depending on what exactly you want.
<qyliss> builtins.fetchGit is usually what you want, unless you need untracked files.
<pie_[bnc]> qyliss: what if i want untracked?
<pie_[bnc]> cleansource?
<qyliss> Yeah then use cleanSource
<qyliss> but it doesn't respect gitignore, just applies some hardcoded rules, IIRC
<pie_[bnc]> aha.
scoates has joined #nixos
chagra has quit [Ping timeout: 265 seconds]
wildtrees has joined #nixos
<scoates> hi. I'll preface this with: I'm not good at xcode. But: is there a simple trick to get xcode's build phases to use what effectively amounts to a nix shell? (Happy to read docs if people point me in the right direction; searches didn't turn up anything useful/obvious)
chagra has joined #nixos
kleisli_ has quit [Ping timeout: 265 seconds]
gkmngrgn has quit [Quit: WeeChat 2.6]
peanutbutter144 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<arianvp> has anybody tried getting openvpn with pkcs11 working on nixos?
peanutbutter144 has joined #nixos
<arianvp> openvpn --show-pkcs11-ids $(nix-build '<nixpkgs>' -A opensc --no-out-link)/lib
<arianvp> Options error: Unrecognized option or missing or extra parameter(s) in [CMD-LINE]:1: show-pkcs11-ids (2.4.7)
<arianvp> Use --help for more information.
<arianvp> for some reason it doesn't recognise the CLI option for me ... :(
<arianvp> this has been in there for a decade at least. do we patch it out in nixos?
<arianvp> :/
<arianvp> ah yeh we disable it in the derivation. Why? :O
<arianvp> also systemd support is disabled too :/
smatting has quit [Ping timeout: 268 seconds]
cosimone has quit [Quit: Terminated!]
<jared-w> There's an openvpn module that setups systemd stuffs
drewr has joined #nixos
<evanjs> clever: pretty sure it's working now. Forgot to remove e.g. CONFIG_PREFIX from our config :P
<evanjs> the problems I was initially seeing though, were not reading the configFile, I was passing it in like a file when it expected a string, and not doing what the parser wanted.... which was the weirder bit imo
<evanjs> After reading the file in like it expected, and eventually figuring out the rules for the busybox config parser, all seems to build like I wanted it to
<AmandaC> So, I may have found what's got my raspberry pi stuff so angry. Who knew, a 5 pack of 32G for like 20$ would result in sub-par writeability.
plutes has quit [Ping timeout: 260 seconds]
tester123 has joined #nixos
<clever> AmandaC: you get what you pay for!
<tester123> How do I get a derivation contained in a GitHub repo? `fetchFromGitHub` gets the source of a derivation. Is there an idiomatic way to get the actual derivation?
<AmandaC> It's either the SD cards being garbage, or my laptop's SD card thingy is shot.
<clever> tester123: you need to do something like run callPackage on the return value of fetchFromGitHub
<tester123> clever: When I do `callPackage (fetchFromGitHub { ... }) { }` I get
<tester123> `error: attempt to call something which is not a function but a set`
orivej has quit [Ping timeout: 268 seconds]
<clever> tester123: what does the default.nix in the root of the repo contain?
logand has joined #nixos
<logand> is there a way to write something like rec {"x.a" = 42; y = "x.a";}.y so that it returns 42?
<logand> use-case: nginx vhosts where i want to reuse the vhost definition
<tester123> clever: `(import <nixpkgs> {}).callPackage ./wlroots.nix {}`
<tester123> So I guess I need to `callPackage` on `./wlroots.nix` somehow, not `default.nix` ?
<clever> > :p lib.fix (self: { "x.a" = 42; y = self."x.a"; })
<{^_^}> { "x.a" = 42; y = 42; }
<clever> logand: lib.fix will pass the return value of a function, back into itself
<das_j> I think callPackage is in pkgs
<das_j> Isn't it?
<logand> clever: wow that seems complicated
<gustavderdrache> i think you might need "${fetchFromGithub {...}}/wlroots.nix" instead of using fetchFromGithub directly
<logand> clever: thanks!
<clever> tester123: "${fetchFromGitHub { ...}}/wlroots.nix"
<clever> logand: `rec { a=42; b=a; }` can do the same thing, but needing to quote the attribute makes it not compatible with rec
<logand> clever: understand, so far the easiest solution is let z = 42 in {"x.a" = z; y = z}.y
<clever> logand: something ive done is `let template = { ... }; in { "foo.example.com" = template; "bar.example.com" = template; }
<logand> yes i've done that too
<logand> not so nice but if quoting breaks rec, it'll do
sigmundv has joined #nixos
<buckley310> pie_[bnc], i've managed to get my nixos box kind-of on a domain :o
erictapen has joined #nixos
tester123 has quit [Remote host closed the connection]
v88m has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79233 → seqdiag: 0.9.6 -> 2.0.0 → https://git.io/JvGKB
<pie_[bnc]> buckley310: hm?
<{^_^}> [nixpkgs] @samdoshi closed pull request #79009 → opencc: fix broken build (=> fixes goldendict) → https://git.io/Jv3DS
worldofpeace_ has quit [Quit: worldofpeace_]
shibboleth has joined #nixos
danderso1 is now known as danderson
semilattice has joined #nixos
zaeph1 has joined #nixos
linkrage has joined #nixos
worldofpeace has quit [*.net *.split]
psiperator[m] has quit [*.net *.split]
fabiomen10[m] has quit [*.net *.split]
PlayfulCuriosity has quit [*.net *.split]
tomberek[m] has quit [*.net *.split]
eeyun[m] has quit [*.net *.split]
the_pumpkin_man[ has quit [*.net *.split]
rihardsk[m] has quit [*.net *.split]
alan[m]1 has quit [*.net *.split]
Victor[m]2 has quit [*.net *.split]
ilya-fedin has quit [*.net *.split]
arcnmx has quit [*.net *.split]
gsals[m] has quit [*.net *.split]
goibhniu has quit [*.net *.split]
haslersn has quit [*.net *.split]
jtojnar has quit [*.net *.split]
Ericson2314 has quit [*.net *.split]
sylvie[m] has quit [*.net *.split]
cocreature has quit [*.net *.split]
jgeerds has joined #nixos
justanotheruser has quit [*.net *.split]
aveltras has quit [*.net *.split]
emacsomancer has quit [*.net *.split]
Dagger has quit [*.net *.split]
zaeph has quit [*.net *.split]
rembo10 has quit [*.net *.split]
dozn has quit [*.net *.split]
ardumont has quit [*.net *.split]
hexagoxel has quit [*.net *.split]
lightbulbjim has quit [*.net *.split]
siiky has quit [*.net *.split]
danguita has quit [*.net *.split]
index-0[m] has quit [*.net *.split]
{^_^} has quit [*.net *.split]
kyren has quit [*.net *.split]
grahamc[m] has quit [*.net *.split]
mudrii[m] has quit [*.net *.split]
petersjt014[m] has quit [*.net *.split]
wildtrees[m] has quit [*.net *.split]
acowley[m] has quit [*.net *.split]
teuffil[m] has quit [*.net *.split]
test53453535[m] has quit [*.net *.split]
malSet has quit [*.net *.split]
li_matrix has quit [*.net *.split]
pingveno[m] has quit [*.net *.split]
alienpirate5 has quit [*.net *.split]
boturl4r[m] has quit [*.net *.split]
grin[m] has quit [*.net *.split]
pentadyne[m] has quit [*.net *.split]
Irenes[m] has quit [*.net *.split]
ZerataX has quit [*.net *.split]
siraben has quit [*.net *.split]
schmittlauch[m] has quit [*.net *.split]
blitzclone_ has quit [*.net *.split]
emily has quit [*.net *.split]
nolan_d has quit [*.net *.split]
mkg20001 has quit [*.net *.split]
abbradar[m] has quit [*.net *.split]
florianjacob has quit [*.net *.split]
mt[m] has quit [*.net *.split]
NoblesseOblige24 has quit [*.net *.split]
leons has quit [*.net *.split]
KennosiS has quit [*.net *.split]
fpletz has quit [*.net *.split]
GlennS has quit [*.net *.split]
PyroLagus has quit [*.net *.split]
rotaerk has quit [*.net *.split]
siel has quit [*.net *.split]
flokli has quit [*.net *.split]
betaboon has quit [*.net *.split]
djanatyn_ has quit [*.net *.split]
inkOne__ has quit [*.net *.split]
aranea has quit [*.net *.split]
sigwinch28 has quit [*.net *.split]
f0x2 has quit [*.net *.split]
abbe has quit [*.net *.split]
mdash has quit [*.net *.split]
smj has quit [*.net *.split]
heinrich5991 has quit [*.net *.split]
the_pumpkin_man[ has joined #nixos
haslersn has joined #nixos
sylvie[m] has joined #nixos
rihardsk[m] has joined #nixos
PlayfulCuriosity has joined #nixos
Victor[m]2 has joined #nixos
tomberek[m] has joined #nixos
worldofpeace has joined #nixos
arcnmx has joined #nixos
jtojnar has joined #nixos
eeyun[m] has joined #nixos
alan[m]1 has joined #nixos
psiperator[m] has joined #nixos
goibhniu has joined #nixos
gsals[m] has joined #nixos
fabiomen10[m] has joined #nixos
ilya-fedin has joined #nixos
cocreature has joined #nixos
Ericson2314 has joined #nixos
Dagger has joined #nixos
nolan_d has joined #nixos
aveltras has joined #nixos
emacsomancer has joined #nixos
justanotheruser has joined #nixos
siiky has joined #nixos
index-0[m] has joined #nixos
{^_^} has joined #nixos
grin[m] has joined #nixos
heinrich5991 has joined #nixos
lightbulbjim has joined #nixos
kyren has joined #nixos
sigwinch28 has joined #nixos
dozn has joined #nixos
grahamc[m] has joined #nixos
pingveno[m] has joined #nixos
test53453535[m] has joined #nixos
rembo10 has joined #nixos
NoblesseOblige24 has joined #nixos
Irenes[m] has joined #nixos
ardumont has joined #nixos
mkg20001 has joined #nixos
schmittlauch[m] has joined #nixos
wildtrees[m] has joined #nixos
li_matrix has joined #nixos
florianjacob has joined #nixos
emily has joined #nixos
alienpirate5 has joined #nixos
hexagoxel has joined #nixos
petersjt014[m] has joined #nixos
mt[m] has joined #nixos
teuffil[m] has joined #nixos
ZerataX has joined #nixos
malSet has joined #nixos
blitzclone_ has joined #nixos
pentadyne[m] has joined #nixos
leons has joined #nixos
mudrii[m] has joined #nixos
siraben has joined #nixos
boturl4r[m] has joined #nixos
danguita has joined #nixos
fpletz has joined #nixos
KennosiS has joined #nixos
f0x2 has joined #nixos
abbradar[m] has joined #nixos
PyroLagus has joined #nixos
acowley[m] has joined #nixos
siel has joined #nixos
rotaerk has joined #nixos
flokli has joined #nixos
betaboon has joined #nixos
aranea has joined #nixos
inkOne__ has joined #nixos
djanatyn_ has joined #nixos
GlennS has joined #nixos
abbe has joined #nixos
mdash has joined #nixos
smj has joined #nixos
emacsomancer has quit [Max SendQ exceeded]
justanotheruser has quit [Max SendQ exceeded]
v88m has quit [Ping timeout: 268 seconds]
greymalkin has quit [Ping timeout: 268 seconds]
azazel has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos
Sigma has quit [Ping timeout: 268 seconds]
emacsomancer has joined #nixos
chloekek has joined #nixos
Sigma has joined #nixos
azazel has joined #nixos
greymalkin has joined #nixos
hasanzia has joined #nixos
<arianvp> are there any helper functiosn in nixos or nixops for doing calculations on ip addresses?
<arianvp> things like apply netmask etc
hasanzia has quit [Client Quit]
<arianvp> or "convert bits to ipv6 string"
chloekek has quit [Ping timeout: 265 seconds]
zaeph1 is now known as zaeph
chloekek has joined #nixos
kleisli has joined #nixos
jgeerds has quit [Read error: No route to host]
<buckley310> pie_[bnc], OK I have my nixos machine properly on an AD domain looks like.
<clever> arianvp: i had started that over in https://github.com/cleverca22/nix-tests/tree/master/ip-magic
<pie_[bnc]> buckley310: oh, i lost track of whos who heh
<buckley310> ah :)
esemds has joined #nixos
<pie_[bnc]> clever: just make an FFI to rust
<pie_[bnc]> its fine right
<pie_[bnc]> crates.io as a canonical component of nix
<pie_[bnc]> who needs all these crazy lib functions anyway
<infinisil> arianvp: There are some functions floating around, but not in nixpkgs (yet). E.g. I have my own ipv4 submask thing here: https://github.com/Infinisil/system/blob/master/config/lib/ip.nix , at some point I found this: https://gist.github.com/Infinisil/842168e1db442a70f18563dee1da7c4c , and there was this PR to handle IP addresses: https://github.com/NixOS/nixpkgs/pull/68280/files
<clever> pie_[bnc]: nix already has an FFI interface
fresheyeball has quit [Quit: WeeChat 2.6]
<pie_[bnc]> yeah hats what i meant
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<clever> pie_[bnc]: and i have an example already: https://gist.github.com/cleverca22/be6d6bd78230f5e624d2b626d5b677a5
<arianvp> infinisil: thankss
<arianvp> this sounds like something that should be in nixpkgs.lib
<arianvp> extremely useful for generating vpn configs etc :P
<infinisil> Yeah, though parsing in Nix is really ugly
<infinisil> I think there was a PR to add a parse builtin to nix
<chloekek> Make Alex and Happy generate Nix :þ
<{^_^}> nix#1491 (by taktoa, 2 years ago, open): Add an Earley parser builtin
<infinisil> Oh wow I commented even
<infinisil> Though not how I would comment today haha
v88m has joined #nixos
wiml has joined #nixos
<infinisil> infinisil: Why did you use so much bold face back then
<mdash> you were a bold hacker, not an old hacker
<infinisil> Ahh yes
<drakonis> a bold move.
kleisli has quit [Ping timeout: 240 seconds]
<scoates> FWIW in case anyone is interested in the xcode nix-shell shenanigans I asked about, this probably isn't the best way to do it, but it seems to work for me https://github.com/tbodt/ish/compare/master...scoates:master
Chiliparrot has joined #nixos
<habbah> is there a tutorial on using the haskell-ide-engine along with several other text editor plugins for a haskell project within nix?
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<dminuoso> infinisil: What about a happy/alex or yacc/bison equivalent?
<dminuoso> infinisil: That would at least have reasonable ergonomics.
zupo has joined #nixos
<infinisil> dminuoso: I don't know much about those, what would that look like?
leothrix has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79234 → unrar: 5.8.5 -> 5.9.1 → https://git.io/JvGi0
<dminuoso> infinisil: https://gitlab.haskell.org/ghc/ghc/blob/master/compiler/parser/Parser.y#L642-650 this is an example for the parser construction.
<dminuoso> infinisil: Essentially you just specify a grammar
psyanticy has quit [Quit: Connection closed for inactivity]
<infinisil> dminuoso: Having a hard time deciphering what each part of those lines means
<dminuoso> infinisil: Are you familiar with BNF
<infinisil> Yea, Haskell as well
<dminuoso> infinisil: It's essentially just a grammar production rule from BNF.
<dminuoso> Parser generators like Happy/Bison/yacc can turn such files into LALR parsers.
fendor has quit [Read error: Connection reset by peer]
<infinisil> What's generated from that though? Is the part between { .. } a Haskell expression?
<infinisil> Probably, but then the % confuses me
<mdash> anybody using delve with golang on nixos? i'm new to both and wondering if there's a trick to getting it to work
<mdash> it's trying to write to store paths apparently
<dminuoso> infinisil: The part between { .. } is sort of a Haskell expression, think of the $1 as something similar to TH splicing.
<infinisil> Yeah kinda guessed that
<infinisil> dminuoso: Considering that both haskell and nix use it, it's probably powerful enough for pretty much anything, so yeah why not have that as a Nix builtin
<dminuoso> infinisil: Well parser generators are somewhat unwieldy. It's a surprise GHC is still using them!
<infinisil> Parser combinators are nice that's true..
<dminuoso> They tend to have really bad diagnostics, and they are usually near impossible to debug. :)
<mdash> dminuoso: there's two of every possible parsing approach available for haskell
<mdash> parsers with good diagnostics and easy debuggability are too slow for large-scale problems
<dminuoso> mdash: That's not true.
<mdash> nah, it is
<mdash> you gotta sacrifice one of them
<mdash> if you want fast and good diagnostics you gotta write it all by hand
<dminuoso> mdash: If your grammar can be turned into LL, top-down recursive descent parsers give you everything in a bundle.
<mdash> no.
patrl has joined #nixos
<infinisil> mdash: Run the fast parser, but if it errors, run it with a parser with better diagnostics :)
<infinisil> Speed of the fast parser + the diagnostics of the slow one
<dminuoso> infinisil: That's what trifecta is great for. :)
<mdash> trifecta definitely is the best of a certain kind of thing
<dminuoso> infinisil: Though, if you handcraft imperative parsers carefully, you can get a pretty good parser. Clang is a good example.
<dminuoso> Their diagnostics are really great, and it performs good.
kleisli has joined #nixos
<infinisil> (I guess we're going a bit offtopic aren't we)
<mdash> yeah, i'd love to see an example of a better approach than what clang does
ixxie has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Profpatsch merged pull request #68469 → bazel-deps: remove → https://git.io/JemnC
<{^_^}> [nixpkgs] @Profpatsch pushed 2 commits to master: https://git.io/JvGiH
justanotheruser has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @goertzenator opened pull request #79235 → vispy: init at 0.6.4 → https://git.io/JvGiN
ddellacosta has joined #nixos
justanotheruser has joined #nixos
marek has joined #nixos
gnidorah has quit [Quit: Connection closed for inactivity]
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79236 → wesnoth: 1.14.9 -> 1.14.10 → https://git.io/JvGPs
leothrix has joined #nixos
leothrix has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
<genesis> hey wesnoth, remember :D
<Yaniel> I should try playing that again :3
<OmnipotentEntity> Trying to get deep learning functioning on NixOS is just hell. I mean it's hell everywhere, but still.
<mdash> omnipotententity: but it's only hell once
<gustavderdrache> petition to make "it's only hell once" the slogan for reproducible builds
<OmnipotentEntity> It's been hell for me three times so far. Because of changes to nixpkgs. I finally pinned to a revision. But I can't find a revision that has all the libraries I need functional at the same time.
<mdash> yeah ok, true
<mdash> hell is other contributors
<OmnipotentEntity> lol
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4e3aa3de412 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<OmnipotentEntity> gustavderdrache, signed.
<gustavderdrache> :D
shibboleth has quit [Quit: shibboleth]
<infinisil> omnipotententity: What libraries are those?
<infinisil> And what are they used for?
nek0 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<infinisil> Because adding libraries to NixOS config's is usually an antipattern
<o1lo01ol1o> is there a way to assign a default build priority to attributes of a hydra job? I have, for example, a release.nix that defines among other things, a foo. I would like to give foo higher priority that any of the other attributes.
<OmnipotentEntity> to my shell.nix?
<OmnipotentEntity> by libraries I mean pip packages.
<infinisil> Ohh you're talking about a shell.nix, never mind then
<OmnipotentEntity> like dm-sonnet is busted sometime after July but before October
<infinisil> I thought you meant NixOS
nek0 has joined #nixos
leothrix has joined #nixos
<OmnipotentEntity> Trying to find a revision where everything lines up.
justanotheruser has quit [Ping timeout: 265 seconds]
justan0theruser has joined #nixos
<OmnipotentEntity> My system is functioning just fine.
<OmnipotentEntity> Hell, if I wasn't running NixOS I'd already be in an impossible situation because most of the projects I work on require mutually exclusive versions of stuff.
<infinisil> Hehe yeah
<infinisil> omnipotententity: I've been wanting to write some meta-nixpkgs tool that can find such a fitting nixpkgs version for a while
leotaku has quit [Ping timeout: 268 seconds]
<infinisil> I think this would be really useful e.g. for this situation
<infinisil> So you could say "I need version >2.3 of foo, and a working bar build" and it would spit out the latest nixpkgs version that has those (and cached versions of their builds)
leothrix has quit [Ping timeout: 268 seconds]
<infinisil> This would also allow an installation method that always chooses the latest successful build of something. E.g. you could say "give me package hello", and it would go through the build history of the master channel on hydra and give you the latest one
<infinisil> Instead of failing the installation when there's no cached version it would just choose an older one
leothrix has joined #nixos
codygman_itprotv has quit [Ping timeout: 260 seconds]
chloekek has quit [Ping timeout: 265 seconds]
leothrix has quit [Ping timeout: 268 seconds]
sondr3 has joined #nixos
<sondr3> evanjs: you available for some xmonad/taffybar questioning?
kraem has joined #nixos
drew__b has joined #nixos
<drew__b> hey friends, I'm having a few problems with my path and nix-profile
chagra has quit [Ping timeout: 272 seconds]
<drew__b> wondering if you could be of some help
<drew__b> so the first issue is that I have no idea what is adding `/home/drew/.nix-profile/bin` to my path. Whatver is doing that is adding the entry twice
<drew__b> the second issue is that this is getting added lower in my path than cabal and stack binaries - so when i'm in an impure shell, there can be issues with system libraries getting sourced instead of nix ones
<drew__b> how can i control that?
<clever> drew__b: what is installed into that dir, that is causing problems?
<drew__b> i also have `/nix/var/nix/profiles/default/bin` on the path
<drew__b> let's say i'm in a nix shell, and i want to use "cabal new-build"
<clever> drew__b: ~/.nix-profile is for the current user, profiles/default/bin is roots profile
<clever> root's profile is a default fallback for all users
<drew__b> ok what is adding these to my path?
<clever> nix.sh
<clever> and nix wont work without those, thats how nix itself gets into PATH
<drew__b> so when i ran the nix install, it added this to my bash-profile
<drew__b> # if [ -e /home/drew/.nix-profile/etc/profile.d/nix.sh ]; then . /home/drew/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
<drew__b> however I'm using zsh
<clever> yep
<drew__b> not bash
<drew__b> so what is adding these to my shell?
<clever> what does .zshrc do?
<drew__b> it doesn't source bash-profile
<clever> drew__b: what does it do then?
<drew__b> conceptually?
<clever> drew__b: also, nix-shell runs bash
<drew__b> it's sourced by some zsh stuff
<{^_^}> [nixpkgs] @primeos opened pull request #79237 → wayland: 1.17.0 -> 1.18 → https://git.io/JvGXY
<drew__b> i'm using zsh nix-shell plugin
<drew__b> and direnv
<clever> drew__b: why is ~/.nix-profile being in PATH a problem?
<drew__b> the problem is two things
<drew__b> 1. (biggest problem) is that the stack and cabal binary dirs are ABOVE it
<drew__b> meaning that if I type "which stack" in a nix-shell (that has stack install) will see the system stack
<drew__b> that causes issues as you can imagine
<OmnipotentEntity> drew__b, I also have zsh running on my computer using direnv. But I'm not seeing the same behavior as you are.
<clever> drew__b: i try to ensure stack is never in ~/.nix-profile/bin/
<drew__b> what's the output of this command: "tr : '\n' <<<$PATH"
<drew__b> for you
<{^_^}> [nixpkgs] @Ma27 merged pull request #79221 → sqldeveloper: {17.4.1.054.0712,18.2.0.183.1748} -> 19.4.0.354.1759 → https://git.io/JvGEY
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvGXn
chagra has joined #nixos
<drew__b> here is the output of mine:
<drew__b> /home/drew/.cabal/bin
<drew__b> /home/drew/.local/bin
<drew__b> /home/drew/bin
<drew__b> /usr/local/bin
<drew__b> /usr/bin
<drew__b> /usr/sbin
<drew__b> /home/drew/.nix-profile/bin
<drew__b> /home/drew/.nix-profile/bin
<clever> ,pastebin drew__b
<drew__b> /nix/var/nix/profiles/default/bin
<drew__b> you see those top entries?
<clever> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<OmnipotentEntity> drew__b, pastebin man
<gchristensen> chanserv was delayed :)
<drew__b> it's like 10 lines...
<gchristensen> drew__b: aye, but please consider it for anything more than 1-2 lines :)
<OmnipotentEntity> like 8 lines too many
<drew__b> ok fine
<drew__b> regardless, the hierarchy of where nix looks for binaries is bad here
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<drew__b> /usr/local/bin/stack <-- here is a stack binary
cptchaos83 has joined #nixos
<drew__b> let's say I'm in a nix-shell and i want to "stack build"
<drew__b> it's going to fetch the system stack
<{^_^}> [nixpkgs] @Ma27 pushed to master « mautrix-telegram: 0.7.0 -> 0.7.1 »: https://git.io/JvGX8
<OmnipotentEntity> https://paste.ee/p/833dH
<drew__b> instead of the stack installed by nix
<OmnipotentEntity> This is mine.
<drew__b> firewall doesn't allow me to open that
<drew__b> do you see the issue here, though?
leotaku has joined #nixos
<drew__b> anyway, i'm really interested in understanding what causing this behavior
<drew__b> because it seems like nix should definitely prefer nix-pkgs over system ones - particurly in the nix shell
<drew__b> do you have cabal installed locally omni?
<drew__b> or are you on nixos?
<OmnipotentEntity> The ~/.cabal/bin and ~/bin I added manually in my .zshrc
<OmnipotentEntity> and it's from before I migrated to nixos
<WinchellsM> Is there a way to `fetchFromGitHub` but recursively with git submodules?
<OmnipotentEntity> And now they're deleted.
<drew__b> i guess this is more an issue with folks on other distros that are also using nix package mngr
<infinisil> WinchellsM: Pass fetchSubmodules = true
johnw has quit [Remote host closed the connection]
<OmnipotentEntity> drew__b, so you're not on NixOS?
iz16 has joined #nixos
iz16 is now known as Guest97094
<drew__b> no
<drew__b> i'm on arch
leothrix has joined #nixos
<WinchellsM> infinisil: Thanks
<OmnipotentEntity> ok, I don't really have any experience with Arch, but before you installed the nix package manager what was your path?
<drew__b> the same, but without the nix entires
<drew__b> the same, but without the nix entries
<OmnipotentEntity> so in other words, you had the impure entries in your path already.
<drew__b> yeah i mean nix is using the same path as host
<OmnipotentEntity> And what you want is for the nix entries to be at the top instead of the bottom
<OmnipotentEntity> so that it doesn't draw from system packages.
<OmnipotentEntity> is that a correct understanding?
<drew__b> yessir
<drew__b> exactly
<drew__b> here is an interesting thing
infty has quit [Quit: leaving]
<drew__b> when i run the bash nix-shell
<drew__b> i get this
leothrix has quit [Ping timeout: 268 seconds]
<drew__b> weird duplicates - but the nix stuff is at the top
<OmnipotentEntity> right, that's what you should be seeing.
<drew__b> what the heck is going on with zsh
<OmnipotentEntity> oh wait
WinchellsM has quit [Quit: Lost terminal]
kraem has quit [Quit: outta here]
<OmnipotentEntity> how do you have direnv setup exactly?
<OmnipotentEntity> What's your .envrc say?
cartwright has quit [Remote host closed the connection]
* cransom double blinks that that code is in use in the wild.
cartwright has joined #nixos
<OmnipotentEntity> I think that's part of direnv now and you don't need it
<OmnipotentEntity> and that might be part of the problem.
<OmnipotentEntity> I certainly don't have it
<OmnipotentEntity> I just have a .envrc in the folder with my shell.nix that says "use_nix"
<cransom> that script is an optimization that you probably don't need. at least being that i work with the author of the gist.
leothrix has joined #nixos
<drew__b> well i need those caches for keeping this when i garbage collect
<drew__b> the .direnv.d/
<cransom> you may be interested in lorri
<drew__b> yeah we're talking about that at work
<drew__b> anyway, this can't be the problem with zsh and path
<cransom> if you are doing something new, i'd nudge you that way instead of of the customness of this one.
<cransom> but what are you doing that generates the output from https://pastebin.com/28j7XU1n ?
<OmnipotentEntity> bash
<drew__b> yeah bash
<drew__b> when i'm in zsh the path is different
<cransom> you are just running `bash`?
<drew__b> lemme pastebin it
<drew__b> naw
<drew__b> `nix-shell --option sandbox false "$@"`
<drew__b> that opens nix-shell in bash
<OmnipotentEntity> So like, in a directory where I have direnv enabled my path looks like: https://pastebin.com/0qaQ7Qsm
kraem has joined #nixos
<OmnipotentEntity> And all I have is use_nix in my .envrc and an appropriate shell.nix
leothrix has quit [Ping timeout: 260 seconds]
<drew__b> ok so that direnvrc is definitely re-exporting PATH
<OmnipotentEntity> I don't have a ~/.direnvrc at all
<drew__b> you're using bash right?
<drew__b> in nix shell?
<OmnipotentEntity> zsh
knupfer has joined #nixos
<OmnipotentEntity> and that's just what I get when direnv runs when I enter the directory
<drew__b> yeah i want your behavior
<CRTified> other imported submodules. What is my mistake?
<CRTified> Hi, short question regarding the scope of imports: I want to use the simple-nixos-mailserver and want to add accounts in different places. When I import that in my configuration.nix (using fetchTarball), the options are available in the configuration.nix, but not in other imported modules. But when I'm importing (again in the configuration.nix) a local module that defines new options, they are available in
<drew__b> thanks for helping me btw
<OmnipotentEntity> Try disabling your .direnvrc temporarily and see if that helps.
<drew__b> but keep .envrc?
<OmnipotentEntity> yeah
aveltras has quit [Quit: Connection closed for inactivity]
<OmnipotentEntity> CRTified, I do not know, sorry. I hope someone else can help.
<drew__b> trying that
<{^_^}> [nixpkgs] @markuskowa opened pull request #79238 → snapper: 0.8.8 -> 0.8.9 → https://git.io/JvGXA
<drew__b> same output with removing ~/.direnvrc
<OmnipotentEntity> and your .envrc just says "use_nix"
<OmnipotentEntity> ?
<drew__b> "use nix"
<drew__b> no underscore
<OmnipotentEntity> try with an underscore
<drew__b> trying
<drew__b> does it cache my .direncrc?
<OmnipotentEntity> I do not know. Perhaps.
<OmnipotentEntity> Try restarting your shell in that case.
<cransom> you may want to launch a new shell
<drew__b> whoa
<drew__b> so if i do "echo $PATH" it works correctly
leothrix has joined #nixos
<OmnipotentEntity> :thumbsup:
<drew__b> but if i do "tr : '\n' <<<$PATH" it doesnt
<drew__b> it removes the nix paths
<drew__b> wut
<OmnipotentEntity> that's very weird.
fendor has joined #nixos
<gustavderdrache> what about `tr : $'\n' <<"$PATH"` ?
<gustavderdrache> sorry, i meant <<<"$PATH"
<drew__b> with the dollar?
logand has quit [Ping timeout: 246 seconds]
<OmnipotentEntity> yeah
<drew__b> that worked
<gustavderdrache> same output as echo "$PATH", but with each entry on a new line?
<OmnipotentEntity> excellent
<OmnipotentEntity> yeah gustavderdrache
<gustavderdrache> yay, shell quoting
<drew__b> ugh, cabal and stack are still above
<drew__b> i really don't get this
<drew__b> wait
<drew__b> it's interpolating me host path in the alias i have
<drew__b> that's what's happening
leothrix has quit [Ping timeout: 265 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JvG1t
<{^_^}> [nixpkgs] @flokli merged pull request #79162 → nixos/systemd: add `systemd.sleep.extraConfig` config option → https://git.io/JvsjA
<drew__b> still dont get why it's duplicating path entreis
<drew__b> but whatever
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #77678 → ber_metaocaml: fix install order. → https://git.io/JvJQy
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @darlentar to master « ber_metaocaml: fix install order. »: https://git.io/JvG1Y
<{^_^}> [nixpkgs] @andersk opened pull request #79239 → locate: Clarify mlocate warning message → https://git.io/JvG1G
leothrix has joined #nixos
<OmnipotentEntity> drew__b, can you share your ~/.zshrc?
<drew__b> sure
<drew__b> it's fixed btw
sigmundv has quit [Read error: Connection reset by peer]
<OmnipotentEntity> you fixed the issue?
<drew__b> what it was doing was interpolating $PATH when ~/.zshrc was sourced
<drew__b> yes
<OmnipotentEntity> excellent
<OmnipotentEntity> glad to hear
<drew__b> i wonder if there is a way to not interpolate $PATH
<drew__b> and have it be a thunk
<drew__b> err, lazily evaled
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ddellacosta has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 268 seconds]
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79240 → xbps: 0.57.1 -> 0.58 → https://git.io/JvG10
leothrix has quit [Ping timeout: 265 seconds]
semilattice has quit [Ping timeout: 268 seconds]
cust0dian has quit [Quit: WeeChat 2.7]
<{^_^}> [mobile-nixos] @samueldr pushed to master « documentation: Fix UTF-8 parsing »: https://git.io/JvG1K
shibboleth has joined #nixos
karetsu has joined #nixos
karetsu has quit [Client Quit]
monadplus has quit [Ping timeout: 272 seconds]
gustavderdrache has quit [Quit: Leaving.]
kvda has joined #nixos
[Leary] has joined #nixos
leothrix has joined #nixos
Lears has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
leothrix has quit [Ping timeout: 240 seconds]
__monty__ has quit [Quit: leaving]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @sikmir opened pull request #79241 → pythonPackages.pyosmium: init at 2.15.3 → https://git.io/JvGMv
shibboleth has quit [Quit: shibboleth]
marek has quit [Ping timeout: 268 seconds]
<{^_^}> [mobile-nixos-website] @samueldr pushed to master « Add January 2020 round-up »: https://git.io/JvGML
eeyun[m] has left #nixos ["User left"]
<CRTified> aanderse, you asked for a PR to fix the fail2ban-issue when the firewall is disabled ( https://github.com/NixOS/nixpkgs/issues/41422 ) - could you give me some input on the two possible solutions?
<{^_^}> #41422 (by coretemp, 1 year ago, open): fail2ban module configuration: Fatal: can't open lock file /run/xtables.lock: Read-only file system
zeta_0 has joined #nixos
<aanderse> CRTified: hey... sorry, i've been meaning to comment on that
<aanderse> though i'm not a fail2ban expert so anyone else who is up on their fail2ban please comment :)
<CRTified> No problem, I just stumbled across a tab that had that issue open :)
drew__b has quit [Ping timeout: 265 seconds]
knupfer has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #79238 → snapper: 0.8.8 -> 0.8.9 → https://git.io/JvGXA
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JvGM8
leothrix has joined #nixos
<{^_^}> [mobile-nixos] @cidkidG opened pull request #79 → [WIP] Add oneplus-dumpling and oneplus-cheeseburger → https://git.io/JvGM4
leothrix has quit [Ping timeout: 265 seconds]
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<wild_buffalo> so I'm playing around with nixops and I just deployed the trivial.nix virtualbox
leothrix has joined #nixos
<wild_buffalo> the very last thing it does for me is activate the systemd stuff and the virtualbox.service fails with the following error:
<wild_buffalo> Error: Failed to become guest control master: VERR_VERSION_MISMATCH
<wild_buffalo> What gives?
sondr3 has quit [Quit: WeeChat 2.7]
leothrix has quit [Read error: Connection reset by peer]
leothrix has joined #nixos
leothrix has quit [Ping timeout: 240 seconds]
lukash is now known as lukash|away
srid-irccloud has joined #nixos
markus1189 has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli merged pull request #79173 → nerdfonts: 2.0.0 -> 2.1.0 → https://git.io/JvGfp
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JvGMM
markus1189 has joined #nixos
o1lo01ol1o has joined #nixos
<wild_buffalo> Also, where should I keep my custom Nix Pkgs? Is there a canonical place to store them or wherever is fine?
<{^_^}> [nixpkgs] @Infinisil merged pull request #77673 → perlPackages: batch update → https://git.io/JvJ9R
<{^_^}> [nixpkgs] @Infinisil pushed 138 commits to staging: https://git.io/JvGM9
<jared-w> Wherever is fine. I have a ~/src directory that I keep all my stuffs in so it'd inevitably end up in there
<jared-w> that's just me though
<{^_^}> [nixpkgs] @Infinisil merged pull request #77594 → Fix boot.loader.grub.extraFiles when used with mirroredBoots → https://git.io/Jvfjl
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JvGM7
ddellacosta has joined #nixos
<wild_buffalo> jared-w: cool thanks
<wild_buffalo> Also found out what's up with the VirtualBox service failing. It's because the base image being used by NixOps is too old
<wild_buffalo> Sigh
<{^_^}> [nixpkgs] @primeos opened pull request #79242 → chromium: 79.0.3945.130 -> 80.0.3987.87 → https://git.io/JvGMN
<{^_^}> [nixpkgs] @Infinisil opened pull request #79243 → nixos/resolvconf: Remove useHostResolvConf option → https://git.io/JvGMx
leothrix has joined #nixos
chagra has quit [Ping timeout: 272 seconds]
gustavderdrache has joined #nixos
leothrix has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #79165 → xournalpp: 1.0.16 -> 1.0.17 → https://git.io/JvGvQ
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JvGDJ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79244 → yubico-piv-tool: 1.7.0 -> 2.0.0 → https://git.io/JvGDm
<{^_^}> [nixpkgs] @jtojnar merged pull request #78913 → common-updater-scripts: Support SRI-style hash → https://git.io/JvOQL
<{^_^}> [nixpkgs] @jtojnar pushed 5 commits to master: https://git.io/JvGDs
erasmas has quit [Quit: leaving]
m0rphism has quit [Ping timeout: 265 seconds]
genesis has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #79243 → nixos/resolvconf: Remove useHostResolvConf option → https://git.io/JvGMx
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JvGDW
leothrix has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]