gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || 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
<{^_^}> [nixpkgs] @fpletz merged pull request #44560 → tmuxPlugins: expose mkDerivation for creating a TMUX plugins → https://git.io/fN1dx
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fNM8a
<{^_^}> [nixpkgs] @kalbasit opened pull request #44582 → pythonPackages.pymysql: 0.6.6 -> 0.9.2; move to python-modules. → https://git.io/fNM86
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #44583 → WIP: treewide: Always prefix compilers → https://git.io/fNM8y
phreedom has quit [Ping timeout: 250 seconds]
<kisik21> How to use xfce4 scope with callPackage in overlay without listing needed xfce4 packages in arguments?
jperras has joined #nixos
<clever> kisik21: xfce4.callPackage i think
<kisik21> one sec, let's try
phreedom has joined #nixos
<chessai> this is building with frontend == false, so it's using reflex-platform.json, which points to a fork of reflex-platform, whose default.nix is pasted
<kisik21> Hmm, interesting - profiles/desktop.nix (imported from configuration.nix) doesn't pick up overlay from configuration.nix. Is this intended? Do overlays propagate through imports (so, if I import an overlay in common.nix, which is imported by desktop.nix, will it get used?)
<clever> chessai: i think makeRecursivelyOverridable is broken and not merging overlays correctly
<chessai> clever: what makes you think that
<clever> chessai: that would explain why some overrides are not taking full effect on things
<kisik21> clever, did you mean to reply to me?
<clever> kisik21: no
<kisik21> ok
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #44576 → stage-1: Remove last reference of now-removed stdenv.isCross → https://git.io/fNMsn
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to staging: https://git.io/fNM4G
<clever> kisik21: in your case, the overlays are applied in the order they are listed in the overlays config, super will give you the pkgs set for every overlay up to and including the previous one, while self is the result of all overlays
<clever> kisik21: so you need to use self if you want something from a future overlay
<kisik21> nonono, desktop.nix is not an overlay
<kisik21> It's imported via imports = [ <...> ];
<clever> kisik21: ah, can you gist your files, or link them on github?
endforma1 has joined #nixos
<kisik21> I think I'll upload it to GitHub, I keep my NixOS config in the repos
<kisik21> or maybe not
<kisik21> since it contains files that are not to be seen by people
<kisik21> I'll gist it
<clever> thats why ive been rewriting mine as i move things into the public repo
<symphorien> hum I wanted nxo-review to rebuild modified nixos tests, but it takes like 15 minutes to evaluate all the tests...
<clever> too much work to try to audit the entire git history
rprije has joined #nixos
endformationage has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #44584 → nix-review: 0.3.0 -> 0.4.0 → https://git.io/fNM4a
carlosdagos has joined #nixos
endforma1 has quit [Ping timeout: 264 seconds]
<kisik21> I snipped some parts that are really irrelevant
<clever> kisik21: and is it giving a clear error?
dbmikus__ has joined #nixos
<kisik21> error: undefined variable 'pidgin-lurch' at /etc/nixos/profiles/desktop.nix:16:11
<clever> packageOverrides are applied before overlays
<clever> switch that region to an overlay and it should work
<kisik21> Move pidgin-with-plugins to overlay? well, why not
<clever> yep
Sonarpulse has quit [Ping timeout: 240 seconds]
<clever> and use self.pidgin-lurch so it refers to the fixed-point result of merging all overlays
<kisik21> the last message just got me more confused
<kisik21> sorry ^^
<clever> super.pidgin-lurch will refer to the result of applying most overlays, and will depend heavily on the order the overlays get proccessed in
<clever> but self.pidgin-lurch refers to the final result
dbmikus__ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #44567 → python-language-server: 0.18.0 -> 0.19.0 → https://git.io/fN1j0
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fNMBO
<{^_^}> [nixpkgs] @Mic92 merged pull request #44569 → vimNox: drop → https://git.io/fNMfl
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fNMBn
__monty__ has quit [Quit: leaving]
<kisik21> Yay, I've built my first working overlay!
<{^_^}> [nixpkgs] @Mic92 merged pull request #44522 → citrix_receiver: allow custom certs and hooks for the installation → https://git.io/fNXyu
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fNMBr
endforma1 has joined #nixos
<chessai> clever: i see your point, but i'm not sure as to where it's broken
<chessai> in makeRecursivelyOverridable
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fNMBM
<clever> chessai: depending on what its doing, it may overwrite the vector attribute, without changing the vector passed to every other package
<clever> chessai: which results in future overrides using the 2nd vector, and now you have 2 vectors at play
<chessai> because (//) has a right-preference?
<clever> because of how callPackage works
<clever> > (rec { a = 1; b = a; } // { a = 2; }
<{^_^}> error: syntax error, unexpected $end, expecting ')', at (string):167:1
<clever> > (rec { a = 1; b = a; }) // { a = 2; }
<{^_^}> { a = 2; b = 1; }
<clever> chessai: note that changing a did not impact b at all
<chessai> ah
zkourouma has quit [Quit: Leaving]
<clever> similar problems can happen if your overlays are not applying right
<{^_^}> [nixpkgs] @symphorien opened pull request #44585 → osquery: do not rebuild at each nixpkgs commit → https://git.io/fNMRM
jmeredith has quit [Quit: Connection closed for inactivity]
mayhewluke has quit [Ping timeout: 240 seconds]
mojjo1234_ has quit [Ping timeout: 252 seconds]
ericsagnes has joined #nixos
<ldlework> Was nix-locate the only cool non-standard nix tool?
<dhess> whoot! Replaced my OpenBSD router with a NixOS one; now I'm 100% NixOS on my home servers!
<dhess> now for a new challenge -- anyone running a VRRP-type setup with NixOS?
<kisik21> What's VRRP?
<kisik21> also congrats with going 100% NixOS
<kisik21> dhess: ^
worldofpeace_ has joined #nixos
<infinisil> ldlework: nix-bundle comes to my mind
Fare has joined #nixos
<worldofpeace_> thx infinisil for reviewing that :)
<dhess> kisik21: VRRP is router redundancy protocol
<dhess> keeps your routing going during a hardware failure, reboot, upgrade, etc.
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNMEW
<{^_^}> [nixpkgs] @Infinisil merged pull request #44292 → vscode-extensions: Script to generate Nix for "latest" version of all installed vscode extensions → https://git.io/fNrlF
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 248 seconds]
Mateon3 is now known as Mateon1
thc202 has quit [Ping timeout: 260 seconds]
n0qqe has joined #nixos
hakujin2 has quit [Ping timeout: 260 seconds]
noqqe has quit [Ping timeout: 244 seconds]
n0qqe is now known as noqqe
chessai has quit [Remote host closed the connection]
hakujin2 has joined #nixos
Supersonic has quit [Ping timeout: 256 seconds]
hakujin2 has quit [Ping timeout: 265 seconds]
lassulus_ has joined #nixos
Maxdamantus has quit [Ping timeout: 248 seconds]
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
Supersonic has joined #nixos
Maxdamantus has joined #nixos
DigitalKiwi has joined #nixos
worldofpeace_ has quit [Ping timeout: 256 seconds]
silver__ has quit [Read error: Connection reset by peer]
hakujin2 has joined #nixos
DigitalKiwi has quit [Remote host closed the connection]
worldofpeace_ has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
hakujin2 has quit [Ping timeout: 256 seconds]
DigitalKiwi has joined #nixos
marusich has joined #nixos
<gratin> should I use nixup or home-manager
<gratin> where can i read more about nixup?
<gratin> which one is actively developed?
hakujin2 has joined #nixos
hakujin2 has quit [Ping timeout: 276 seconds]
Drakonis has joined #nixos
b has quit [Quit: Lost terminal]
b has joined #nixos
<infinisil> gratin: Use home-manager, nixup isn't neither used nor maintained by anybody afaik
<infinisil> nixup is* neither..
<gratin> thanks
<Drakonis> 'ello friends
<Drakonis> i take hydra is still out of commision for manual builds, right?
b has quit [Remote host closed the connection]
<samueldr> what do you mean?
b has joined #nixos
<Drakonis> i mean that if i run nix-build, it'll try to download the sources for things that depend on cmake
<Drakonis> then rebuild all of them
<samueldr> only if you use a commit earlier than what's on the channels
<samueldr> and looking at hydra, at first glance, everything's "fine", it's just got a lot on its plate right now
kisik21 has quit [Ping timeout: 260 seconds]
alex`` has joined #nixos
<infinisil> drakonis: You can do git revert 76a713bd299ff9bd63880c4be25a8335f5082322
<Drakonis> oh interesting
<Drakonis> thanks man
<Drakonis> the offending commit has been undone, thanks
marusich has quit [Ping timeout: 265 seconds]
<maerwald> anyone tried to install https://github.com/erpalma/lenovo-throttling-fix or has a nixpkg for it?
gobby has joined #nixos
hakujin2 has joined #nixos
<gobby> I'm installed a VM using virt-install however I can't connect to it via vnc
<gobby> sudo vncviewer localhost:0 returns unable to view display
<gobby> virt-viewer similarly
<gobby> I this a graphics card issue?
<gobby> is this**
<Drakonis> yeeeee boyes, i got rclone-browser packaged now
witchof0x20 has quit [Remote host closed the connection]
witchof0x20 has joined #nixos
gratin has quit [Ping timeout: 240 seconds]
jmeredith has joined #nixos
<Drakonis> my first actual package that's not an update
<Drakonis> this is fine.
hakujin2 has quit [Ping timeout: 265 seconds]
hakujin2 has joined #nixos
hakujin2 has quit [Ping timeout: 276 seconds]
Maxdamantus has quit [Ping timeout: 268 seconds]
Maxdamantus has joined #nixos
worldofpeace_ has quit [Ping timeout: 256 seconds]
jperras has quit [Quit: WeeChat 2.2]
hakujin2 has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
hiroshi has quit [Ping timeout: 240 seconds]
gobby has quit [Quit: Page closed]
hakujin2 has quit [Ping timeout: 268 seconds]
<Drakonis> IT WERKZ
<ldlework> as far as you know
b has quit [Ping timeout: 248 seconds]
<samueldr> btw, drakonis, for contributing packages it's often easier to follow a channel from the nixpkgs-channels repo
marusich has joined #nixos
<samueldr> like the channels/nixos-18.03 example here https://github.com/NixOS/nixpkgs
<samueldr> but you would follow channels/nixos-unstable (or channels/nixpkgs-unstable ONLY IF you don't use it to build your system)
<ldlework> I thought of another one: nix-repl
<samueldr> ldlework: nix-repl what?
<Drakonis> i track nixpkgs on the repo but i build my system off nixos-unstable-small
<Drakonis> its good y/n?
<ldlework> samueldr: neat non-standard nix tools
<samueldr> drakonis: not sure I follow, you use a nix-channel channel to build your system with nixos-unstable-small...
<samueldr> ... amd "I track nixpkgs on the repo" is what I'm not sure then
<samueldr> and*
<samueldr> do you know how remotes work with git?
<samueldr> (otherwise it won't make any sense)
<Drakonis> okay sorry i'm mixing things up
<Drakonis> i have a nixpkgs clone
<samueldr> no worries, there's loads of overloaded terms here
<Drakonis> i work off master
<Drakonis> the channel i pull the expressions from, is nixos-unstable-small
hakujin2 has joined #nixos
<ldlework> samueldr: so far we have nix-locate, nix-bundle and nix-repl, any others?
<samueldr> ldlework: do you still use `nix-repl` now that there's `nix repl`?
<samueldr> if so, I wanted to know what's missing from `nix repl`
<Drakonis> so far everything runs correctly
<ldlework> i have never used nix-repl
sir_guy_carleton has joined #nixos
<samueldr> drakonis: okay, they're quite independent, working on nixpkgs with a git checkout/clone is generally safely assumed to be isolated from whatever built the system
<Drakonis> nix-repl needs a lot of docs
<ldlework> i'm just looking to make a list of cool tools
<Drakonis> look up the nixos wiki, it should have a list
<samueldr> so for what follows, we can completely ignore whatever is in your nix-channels :)
<Drakonis> ah yes
<samueldr> see this repository here → https://github.com/NixOS/nixpkgs-channels
<samueldr> look at the branches
<samueldr> there is one branch per channels, they are automatically updated when channels advance
<samueldr> so if you use the `nixpkgs-channels` repo as a git remote, you can `git checkout -b nixos-unstable channels/nixos-ubstable` and work with the "full set" build by hydra
<Drakonis> i feel that i'm missing a couple things here atm
<samueldr> hmmm, it may be missing the "what's a remote?" article https://help.github.com/categories/managing-remotes/
<Drakonis> okay yes
<Drakonis> there's something else though
<Drakonis> channel management seems to be a little iffy
<samueldr> how so?
<Drakonis> i've put some configuration lines on my configuration file to make rebuilds always pull from nixos-unstable-small
iqubic has joined #nixos
<Drakonis> same with the home configuration
hiroshi has joined #nixos
hakujin2 has quit [Ping timeout: 276 seconds]
<Drakonis> an packageoverride
<Drakonis> i don't think i'm doing it right
<Drakonis> it only seems to take effect when handling nix 2.0, nix-env pulls from nix-channel
hakujin2 has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
hakujin2 has quit [Ping timeout: 256 seconds]
freeman42]NixOS has quit [Ping timeout: 276 seconds]
<{^_^}> [nix] @ivan opened pull request #2335 → repl: don't add trailing spaces to history lines → https://git.io/fNM2Q
<{^_^}> [nix] @ivan closed pull request #2335 → repl: don't add trailing spaces to history lines → https://git.io/fNM2Q
v0|d has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #44585 → osquery: do not rebuild at each nixpkgs commit → https://git.io/fNMRM
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNMaU
marusich has quit [Ping timeout: 276 seconds]
<{^_^}> [nix] @ivan opened pull request #2336 → repl: don't add trailing spaces to history lines → https://git.io/fNMaB
marusich has joined #nixos
lopsided98 has quit [Quit: Disconnected]
marusich has quit [Client Quit]
andreabedini has joined #nixos
lopsided98 has joined #nixos
hakujin2 has joined #nixos
reinzelmann has joined #nixos
hakujin2 has quit [Ping timeout: 265 seconds]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mayhewluke has quit [Ping timeout: 244 seconds]
mayhewluke has joined #nixos
hakujin2 has joined #nixos
hakujin2 has quit [Ping timeout: 255 seconds]
hakujin2 has joined #nixos
hakujin2 has quit [Ping timeout: 256 seconds]
aminechikhaoui has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 248 seconds]
Izorkin has quit [Ping timeout: 240 seconds]
<iqubic> Does NixOS have a way to get Jupyter notebooks set up?
rprije has quit [Ping timeout: 240 seconds]
Izorkin has joined #nixos
Guanin has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/230f98aa79b (from 4 days ago, history: https://channels.nix.gsc.io/nixos-18.03)
Guanin has joined #nixos
<etu> Hi, how can I override the kernel version? I want to try out specific minor versions to try to debug an issue I have.
<sir_guy_carleton> there's a section on that in the manual: https://nixos.org/nixos/manual/index.html#sec-kernel-config
andreabedini has joined #nixos
<etu> sir_guy_carleton: I tried to put overrides for version and it didn't let me
<etu> I cloned nixos-unstable channel instead and runs from it and modify it... :)
<{^_^}> [nixpkgs] @Drakonis opened pull request #44589 → rclone-browser: init at 1.2 → https://git.io/fNMrq
<{^_^}> [nixpkgs] @Drakonis opened pull request #44590 → gzdoom: g3.4.1 -> g3.5.0 → https://git.io/fNMrn
<{^_^}> [nixpkgs] @Drakonis opened pull request #44591 → quakespasm: 0.92.1 -> 0.93.1 → https://git.io/fNMrc
<{^_^}> [nixpkgs] @Drakonis opened pull request #44592 → vkquake: 0.97.3 -> 1.00.0 → https://git.io/fNMrC
<Drakonis> noice.
<etu> Would be fun to not use wifi at work, I want to use cabled network :p
<Lisanna> oh boy...
<Lisanna> just discovered that I could do this
<Lisanna> > "${/* inline comment in nix string */""}"
<{^_^}> ""
<Lisanna> i.e. how to comment your nix code in the middle of a big string literal without the comments showing up in the build result
<etu> You could just use hash sign?
<etu> Since that's parsed as bash
<Lisanna> etu that would make the comments show up in the build result
<Lisanna> (built result in that case being the bash script)
<Lisanna> Advantages: 1) prevent rebuilding when just changing comments, and 2) if you want the resulting script to make sense if read by a human, and the comment is about the nix code that generates it, thus it would be out of place if included in the script result
rauno has joined #nixos
<rauno> Hey
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fNMry
<{^_^}> [nixpkgs] @Mic92 merged pull request #44564 → gdb: 8.1 -> 8.1.1 → https://git.io/fN1bX
<rauno> What's best way to evaluate or test nix expressions built for nixops (without really creating deployment/deploying) ?
<Lisanna> rauno nixops deploy --build-only
Ariakenom has joined #nixos
<rauno> okay, will try
Drakonis has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 244 seconds]
sqooq has joined #nixos
hakujin2 has joined #nixos
justanotheruser has joined #nixos
tobiasBora has joined #nixos
<tobiasBora> Hello,
<tobiasBora> I'd like to install nixos in a qemu file (.qcow file). Is there anything special I need to know, or should I follow the usual way to install nix?
dvim has joined #nixos
hakujin2 has quit [Ping timeout: 265 seconds]
<tobiasBora> Here I can see that they are using directly the arm image: https://nixos.wiki/wiki/NixOS_on_ARM/QEMU
<tobiasBora> so I was wondering if something similar can be done when I'm interested in x86_64 nixos
<sqooq> My nix-shell acts weirdly and interprets my backspaces and regular spaces
<sqooq> and arrow keys are weird
<sqooq> it like keeps pasting things rather than cycling
Ariakenom has quit [Quit: Leaving]
FRidh has joined #nixos
<rauno> i can see that nix-instantiate --eval can also run, but how can i get the <CODE> parts display ?
<rauno> by running i mean evaluate .nix files
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @dotlambda closed pull request #44582 → pythonPackages.pymysql: 0.6.6 -> 0.9.2; move to python-modules. → https://git.io/fNM86
<sqooq> interprets my backspaces as* regular spaces
hakujin2 has joined #nixos
hyper_ch2 has joined #nixos
gratin has joined #nixos
orivej has joined #nixos
hakujin2 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNMKv
joshie has quit [Quit: No Ping reply in 180 seconds.]
Ariakenom has joined #nixos
<sphalerite_> sqooq: have you maybe nested nix-shells?
<sphalerite_> sqooq: or is your $TERM incorrect?
<sphalerite_> sqooq: if neither of those is the case, try `reset`
<{^_^}> [nixpkgs] @adisbladis merged pull request #44584 → nix-review: 0.3.0 -> 0.4.0 → https://git.io/fNM4a
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNMKk
<sqooq> I didn't attempt to nest nix-shells
<sqooq> I just ran 'nix-shell' in my project directory, in zsh
<sqooq> sphalerite_: my $TERM seems alright too: xterm-termite
<sqooq> o maybe this is it
orivej has quit [Ping timeout: 256 seconds]
<{^_^}> #8473 (by ehahn, 3 years ago, open): termite sets unknown TERM variable
<sphalerite_> yep that looks right
sphalerite_ is now known as sphalerite
<sqooq> what is it supposed to be set to?
<sqooq> sphalerite: also I see no mention of `reset` anywhere
greymalkin has quit [Ping timeout: 256 seconds]
<sphalerite> sqooq: well ideally the terminfo would just be installed correctly. How did you install termite?
<sphalerite> sqooq: and reset won't help in this scenario so never mind that
sir_guy_carleton has quit [Quit: WeeChat 2.0]
greymalkin has joined #nixos
<{^_^}> [nixpkgs] @dotlambda closed pull request #44578 → pythonPackages.cli-helpers: init at 1.0.2 → https://git.io/fNMnW
<DigitalKiwi> I had problems with termite and a few others too terminator and a few others worked
<amosbird> hello
<amosbird> how can I customize the build of libtensorflow ?
<sqooq> hmm
<amosbird> hmm, I don't see any compilation flags there
<sqooq> ugh nix seems shakey maybe I shouldn't be using it
<sphalerite> sqooq: I'd strongly disagree, but feel free not to use it
<DigitalKiwi> " ok so it happpens in urxvt/termite, it works fine in lxterminal/terminator"
<sqooq> why would it work in some terminals and not others
<sqooq> seems kind of buggy
worldofpeace_ has joined #nixos
* DigitalKiwi blames the terminal
<sphalerite> sqooq: because other terminals don't have their terminfo definitions shipping with ncurses
<{^_^}> [nixpkgs] @dywedir opened pull request #44593 → reason: 3.0.4 -> 3.3.2 → https://git.io/fNMKb
<DigitalKiwi> when I had the problem someone else said it worked in their urxvt so it's fixable in that too
<sqooq> it works in xfce4terminal, why does terminal matter
<sphalerite> sqooq: because different terminals have different escape sequence definitions.
<DigitalKiwi> [2018-05-24T22:53:27-0500] <ajmccluskey> DigitalKiwi: I've sometimes fixed similar issues with a `TERM=xterm-256color run-my-thing`
<sphalerite> sqooq: xfce4-terminal just pretends to be xterm, and ncurses knows about xterm without any additional definitions
<sphalerite> sqooq: meanwhile termite has its own definitions which aren't shipped with ncurses, so ncurses doesn't know how to handle it.
<{^_^}> [nixpkgs] @LnL7 pushed to master « vim_configurable: fix darwin build »: https://git.io/fNM6L
<sphalerite> sqooq: again, how did you install termite?
<DigitalKiwi> and if you're having problems with nix-shell you'll likely have problems with other stuff too so it's not nix fault
<sphalerite> ooh, or are you using nix-shell --pure?
gratin has quit [Ping timeout: 268 seconds]
<DigitalKiwi> screen/tmux can also change things annoyingly :(
<sqooq> DigitalKiwi: how is that not nix's fault lmao
<sphalerite> sqooq: if you're using nix-shell --pure it will unset TERMINFO_DIRS, making it unable to find the definitions.
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
<sphalerite> sqooq: also, please stop being so confrontational and try to answer questions so we can help you solve the problem rather than flaming nix.
<DigitalKiwi> because it's a terminal issue
<sqooq> sorry I didn't see your question
<sphalerite> sqooq: if you think nix is crap and don't want to use it, you're welcome to leave. If you still want to give it a chance, then let us help you.
<sqooq> but no i'm just running `nix-shell`
<sqooq> sphalerite: woah calm down
* sphalerite is calm
<sphalerite> it just looks almost like you're trolling, in which case I'm disinclined to help. If that's incorrect, apologies for the accusation but please do try and avoid giving the impression :)
<sqooq> cypress is calm as well, got any other leads for me
<sphalerite> how did you install termite?
<sqooq> sphalerite: that's honestly kind of passive aggressive
<sqooq> but it's understandable if trolls waste your time a lot. But have you ever considered that maybe not everyone is smart and just gets and fixes things immediately for programs they're unused to?
<sqooq> sphalerite: I installed it using pacman on arch linux. After you, or whoever, mentioned it earlier, i installed it with nix-env to see if it would help: it did not.
<sqooq> I got it working on xfce4, i just think that's annoying that some terminals don't work
<sqooq> now i'm getting an error but can't tell if that's my fault or not
<DigitalKiwi> you can make other terminals work by configuring them
<hyper_ch2> hi sphalerite
<sqooq> if you have a dependency for a haskell project, then it properly get's all ITS dependencies right? I don't need to manually build the tree myself do I?
<sphalerite> riiiiiight okay! That's very helpful to know. So the issue, I believe, is that installing termite via pacman will put its terminal definitions in /usr/share/terminfo, but nix-built programs don't look there
<sqooq> DigitalKiwi: how do I do so for termite?
<sphalerite> try `export TERMINFO_DIRS=/usr/share/terminfo` and see if that helps
<sphalerite> hi hyper_ch2
* hyper_ch2 gives sphalerite a chocolate coated crunchy cookie
<sqooq> sphalerite: that fixed it thanks!
* sphalerite likes chocolate coated crunchy cookies. Thanks!
<DigitalKiwi> I had the problem I quoted from earlier also on archlinux in xmonad and I found it because I had tried termite as my default term to try it and then I found out that it worked in lxterminal and terminator and not termite or urxvt with default settings and I didn't even want to use termite so I just changed it to terminator or lxterminal so didn't go further
<sqooq> I figured I could jsut do that, i just didn't know where it was stored, and the issue webpage i linked above didn't mention anything like that. it mentioned systemPackages, which I went looking for information on.
<sqooq> Now i got to figure out why my program won't run lmao
rauno has quit [Ping timeout: 265 seconds]
<sphalerite> sqooq: systemPackages is a nixos thing and doesn't apply to nix-on-other-OSes, so it wouldn't help in your case :/
<sqooq> je vois
<sqooq> hmm it builds fine it just won't run
<sqooq> not a nix thing
<sqooq> ok well i guess i got my only problem fixed then
<sqooq> Goodbye
<sqooq> thank you
sqooq has quit [Quit: WeeChat 2.2]
hakujin2 has joined #nixos
Adluc has joined #nixos
hakujin2 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #44592 → vkquake: 0.97.3 -> 1.00.0 → https://git.io/fNMrC
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNMPG
Jackneill has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @adisbladis merged pull request #44591 → quakespasm: 0.92.1 -> 0.93.1 → https://git.io/fNMrc
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNMPc
<{^_^}> [nixpkgs] @peti pushed 7 commits to haskell-updates: https://git.io/fNMP8
Jackneill has joined #nixos
alex`` has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @peti pushed 7 commits to haskell-updates: https://git.io/fNMPR
<{^_^}> [nixpkgs] @peti pushed 7 commits to master: https://git.io/fNMP0
Thra11 has joined #nixos
alex`` has joined #nixos
Thra11 has quit [Ping timeout: 260 seconds]
ersran9 has joined #nixos
<{^_^}> [nixpkgs] @udono opened pull request #44594 → Update tryton 4 8 → https://git.io/fNMX1
thc202 has joined #nixos
mikeplus64 has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
f0i has joined #nixos
mayhewluke has quit [Ping timeout: 240 seconds]
worldofpeace_ has quit [Ping timeout: 256 seconds]
<maerwald> I'm trying to run selenium in a nix-shell that works on non-NixOS, but on NixOS I get "/nix/store/ql3633pll167l18c1723s909pi5mlwjc-openjdk-8u122b04-jre/bin/java: symbol lookup error: /run/opengl-driver/lib/libGL.so.1: undefined symbol: drmGetDevices2"
<srhb> maerwald: Is this an unstable nixos?
<maerwald> 18.03
<srhb> Oh, hm. I thought that looked like the usual "package has not been updated for libglvnd changes" but I think that's only on unstable and forwards...
<srhb> Ah, no, it does find the file. Right. Sorry for the noise.
<maerwald> seems opengl is completely broken
<Drakonis[m]> use nixgl
<{^_^}> [nixpkgs] @Tomahna opened pull request #44596 → duply: 1.9.2 -> 2.1 → https://git.io/fNMMi
<maerwald> there seems to be no such package
johanot has joined #nixos
mayhewluke has joined #nixos
aminechikhaoui has joined #nixos
rauno has joined #nixos
sigmundv has joined #nixos
<rauno> when using nix-instantiate --eval can i get full output of my nix expressions? at the moment, most import part stays <LAMBDA>
<rauno> with --strict option
<{^_^}> [nixpkgs] @colemickens opened pull request #44597 → megatools: v2017-10-26 -> v1.10.2 → https://git.io/fNMDV
<srhb> rauno: You'll have to apply them to whatever argument they expect.
<rauno> okay, and what's the correct way of providing { config, pkgs, lib, resources, ... }: ?
<rauno> for example :)
<{^_^}> [nixops] @AmineChikhaoui merged pull request #987 → Add an argument to enable IP forwarding in GCE → https://git.io/fN1lO
<{^_^}> [nixops] @AmineChikhaoui pushed 2 commits to master: https://git.io/fNMyf
<srhb> rauno: Usually using callPackage :)
vdemeester has joined #nixos
<srhb> rauno: pkgs.callPackage ({foo, bar, baz}: ...) {}; applies the function to a set { inherit (pkgs) foo bar baz; }
<srhb> (more or less)
<rauno> hum
<teto> ,
<{^_^}> All commands: -A IFD NUR arm ask bootfull callPackage channels cloudfront context dnw error escape" escape'' escape-special fancy-uninstall github hardware haskell help home-manager howoldis library logs nix-env-r nix-info nix-repl nixGL nixcon nixeval nixpkgsVersion not-os notfound outPath overlay paste pills pinning pr profiling pure-eval python qt replaceModule runtimeDeps stateVersion stuck thesis timer todeclarative tofu unfree unstable which-channe
<srhb> rauno: Example: nix-instantiate --eval --expr 'let pkgs = import <nixpkgs> {}; in pkgs.callPackage <nixpkgs/pkgs/applications/misc/hello/default.nix> {}'
__Sander__ has joined #nixos
<fearlessKim[m]> ,locate bin llc
<{^_^}> Found in packages: llvm_4, emscriptenfastcomp
vmandela has joined #nixos
<rauno> srhb, okay, this applies when i want to evalute a nix package
<fearlessKim[m]> "locate" isn't listed in the commands of the bot but it does exist :s
<srhb> rauno: It applies whenever the argset attributes are in pkgs.
<srhb> rauno: (The scope with which callPackage fills in the holes)
fendor has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/fNMyN
<mikeplus64> dumb question: is it possible to import the stdout result of a command? like `import (magic "cabal2nix .")`
<srhb> mikeplus64: We usually use runCommand for this. Essentially, the command will be "cmd > $out"
<{^_^}> [nixpkgs] @dotlambda merged pull request #44571 → mycli: 1.6.0 -> 1.17.0 → https://git.io/fNMJr
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to master: https://git.io/fNMSL
<srhb> Since you're talking about cabal2nix I feel like your use case is most likely already covered, what do you actually need?
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
<srhb> (Specifically it sounds like you may be looking for callCabal2nix)
<mikeplus64> yeah, i just don't like doing 'cabal2nix . --foo --bar > default.nix' repeatedly
jmeredith has quit [Quit: Connection closed for inactivity]
<mikeplus64> i have a build.nix which does somecustompkgs.haskellPackages.callPackage ./default.nix {}, where default.nix is generated by the cabal2nix command line
<srhb> mikeplus64: somecustompkgs.haskellPackages.callCabal2nix ./. {}
<mikeplus64> ah, awesome. are there api docs for this?
<srhb> What is this docs you speak of
<srhb> Do you mean "source code"
<srhb> :-P
<mikeplus64> where can i find that tho
<srhb> nixpkgs/pkgs/development/haskell-modules/make-package-set.nix
<mikeplus64> ta
<srhb> Loads of useful things in there, by the way. We really should document them...
<srhb> (callHackage, for instance, is great)
<mikeplus64> neat
<{^_^}> [nixpkgs] @adisbladis pushed to master « overmind: 1.1.1 -> 2.0.0.beta1 »: https://git.io/fNMSN
<mikeplus64> :D
<mikeplus64> hm, i use cabal2nix to also generate some nix files for git repos with packages ... is there a way to pass in these to callCabal2nix? looks like no but i might not be grokking it correctly
tusj has quit [Quit: Leaving]
<maerwald> how do I make this https://github.com/guibou/nixGL part of my configuration so I don't have to build manually
<srhb> mikeplus64: Sorry, I don't understand the problem description, can you elaborate?
<srhb> maerwald: You want something like pkgs.nixGL to exist?
<maerwald> maybe
<mikeplus64> srhb: the cabal2nix command line can generate a nix file for a package on git, given a git commit oid. i set haskellPackages.overrides in my pkgs set to include a few of these, like `overrides = new: old: { squeal-postgresql = new.callPackage ./squeal-postgresql.nix {}; }`
<mikeplus64> it's probably not sane to do it, because nix invocations will all need to hit the git repo, BUT...
<mikeplus64> know if it is possible to replace that callPackage with callCabal2nix?
<srhb> mikeplus64: Morally you want to callCabal2nix on the src of some git repo?
<mikeplus64> i think the answer is no looking at the src, but haskellSrc2nix might work
hakujin2 has joined #nixos
<mikeplus64> srhb: yes
<srhb> mikeplus64: callCabal2nix (fetchFromGitHub ...) {} ?
<srhb> That seems like the sane way to do it..
<mikeplus64> ah. where can i find fetchFromGithub lol
<srhb> pkgs.fetchFromGitHub (sorry, the H is capitalized)
<Myrl-saki> TIL, callcabal2nix
<{^_^}> [nixpkgs] @primeos pushed to master « android-studio: 3.1.3.0 -> 3.1.4.0 »: https://git.io/fNM9E
<mikeplus64> thanks :-)
<{^_^}> [nixpkgs] @dotlambda merged pull request #44596 → duply: 1.9.2 -> 2.1 → https://git.io/fNMMi
<{^_^}> [nixpkgs] @dotlambda pushed commit from @Tomahna to master « duply: 1.9.2 -> 2.1 (#44596) »: https://git.io/fNM96
hakujin2 has quit [Ping timeout: 256 seconds]
dbe has quit [Quit: leaving]
nwspk has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « go-ethereum: 1.8.11 -> 1.8.13 »: https://git.io/fNMHu
<techieAgnostic> hey friends. I cant seem to rebuild switch without it killing wpa_supplicant and failing to restart it
<Taneb> Does nix play well (or at all) with Haskell's cabal backpack thing?
<{^_^}> [nixpkgs] @primeos pushed to master « fwknop: 2.6.9 -> 2.6.10 »: https://git.io/fNMH6
betaboon has joined #nixos
ma27 has joined #nixos
hakujin2 has joined #nixos
Anton-Latukha has joined #nixos
hakujin2 has quit [Ping timeout: 255 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #44594 → Update tryton 4 8 → https://git.io/fNMX1
<{^_^}> [nixpkgs] @srhb pushed 3 commits to master: https://git.io/fNMQS
<srhb> Taneb: I've never seen any attempts at combining them. Definitely interesting.
<carlosdagos> hi all, has anyone here used hackage2nix?
<srhb> carlosdagos: Plenty of people, directly or indirectly.
<carlosdagos> I'm getting an error like `hackage2nix: constraint cassava ==0.5.1.0 cannot be resolved in Hackage`, which I think means that `cassava` can't be found in `all-cabal-hashes`
ma27 has quit [Quit: WeeChat 2.0]
<carlosdagos> I don't know where (or whether) that error should be reported :/
ma27 has joined #nixos
<srhb> carlosdagos: If it's a new version, it'll just be included in the next bump of all-cabal-hashes I believe :)
<carlosdagos> cassava 0.5.1.0 is from Aug 17th and has been in nixpkgs since Dec 19th, so I don't believe it's that new haha
<srhb> Oh, interesting
<viric> I don't use KDE... but when I run "kdenlive" in one computer I get it in dark theme, and in another I get it in white theme.
<viric> What determines the KDE theme, not using KDE?
<viric> (for kde programs)
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #44598 → [rdy]iproute: allow to load ebpf programs → https://git.io/fNM7B
CcxWrk has quit [Ping timeout: 240 seconds]
<adisbladis[m]> viric: Your Qt theme is set in ~/.config/Trolltech.conf
<viric> is there a qtconfig or similar to change it?
<carlosdagos> arrrhhhggg something's weird @srhb, it's clearly in the repo: https://github.com/commercialhaskell/all-cabal-hashes/tree/hackage/cassava
CcxWrk has joined #nixos
<carlosdagos> are "bad git clones" a thing? XD
<adisbladis[m]> I have only ever done that manually or using the kde config tool
<viric> adisbladis[m]: what is the name of that tool?
<srhb> carlosdagos: Cloning now... :) Takes a while
<adisbladis[m]> viric: You cant use it standalone
<viric> in one computer kdenlive stays at 100% cpu usage because it keeps on trying to load something (perf top shows something about Qt load pixmap icon)
<adisbladis[m]> Need a full plasma session
<viric> In anoother (light theme) this does not happen
<carlosdagos> ah wait, I found out the error -- I'm using OSX and skipped over the part that says `Important: this must be run on a case sensitive file system`
<adisbladis[m]> systemsettings5
<viric> adisbladis[m]: aha, thank you
<srhb> carlosdagos: Ah :P
<adisbladis[m]> But I really think you cant just use it without a plasma session
<carlosdagos> @srhb I'm an idiot :D
<carlosdagos> thanks for the help!
<{^_^}> [hydra] @edolstra pushed to master « Gradually increase maxHeapSize »: https://git.io/fNMdm
<viric> adisbladis[m]: I could start it, and go to Application style. None is a dark theme.. mh
<viric> adisbladis[m]: ah, appearance -> colours. Right.
<{^_^}> [nixpkgs] @adisbladis merged pull request #44534 → elixir: 1.7.0 -> 1.7.2 → https://git.io/fNXja
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to master: https://git.io/fNMdZ
<viric> adisbladis[m]: thank you!
<viric> adisbladis[m]: btw, I get lots of these X errors: 11:48 < viric> adisbladis[m]: I could start it, and go to Application style.
<viric> None is a dark theme.. mh
<viric> grr
<viric> bad copypatse
<viric> I get lots of "QXcbConnection: XCB error: 8 (BadMatch) ..."
CcxWrk has quit [Excess Flood]
<viric> might be a kdenlive bug.
<goibhniu> any time I see XCB error, I suspect there are multiple versions of Qt floating around
pie_ has quit [Ping timeout: 256 seconds]
<viric> goibhniu: really? But qt is clever to detect that, right?
CcxWrk has joined #nixos
<goibhniu> nah, qt freaks out about that IME
<adisbladis[m]> viric: qt5ct might be what you are looking for?
<adisbladis[m]> Thats a standalone qt config tool
<goibhniu> I only install Qt stuff in my system profile now
fendor has quit [Read error: Connection reset by peer]
<viric> adisbladis[m]: ah might be. I remember it existed back when I programmed in qt3
<viric> goibhniu: what is IME?
<goibhniu> in my experience
<{^_^}> [nixpkgs] @jyp opened pull request #44599 → Update to tensorflow 1.9 → https://git.io/fNMdP
<viric> goibhniu: but firefox has qt, and many pieces have qt
<adisbladis[m]> Sadly qt on nix is messy
<goibhniu> even stuff that was built with nix-build and hadn't been garbage collected caused problems for me
<goibhniu> (not installed to a profile)
<adisbladis[m]> Huh? Firefox is gtk
<adisbladis[m]> Qt does far too much runtime discovery magic
<viric> adisbladis[m]: I was looking at nix-store -q --tree reports and maybe I looked at it wrong
<{^_^}> [nixpkgs] @timokau opened pull request #44600 → arb: 2.13.0 -> 2.14.0 → https://git.io/fNMdb
<{^_^}> [nixpkgs] @adisbladis merged pull request #44544 → services.plasma5: Make activationscript use absolute path to → https://git.io/fN1Ix
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNMdN
hyper_ch2 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @xeji merged pull request #44593 → reason: 3.0.4 -> 3.3.2 → https://git.io/fNMKb
<{^_^}> [nixpkgs] @xeji pushed commit from @dywedir to master « reason: 3.0.4 -> 3.3.2 (#44593) »: https://git.io/fNMF4
ollieB has quit [Ping timeout: 268 seconds]
<viric> goibhniu: ok, removing other qts from profiles was not enough. Collecting garbage and see if the XCB thing goes away
<goibhniu> viric: there are a few issues reported like this https://github.com/NixOS/nixpkgs/issues/24256 maybe there are some debugging tricks in there
<{^_^}> #24256 (by lheckemann, 1 year ago, closed): Qt applications fail due to xcb plugin mismatch
<goibhniu> also: https://github.com/NixOS/nixpkgs/pull/44047 looks interesting!
<{^_^}> #44047 (by samueldr, 2 weeks ago, open): WIP: +RFC: Loads qt plugin paths as registered...
<maerwald> when entering a nix-shell I constantly get "Enter passphrase for key...", although it's not even a real prompt
Anton-Latukha has quit [Ping timeout: 256 seconds]
rprije has joined #nixos
<viric> goibhniu: correct, deleting them from the store fixed things
<viric> (in kdenlive). but the XCB errror is there
<sphalerit> viric: any applications using qt in the profile will usually affect it
<viric> I only have a qt in /nix/store now
<viric> and I still have XCB errors.
<srhb> maerwald: Do you have some auto git fetch thing going on in your shell init files?
<srhb> maerwald: Or your prompt maybe
<viric> any applications using qt in the profile will usually
<viric> ARGH bad paste again - forget this line^
<maerwald> no
<sphalerit> viric: I find the easiest "solution" is whenever I want to use a qt app is to nix-env -i -rA it and rollback after starting it
simukis has joined #nixos
__monty__ has quit [Quit: leaving]
<viric> this is crazy...
ericsagnes has quit [Ping timeout: 265 seconds]
Anton-Latukha has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fNMNc
__monty__ has joined #nixos
<goibhniu> aye, it's not great :/
<{^_^}> [nixpkgs] @dotlambda closed pull request #42783 → python.pkgs.tensorflow-tensorboard: 1.7.0 -> 1.9.0 → https://git.io/f4AJY
<{^_^}> [nixpkgs] @basvandijk opened pull request #44601 → lib/types: add the selectorFunction type →
<techieAgnostic> if i install tewi-fonts and theres no problems with the installation, do i need to run fc-cache manually or something? its not showing up in xfontsel
__monty__ has quit [Client Quit]
Izorkin has quit [Read error: No route to host]
<goibhniu> viric: I'm not sure if you're still having the problem now. Maybe lsof shows some Qt stuff that you've removed is still in use?
__monty__ has joined #nixos
<viric> well, I can't really tell what the problem is, besides the stderr messages
<goibhniu> did you try rebooting?
<viric> can it be a mismatched libxcb?
<srhb> techieAgnostic: If you added them to fonts.fonts you should just have to switch.
<viric> goibhniu: I just rebooted
<viric> same outcome
<techieAgnostic> srhb: i installed the package, never heard of fonts.fonts, is there somewhere i can read up on that?
<goibhniu> gah :/
<srhb> techieAgnostic: Ah, are you not on NixOS?
<viric> what worries me most is that, at home, my poor computer has kdenlive with 100% cpu usage. and I can't reproduce it at the office.
<techieAgnostic> I'm on nixos yeah
krav_ has quit [Ping timeout: 265 seconds]
<srhb> techieAgnostic: https://nixos.org/nixos/options.html#fonts.fonts
<techieAgnostic> thank you :)
<techieAgnostic> srhb: got it now, thanks heaps :)
MP2E has quit [Remote host closed the connection]
<srhb> techieAgnostic: Welcome :)
<{^_^}> [nixpkgs] @mdorman closed pull request #44552 → magit-annex: provide `external.git` → https://git.io/fN1Za
Izorkin has joined #nixos
d0t has joined #nixos
<d0t> hi! I got my ~/.nix-profile link screwed. How do I recreate it?
<srhb> d0t: It should point to /nix/var/nix/profiles/per-user/d0t/profile
<d0t> srhb, there's no such thing :(
<srhb> d0t: ls /nix/var/nix/profiles/per-user ?
<d0t> channels channels-1-link channels-2-link
<srhb> wuh
nocoolnametom_ has quit [Ping timeout: 245 seconds]
FRidh has joined #nixos
<tilpner> d0t - Are you sure you broke it? IIRC that directory is created on-demand?
<d0t> tilpner, i'm not sure what happened
<d0t> but I don't have ~/.nix-profile simlink
<tilpner> nix-env -iA nixpkgs.hello
<tilpner> Oh
mikeplus64 has quit [Ping timeout: 256 seconds]
johnhamelink has quit [Ping timeout: 256 seconds]
nocoolnametom_ has joined #nixos
<d0t> nix-env -iA nixpkgs.hello prints out error: opening lock file '/nix/var/nix/profiles/default.lock': Permission denied
<srhb> d0t: Did you by any chance use nix upgrade-nix recently?
<d0t> no
<d0t> but it's a recently installed system
<d0t> i think from last week
mikeplus64 has joined #nixos
<d0t> is there a way just to recreate a user profile?
<srhb> d0t: The easiest way is to just install nix into a new profile and switch to that
<srhb> d0t: Is this a NixOS system?
<d0t> yup
<d0t> so, how do I do that?
<srhb> Alright, then you should be able to just switch profile and it will be created whenever you add something to it
<srhb> Since nix is available system-wide
<{^_^}> [nixpkgs] @mat8913 opened pull request #44602 → Workaround for issue #44254 (Steam cannot connect to friends network) → https://git.io/fNMhA
ericsagnes has joined #nixos
<srhb> nix-env --switch-profile /nix/var/nix/profiles/per-user/d0t
init_6 has joined #nixos
<d0t> nix-env -i anything says '/nix/var/nix/profiles/per-user/d0t' is not a symlink
<srhb> After switching profile like that?
<d0t> yup
<srhb> Errr
<d0t> because it's actually a directory
<srhb> Oh, sorry, add /profile to the end then
qknight has joined #nixos
<srhb> But that makes it sound like it was already created then? Confusing.
<d0t> adding /profile helped
<d0t> thank you
<srhb> Puzzling, when you ls'ed it earlier there was no d0t
<d0t> it was the contents of d0t
<srhb> Ah, that was not what I asked you to ls. makes sense then :)
<d0t> yup
d0t has quit [Remote host closed the connection]
pie_ has joined #nixos
<{^_^}> [cabal2nix] @carlosdagos opened pull request #367 → Update error message for unresolved constraints → https://git.io/fNDvT
aarvar has quit [Ping timeout: 264 seconds]
<maerwald> is it known that NixOS is slow? When I open a terminal it takes 2-3 seconds for the terminal to open, then the next terminal is fast. It seems it's causing a bazillion of file system calls?
<qknight> betaboon: do you have a hint for us, what we are doing wrong with python? we are using python 3.6 with taiga 3.3.14 and django 1.11.13 (and to our surprise psycopg2-2.7.1)
<qknight> maerwald: i'm using konsole, never had that what you describe. are you on SSD or harddrive?
<maerwald> hard drive
<etu> maerwald: What terminal? What filesystem?
<qknight> maerwald: then it is known to be slow
<infinisil> I'm pretty sure this is something with the terminal/shell and nothing with NixOS specifically
<maerwald> other distros are not that slow, even on hard drive
<{^_^}> [nixpkgs] @taku0 opened pull request #44603 → WIP: thunderbird, thunderbird-bin: 52.9.1 -> 60.0 → https://git.io/fNDvC
<infinisil> Although, I think python can be slow because of something with dynamic linking
<maerwald> ext4 is not known to be slow, neither is sakura
<tilpner> vte terms always feel slow-ish :/
<maerwald> I've been using them on tons of different setups, it took never 3 seconds
<qknight> maerwald: you could do a few benchmarks and using iotop to monitor disk activity
<qknight> maerwald: but it is true, that nixos might do more calls on the harddrive as it needs to resolve lots of indirections
<tilpner> Playing the next song can take 5s if my HDD shut down, make sure it's not something like that
<tilpner> FWIW, sakura launches with no noticeable delay here (but I only just installed it)
<FRidh> Are you using just the interpreter? Do you have PYTHONPATH set? Are you using python.withPackages / python.buildEnv? Is there a Python script in /nix/store/yourscript.py on PYTHONPATH?
<FRidh> (or am I mixing up two questions here :))
<infinisil> (I was just making a note on python, I don't have a problem with it right now)
<FRidh> ok
hakujin2 has joined #nixos
mayhewluke has quit [Ping timeout: 265 seconds]
Neo-- has joined #nixos
hakujin2 has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
<betaboon> qknight: i remember getting that config stuff working was a pain in the ass. let me look around
<{^_^}> [nixpkgs] @volth opened pull request #44604 → intel2200BGFirmware: fixed-output derivation → https://git.io/fNDU6
orivej has quit [Ping timeout: 240 seconds]
tusj has joined #nixos
ng0 has joined #nixos
<Myrl-saki> Has the NixOS guys considered running qemu-user under Packet to build for ARMv7l?
ma27 has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @volth opened pull request #44605 → firmware-linux-nonfree: fixed-output derivation → https://git.io/fNDkX
<makefu> Myrl-saki: cross compiling is already pretty advanced, now there is no real need for these crutches https://nixos.wiki/wiki/Cross_Compiling
asymmetric has quit [Read error: Connection reset by peer]
asymmetric has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #44606 → hwdata: fixed-output derivation → https://git.io/fNDI8
<Myrl-saki> makefu: Oh cool.
<Myrl-saki> makefu: Thanks. Didn't know that.
<Myrl-saki> 2 more months till 18.09!
<Myrl-saki> And 18.03 felt just like yesterday. :P
<makefu> Myrl-saki: cross compiling is like the killer feature now for nix (together with remote building)
<makefu> and of course all the other stuff which comes out of the "declarative" part of nix :)
<srhb> Ironically cross building is now way more ergonomic than remote building. Truth is stranger than fiction :P
<makefu> `nixos-rebuild switch --build-host nextgum` is super convenient
<srhb> agreed.
<srhb> Also nextgum <3
<makefu> the current server is `gum`, next one will be `nextgum` (and once gum is dead nextgum will replace gum in both name and function)
<srhb> Love it.
<srhb> I give my machines way too serious names and regret it.
<tobiasBora> Hello,
<tobiasBora> I tried install nixos in qemu using the following command, but I can't connect to the internet from the host: qemu-system-x86_64 -L pc-bios -drive file=nix_base.qcow2,if=virtio,id=mydisk -smp 1 -m 1G -display curses -k fr -cdrom ~/Informatique/OS/Nixos/nixos-minimal-18.03.132847.aec217852f2-x86_64-linux.iso
<tobiasBora> nix get's a local ip in 10.X.X.X
<tobiasBora> but when I ping google.com, it solves the name to an ip, but can't reach the ip
<tobiasBora> any idea if the problem comes from nix or qemu?
<makefu> sounds like a routing error, maybe firewall problems on your local host machine?
init_6 has quit []
asymmetric has quit [Ping timeout: 240 seconds]
ma27 has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #44607 → iana-etc: fixed output derivation → https://git.io/fNDtL
alexteves has joined #nixos
rsaarelm_ has left #nixos [#nixos]
Gohla has quit [Quit: Bye.]
<Myrl-saki> Didn't even know you could do nixos-rebuild switch --build-host
<srk> target-host is also pretty cool :)
<tobiasBora> makefu: hum… I'm using debian and I don't see which firewall could block it, will try to investigate
Gohla has joined #nixos
<tobiasBora> Myrl-saki: srk: can I do that with a debian based host? It creates a fully portable qcow that I can copy to other machines?
<srhb> tobiasBora: Is forwarding on by default? sysctl net.ipv4.ip_forward
<srhb> Oh you can resolve...
<{^_^}> [nixpkgs] @leenaars opened pull request #44608 → animbar: init at 1.2 → https://git.io/fNDqI
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « sbt: 1.2.0 -> 1.2.1 »: https://git.io/fNDqY
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « sbt: 1.2.0 -> 1.2.1 »: https://git.io/fNDqn
<Myrl-saki> tobiasBora: Can you ping your DNS?
nly has joined #nixos
<Myrl-saki> Er, less indirect question. What's in your resolv.conf?
hakujin2 has joined #nixos
<Myrl-saki> Feels so weird to see Nix cross compiling..
<{^_^}> [nixpkgs] @Gerschtli opened pull request #44609 → dwm-status: 1.1.1 -> 1.1.2 → https://git.io/fNDqX
<Myrl-saki> srhb: makefu: Does the hydra also build cross packages?
Anton-Latukha has quit [Quit: Leaving.]
<srhb> Myrl-saki: There's a few cross sets on there
<Myrl-saki> Oh wait, I still can't use it either way. ; ~ ;
<Myrl-saki> srhb: Kinda interesting that ghc is being built. :P
hakujin2 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #44570 → set initialHashedPassword in installation-device.nix → https://git.io/fNMJs
<{^_^}> [nixpkgs] @Infinisil pushed commit from @bobvanderlinden to master « set initialHashedPassword in installation-device.nix »: https://git.io/fNDmt
<nly> If a package asks for dependencies like 'gcc' 'make' should i install them in my env or is there a better way?
<infinisil> ,library nly
<{^_^}> nly: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<nly> ty
Ariakenom_ has joined #nixos
<srhb> Myrl-saki: Right, it'll take a while :P
Jackneilll has joined #nixos
goodwill_ has joined #nixos
atriq has joined #nixos
Taneb has quit [Disconnected by services]
atriq is now known as Taneb
Ariakenom has quit [Read error: Connection reset by peer]
<Myrl-saki> nly: Why not just make a default.nix?
Jackneill has quit [Read error: Connection reset by peer]
<Myrl-saki> nly: If it's a small package, then the default.nix should be easy enough to mkae.
<Myrl-saki> nly: If it's a large package, then you'd be happier that you made a default.nix.
azdle has quit [Quit: Ping timeout (120 seconds)]
goodwill has quit [Quit: ...]
nD5Xjz has quit [Ping timeout: 244 seconds]
Xal has quit [Ping timeout: 244 seconds]
TolleLege has quit [Ping timeout: 244 seconds]
AstroBadger has quit [Ping timeout: 244 seconds]
aminechikhaoui has quit [Ping timeout: 244 seconds]
otti has quit [Ping timeout: 244 seconds]
lejonet has quit [Ping timeout: 244 seconds]
goodwill_ is now known as goodwill
robogoat has quit [Ping timeout: 244 seconds]
jmiven has quit [Ping timeout: 244 seconds]
shachaf has quit [Ping timeout: 244 seconds]
toppler has quit [Ping timeout: 244 seconds]
Xal has joined #nixos
selfsymmetric-mu has quit [Ping timeout: 260 seconds]
azdle has joined #nixos
dejanr has quit [Ping timeout: 260 seconds]
nD5Xjz has joined #nixos
AstroBadger has joined #nixos
<betaboon> why would anyone think that it is a good idea to have "boot.cleanTmpDir" default to false ? oO
dejanr has joined #nixos
<nly> Myrl-saki the package 'hplip' is available in the nixpkgs
<nly> the hplip package wants to build stuff of its own
aminechikhaoui has joined #nixos
<tobiasBora> srhb: ip_forward is already enabled
sigtrm has joined #nixos
rprije has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #44610 → broadcom-bt-firmware: fixed output derivation → https://git.io/fNDYF
<rauno> has anyone got into situation where nixops builds alot of drivers and very long time? not sure if they are even needed..
<rauno> this happened when i switched to newer nixpkgs version
<srhb> rauno: Are you using a kernel that's not built for that version of nixpkgs?
<tobiasBora> Myrl-saki: my resolv.conf contains "nameserver 10.0.2.3 \n options edns0", and I can ping this ip
<Myrl-saki> Ah.
<Myrl-saki> tobiasBora: I'm also thinking of net.ipv4.ip_forward, and maybe some routing problems.
<rauno> srhb, you mean the kernel of machine where i run nixops ?
<Myrl-saki> tobiasBora: $ sysctl net.ipv4.ip_forward
<Myrl-saki> tobiasBora: If you've already tested that, then
<Myrl-saki> tobiasBora: (That should be on the host)
<Myrl-saki> tobiasBora: `ip route` on the guest
<tobiasBora> Myrl-saki: "net.ipv4.ip_forward = 1"
<tobiasBora> ip route trough 10.0.2.2
<tobiasBora> and I can ping this ip
<srhb> rauno: The target hosts.
<Myrl-saki> Ah, I'm guessing that that's qemu's emulated driver.
<Myrl-saki> Wait, let my try your command
<tobiasBora> ohhh
<tobiasBora> I think I have the solution
<tobiasBora> ICMP is blocked
<tobiasBora> so ping can't work outside
<rauno> srhb, when using --build-only i think nixops isn't aware of the target kernel yet ?
<tobiasBora> but it seems that I can curl
<Myrl-saki> Oh lol
talyz has quit [Quit: WeeChat 2.1]
etu has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @volth opened pull request #44611 → zd1211-firmware: fixed output derivation → https://git.io/fNDON
<Myrl-saki> Welps, no need for me to try out the command. :P
<{^_^}> [nixpkgs] @vbgl opened pull request #44612 → ocamlPackages.{core,async_kernel,async_extra,incremental_kernel}: update → https://git.io/fNDOx
<tobiasBora> Myrl-saki: thanks for your help! Now I need to figure out why it seems to take ages to install emacs...
<srhb> rauno: I mean, the kernel your target host configuration uses. Yes it is aware of it, that's what it's building after all. If this is all confusing perhaps you could share some output and configuration :)
<rauno> well im moving few previously installed nixos machine to nixops deployment (bare-metal servers) and haven't done any deployments with nixops on them yet, that's why i think it's not aware of it :)
etu has joined #nixos
<rauno> and currently i'm using --build-only to test out the expression before i really try to deploy and mess them up :)
<srhb> rauno: I'm talking about the kernel in those expressions. Not whatever is running on them currently, that's irrelevant.
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #44613 → silver-searcher: 2.1.0 -> 2.2.0 → https://git.io/fND3X
hakujin2 has joined #nixos
<rauno> can't see any kernel definition there..
<{^_^}> [nixos-org-configurations] @edolstra pushed to master « Set initial and max heap size »: https://git.io/fND3d
<srhb> rauno: Then we need more details. You shouldn't be seeing kernel module rebuilds on a default versions with a nixpkgs channel that is built by hydra.
<rauno> anyway, i update some config, will see if anything changed now
lejonet has joined #nixos
jmiven has joined #nixos
<rauno> release-18.03 should be built right
hakujin2 has quit [Ping timeout: 240 seconds]
vmandela has quit [Quit: Leaving]
nly has quit [Ping timeout: 250 seconds]
dvim has quit [Quit: WeeChat 2.2]
nly has joined #nixos
ryanartecona has joined #nixos
<tobiasBora> Also, any idea why I can't see any hard drive when I use the qemu option "-drive if=virtio,file=nix_base.qcow2,cache=none"?
phreedom_ has joined #nixos
<tobiasBora> while if I use this instead, it works: -drive file=nix_base.qcow2,if=none,id=mydisk -device ich9-ahci,id=ahci -device ide-drive,drive=mydisk,bus=ahci.0
<tobiasBora> (the drive appears in /dev/sda)
logzet has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
reinzelmann has quit [Quit: Leaving]
asymmetric has joined #nixos
<srk> tobiasBora: are virtio drivers included?
hakujin2 has joined #nixos
<srk> os/configs/qemu.nix: boot.initrd.kernelModules = [ "virtio" "virtio_pci" "virtio_net" "virtio_rng" "virtio_blk" "virtio_console" ];
<tobiasBora> srk: in nixos? I guess no ^^' Thanks! Any idea if I can load this on a running instance?
<srk> most probably if not needed to mount root from initrd
<srk> *don't
<srk> not
<srk> aa
* srk overheats
<tobiasBora> srk: ok great thank you!
<tobiasBora> and in terms of efficiency, any idea which mode is more efficient?
jperras has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
<srk> depends, when I'm testing OS I'm using qemu.nix config which includes these in initrd. otherwise there are not present
hakujin2 has quit [Ping timeout: 255 seconds]
<srk> should be easy if you build the qcow image with nix
jmeredith has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44604 → intel2200BGFirmware: fixed-output derivation → https://git.io/fNDU6
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « intel2200BGFirmware: fixed-output derivation (#44604) »: https://git.io/fNDZp
Denommus has joined #nixos
<Denommus> hey
<Denommus> in nixops, can I set the IP for a NixOS container?
<Denommus> plus, do containers also need a firewall configuration?
<{^_^}> [nixpkgs] @xeji merged pull request #44606 → hwdata: fixed-output derivation → https://git.io/fNDI8
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « hwdata: fixed-output derivation (#44606) »: https://git.io/fNDn7
<iqubic> I'm trying to install the python keras library and I'm running into some issues.
<{^_^}> [nixpkgs] @xeji merged pull request #44607 → iana-etc: fixed output derivation → https://git.io/fNDtL
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « iana-etc: fixed output derivation (#44607) »: https://git.io/fNDcu
<{^_^}> [nixpkgs] @xeji merged pull request #44605 → firmware-linux-nonfree: fixed-output derivation → https://git.io/fNDkX
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « firmware-linux-nonfree: fixed-output derivation (#44605) »: https://git.io/fNDcV
<iqubic> python3.withPackages (ps: with ps; [keras]) is failing because 'keras' is undefined.
<srk> Denommus: https://www.johbo.com/2017/nixops-container.html ('Sneak in container options' section)
<srk> Denommus: it uses containers nixos module basically
<srk> iqubic: pkgs/top-level/python-packages.nix: Keras = callPackage ../development/python-modules/keras { };
<srk> iqubic: try with Keras :)
<iqubic> that works.
<tobiasBora> srk: but I can't find how to build the qcow from nix directly on a non-nixbased system (debian in my case)
hakujin2 has joined #nixos
<iqubic> srk: Now I'm getting other errors.
nly has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @CrazedProgrammer opened pull request #44614 → ccemux: init at 1.1.0 → https://git.io/fNDCO
<tilpner> tobiasBora - virt-make-fs from libguestfs has a way
<tilpner> (It's really slow though, and libguestfs is not in the binary cache)
<iqubic> Compilation errors are the worst.
<{^_^}> [nixpkgs] @xeji merged pull request #44610 → broadcom-bt-firmware: fixed output derivation → https://git.io/fNDYF
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « broadcom-bt-firmware: fixed output derivation (#44610) »: https://git.io/fNDCD
<tilpner> tobiasBora - I'm now building a squashfs with nix, bind with format=raw, then mount -o loop. Faster and works better
hakujin2 has quit [Ping timeout: 256 seconds]
<tilpner> Only works for read-only disks though
<srk> iqubic: ooh, yes, looks broken
ng0 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #44611 → zd1211-firmware: fixed output derivation → https://git.io/fNDON
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « zd1211-firmware: fixed output derivation (#44611) »: https://git.io/fNDWe
ng0 has joined #nixos
<srk> iqubic: derivation doesn't seem to mention keras-processing at all
<iqubic> srk: Is there any way I can fix this up?
<iqubic> what derivation?
bennofs[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
<srk> iqubic: pkgs/development/python-modules/keras/default.nix
<{^_^}> [nixpkgs] @xeji merged pull request #44613 → silver-searcher: 2.1.0 -> 2.2.0 → https://git.io/fND3X
<{^_^}> [nixpkgs] @xeji pushed commit from @Synthetica9 to master « silver-searcher: 2.1.0 -> 2.2.0 (#44613) »: https://git.io/fNDWR
<iqubic> So is this never going to work?
<srk> no mention of keras-preprocessing in nixpkgs, maybe try packaging that and adding it as a dep to keras
dvim has joined #nixos
<iqubic> How did this pass the tests in the first place?
<srk> no idea
<srk> same here, with py2 as well
orivej has joined #nixos
<iqubic> I don't have the time to figure this out.
kisik21 has joined #nixos
<iqubic> but I do wish that someone could work this out.
hakujin2 has joined #nixos
<iqubic> Is there a way that I can get this to work?
<srk> iqubic: file an issue and ping the maintainer in description
jdnavarro has quit [Ping timeout: 256 seconds]
<iqubic> I will try that.
hakujin2 has quit [Ping timeout: 240 seconds]
dbmikus__ has joined #nixos
<tobiasBora> tilpner: not sure to understand, what do you use to populate? If you still have the command list, It would be amazing to have a copy/paste ;-)
<iqubic> Was there a point at time in the past where Keras was building properly?
aramiscd[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
<{^_^}> [nixpkgs] @fuzzy-id opened pull request #44615 → Cassandra version bumps → https://git.io/fND4K
<tilpner> tobiasBora - This snippet builds qcow2s with a single ext2 partition from a Nix closure: https://tx0.co/1F
Sonarpulse has joined #nixos
<tilpner> tobiasBora - This snippet builds an lz4 squashfs from a Nix closure: https://tx0.co/1G
<kisik21> How many packages would be built from source if I pull unstable fontconfig in NixOS 18.03?
mrueg has joined #nixos
jesper[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
DigitalKiwi has quit [Quit: DigitalKiwi]
<tilpner> kisik21 - Anything you use that depends indirectly on fontconfig
<kisik21> i.e. half of my closure lol
<tilpner> If you pull those applications from unstable completely, you can use unstables cache
<Denommus> srk: thanks
<Denommus> that helped
<kisik21> Last time I upgraded to unstable, locale was glitchy. It was really strange.
<kisik21> rofi didn't launch, perl complained
<tilpner> kisik21 - You don't need to upgrade to unstable, you can pick individual applications from it
<tilpner> kisik21 - They will use new fontconfig, without having to compile them
<kisik21> Hm, maybe iBus will work?
jdnavarro has joined #nixos
<kisik21> it's compiled with new glibc though
<kisik21> I'm afraid I'll have some problems...
<tilpner> Trying it with nix-shell shouldn't break anything
<kisik21> let's try then
chreekat has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44600 → arb: 2.13.0 -> 2.14.0 → https://git.io/fNMdb
<{^_^}> [nixpkgs] @xeji pushed commit from @timokau to master « arb: 2.13.0 -> 2.14.0 (#44600) »: https://git.io/fNDRG
aminb has quit [Quit: WeeChat 2.1]
aminb has joined #nixos
matthewbauer has quit [Read error: Connection reset by peer]
ng0 has quit [Quit: Alexa, when is the end of world?]
vmandela has joined #nixos
<{^_^}> [nixpkgs] @zimbatm opened pull request #44616 → Darwin caffe → https://git.io/fNDRa
ng0 has joined #nixos
kreisys has joined #nixos
dax has joined #nixos
erasmas has joined #nixos
<{^_^}> [nixpkgs] @tkerber opened pull request #44617 → libunity: do not use alias in dependencies → https://git.io/fNDER
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #31410 → Reworked Cassandra Module → https://git.io/vFuJG
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from Thomas Bach to master « cassandra: rewrote service from scratch »: https://git.io/fNDEx
<{^_^}> [nixpkgs] @alyssais opened pull request #44618 → triton: init at 6.1.2 → https://git.io/fNDuU
<tobiasBora> tilpner: thanks ! so the first method is the slow one with libvirt-guess?
<tilpner> tobiasBora - It uses libguestfs and the generation of a tar.gz increases build time. But you didn't mention your intended content, so it might be quicker for you
Drakonis has joined #nixos
stekke[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
<{^_^}> [nixpkgs] @poelzi opened pull request #44619 → Perl packages → https://git.io/fNDur
<{^_^}> [nixpkgs] @xeji pushed to master « bazel_0_4: mark as broken »: https://git.io/fNDu6
<kisik21> Wow, we have terminal server built-in into NixOS? cool!
<tobiasBora> tilpner: well I just want a minimal install… This will copy all the host programs?
dnovosel has joined #nixos
<Denommus> so
<Denommus> I have a NixOps machine with that has nginx in the host and a mattermost inside a NixOS container
<bgamari> Sonarpulse, is targetPackages broken in master?
<bgamari> it appears to have no attributes
<Denommus> mattermost is running, I can access it from inside the host machine via curl <mattermostip>:8000
<{^_^}> [nixpkgs] @matthewbauer merged pull request #44558 → stdenv: symlink propagated docs → https://git.io/fN1P2
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fNDuF
<Denommus> but I nginx apparently can't reach it for some reason
<Sonarpulse> bgamari: on cross from pkgs it is indeed almost empty
midchildan[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days"]
<Sonarpulse> only pkgs.buildPackages(.buildPackages)*.targetPackages on cross is fully populated
<bgamari> Sonarpulse, the ghc expressions expects it to contain gmp at very least
<Denommus> I've tried both proxyPass = http://<mattermostip>:8000 and creating an upstream
<Sonarpulse> bgamari: oh for cross-compiling ghc?
<bgamari> Sonarpulse, yep
<Sonarpulse> bgamari: that makes sense
<Sonarpulse> maybe targetPackages should change then
xeji has joined #nixos
<bgamari> mmm
<tilpner> tobiasBora - This will copy a list of derivations with all dependencies to the filesystem. Note that one of them strips the leading /nix/store, which you may not want to do
<Sonarpulse> bgamari: the current semantics is actually for GHC too, haha
<Sonarpulse> targetPackages.stdenv on cross is not pkgs.stdenv
<bgamari> it's not clear to me why targetPackages should be empty
<Myrl-saki> Okay.
<bgamari> oh?
dnovosel has quit [Ping timeout: 240 seconds]
<Myrl-saki> I did `pkill -STOP -u nixbld1` and 100% thought that the CONT failed.
<Sonarpulse> targetPackages.stdenv is a fake thing just containing CC that runs on the host platform targetting the target platform
<Myrl-saki> Would have thrown away my monitor right there
<bgamari> ahh
<Sonarpulse> whereas pkgs.stdenv.cc runs on the build platform and targets the host platform
<bgamari> Sonarpulse, so targetPackages doesn't really exist?
<Sonarpulse> so a cross-compiled GHC would have a C compiler to use
<bgamari> Sonarpulse, I guess this must be new?
<Sonarpulse> bgamari: yeah I thought it too sneaky to keep all the packages but change stdenv
<bgamari> previously I could cross ghc
<bgamari> hmm
<Sonarpulse> bgamari: yeah this is a few months
<tenten8401[m]> Has anyone else here noticed how the mysql socket location changed in NixOS 18.09 from 18.03?
mayhewluke has quit [Ping timeout: 256 seconds]
<tenten8401[m]> none of my PHP apps seem to be able to connect now when just using "localhost"
<Sonarpulse> bgamari you can see the change in pkgs/stdenv/booter.nix
<bgamari> thanks
<Myrl-saki> sphalerite: Ping. You probably already know that it works, but I was able to do the -STOP and -CONT, and seems like it worked. Thanks!
<Sonarpulse> bgamari: 4d4f94cde4d3806ca063ebf7e6ba448b0feae355
iqubic has quit [Ping timeout: 265 seconds]
mayhewluke has joined #nixos
<Sonarpulse> bgamari: since the whole point of this was building things like GHC, I'm thinking we actually do do targetPackages = pkgs // { stdenv = onlyChangedThing; }
<Denommus> damn
<Denommus> it was a typo
<Denommus> I typed 100 instead of 10 in a section of the IP
<Sonarpulse> that will get the cross-compiled GHC the right tools *and* the GMP
<bgamari> right
<Lisanna> Awesome, I finished converting my Docker-based app to a Nix package. Way the hell more features than the docker version, and half the LOC
jtojnar has quit [Remote host closed the connection]
<rauno> srhb, which kernel package i should define so it would build everything from scratch, it's still building them >.<
<Myrl-saki> Lisanna: :D
<Myrl-saki> Lisanna: What did you replaced containerization with?
<Lisanna> Myrl-saki I don't actually need containerization, was just using docker to hold dependencies
<Lisanna> Most of that code was auto-generating and caching the docker images / intermediate build products
<Myrl-saki> Oh. :P
* bgamari tries to figure out how to implement that
<kisik21> nix-shell -I nixpkgs=/home/kisik21/.nix-defexpr/channels/nixos-unstable/nixpkgs -E "with import <nixpkgs> {}; ibus-with-plugins.override { plugins = with ibus-engines; [ mozc uniemoji ]; }"
<Myrl-saki> Lisanna: Tightly controlled dependcies is just awesome.
<kisik21> This does not give me colorful emoji, and it downloads a suspiciously small amount of packages...
<tenten8401[m]> so I don't think php-fpm was updated to reflect the new mysql socket
<rauno> Or might other options also make it build all the drivers from scratch ?
<tenten8401[m]> it's trying to use /tmp/mysql.sock for whatever reason, which doesn't exist
NinjaTrappeur has quit [Quit: WeeChat 2.2]
NinjaTrappeur has joined #nixos
<bgamari> Sonarpulse, the `or true` here is a bit odd:
<bgamari> buildPackages = if args.selfBuild or true then null else prevStage;
jtojnar has joined #nixos
<Sonarpulse> bgamari: yes it is
<elvishjerricco> bobvanderlinden: FYI, the main thing that I can't upstream into nixpkgs is https://github.com/ElvishJerricco/nixpkgs/commit/cc093102b4c
<Sonarpulse> this is so pkgs/top-level/splice.nix can easily detect the native case
<elvishjerricco> Those perl packages don't seem to be easily cross-compilable
<Sonarpulse> and not splice
<Sonarpulse> because splicing is expensive
<elvishjerricco> If anyone wants to rewrite switch-to-configuration in C++ or python or something, that'd be nice :P
<cocreature> is there a policy on adding release candidates and prereleases to nixpkgs? for GHC that usually seems to be done but I wonder if and when that is acceptable for other stuff
<{^_^}> [nixpkgs] @xeji merged pull request #44619 → Perl packages → https://git.io/fNDur
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fND2P
jtojnar has quit [Remote host closed the connection]
<tobiasBora> tilpner and how will it install grub? I have the feeling it only copies stuff
<rauno> or can anyone give some hints, based on which configuration options doest nixops build the drivers ?
<tilpner> tobiasBora - Correct
<rauno> as they should be just pulled from hydra
jtojnar has joined #nixos
<tilpner> It only installs that list, nothing else
<tenten8401[m]> Anyone know if there's a way to define a symlink inside of my configuration.nix?
<{^_^}> [nixpkgs] @dasJ opened pull request #44620 → tt-rss-plugin-tumblr-gdpr: Init at 1.2 → https://git.io/fNDan
<bgamari> Sonarpulse, right
<bgamari> Sonarpulse, did the `or true` sneak in from debugging?
ersran9 has quit [Ping timeout: 264 seconds]
<tilpner> tenten8401[m] - I use nur.repos.tilpner.modules.files for that, but others prefer systemd services or systemd tmpfiles
<Sonarpulse> bgamari: maybe
<{^_^}> [nixpkgs] @xeji merged pull request #44617 → libunity: do not use alias in dependencies → https://git.io/fNDER
<{^_^}> [nixpkgs] @ElvishJerricco opened pull request #44621 → Minor cross nixos fixes → https://git.io/fNDaz
<Sonarpulse> I suppose it is possible to make it always defined
<{^_^}> [nixpkgs] @xeji pushed commit from @tkerber to master « libunity: do not use alias in dependencies (#44617) »: https://git.io/fNDaa
Albtrz[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
<bgamari> Sonarpulse, well, as it stands it seems like the conditional isn't a conditional at all
<bgamari> which seems wrong
<bgamari> buildPackages and targetPackages will always be null
johanot has quit [Remote host closed the connection]
Lisanna has quit [Quit: Lisanna]
<Sonarpulse> bgamari: nah because the only time I use `selfBuild` I do `selfBuild = false`
<tobiasBora> tilpner: so how can I bott on this system then?
<tobiasBora> boot*
<bgamari> Sonarpulse, well, `selfBuild or true` is still `true`
* bgamari is confused
<Taneb> bgamari: "or" isn't "||"
<tilpner> tobiasBora - I didn't know you wanted to boot off of it. I mount it from an initramfs
endforma1 has quit [Quit: WeeChat 1.9.1]
<Taneb> bgamari: "or" is part of the accessor syntax, it's invoked if the accessor isn't present
endformationage has joined #nixos
<bgamari> ahhh
<bgamari> too much python recently
<bgamari> alright
<bgamari> Taneb, thanks
<Sonarpulse> bgamari: oh hahaha
<Sonarpulse> my bad for not thinking of that
Fare has joined #nixos
<bgamari> Sonarpulse, I'm guessing this is pretty far from the correct approach given that I have nowhere to get the `config`, `overlays`, and remaining top-level arguments from to pass to `allPackages`: https://gist.github.com/bgamari/7f00faad98c90b22c22c52523ea4019f
dnovosel has joined #nixos
<Sonarpulse> bgamari: I think you will want the _raw thing, and previous stage post processing
<Sonarpulse> sorry this code sucks so much, btw, in general
<bgamari> meh, quite alright; the knot tying is just very tricky without types
<bgamari> Sonarpulse, the problem is I don't have the previous stage
<bgamari> Sonarpulse, since this is the base case
<Sonarpulse> bgamari: let me take a look
<Sonarpulse> ok i have diff
<Sonarpulse> that function is the rnul parameter
<Sonarpulse> see the big comment
<bgamari> Sonarpulse, right, which is a base case, no?
<bgamari> ahh
<Sonarpulse> postStage = buildPackages: buildPackages // {
<bgamari> the base case still gets access to its neighbor
<Sonarpulse> instead of `postStage = buildPackages: {`
<bgamari> right
<bgamari> alright, things seem to be churning now
<Sonarpulse> yeah none of the recursion is properly guarded, given arbitrary function arguements so I figured hell, why not!
<Sonarpulse> (/ I needed it to make the fake stdenv)
<{^_^}> [nixpkgs] @dasJ opened pull request #44622 → smarty3-i18n: Init at 1.0 → https://git.io/fNDrN
drewr has quit [Remote host closed the connection]
stigmergik[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
<elvishjerricco> Sonarpulse: If I put `nativeBuildInputs = [buildPackages.foo];`, will it splice that and end up using `buildPackages.buildPackages.foo`? Obviously this is the same thing typically, but it's possible for it to be different.
hakujin2 has joined #nixos
Izorkin has quit [Ping timeout: 240 seconds]
russiancow[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
__monty__ has quit [Quit: leaving]
Izorkin has joined #nixos
logzet has quit [Ping timeout: 240 seconds]
logzet has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
ashkitten has quit [Quit: WeeChat 2.2]
drewr has joined #nixos
phreedom_ has quit [Ping timeout: 250 seconds]
dnovosel has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos
dax has left #nixos [#nixos]
peel[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
lordfluffywobble has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
<{^_^}> [nixpkgs] @Ma27 opened pull request #44624 → sqldeveloper: 17.4.1.054.0712 -> 18.2.0.183.1748 → https://git.io/fNDij
johnw has joined #nixos
kisik21 has quit [Quit: Leaving.]
asymmetric_ has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #41425 → nixos/luksroot: Support keyfile offsets → https://git.io/vhl4B
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNDPr
urien1[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
asymmetric has quit [Ping timeout: 240 seconds]
Izorkin has quit [Ping timeout: 240 seconds]
<rauno> can someone help me with nixops, somewhy it's rebuilding all kernel packages and drivers..
glowpelt has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
sigmundv has quit [Ping timeout: 240 seconds]
ryanartecona has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #44625 → libgit2: 0.26.0 -> 0.26.6, 0.27.3 -> 0.27.4 → https://git.io/fNDXL
Izorkin has joined #nixos
ivanfon[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
bobvanderlinden has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji pushed 5 commits to master: https://git.io/fNDXN
<{^_^}> [nixpkgs] @xeji merged pull request #44615 → Cassandra version bumps → https://git.io/fND4K
<clever> rauno: what does nix-channel --list say?
<rauno> checked, should be fine
<clever> rauno: what is it?
<rauno> and i'm using local git repo for nixpkgs
<clever> rauno: nix-instantiate --find-file nixpkgs
<clever> rauno: which one is nixops using?
<rauno> i guess it's using the one from NIX_PATH ?
ru_horlick has joined #nixos
<rauno> nix-instantiate --find-file nixpkgs < showed same as NIX_PATH has
<clever> and what is that?
<ru_horlick> Hey all - I'm trying to make the systemctl service for httpd restart after another service completes
<ru_horlick> I'd like to add to the `After` and `PartOf` sections of the service file created by the apache-httpd module
<rauno> /home/nixops/nixpkgs
trcc has joined #nixos
<rauno> NIX_PATH=nixpkgs=/home/nixops/nixpkgs
<ru_horlick> Does anyone know how to do this without destroying the exisiting `After` section?
praticamentetild has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
<clever> rauno: and is that git clone on a rev hydra has built?
<rauno> it's on release-18.03
bobvanderlinden has joined #nixos
<clever> rauno: thats not what hydra has tested
<rauno> oh..
<clever> rauno: you want the nixos-18.03 branch of the nixpkgs-channels repo
<{^_^}> [nixpkgs] @xeji merged pull request #44622 → smarty3-i18n: Init at 1.0 → https://git.io/fNDrN
<{^_^}> [nixpkgs] @xeji pushed commit from @dasJ to master « smarty3-i18n: Init at 1.0 (#44622) »: https://git.io/fND1b
<clever> git remote add channels https://github.com/nixos/nixpkgs-channels/
hakujin3 has joined #nixos
<bobvanderlinden> elvishjerricco: why was https://github.com/ElvishJerricco/nixpkgs/commit/cc093102b4c added? was it to avoid the dbus python dependency?
<rauno> hum
<rauno> but, still, even if it isn't using hydra one, why is it building all the drivers ?
<rauno> i'll try the hydra thing also
<clever> rauno: because hydra hasnt had a chance to build it yet
<elvishjerricco> bobvanderlinden: Perl* but yea. All three of the added deps didn't cross compile IIRC (NetDBus, XMLParser, XMLTwig)
<bobvanderlinden> err, perl, indeed
<bobvanderlinden> alright, so next step would be to cross compile those.
trcc has quit [Ping timeout: 240 seconds]
xeji has quit [Quit: WeeChat 2.0]
<Sonarpulse> elvishjerricco: no it won't
<rauno> clever, okay but why is it builidng drivers that i won't need :)
hakujin2 has quit [Ping timeout: 256 seconds]
<Sonarpulse> stdenv pkgs buildPackages and targetPackages are not spliced
<Sonarpulse> likewise buildHaskellPackages is not spliced
<rauno> ah okay, nixops isn't aware of what drivers are going to be used..
<rauno> makes sense actually
<elvishjerricco> bobvanderlinden: Or replace the peel script with something more amenable to cross building
<clever> rauno: and the nix expression just builds all drivers, then copies the ones it needs
<elvishjerricco> Sonarpulse: Neat. So there's no harm whatsoever in referencing buildPackages
<rauno> this nix-channels, if i change some package there, will it also work? just the changed packages will be built and everything else is taken from hydra, right ?
<clever> rauno: yeah
<clever> rauno: but you can also use overlays and not use a git checkout
ma27 has quit [Quit: WeeChat 2.0]
<rauno> how do the overlays work? i sometimes need to change package or two
Izorkin has quit [Ping timeout: 240 seconds]
<clever> rauno: nixpkgs.overlays = [ (super: self: { package1 = super.package1.overrideAttrs (old: { ... }); }) ];
ma27 has joined #nixos
<Sonarpulse> elvishjerricco: nope!
<Dezgeg> well, as I said referencing buildPackages breaks overrides in callPackage so it needs a replacement some day
<elvishjerricco> Dezgeg: Yea, I'll fix that in my PR.
Ariakenom_ has quit [Ping timeout: 256 seconds]
<rauno> okay, thx clever!
<rauno> seems already better
pmade has joined #nixos
Sonarpulse has quit [Ping timeout: 240 seconds]
johanot has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « pythonPackages.scapy: Add optional dependencies »: https://git.io/fNDSO
hakujin4 has joined #nixos
Ariakenom has joined #nixos
dvim has quit [Quit: WeeChat 2.2]
freeman42x]NixOS has joined #nixos
hakujin3 has quit [Ping timeout: 256 seconds]
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
selfsymmetric-pa has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 240 seconds]
iqubic has joined #nixos
asymmetric has joined #nixos
asymmetric_ has quit [Remote host closed the connection]
vmandela has quit [Quit: Leaving]
<tilpner> clever - Any idea how to fix "Can't open /dev/sda2 exclusively. Mounted filesystem?" on pvcreate after kexec on existing nixos?
<tilpner> It's not in dmsetup, not mounted according to current kernel, and fuser doesn't help either
<{^_^}> [nixpkgs] @basvandijk opened pull request #44626 → Bring back functionTo to prevent evalutation errors while merging → https://git.io/fND9H
<iqubic> Is there a way to tell import a local version of nixpkgs to use?
<tilpner> iqubic - import takes a path. You can give it the result of a fetchTarball/fetchFromGitHub, or the path to a local clone
<tilpner> iqubic - import /your/path/to/nixpkgs {}
<iqubic> *tell my shell.nix
<iqubic> I want to tell my shell.nix to use a local clone.
<iqubic> Cool. I think I'll do that.
<bobvanderlinden> elvishjerricco: for me it fails on libwww-perl-6.34
<elvishjerricco> bobvanderlinden: I haven't tried it near master yet. I've been operating off nixos-unstable from a few days ago. Not sure how behind that is
<{^_^}> [nixpkgs] @dasJ opened pull request #44627 → sieve-connect: Package is supported everywhere → https://git.io/fNDQ0
<clever> tilpner: what does pvdisplay say?
Sonarpulse has joined #nixos
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #44628 → ocamlPackages.sequence: 0.10 -> 1.1 → https://git.io/fNDQH
<tilpner> clever - tx0.co/1H
<clever> tilpner: and `lsblk ; blkid` ?
<iqubic> Is anyone in here python savvy? I can't get Keras to build when I use Python3.withPackages
<iqubic> it even fails under python2 as well.
<iqubic> basically keras/default.nix is broken
<iqubic> development/python-modules/keras is failing to build. srk was around last night to verify that it was actually broken
<iqubic> I think it was srk.
<tilpner> clever - Hmm, blkid lists sda2 as LABEL="kexec:0", not sure why. https://tx0.co/1I
Fare has quit [Ping timeout: 248 seconds]
<clever> tilpner: fdisk -l /dev/sda
<tilpner> It's using the old definition of sda2, it was previously a raid member
<clever> tilpner: it sounds like part of sda was open (mdadm to blame?) when you repartitioned
<clever> tilpner: so it couldnt apply the new partition tables
<tilpner> Yes, that sounds right
<clever> tell mdadm to go away, and then repartition it again
<tilpner> Thank you, I'll try :)
<iqubic> So, at the top of my shell.nix I should write: "with import ~/nixpkgs {}"
<iqubic> And then that should just work?
<clever> iqubic: sounds like it will work
<iqubic> Right, but it doesn't.
<iqubic> I don't have internet access here.
<iqubic> I mean, not on my laptop. I'm using irc on my phone.
<bobvanderlinden> elvishjerricco: i'll see if i can fix this. it's also related to the perl xml-parser.
<{^_^}> [nixpkgs] @dasJ opened pull request #44629 → fusiondirectory: Init at 1.2.1 → https://git.io/fND7F
<tilpner> clever - That worked great, thanks! :)
<bobvanderlinden> haha alright, you ran into the same issue: https://github.com/NixOS/nixpkgs/issues/36675#issuecomment-409284283
<iqubic> So I get the error "warning: unable to download 'https://cache.nixos.org/HASH-HERE.narinfo': SSL peer certificate or SSH remote key was not OK (51)"
<clever> iqubic: --option substituters ""
<iqubic> And then it tries again and again.
<iqubic> clever: what does that do?
<clever> turns off all binary caches
<iqubic> Is there a way to tell direnv to use that option when setting up directory variables?
<clever> you only want to use that when your internet is kaput
aarvar has joined #nixos
<iqubic> I'm at a coding class right now. They expect everyone to use the provided laptops with their own ethernet cables. I am trying to use my own personal NixOS laptop, but it doesn't have internet access.
selfsymmetric-pa has joined #nixos
<iqubic> I could use the already set-up laptops, but coding on windows is really really weird for me. And I want to use my own already configured emacs installation.
<iqubic> So I'd like a way to get this to work for this course.
<clever> it may also take you several hours to install something from source
<clever> since you need to rebuild things
<iqubic> clever: I know.
<infinisil> But you can't get the sources without internet either..
<clever> yeah
<iqubic> Right.
<infinisil> Just fix your internet?
<iqubic> infinisil: I'll talk to the class instructor and see what I can do.
<{^_^}> [nixpkgs] @primeos pushed to master « pythonPackages.scapy: Add support for the manuf database from Wireshark »: https://git.io/fND5H
<Drakonis> ofborg timed out :|
alex`` has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #44579 → update bitwig studio to 2.3.5 → https://git.io/fNMCT
<{^_^}> [nixpkgs] @Mic92 pushed commit from @poelzi to master « bitwig-studio: 2.3.2 -> 2.3.5 (#44579) »: https://git.io/fNDda
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « scdoc: 1.3.4 -> 1.4.1 »: https://git.io/fNDFY
<{^_^}> [nixpkgs] @LnL7 opened pull request #44630 → gtk3: add x11Support for darwin → https://git.io/fNDFg
betaboon has quit [Quit: WeeChat 2.1]
<bgamari> Sonarpulse, Is Obsidian not using nixpkgs master?
<Sonarpulse> bgamari: we have a branch that is moving to it
<bgamari> I see
<Sonarpulse> but it is stuck on some ghcjs luite thing
<Sonarpulse> there's these patches to use javascript native strings for Text, and they aren't quite kicking in on the new GHCJS
<bgamari> mm
<Sonarpulse> matthew bauer has been working on this
<bgamari> I see
michiel_l has quit [Ping timeout: 265 seconds]
<bgamari> Sonarpulse, it looks like there is some funkiness in cross-compiling 8.4.3
<bgamari> GHC that is
<bgamari> fails very strangely
das_j has joined #nixos
<bgamari> even stranger, 8.6.1 seems okay
kisik21 has joined #nixos
Fare has joined #nixos
<das_j> Hey, just a short question. In a systemd service, can I do serviceConfig.ExecStop = "${pkgs.writeScript "…" "…"}"? I tried exactly that, but now I get "Failed to execute command: Permission denied" from systemd.
Guanin has quit [Remote host closed the connection]
<das_j> Strange, because the file has -r-xr-xr-x permissions
<gchristensen> does it have a shebang?
<das_j> gchristensen: Yep: #!/nix/store/lw7xaqhakk0i1c631m3cvac3x4lc5gr5-bash-4.4-p12
<das_j> Damn it
<das_j> I forgot the bin/bash
<gchristensen> ^.^
<clever> das_j: #!${pkgs.stdenv.shell}
<clever> that will handle it for you
agjacome has joined #nixos
<das_j> clever: Thanks, that's a clever cariable
<das_j> *variable
<{^_^}> [nixpkgs] @dasJ opened pull request #44631 → nixos/terraria: Wait for daemon to stop → https://git.io/fNDbi
dnovosel has joined #nixos
<das_j> Hm, question about the writeCBin trivial builder: Why does it prefer local builds? I'm currently only using NixOS on amd64, but wouldn't this fail when building a derivation on amd64 for e.g. arm64?
<{^_^}> [nixpkgs] @jtojnar pushed to master « networkmanagerapplet: 1.8.14 → 1.8.16 »: https://git.io/fNDNf
agjacome has quit [Quit: leaving]
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{dev,canary}: 3.3.0.3 -> 3.3.0.4 »: https://git.io/fNDNG
<clever> das_j: preferLocal is just a speed optimization, and it wont force it to be local
<clever> das_j: ive seen some derivations that should have taken 3 seconds, take 30mins, because it had to upload 2gig of deps, over wifi
<Drakonis> hmm, how do i set install dependencies for a package?
<clever> das_j: install dependencies?
<das_j> Alright, thank you!
<das_j> clever: You probably meant drakonis
<Drakonis> i sent in a pull request for rclone-browser and it depends on rclone to run
<clever> ,runtime
<{^_^}> #44589 (by Drakonis, 12 hours ago, open): rclone-browser: init at 1.2
<Drakonis> runtime dependencies yes
<clever> ,runtimeDeps drakonis
<{^_^}> drakonis: In order of preference: Patch source OR ((if it uses PATH -> wrap with new $PATH) AND (if it uses dlopen, (patchelf --set-rpath in postFixup OR wrap with new LD_LIBRARY_PATH)))
<Drakonis> oh no no
<Drakonis> i just need rclone-browser to install rclone with it
<clever> why?
<Drakonis> because it is a frontend for rclone
<Drakonis> doesn't work without it
<clever> the above directions will put rclone into the PATH of rclone-browser
Thra11 has quit [Ping timeout: 240 seconds]
<das_j> drakonis: The tool for that is `makeWrapper` which you can use in your install phase to wrap rclone-browser and add rclone to the $PATH. Just search the repo for `makeWrapper` for usage examples
<Drakonis> so, if i do that it'll pull it in when instaling?
<das_j> Yes
<Drakonis> okay
<kisik21> How can I override bspwm's xsession snippet with an overlay?
shachaf has joined #nixos
Neo-- has quit [Ping timeout: 240 seconds]
capisce_ is now known as capisce
<Drakonis> by the way, i'm not sure how i'm going to deal with testing mac osx when i don't own a mac
d0t has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #44632 → Support building putty for windows → https://git.io/fNDxk
<d0t> hi! Theoretical question. When should I expect the new thunderbird in nixpkgs?
<tilpner> When #44603 is merged
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44603 (by taku0, 7 hours ago, open): WIP: thunderbird, thunderbird-bin: 52.9.1 -> 60.0
<tilpner> (And then a week or two until it reaches unstables)
<das_j> And when 18.09 is released unless you have an unstable system
<d0t> Great! Thanks.
<d0t> I have nixos 18.03 and nixpkgs unstable.
<d0t> Btw, how unstable is unstable? Is it suitable for daily use?
<kisik21> I broke my locale settings by leaping to unstable.
<etu> d0t: It's definitely usable for daily use
<d0t> I assume, I can always roll back.
<kisik21> Yes, you do. That's what I did...
<d0t> Alright, I'll do just that.
<kisik21> Maybe I needed to reboot after switching to unstable... never tried actually
<kisik21> so I recommend you to reboot after doing nixos-rebuild
<kisik21> Probably do `nixos-rebuild boot --upgrade` and then reboot
<d0t> won't nixos-rebuild switch and the reboot do?
<etu> That's what I do most of the time on desktops
<d0t> *then
<kisik21> d0t: better safe than sorry, I think
<kisik21> Unstable is called unstable for reasons...
<kisik21> and sometimes clean reboot is really better than switching online
<etu> if you're gonna reboot anyways you're better off doing a rebuild boot
<Drakonis> kisik21, its unchanging
<Drakonis> rather
<Drakonis> it changes a lot
<cocreature> ime unstable is fairly stable. the bigger problem is that it often doesn’t update for quite some time because a test is broken
<kisik21> I think I'll try to use unstable once more
Fare has quit [Ping timeout: 256 seconds]
FRidh has quit [Quit: Konversation terminated!]
kisik21 has quit [Remote host closed the connection]
DigitalKiwi has joined #nixos
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
<bobvanderlinden> elvishjerricco: the perl cross compile problem is a hard one to crack :'(
<bobvanderlinden> i agree with your comment converting `switch-to-configuration` to python (or whichever other language that does have some support for cross compilation)
<das_j> Btw, where is the perl script located? nixpkgs?
<elvishjerricco> bobvanderlinden: Yea a lot of the Perl code uses compile time eval, which isn't doable when cross compiling
<elvishjerricco> das_j: Yea there's a switch-to-configuration.pl file in nixpkgs
<elvishjerricco> There's like 20 other Perl scripts too but the others haven't come up yet :P
<das_j> elvishjerricco: Ah, thanks!
worldofpeace_ has joined #nixos
<clever> elvishjerricco: setup-etc.pl is one ive wanted to see ported
<das_j> It doesn't look that bad
<bobvanderlinden> indeed, that one seems like it's worth the effort converting
hakujin has joined #nixos
<clever> bobvanderlinden: setup-etc.pl is the only reason not-os depends on perl
<bobvanderlinden> haven't done python in a while, but it seems like a good exercise
<clever> bobvanderlinden: id rather see it become c
<bobvanderlinden> hmm
<das_j> clever: Totally agree! Static linking and gone are all dependencies
<bobvanderlinden> you're probably right. especially when it comes to portability
hakujin4 has quit [Ping timeout: 256 seconds]
<elvishjerricco> Personally I'd rather see it in rust but I doubt the tooling is there for that in nixpkgs :P
<Sonarpulse> elvishjerricco: I am slowly trying to get the rust people to build libraries separate from compilers just like haskell
<Sonarpulse> that will help
<Sonarpulse> soon rustc will have rust (the cranelift compiler) backend instead of LLVM
<Sonarpulse> that + compiler-builts replacing compiler-rt
<Sonarpulse> means 100% C/C++-less builds
<Sonarpulse> in tools and libraries
kisik21 has joined #nixos
<Sonarpulse> only dependency being bootstrapping
reinzelmann has joined #nixos
<kisik21> So... I upgraded again. Rebooted. Rofi still complains about locale, termite still can't handle iBus layout switching, but hey, bspwm now launches correctly and I have colored emoji system-wide!
alex`` has joined #nixos
<bobvanderlinden> hmm, that sounds promising
<LnL> Sonarpulse: does that mean no more vendored llvm build?
<Sonarpulse> LnL: nah I imagine LLVM will be the default for a while
<kisik21> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.4, channels(root): "nixos-18.09pre147850.2428f5dda13", channels(kisik21): "nixos-unstable-18.09pre147850.2428f5dda13, nixos-18.03.133029.d0c868ec17c", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<Sonarpulse> LnL: but I believe they started support system LLVMs?
<LnL> oh!
<Sonarpulse> LnL: at least I saw an issue involving the system llvm
<Sonarpulse> something like that
<kisik21> so... anyone can help me with locale and iBus?
<LnL> Sonarpulse: that's not how you sell this...
<elvishjerricco> Hm. Dropping llvm sounds like a bad thing
ru_horlick has quit [Quit: Connection closed for inactivity]
<elvishjerricco> But yea isn't the rust nix stuff set up such that changing any dependency requires rebuilding all of them plus the compiler? It was pretty unusable because of that last I tried it
<elvishjerricco> Sonarpulse: ^
<Sonarpulse> LnL: sorry the issue blamed the system LLVM because it was deemed a supported LLVM
<Sonarpulse> elvishjerricco: there was some thing besides buildRustPackage that cached individual libraries
<{^_^}> rust-lang/rust#51899 (by gnzlbg, 5 weeks ago, merged): bump minimum LLVM version to 5.0
<Sonarpulse> that PR bumped llvm version
<kisik21> Hey, I solved the issue
<Sonarpulse> not that is stock 5.0 I think
logzet has quit [Ping timeout: 240 seconds]
<elvishjerricco> Sonarpulse: If you've got a link to the better rust stuff, I'd love to see it :)
logzet has joined #nixos
<Sonarpulse> elvishjerricco: ofborg uses it
<Sonarpulse> that's all I remember
<Sonarpulse> g2g for a sec
<LnL> Sonarpulse: doesn't really matter for us if it's still a fork
<gchristensen> Carnix
<gchristensen> Sonarpulse, elvishjerricco
ryanartecona has quit [Quit: ryanartecona]
<LnL> yeah, buildRustPackage doesn't use separate dependencies so you rebuild everything if something changes
<gchristensen> very slow :) carnix works nicely
<kisik21> d0t: after upgrading, don't forget to switch your user profile to unstable and rebuild. Will help with some issues.
<kisik21> Helped me with some issues...
Fare has joined #nixos
oldandwise has quit [Read error: Connection reset by peer]
alex`` has quit [Ping timeout: 256 seconds]
hakujin has quit [Ping timeout: 256 seconds]
logzet has quit [Remote host closed the connection]
fresheyeball has joined #nixos
<fresheyeball> so I have the following error
asymmetric_ has joined #nixos
<fresheyeball> error: anonymous function at /home/isaac/Projects/kassir/default.nix:1:1 called with unexpected argument 'lib', at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:170:8
<dhess> gchristensen: anyone working on CVE-2018-5390, as far as you know?
<fresheyeball> can someone tell me the role of that modules.nix file?
<fresheyeball> because I grepped the code, and I never pass `lib`
<gchristensen> I don't know, dhess, check #nixos-security maybe
<dhess> gchristensen: ok thanks
<{^_^}> [nixpkgs] @vincentbernat opened pull request #44633 → nixos/cloud-init: order after network-online.target → https://git.io/fNyeA
asymmetric has quit [Ping timeout: 265 seconds]
sammecs has joined #nixos
<sammecs> hey there, I've got this weird problem where the font "Terminus" won't show up in the font cache after booting, but it works after a couple of nixos-rebuild switch'es
<sammecs> I have installed it via fonts.fonts = [ pkgs.terminus_font ];
<{^_^}> [nixpkgs] @xeji closed pull request #44627 → sieve-connect: Package is supported everywhere → https://git.io/fNDQ0
<samueldr> sammecs: terminus_font_ttf has the ttf files
<sammecs> samueldr: Right, but they look ugly
das_j has quit [Quit: WeeChat 2.0]
<kisik21> sammecs: do they?
<kisik21> I use Terminus-TTF in my desktop environment and it looks nice. And scales nice.
<kisik21> And if you set hinting just right, it becomes perfect
<sammecs> kisik21: That's interesting, I use them with xfce4-terminal and emacs, and the TTF version was weirdly blurry
<Sonarpulse> gchristensen: thanks
<sigtrm> Quick question, does anyone know if you can run nixos on an rpi 3 and have wireguard running on it? I have tried several distros on my rpi 3 and they mostly fail with wireguard so I'd like to know if anyone had any success with it
<kisik21> sigtrm: I think NixOS could handle it. It handles wireguard, from what I know. Saw some options in configuration.nix
<kisik21> and aarch64 builds are official
<samueldr> one thing that may play in favour of nixos is that we're using mainline linux kernels, and not the raspberry pi foundation tree
<sigtrm> Thank you, with Alpine they had wireguard with official aarch64 support but for some reason it didn't support the rpi kernel, only the vanilla kernel
<kisik21> Probably Alpine didn't have a wireguard module built for linux-rpi
<sigtrm> Yeah, and Void had other problems so I was thinking before going ahead and starting all over with another distro I should at least ask here if I am wasting my time or not
<sigtrm> I appreciate the answers
<sigtrm> I am avoiding raspbian and all the forks of that one and have never tried NixOS so would be nice to have a go at it
<kisik21> sigtrm: NixOS is really cool for server environments because you can deploy several identical servers faster than with other distros - just copy configuration.nix and nixos-rebuild switch - there's even no need to reboot! (well, usually)
<sigtrm> Yeah, from what I read NixOS sounds really cool
<fresheyeball> is there a way I can get nixops to give me a stacktrace?
<fresheyeball> I can't figure out why I am getting this error with lib getting passed
<sigtrm> Let's see if I can get it to boot on the rpi which iseems to be a very finicky piece of hw
<fresheyeball> kisik21: nixops makes that even better fyi
<elvishjerricco> fresheyeball: `--show-trace`
ryanartecona has joined #nixos
<elvishjerricco> fresheyeball: Though the error seems odd, seeing as that modules.nix file certainly *does* take a `lib` argument: https://github.com/NixOS/nixpkgs/blob/master/lib/modules.nix#L1
<fresheyeball> elvishjerricco: I get that, but that is not the error, the error is that module.nix is passing lib to my lambda where I dont expect that
<sigtrm> Quick question, would I be able to run NixOS in virtualbox and make everything ready there, then just copy over the configuration.nix to a clean isntall on rpi and have everything set up for me there?
<elvishjerricco> fresheyeball: Ah, derp. Misunderstood
<{^_^}> [nixpkgs] @xeji merged pull request #44590 → gzdoom: g3.4.1 -> g3.5.0 → https://git.io/fNMrn
<{^_^}> [nixpkgs] @xeji pushed commit from @Drakonis to master « gzdoom: g3.4.1 -> g3.5.0 (#44590) »: https://git.io/fNyJO
<emily> sigtrm: pretty much, though you'll likely have to at least regenerate hardware configuration
<symphorien> sigtrm: yes except things like bootloader config, fstab and so on
<{^_^}> [nixpkgs] @xeji merged pull request #44628 → ocamlPackages.sequence: 0.10 -> 1.1 → https://git.io/fNDQH
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « ocamlPackages.sequence: 0.10 -> 1.1 (#44628) »: https://git.io/fNyJc
reinzelmann has quit [Quit: Leaving]
<fresheyeball> elvishjerricco: unfortunately stack-trace did now show my code at all
worldofpeace_ has quit [Ping timeout: 256 seconds]
<sigtrm> Thank you
mkoenig has quit [Ping timeout: 268 seconds]
mkoenig has joined #nixos
seppellll has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @dasJ to master « tt-rss-plugin-tumblr-gdpr: Init at 1.2 (#44620) »: https://git.io/fNyUn
<{^_^}> [nixpkgs] @xeji merged pull request #44620 → tt-rss-plugin-tumblr-gdpr: Init at 1.2 → https://git.io/fNDan
sammecs has quit [Ping timeout: 252 seconds]
sigmundv has joined #nixos
asymmetric_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dasJ opened pull request #44634 → tt-rss-theme-feedly: Init at 1.4.0 → https://git.io/fNyUi
alex`` has joined #nixos
worldofpeace_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44614 → ccemux: init at 1.1.0 → https://git.io/fNDCO
<{^_^}> [nixpkgs] @xeji pushed commit from @CrazedProgrammer to master « ccemux: init at 1.1.0 (#44614) »: https://git.io/fNyTU
f0i has quit [Ping timeout: 240 seconds]
trcc has joined #nixos
trcc has quit [Ping timeout: 244 seconds]
<Sonarpulse> LnL: is it a fork?
<Sonarpulse> that wasn't clear t ome
<Sonarpulse> unless the minimum version is within a bunch of forked branches
<LnL> it is right now, and I didn't see anything change to point upstream
worldofpeace_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #44635 → citrix_receiver: document installation pitfalls and `extraCerts` → https://git.io/fNykg
<symphorien> Sonarpulse: here is a description of their patchset https://github.com/rust-lang/rust/pull/47828
<{^_^}> rust-lang/rust#47828 (by alexcrichton, 27 weeks ago, merged): rustc: Upgrade to LLVM 6
seppellll has quit [Quit: seppellll]
Ariakenom has quit [Read error: Connection reset by peer]
seppellll has joined #nixos
Thra11 has joined #nixos
<jtojnar> anyone with fwupd-supported UEFI willing to test https://github.com/NixOS/nixpkgs/pull/39792?
<{^_^}> #39792 (by Moredread, 14 weeks ago, open): WIP fwupd: 1.0.5 -> 1.1.0
<Sonarpulse> symphorien: thanks
chreekat has quit [Quit: quitting]
seppellll has quit [Quit: seppellll]
<{^_^}> [nixpkgs] @xeji merged pull request #44609 → dwm-status: 1.1.1 -> 1.1.2 → https://git.io/fNDqX
<{^_^}> [nixpkgs] @xeji pushed commit from @Gerschtli to master « dwm-status: 1.1.1 -> 1.1.2 (#44609) »: https://git.io/fNyLO
iqubic has quit [Quit: Page closed]
kalbasit is now known as kalbasit[m]
<samueldr> btw, for the requiest from jtojnar supported hardware list here: https://fwupd.org/lvfs/devicelist
<jtojnar> it is mostly DELLs and ThinkPads
ryanartecona has quit [Quit: ryanartecona]
<samueldr> yeah :(
<Drakonis> well, its a start right?
orivej has joined #nixos
<fresheyeball> hey, how does `imports = {..` work?
<Sonarpulse> fresheyeball: `map (f: import f { .. }) imports` something like that probably
<Sonarpulse> import is a normal function, I assuem
dnovosel has quit [Ping timeout: 276 seconds]
Jackneilll has quit [Remote host closed the connection]
Jackneilll has joined #nixos
<fresheyeball> Sonarpulse: I did not know that about import
Havvy has quit [Remote host closed the connection]
<fresheyeball> I thought it was a super flexible keyword
Havvy has joined #nixos
<Sonarpulse> fresheyeball: hehehe most things in nix that look like functions...are!
<samueldr> > builtins.typeOf import
<{^_^}> "lambda"
<fresheyeball> Sonarpulse: where can I find how `imports` get processed?
<Sonarpulse> fresheyeball: lib/modules.nix
<fresheyeball> Sonarpulse: whoa
<fresheyeball> any way to add my module to a configuration other than imports?
<Sonarpulse> fresheyeball: it's more like a if isPath p then import p else p
<Sonarpulse> so you can make it just an expression
worldofpeace_ has joined #nixos
<fresheyeball> so.... I use import, and do what with it?
<fresheyeball> { imports = [<foo>]; } becomes let foo = import <foo>; in { ?? }
<Sonarpulse> I mean like {....}: { imports = [ ... (my expression) ]; ... }
<Sonarpulse> all the modules are fixed togther
<Sonarpulse> it's closer to:
<Sonarpulse> { imports = [<foo>]; <bar..> } becomes let foo = if isPath <foo> then import <foo> else <foo>; in foo // { <bar..> }
<clever> but the merging is more inteligent then //
<Sonarpulse> indeed
bobvanderlinden has quit [Quit: Page closed]
<fresheyeball> clever: does recursiveUpdate have this intelligence?
<clever> fresheyeball: nope
<fresheyeball> oh no
<fresheyeball> that is how I have been merging configuration.nix things
<fresheyeball> into a big config for nixops to deploy
<fresheyeball> how should I do it?
phreedom_ has joined #nixos
<{^_^}> [nixpkgs] @hlolli opened pull request #44636 → closh init at 0.2.2 → https://git.io/fNyY7
<{^_^}> [nixpkgs] @costrouc opened pull request #44637 → New dask-jobqueue 0.3.0, docrep 0.2.3. Updated distributed 1.22.1 → https://git.io/fNyYF
<clever> fresheyeball: in general, use the imports field to list multiple modules
<fresheyeball> so lets say I have 2 things that are nginx configs
<fresheyeball> will imports merge them?
<Sonarpulse> fresheyeball: since they don't need to be files, there is no downside
<Sonarpulse> yeah
<fresheyeball> Sonarpulse: so there is a backend module spec with things like mkOption
<fresheyeball> and a front end spec that specifies the options
zarel has joined #nixos
<fresheyeball> how can they both be in `imports` it doesn't make sense to me
<clever> fresheyeball: the lazyness of nix allows it to read the full .options tree from every file, while sorta ignoring the .config trees
<clever> then it can scan .config and merge based on what .options defined
<fresheyeball> ok!
phreedom has quit [Ping timeout: 250 seconds]
selfsymmetric-pa has quit [Remote host closed the connection]
<fresheyeball> clever does that mean it will merge nginx.virtualHosts ?
<clever> yeah
<fresheyeball> how can I see how it will intelligently merge?
<clever> fresheyeball: its based on the type defined here
<clever> oops, wait
<clever> thats the apache one
<clever> types.attrsOf
iqubic has joined #nixos
<clever> fresheyeball: and the definition of attrsOf
johanot has quit [Remote host closed the connection]
<elvishjerricco> fresheyeball: There's a whole weird type system in the module system, which includes each type defining how to merge it.
<clever> the merge function on line 267 deals with merging things
selfsymmetric-pa has joined #nixos
<iqubic> I hate wifi hotspots that force you to got through a sign in page before they give you internet access. They never let me through on NixOS.
<clever> iqubic: same
<gchristensen> iqubic: if you set your DNS explicitly, it won't work on any distro ... those things work fine for me
<iqubic> gchristensen: I have never set my DNS explicitly.
<clever> iqubic: what does /etc/resolv.conf say the nameserver is?
<iqubic> I'm relying on the Wifi to JUST work.
<Dezgeg> try visiting a page that is not https and you haven't visited recently
<gchristensen> well ... those always work for me
<Dezgeg> then you typically get the login page
<iqubic> Dezgeg: That's not what I'm trying to do.
<iqubic> Dezgeg: I can get the login page just fine.
<Dezgeg> ah. that's usually the problem I have with hotspots requiring login
<iqubic> I sign into it, and it says... "logging in..." then it says it moves to a different page and Firefoxs's standard "cannot connect to server." message comes up.
<iqubic> clever: nameserver is 128.95.120.1 or 128.95.112.1 Two are listed.
<iqubic> And it looks like dhcp4 is being used here.
<iqubic> IDK what is going on here.
<{^_^}> [nixpkgs] @xeji merged pull request #44598 → [rdy]iproute: allow to load ebpf programs → https://git.io/fNM7B
<{^_^}> [nixpkgs] @xeji pushed commit from @teto to staging « iproute: allow to load ebpf programs (#44598) »: https://git.io/fNys4
<clever> iqubic: try loading a page with curl next time to see what error it has
<iqubic> There is no error.
<clever> then why is firefox giving an error?
<iqubic> curl works fine, but firefox can't find the website that the login page sends me too after I log in.
<iqubic> I'll diagnose this later if I have time.
<clever> try curl on the same domain that fails in firefox
<iqubic> This is too much for me to deal with right now.
polman has joined #nixos
iqubic has left #nixos [#nixos]
jmeredith has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44597 → megatools: v2017-10-26 -> v1.10.2 → https://git.io/fNMDV
<{^_^}> [nixpkgs] @xeji pushed commit from @colemickens to master « megatools: v2017-10-26 -> v1.10.2 (#44597) »: https://git.io/fNyZO
<sigtrm> Does NixOS support musl?
<clever> sigtrm: it does have a musl cross-compile target
<clever> (import <nixpkgs> { crossSystem = (import <nixpkgs/lib>).systems.examples.musl64; }).hello
<{^_^}> [nixpkgs] @costrouc opened pull request #44638 → Update jupyterlab 0.32.1 -> 0.33.7 → https://git.io/fNyZK
selfsymmetric-pa has quit [Remote host closed the connection]
<Drakonis> i think i'm missing something with makewrapper
<clever> sigtrm: the above creates a hello-world binary linked against musl
<clever> drakonis: is it giving an error?
<sigtrm> So Thank you clever
<sigtrm> So I can make all pkgs compiled against musl?
<Drakonis> oh no, its not erroring out, if i use makewrapper, it doesn't yield the rclone-browser binary
<clever> sigtrm: not all, but i'm guessing most
<clever> drakonis: can you gist your nix expression?
<Drakonis> what i'm trying to do is make rclone download along with rclone-browser
<Drakonis> if i install rclone-browser it should bring rclone together
<sigtrm> Can I remove glibc completely?
ryanartecona has joined #nixos
<Drakonis> i assume that if i try to add rclone to the build itself it will conflict with a solo rclone install
<{^_^}> [nixpkgs] @pSub pushed to master « xlockmore: 5.55 -> 5.56 »: https://git.io/fNynv
<clever> drakonis: if done right, it wont be able to conflict
DigitalKiwi has quit [Ping timeout: 256 seconds]
Ariakenom has joined #nixos
<Drakonis> fairly certain i'm not getting it
<clever> drakonis: thats not how makeWrapper is used
<Drakonis> i knew it
<clever> nixpkgs/pkgs/applications/altcoins/seth.nix: wrapProgram "$out/bin/seth" --prefix PATH : "${path}"
<Drakonis> then a bunch of other packages should be corrected
<clever> you want to do something like this
<clever> wrapProgram $out/bin/rclone-browser --prefix PATH : "${rclone}/bin"
<Drakonis> do i keep the other lines around?
<clever> i would put just the above in postInstall, and remove the rest
kalbasit has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #44639 → luksroot: Add missing quote → https://git.io/fNycm
simukis has quit [Ping timeout: 256 seconds]
DigitalKiwi has joined #nixos
<Drakonis> that didn't work
alex`` has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @LnL7 opened pull request #44640 → beam-packages: default erlangR19 -> erlangR20 → https://git.io/fNyCq
<Drakonis> its building but rclone isn't available
<Drakonis> rclone isn't in some nonstandard location
kalbasit has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @xeji merged pull request #44634 → tt-rss-theme-feedly: Init at 1.4.0 → https://git.io/fNyUi
<{^_^}> [nixpkgs] @xeji pushed commit from @dasJ to master « tt-rss-theme-feedly: Init at 1.4.0 (#44634) »: https://git.io/fNyC6
<Drakonis> oh so it did
<Drakonis> hm, now i have another problem, it is looking for an terminal variable?
<Drakonis> there's no paths file in nix right?
<{^_^}> [nixpkgs] @xeji pushed commit from @jpathy to master « Palemoon: 27.9.2 -> 27.9.4 (#44502) »: https://git.io/fNyWU
<{^_^}> [nixpkgs] @xeji merged pull request #44502 → Palemoon: 27.9.2 -> 27.9.4 → https://git.io/fNXEq
<gchristensen> anyone using nixops as part of a ci deployment pipeline?
<Drakonis> okay no this doesn't work, it runs rclone and it needs the binary to be somewhere
<{^_^}> [nixpkgs] @xeji merged pull request #44608 → animbar: init at 1.2 → https://git.io/fNDqI
<{^_^}> [nixpkgs] @xeji pushed commit from @leenaars to master « animbar: init at 1.2 (#44608) »: https://git.io/fNyWO
ryanartecona has quit [Quit: ryanartecona]
selfsymmetric-pa has joined #nixos
Drakonis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #44635 → citrix_receiver: document installation pitfalls and `extraCerts` → https://git.io/fNykg
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « citrix_receiver: document installation pitfalls and `extraCerts` (#44635) »: https://git.io/fNylJ
zarel has quit [Remote host closed the connection]
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44639 → luksroot: Add missing quote → https://git.io/fNycm
<{^_^}> [nixpkgs] @xeji pushed commit from @eadwu to master « luksroot: Add missing quote (#44639) »: https://git.io/fNyld
kalbasit has joined #nixos
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @dotlambda merged pull request #44510 → pybitmessage: 0.6.2 -> 0.6.3.2 → https://git.io/fNXrk
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to master: https://git.io/fNy8T
<{^_^}> [nixpkgs] @dotlambda pushed commit from @fgaz to release-18.03 « pybitmessage: 0.6.2 -> 0.6.3.2 »: https://git.io/fNy8L
mayhewluke has quit [Ping timeout: 268 seconds]
<dhess> gchristensen: in what sense?
kalbasit has quit [Quit: WeeChat 2.1]
jperras has quit [Quit: WeeChat 2.2]
kalbasit has joined #nixos
<gchristensen> like a `nixops deploy` happening automatically in a CI job where maybe the nixops state isn't already there
kalbasit has quit [Client Quit]
<{^_^}> [nixpkgs] @xeji merged pull request #44633 → nixos/cloud-init: order after network-online.target → https://git.io/fNyeA
<{^_^}> [nixpkgs] @xeji pushed commit from @vincentbernat to master « nixos/cloud-init: order after network-online.target (#44633) »: https://git.io/fNy8A
kalbasit has joined #nixos
kalbasit has quit [Ping timeout: 240 seconds]
kalbasit has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
ma27 has quit [Quit: WeeChat 2.0]
erasmas has quit [Quit: leaving]
ma27 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #44641 → light: 1.0 -> 1.1.2 → https://git.io/fNyBY
kalbasit has quit [Quit: WeeChat 2.1]
<domenkozar> if you'd like to publish something on nixos weekly, now is the time: https://github.com/NixOS/nixos-weekly
jmiven has quit [Quit: co'o]
kalbasit has joined #nixos
jmiven has joined #nixos
<kalbasit> anyone here is using weechat? I'm trying to add the wee-slack module but it does not seem to find websocket even though I added it to the extraBuildInputs: https://gist.github.com/kalbasit/fb2011a63ad707df4cda695704b74f60#file-home-nix-L132-L136
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #44599 → Update to tensorflow 1.9 → https://git.io/fNMdP
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to master: https://git.io/fNyBw
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
<{^_^}> [nixpkgs] @leenaars opened pull request #44642 → qstopmotion: 2.3.2 -> 2.4.0 → https://git.io/fNyB7
Denommus has quit [Remote host closed the connection]
ma27 has quit [Client Quit]
ma27 has joined #nixos
ma27 has quit [Client Quit]
Guanin has joined #nixos
ma27 has joined #nixos
jtojnar has quit [Ping timeout: 248 seconds]
__monty__ has quit [Quit: leaving]
ma27 has quit [Client Quit]
<dhess> gchristensen: ahh, in that case, not me :)
<gchristensen> dang, it is quite tricky
ma27 has joined #nixos
<dhess> I would be afraid to do an automatic deployment
Thra11 has quit [Quit: WeeChat 1.4]
<gchristensen> for simple things it doesn't scare me, I want to give more people the ability to deploy ofborg
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @bkchr opened pull request #44643 → plasma5: 5.13.2 -> 5.13.4 → https://git.io/fNyRu
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @nbp closed pull request #44601 → lib/types: add the selectorFunction type → https://git.io/fNMNd
johnw has quit [Ping timeout: 264 seconds]
kalbasit has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @nbp closed pull request #44626 → Bring back functionTo to prevent evalutation errors while merging → https://git.io/fND9H
kalbasit has joined #nixos
johnw has joined #nixos
<{^_^}> [nixpkgs] @ysndr opened pull request #44644 → update: latte-dock 0.7.5 -> 0.8.0 → https://git.io/fNy0t
<gchristensen> hmm what about it?
<srk> I wonder what would be a good keyword for bot
<srk> that's how you build nixops deployments indirectly
<dhess> It's not doing a deploy, though, and I think that is what gchristensen is asking about.
<srk> nixops just includes nas/router and these are also part of release.nix (for hydra)
<{^_^}> [nixpkgs] @xeji merged pull request #44514 → cantata: 2.2.0 -> 2.3.2 → https://git.io/fNX6n
<{^_^}> [nixpkgs] @xeji pushed commit from @jpathy to master « cantata: 2.2.0 -> 2.3.2 (#44514) »: https://git.io/fNy0B
<srk> ah, ok
<srk> missed the clarification
<dhess> no worries.
<{^_^}> [nixpkgs] @xeji merged pull request #44641 → light: 1.0 -> 1.1.2 → https://git.io/fNyBY
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « light: 1.0 -> 1.1.2 (#44641) »: https://git.io/fNy0z
<{^_^}> [nixpkgs] @8573 opened pull request #44645 → vim_configurable: Add `wrapGAppsHook` for GTK 3 → https://git.io/fNy06
dbmikus__ has quit [Ping timeout: 268 seconds]
ma27 has quit [Quit: WeeChat 2.0]
hamishmack has joined #nixos
ma27 has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
johnw has quit [Ping timeout: 244 seconds]
johnw has joined #nixos
d0t has quit [Remote host closed the connection]
carlosdagos has quit [Quit: Connection closed for inactivity]
kisik21 has left #nixos [#nixos]
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon3 is now known as Mateon1
jperras has joined #nixos
dbmikus__ has joined #nixos
<{^_^}> [nixpkgs] @poelzi opened pull request #44646 → Feature/brother ql → https://git.io/fNyuo
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.tidylib: 0.2.4 -> 0.3.2 »: https://git.io/fNyuQ
das_j has joined #nixos
<das_j> Hey, just a short question. I'm currently creating a module and I need a directory where multiple other files/directories are combined in. Of course, I'd prefer some location in the nix store. What method is used for that?
<das_j> Do I use stdenv.mkDerivation for that?
justan0theruser has joined #nixos
<symphorien> SymlinkJoin ?
<das_j> symphorien: Ahh, that seems perfect! Thank you
<kalbasit> clever: I just found https://github.com/cleverca22/slack-irc-gateway that's for installing wee-slack right? is it still working with wee-slack 2.0?
justanotheruser has quit [Ping timeout: 240 seconds]
das_j has quit [Client Quit]
<{^_^}> [nixpkgs] @thoughtpolice pushed 3 commits to master: https://git.io/fNyzY
alexteves has quit [Remote host closed the connection]
Fare has joined #nixos
ericsagnes has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/fNyzS
appleclusters has joined #nixos
rprije has joined #nixos
<appleclusters> Does nix provide a way to view the diffs of package definitions during upgrades? Some AUR helpers let you do that for Makepkg files to make sure nothing sketchy was added
hakujin has joined #nixos