<Ralith>
I don't recall whether I've ever used suspend and have never tried to adjust the backlight, but wifi works fine
hellrazor has joined #nixos
<elvishjerricco>
Wifi broke for me when I switched to 18.03 :/
hakujin4 has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @Ericson2314 merged pull request #38399 → binutils: No more darwin conditionals → https://git.io/vxX0q
<{^_^}>
[nixpkgs] @Ericson2314 pushed 2 commits to staging: https://git.io/vx1ZD
<{^_^}>
→ adaa110a by @Ericson2314: binutils: No more darwin conditionals
<{^_^}>
→ e4e0cd66 by @Ericson2314: Merge pull request #38399 from obsidiansystems/binutils-is-binutils
chreekat_ has joined #nixos
chreekat has quit [Disconnected by services]
chreekat_ is now known as chreekat
jperras has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<elvishjerricco>
Suspend has never worked though. When I close the lid, it resumes itself (the workarounds I've found online don't help), and when I suspend manually I can't wake it up
Lisanna has joined #nixos
<Lisanna>
...today I learned what "hash -r" does
<Lisanna>
seems especially important for Nix users, since Nix can "install" things on top of pre-existing versions of an executable
<{^_^}>
[nixpkgs] @bcdarwin opened pull request #38416 → beluga: init at 20180403 → https://git.io/vx1nh
<clever>
Lisanna: nixos disables that bash feature automatically
<Lisanna>
clever and for good reason!
<Lisanna>
glad to hear that anyways
<clever>
Lisanna: also, there is "type ls"
<clever>
clever@c2d ~ $ type bash
<clever>
bash is hashed (/bin/bash)
<clever>
on gentoo, it can return this
<clever>
which shows that it didnt look, it remembered
<clever>
it will also clear it any time PATH is modifies, so i just `export PATH=$PATH`
<Lisanna>
lol
<Lisanna>
well, that explains why I haven't run into this until I started using Nix
<Lisanna>
because outside of Nix I guess it's a pretty obscure use case
silver has quit [Read error: Connection reset by peer]
slack1256 has quit [Remote host closed the connection]
<clever>
infinisil: nice
<infinisil>
Have tried to fix osquery on NixOS for the last couple hours, would be pretty nice to have it working again eventually
* clever
heads off to bed
bara has quit [Read error: Connection reset by peer]
acarrico has quit [Ping timeout: 260 seconds]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
<infinisil>
clever: Night!
bara has joined #nixos
LysergicDreams has quit [Quit: leaving]
hakujin1 has joined #nixos
lopsided98 has joined #nixos
hakujin has quit [Ping timeout: 276 seconds]
kmicklas has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @marsam opened pull request #38417 → Enable libtorrent and xmlrpc-c on darwin → https://git.io/vx1cb
<infinisil>
Heh, I just found out that clever was the one who broke rocksdb_lite (a dependency of osquery) which I needed to fix before I could work on osquery :P
justanotheruser has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @dtzWill merged pull request #38174 → Machine.pm: tweak to look for graphical target in waitForX → https://git.io/vxoji
<etu[m]>
Yeah, but it got a CVE number and a patch
<etu[m]>
Yeah, the comment is a good one. I've didn't run the script, just read what it did and had a laugh.
ma27 has quit [Ping timeout: 276 seconds]
<monotux>
this semi-new way of installing packages by piping a curled script is convenient but oooh so stupid
<monotux>
I love the fact that it is norm already
rauno has quit [Remote host closed the connection]
uptime has quit [Ping timeout: 240 seconds]
<etu[m]>
Both flatpak and snap-packages seems like a better choice :p
<adisbladis[m]>
monotux: It's even the recommended way to install nix ;)
<adisbladis[m]>
etu: I'm not so sure.. Both of them seem fatally flawed to me.
<etu[m]>
adisbladis: Just different types of bad :p
rauno has joined #nixos
bara has quit [Read error: Connection reset by peer]
<monotux>
but remember, docker will save us all!!1
bara has joined #nixos
<monotux>
I haven't read up on flatpak and snap, how bad is it?
<etu[m]>
That's also another kind of bad. I'm quite happy that I've never used docker.
<monotux>
I use it on one of my machines (that runs nixos), but that is since the package plex is unavailable otherwise. that also handles updates by simply restarting the container
<monotux>
(so it downloads new code every time I restart the container, that is soooo safe)
<zybell_>
monotux: if nix downloaded its store everytime you boot it, you wouldn't think it unsafe, because you know that it is secured with hashsums. Why do you think others ideas are less secure?
dbe has quit [Ping timeout: 264 seconds]
periklis has joined #nixos
civodul has joined #nixos
vidbina has joined #nixos
Ariakenom has quit [Quit: Leaving]
reinzelmann has joined #nixos
jensens has joined #nixos
ryantrinkle has quit [Ping timeout: 260 seconds]
Tobba has quit [Ping timeout: 246 seconds]
pie___ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
Tobba has joined #nixos
<{^_^}>
[nixpkgs] @vcunat pushed to master « 18.03 release notes: final edits »: https://git.io/vx1aE
<{^_^}>
[nixpkgs] @vcunat pushed to release-18.03 « 18.03 release notes: final edits »: https://git.io/vx1aa
<{^_^}>
→ 594130f3 by @flokli: svn-all-fast-export: update patch sha256, --prefix is now used
<{^_^}>
→ dae67d65 by @Mic92: Merge pull request #37951 from Mic92/svn-all-fast-export
newhoggy_ has joined #nixos
<{^_^}>
[nixpkgs] @Mic92 pushed commit from @flokli to release-18.03 « svn-all-fast-export: update patch sha256, --prefix is now used »: https://git.io/vx1Vd
newhoggy_ has quit [Remote host closed the connection]
newhoggy_ has joined #nixos
newhoggy has quit [Ping timeout: 263 seconds]
lewo has joined #nixos
sys9mm is now known as mingc
bara has quit [Read error: Connection reset by peer]
<{^_^}>
→ a0c6d314 by @dywedir: i3status-rust: 0.9.0.2018-01-15 -> 0.9.0.2018-03-31
<{^_^}>
→ 018d1096 by @Mic92: Merge pull request #38419 from dywedir/i3status-rust
davidlt has quit [Remote host closed the connection]
jmackie has joined #nixos
<tilpner>
yrashk - It should also take swiProlog and makeWrapper directly, instead of pkgs
<tilpner>
yrashk - That way, they can be overriden with .override
davidlt has joined #nixos
<tilpner>
And while we're doing minor style issues, src should be defined earlier and the name should contain the version too
<jmackie>
What's the process for renaming a user when mutableUsers = false? Do I just change the (extra)Users key and the homeDir name? Will this mv the existing home directory? :nervous_face:
davidlt has quit [Remote host closed the connection]
asuryawanshi has quit [Remote host closed the connection]
davidlt has joined #nixos
zzamboni has quit [Quit: Leaving.]
<tilpner>
jmackie - I *think* the policy is to not touch your home directory, so it shouldn't mv or rm your home
<tilpner>
Make sure you keep the uid, so that your permissions stay intact
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
<tilpner>
Good! Now you have to poke people with merge rights until they give up and merge it :/
Jetien has joined #nixos
yorick has quit [Ping timeout: 264 seconds]
<yrashk>
Whom should I poke? That part is not very clear
<Jetien>
Hi! How can I get private repository to work with pkgs.fetchgit? I couldn't find any documentation on adding private ssh keys to the build users
<tilpner>
No one in particular, because we don't want to annoy anyone. I have not mastered that part either :s
phreedom has quit [Ping timeout: 268 seconds]
phreedom has joined #nixos
<tilpner>
You could just bring it up in here again when there's more activity
davidlt has quit [Remote host closed the connection]
davidlt has joined #nixos
patrl has joined #nixos
vidbina has quit [Ping timeout: 264 seconds]
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
vidbina has joined #nixos
patrl has quit [Client Quit]
patrl has joined #nixos
patrl has quit [Client Quit]
patrl has joined #nixos
patrl has quit [Client Quit]
patrl has joined #nixos
patrl has quit [Client Quit]
patrl has joined #nixos
<Jetien>
solution to my problem is found in nixpkgs fetchgit/private.nix
phreedom has quit [Ping timeout: 268 seconds]
shoogz has quit [Remote host closed the connection]
<{^_^}>
→ 87c12bda by @ttuegel: tex-gyre: use `callPackages`
<{^_^}>
→ 140f2a35 by @ttuegel: tex-gyre-*-math: Move to `tex-gyre-math` package set
<{^_^}>
→ 130ee298 by @ttuegel: Merge pull request #38404 from ttuegel/bugfix/tex-gyre/callPackages
<patrl>
hi all, hoping someone here can give me a pointer -- I'm still getting a "undefined variable ‘placeholder’" with nix-env -u, despite nix being version 2.0
<patrl>
i'm on 17.09, but using the nixos-unstable channel in my user env
<tilpner>
Is your daemon 2.0 too?
<{^_^}>
[nixpkgs] @Mic92 merged pull request #38242 → lightstep-tracer-cpp: mark as broken → https://git.io/vxK4w
<patrl>
thanks @clever, not sure how I missed that
<elvishjerricco>
clever: I wonder if adding a `nix` package to `environment.systemPackages` should yield a warning? I've had to warn people off that a couple of times
jtojnar has quit [Read error: Connection reset by peer]
nick_l has joined #nixos
<nick_l>
In nix-repl, how do I obtain the following string? x=''NAME=${0##*/}''?
<gchristensen>
''${
<gchristensen>
'' escapes a ${
<nick_l>
Thanks
<gchristensen>
you're welcome
<nick_l>
a lot.
jtojnar has joined #nixos
seanparsons has joined #nixos
<sphalerite>
is using a remote host as a substituter like `--substituters 'ssh://user@host'`, or the same with ssh-ng:// instead of ssh://, supposed to work?
<{^_^}>
→ 5e39db22 by @peti: hackage-packages.nix: automatic Haskell package set update
<{^_^}>
→ 8a104014 by @peti: hackage-packages.nix: automatic Haskell package set update
ma27 has joined #nixos
zzamboni has quit [Quit: Leaving.]
hakujin3 has quit [Ping timeout: 255 seconds]
zzamboni has joined #nixos
bara has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @Ekleog opened pull request #38428 → Add documentation for weechat → https://git.io/vxMtI
mmercier has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
jperras has joined #nixos
<srid>
Does chrome update automatically on nixos?
<nick_l>
Is there something that makes it possible that #!/usr/bin/env bash as a script header does not work on NixOS under any circumstance on x86-64 with a default kernel? For example a systemd execution environment?
pkill9 has quit [Read error: Connection reset by peer]
<nick_l>
srid: if you have not enabled autoupdate, it won't.
<nick_l>
srid: NixOS has it own autoupdate concept.
zzamboni has quit [Client Quit]
<srid>
nick_l: I'm talking about Chrome's own auto-update mechanism
zzamboni has joined #nixos
<nick_l>
srid: I understood.
<clever>
srid: that cant really work, because it would un-patch itself and break
zzamboni has quit [Client Quit]
pkill9 has joined #nixos
<nick_l>
clever: it could be made to work, but it's not the model we have chosen to be more precise.
<pbogdan>
"Estimating rebuild amount by counting changed Hydra jobs -> 1331 x86_64-linux" Should such change go into staging or is it OK to go into master?
<{^_^}>
→ 73b1c9cf by R. RyanTM: automake: 1.16 -> 1.16.1
<{^_^}>
→ d051989e by @pSub: Merge pull request #38251 from r-ryantm/auto-update/automake
orbekk has quit [Ping timeout: 240 seconds]
<sphalerite>
Hi all. Any emacs users here able to explain how to use emacsWithPackages? It's a bit unclear in the manual — there's a bit that mentions use-package but without actually explaining the context for why this is necessary or how it works
<sphalerite>
http://ix.io/16uT this is what I have currently. What I don't get is why the line (evil-mode) neither errors, nor seems to have any effect (although the mouse scroll lines do)
<sphalerite>
nick_l: I don't really get the AWS API bit
<sphalerite>
you mean linking to AWS libraries?
<nick_l>
sphalerite: I mean using AWS CLI calls in tons of places to obtain specific goals.
<{^_^}>
→ f57fb2ee by @Ekleog: weechat: add hint in documentation
<{^_^}>
→ 51d9192c by @Ekleog: weechat: point description to documentation
<{^_^}>
→ fe217909 by @Ekleog: weechat: forward metadata to wrapper
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Criena[m]>
Hi, everyone.
<sphalerite>
(re emacs) as I said the mouse-scroll lines are taking effect, so the placement of the init file isn't the problem
<Criena[m]>
Is someone able to explain to me how to set the "stdenv.lib.optionalString" variable in the nix config (required to get exim installed with LDAP support)?
<sphalerite>
hm, the whitespace stuff also doesn't do anything
xcmw has joined #nixos
<sphalerite>
Criena[m]: you mean the enableLDAP variable?
<sphalerite>
Criena[m]: use exim.override { enableLDAP = true; } wherever you'd otherwise be using exim
<{^_^}>
→ 9f516c23 by @LnL7: darwin-frameworks: cleanup
<{^_^}>
→ fcbe4afe by @copumpkin: Merge pull request #36441 from LnL7/darwin-cleanup-frameworks
<sphalerite>
nick_l: I don't get what autoconf has to do with calling the AWS API?
<Mic92>
ryantm: can i also use your updater to update specific attribute?
<nick_l>
sphalerite: one can write a script in a way that it refers to e.g. "aws" and assumes it is in the environment. Then one can setup a build script which supplies that environment for the target operating system.
<nick_l>
sphalerite: my "scripts" are currently just nix files with scripts in them. I.e., not portable.
<Mic92>
(without repology)
<sphalerite>
nick_l: I'd probably just use aws from the PATH, then wrap it to get aws in the PATH for nix while using the script directly on other OSes, if you need compatibility
<nick_l>
sphalerite: what's a good example of such a wrap?
<nick_l>
sphalerite: I could start doing that in the future.
averell has quit [Ping timeout: 246 seconds]
jmiven has quit [Quit: co'o]
<sphalerite>
nick_l: I don't have an existing example, but I'd probably do something like runCommand "scriptname" ''mkdir -p $out/bin ; wrapProgram ${./originalScript} $out/bin/programname --prefix PATH : ${lib.makeBinPath [ aws ]}''
<{^_^}>
→ 26a4e02e by @Ma27: rofi: add `theme` option
<{^_^}>
→ 63c6c2db by @7c6f434c: Merge pull request #36785 from Ma27/configurable-rofi-theme
<{^_^}>
[nixpkgs] @Mic92 opened pull request #38430 → nix-review: init at 0.1.0 → https://git.io/vxMO2
<{^_^}>
[nixpkgs] @volth opened pull request #38431 → network-interfaces.nix: dead code removal → https://git.io/vxMOP
zzamboni has joined #nixos
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
<Criena[m]>
sphalerite: Thank you. Not sure if I got it right though. For example I set services.exim.enable = true; Additionally I would then set exim.override { enableLDAP = true; }; ?
jmiven has joined #nixos
<nick_l>
sphalerite: thanks that looks useful.
matklad has joined #nixos
<sphalerite>
Criena[m]: ah right it's used by a module. In that case you'll want an overlay, something like nixpkgs.overlays = [(self: super: {exim = super.exim.override {enableLDAP = true;};})];
<clever>
yeah, exim's module contains `inherit (pkgs) coreutils exim;`, so you need an overlay to modify pkgs.exim
ThatDocsLady_ has joined #nixos
<matklad>
Anyone using plasma5 with NixOS 18.03? I've just upgraded, and global keyboard shortcuts do not work (kglobalaccel fails to start). Is this a known problem?
WizzieB has quit [Quit: Byee~]
WizBright has joined #nixos
coot_ has joined #nixos
ThatDocsLady has quit [Ping timeout: 256 seconds]
alexteves has joined #nixos
xy2_ has joined #nixos
orbekk has joined #nixos
<{^_^}>
[nixpkgs] @dezgeg pushed to master « gsl: Disable tests on aarch64 »: https://git.io/vxM3S
<{^_^}>
[nixpkgs] @dezgeg pushed to release-18.03 « gsl: Disable tests on aarch64 »: https://git.io/vxM3h
orivej has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @dezgeg pushed 0 commits to unstable-aarch64: https://git.io/vxMsm
averell has joined #nixos
Mateon2 has joined #nixos
patrl has quit [Quit: WeeChat 1.9.1]
Mateon1 has quit [Ping timeout: 264 seconds]
Mateon2 is now known as Mateon1
ryantrinkle has quit [Ping timeout: 268 seconds]
ma27 has quit [Ping timeout: 245 seconds]
ma27 has joined #nixos
matklad has quit [Remote host closed the connection]
wangoe has quit [Quit: WeeChat 1.9.1]
blankhart has joined #nixos
jophish has quit [Quit: WeeChat 2.0]
deltasquared has joined #nixos
MercurialAlchemi has quit [Ping timeout: 240 seconds]
<deltasquared>
something that occured to me today, when you run nixos-rebuild switch (I think? possibly wrong command), it's essentially producing a special derivation using your config.nix as input, correct?
<deltasquared>
the reason being, I wanted to tinker with the relevant nix expressions in order to produce some specialised setups (most notably, no systemd, lightweight/custom init script built for a single purpose only)
<srhb>
deltasquared: less `which nixos-rebuild`
<deltasquared>
srhb: ... welp, of course I didn't think to try that
<gchristensen>
deltasquared: indeed it is only "special" in that it is your system, it is not a special derivation to Nix.
<gchristensen>
just like the instructions to build `hello` is ... special ... because it builds hello ;)
<deltasquared>
srhb: hmm, one sec, I'll have to mount the portable nix install of mine
<deltasquared>
gchristensen: yeah it seemed obvious, I just wanted to make sure
<{^_^}>
→ 3c9e579d by @cleverca22: make-system-tarball: allow alternate compression methods
<{^_^}>
→ 9b30d48b by @grahamc: Merge pull request #37288 from cleverca22/improve-make-tarball
<deltasquared>
the use case I had in mind was a lightweight image for a raspberry-pi like device (not sure if it'll actually be that... because ARM) which was literally for one purpose only
<deltasquared>
a couple of such come to mind, one was a mandos server, the other was an irc bouncer (which has sole access to my SASL certs etc.)
erasmas has joined #nixos
<deltasquared>
security separation, in other words. given the "do one thing only" idea I felt systemd was a bit overkill
nick_l has quit [Ping timeout: 260 seconds]
Arcaelyx has joined #nixos
Arcaelyx_ has quit [Ping timeout: 240 seconds]
j0xaf has joined #nixos
<{^_^}>
[nixpkgs] @Mic92 opened pull request #38433 → nixos-shell: init at 0.0.1 → https://git.io/vxMcI
<srhb>
Sounds like NotOS.
<deltasquared>
srhb: forgive me, is that a real thing or a pun
<srhb>
It's a real thing! I think clever is using it for pretty much the use case you are describing. Unfortunately I can't find the link right now.
<{^_^}>
→ b9e01e64 by @volth: network-interfaces.nix: dead code removal
hakujin3 has joined #nixos
<{^_^}>
→ b6ec6fd5 by @Mic92: Merge pull request #38431 from volth/patch-122
boxofrox has quit [Quit: WeeChat 1.9.1]
zzamboni has quit [Read error: Connection reset by peer]
hakujin4 has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
ventonegro has joined #nixos
hakujin3 has quit [Ping timeout: 256 seconds]
<ventonegro>
Hi, I am just starting out with Nix for creating build environments. I need to build several packages with custom compiler flags, and then create an environment with those packages. The manual tells me to modify all-packages.nix to add my packages, but can I do that without changing this file?
boxofrox has joined #nixos
ma27 has quit [Ping timeout: 260 seconds]
<deltasquared>
ventonegro: out of curiosity, which special flags might these be (hardening/ABI/performance related etc.)?
<ventonegro>
deltasquared: debugging, such as enabling the address sanitizer
chrios has quit [Ping timeout: 256 seconds]
chrios_ has joined #nixos
<deltasquared>
hmm, fair enough, so you want these to be applied to some dependent libs as well I take it
<ventonegro>
deltasquared: Yes. My tool will be built with musl for release, but for debugging I'd also like to build the dependencies with debugging enabled
shoogz has quit [Remote host closed the connection]
<deltasquared>
ventonegro: well for compiling the dependent libraries with custom flags, they would have to be separate files. whether or not one can override the lookup for the dependent libs or not to use custom expressions (e.g. the ones modified to have custom flags), I'm not sure
<ventonegro>
deltasquared: I can rename the packages to not conflict with packages in nixpkgs, and write the derivations for them
lsyoyom has joined #nixos
<ventonegro>
deltasquared: My question is mostly how to start a nix-shell with all of them
<deltasquared>
ventonegro: I'm not quite sure there.
<deltasquared>
I think part of the reason it's suggested to modify the main tree is because it's automatically picked up then
<{^_^}>
[nixpkgs] @coreyoconnor opened pull request #38436 → firmware-linux-nonfree: Update SHA and add rev to prevent breakage → https://git.io/vxM8U
averell has quit [Quit: .]
<ventonegro>
deltasquared: I see
<deltasquared>
ventonegro: the man page for nix-shell suggests that it creates the environment with the *dependencies* of a given nix expression
<deltasquared>
so if you created a nix expression which lists your debug build as a dependency (which in turn references the altered dependent libs...), you could in theory get nix-shell to use that
shapr_ is now known as shapr
shapr has quit [Changing host]
shapr has joined #nixos
<deltasquared>
I'm just trying to find where if anywhere one can import your "out-of-tree" expressions
<{^_^}>
→ 26597bf5 by @7c6f434c: Merge pull request #38435 from fgaz/jl
ryanartecona has quit [Quit: ryanartecona]
<deltasquared>
ventonegro: just noticed nix-shell has the -E option to provide an arbitary nix expression. srhb, could we specify a custom import path in this case to pick up a directory with modified nix expressions?
mduggie has quit [Ping timeout: 256 seconds]
<deltasquared>
(if there isn't a simpler way to achieve the original problem)
<ventonegro>
deltasquared: It seems I can turn the problem around and import all packages instead
<deltasquared>
if anyone sees flashes of pink, dive for cover. otherwise party on
<gchristensen>
BlessJah: party time!
<deltasquared>
guess that means I'll have to update the nixos rescue disk install I have
<BlessJah>
131768 compared to 3227 that 17.09 reached
<coconnor>
there is a release announcement on nixos.org. Trying to link directly to it for sharing...
<gchristensen>
BlessJah: omg
ryanartecona has joined #nixos
<gchristensen>
134,000 is the total # of commits I think?
<deltasquared>
does that number reflect the number of nixpkg changes?
shoogz has joined #nixos
<coconnor>
BlessJah: is that commits or?
mog has joined #nixos
<gchristensen>
not sure why it is appearing differently
taktoa has joined #nixos
<BlessJah>
gchristensen: either commits, merges or hydra builds
<deltasquared>
v131768. take that systemd
jperras has joined #nixos
<coconnor>
haha
<fyuuri>
Is there a way in nixos to connect to an smb printer without putting the cerdentials in the URI?
chrios has joined #nixos
chrios_ has quit [Ping timeout: 246 seconds]
<sphalerite>
Does anyone know of tools to work with the products of insane software (microsoft office and other office suites) sanely?
ryantrinkle has joined #nixos
<coconnor>
sphalerite: define "work with". Work with the files? Or interop with the APIs?
<deltasquared>
sphalerite: microsoft office breaks compatibility with *itself*, so, might as well use libreoffice and cross your fingers :P
<sphalerite>
coconnor: in this case I want to grab the text (currently using pandoc) and the images (currently using unzip) and the charts (currently using libreoffice but the workflow is insane) and put it all together to make a web page
<BlessJah>
does nix-2.0 break compability with prior nix releases?
<BlessJah>
i.e. is is safe to upgrade and then rollback?
<sphalerite>
BlessJah: database compatibility now
<sphalerite>
no*
alexteves_ has joined #nixos
<sphalerite>
yes it's safe
<BlessJah>
kthx
<sphalerite>
I hate office software.
<{^_^}>
[nixpkgs] @Mic92 merged pull request #38436 → firmware-linux-nonfree: Update SHA and add rev to prevent breakage → https://git.io/vxM8U
<hodapp>
Google Docs and associated tools can work surprisingly well with MS Office files
<hodapp>
also, at this point Microsoft has web-based editors that integrate with things like OneDrive and handle certain kinds of Office files decently
<hodapp>
this is of course neither open source nor self-hosted but whatever
<deltasquared>
hodapp: I think sphalerite had something more programmatic in mind
<coconnor>
sphalerite: if you can restrict yourself to OpenXML there are APIs for interfacing with that format
<hodapp>
and I had something less train-wrecked in mind but here we are :-/
<deltasquared>
hodapp: I would use stronger language than train-wreck but that works too :P
<coconnor>
by "APIs" I mean... something not nice
humanoyd has joined #nixos
* sphalerite
considers requesting all the documents to be done in google docs next year
<hodapp>
Microsoft has at least made some genuine efforts at making open source things that are *actually* open source and not their "shared source" bullshit that only runs inside of their development toybox with 19.8 GB of Windows-only dependencies
<hodapp>
but this doesn't do much for the existing hoards of Office documents that Office can barely even read
justanotheruser has quit [Ping timeout: 264 seconds]
winem_ has joined #nixos
<deltasquared>
hodapp: some of which with... *gulp* macros
<sphalerite>
idk, IMHO the whole concept is broken
<hodapp>
what concept?
<deltasquared>
"broken concept" /me mutters something about "everything M$ does"
<sphalerite>
hodapp: how office software works
<hodapp>
the WYSIWYG nature in general?
<hodapp>
or having file formats that are basically just dumps of memory
<{^_^}>
[nixpkgs] @dezgeg pushed to release-18.03 « gcc45: Not supported on aarch64 »: https://git.io/vxMEn
<sphalerite>
I don't think there's anything really wrong with WYSIWYG. But definitely with "what you manipulate is the end product" definitely
<sphalerite>
minus one definitely
* coconnor
moves a picture 2 pixels to the left in Word. "Oh... Oh no..."
mmercier has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @dezgeg pushed commit from @xeji to release-18.03 « mailutils: disable parallel building »: https://git.io/vxMEQ
hakujin has joined #nixos
ventonegro has left #nixos ["rcirc on GNU Emacs 25.3.1"]
Lisanna has joined #nixos
hakujin4 has quit [Ping timeout: 256 seconds]
octe has quit [Ping timeout: 256 seconds]
octe has joined #nixos
<{^_^}>
[nixpkgs] @dezgeg pushed to master « nixos/tests/openldap: Fix name »: https://git.io/vxMzJ
<{^_^}>
→ f338e4c3 by @layus: cups-filters: remove myself from maintainers
<{^_^}>
→ eaaa0c10 by @Mic92: Merge pull request #38409 from layus/cups-filters-disown
<fusion809>
I'm typing this on the chroot's host OS, so yes for it. But you're right running `ping www.google.com` gives: `ping: www.google.com: System error`
<clever>
fusion809: you need to copy /etc/resolv.conf into the chroot for dns to work inside the chroot
coconnor has quit [Remote host closed the connection]
<fusion809>
I did. I followed the guide. But I'll re-try it.
<fusion809>
Ah yes, it worked thanks. I can't believe that was the problem...
<fusion809>
But thanks, if it's fixed it's fixed.
tilpner has quit [Remote host closed the connection]
<robstr>
clever: -.- i missed the `config = ` thank you really much for your help!
<clever>
that config argument entirely replaces the config.nix file
tilpner has quit [Ping timeout: 240 seconds]
tilpner_ is now known as tilpner
hakujin1 has quit [Ping timeout: 265 seconds]
<{^_^}>
[nixpkgs] @Mic92 pushed commit from @coreyoconnor to release-18.03 « firmware-linux-nonfree: Update SHA and add rev to prevent breakage on future commits. »: https://git.io/vxMad
<mkaito>
anyone actually run a Factorio server on NixOS? Do you use the `mods` thing in the module? I've been running one on Ubuntu for a while, and my workflow involved messing with mods/settings locally, then `rsync` the entire mods folder to the server.
<michaelpj>
not sure if it still works, I haven't updated it in a while
<michaelpj>
few little QOL things there, like serving the mods in a directory, since the client needs to be sure to have exactly the same mods
shoogz has joined #nixos
<orbekk>
is someone willing to review this (trivial) pull request: https://github.com/NixOS/nixpkgs/pull/38362 according to andrew-d I'm the second person trying to fix this
<{^_^}>
[nixpkgs] @dotlambda pushed commit from @bgamari to master « pythonPackages.Rtree: init at 0.8.3 »: https://git.io/vxM6m
roberth has joined #nixos
<tokudan[m]>
eacameron: maybe specify what you're trying instead of just "doesn't work". I'm pretty sure setting the variable works ;)
hiroshi has quit [Ping timeout: 264 seconds]
abathur has joined #nixos
<eacameron>
tokudan[m]: Oh right. lol. Setting TERM=xterm causes things like `git log` to show an error and I also can't use backspace in the terminal (it does nothing)
jrolfs_ has quit [Ping timeout: 260 seconds]
jperras has quit [Ping timeout: 255 seconds]
<eacameron>
I'm using konsole
hotfuzz_ has quit [Quit: WeeChat 2.0]
<tokudan[m]>
eacameron: I've got no experience with konsole. check the output of "stty -a" (look for erase = ...) and check if that matches what CTRL-V, followed by backspace produces
jperras has joined #nixos
<tokudan[m]>
and the error from git log is probably an error with your terminfo
zzamboni has quit [Quit: Leaving.]
<eacameron>
tokudan[m]: erase=^? and CTRL+V Backspace shows ^? as well (this is with the broken terminal setting using TERM=xterm)
<eacameron>
I recall someone on here saying that terminfo was broken in 17.09 or something...
sellout- has quit [Read error: Connection reset by peer]
lopsided98 has quit [Remote host closed the connection]
sellout- has joined #nixos
<abathur>
eacameron: just came on so not sure I have full context, but I had same symptoms after first installing nixos 17.09 until I found and used some command to force an ncurses update I think, I don't remember exactly but may be easy to find again with those terms
<tokudan[m]>
i remember something like that as well, but that was months ago? i don't have any issues in my current setup, so i assume it's been fixed now
drewr has quit [Ping timeout: 260 seconds]
abathur has quit [Remote host closed the connection]
alex`` has joined #nixos
vil has quit [Ping timeout: 256 seconds]
FRidh has joined #nixos
abathur has joined #nixos
lopsided98 has joined #nixos
winem_ has quit [Ping timeout: 256 seconds]
Ariakenom has joined #nixos
<abathur>
tokudan[m]: Maybe. I was installing in late January or early February
<{^_^}>
→ 592ce9d9 by @periklis: ngrok: enable darwin build
<{^_^}>
→ 6423bdf9 by @LnL7: Merge pull request #38337 from periklis/ngrok-darwin-build
drewr has joined #nixos
<eacameron>
abathur: I was installing in early Jan. I'm trying this fix you sent.
xcmw has joined #nixos
<abathur>
tokudan[m]: I have within the past few weeks; don't recall seeing it again but the two most recent comments on the GH issue are split as to whether it's fixed
cript0nauta has quit [Quit: Page closed]
<tokudan[m]>
true
cript0nauta has joined #nixos
<eacameron>
abathur: That fixed it!
hiroshi has joined #nixos
<eacameron>
tokudan[m]: For reference, I had just updated earlier today and it didn't help. The fix is ver odd though: repairing a package? That doesn't make any sense to me. But it certainly indicates it's deeper than just a new version of something.
<{^_^}>
[nixpkgs] @LnL7 pushed commit from @periklis to release-18.03 « ngrok: enable darwin build »: https://git.io/vxMXV
<coconnor>
ah. is this related to nix~case~hack ? I see a mention there
<chaker>
vcunat:Yeah I added that, first thing I saw but it didn't help
<chaker>
If I grep for pulseaudio in ps I can find it running
asuryawanshi has joined #nixos
<fresheyeball>
sphalerite: can I get a sample command to try it out? It looks like I need an rc file too
<chaker>
but if I open pavucontrol, it hangs at "Establishing connection to pulseaudio."
blankhart has quit [Ping timeout: 268 seconds]
blankhart has joined #nixos
<vcunat>
chaker: right. I didn't watch this change (probably related), so if you can't find what's wrong, please, open an issue (unless one exists already) and mention it on some ticket where this sound change was discussed.
<fresheyeball>
sphalerite: dunst looks great, I am going to ask in their IRC
<chaker>
Also the pulseaudio systemd service in my user is failed "pid.c: Daemon already running. main.c: pa_pid_file_create() failed."
<acowley>
Regarding the mailing list thread about PRs piling up, is there actually any way of pinging the maintainers? In general, a bell to ring if nobody has taken a look.
<vcunat>
acowley: you don't mean @mention?
ryanartecona has joined #nixos
<{^_^}>
[nixpkgs] @FRidh pushed 105 commits to python-unstable: https://git.io/vxM94
<{^_^}>
→ 4623b2d3 by @etu: pythonPackages.amqp: Move to own file
<{^_^}>
→ 1943bf73 by @etu: pythonPackages.application: Move to own file
<{^_^}>
→ 0ddbc518 by @etu: pythonPackages.asyncio: Move to own file
<acowley>
vcunat: Who to @mention in general?
<fresheyeball>
sphalerite: do you have dunst working?
krey has joined #nixos
<vcunat>
acowley: if the package has no meta.maintainers?
<vcunat>
Yes, that's hard. Mentioning the whole team would really be counter-productive.
<acowley>
vcunat: Yeah, I wouldn't even know how to figure out who is on the whole team
krey has quit [Client Quit]
<{^_^}>
[nixpkgs] @FRidh opened pull request #38439 → Python package set changes → https://git.io/vxM9o
<vcunat>
IIRC you can just mention the whole team, but...
Guest5299 is now known as judson
<acowley>
vcunat: You're actually the only person whose name I could produce who is a member of the team. I don't think there's a roster on the clubhouse wall or anything :P
krey has joined #nixos
<judson>
fresheyeball, I'm a big fan of dunst. Nicely unobtrustive.
<vcunat>
I don't know. Ideally we would have some process for triaging tickets that noone's really looked at, but it might be that the main problem is that those with push access are too overloaded.
<fresheyeball>
judson: how do you get the daemon running?
rauno has joined #nixos
<fresheyeball>
I did ns -p dunst to try it out
<fresheyeball>
dunst gives the following error
<fresheyeball>
BadAccess (attempt to access private resource denied)
<fresheyeball>
BadAccess (attempt to access private resource denied)
<fresheyeball>
Unable to grab key "ctrl+grave"
<fresheyeball>
y
<judson>
I'll look. IIRC, as a dbus service it get's triggered automatically.
<judson>
Yeah, I just have it installed.
<judson>
Strike that, in ~/.config/systemd/user/ I have a dunst.service
<fresheyeball>
judson: can I get a paste of that file?
<judson>
But I think that's just belt-and-suspenders. That BadAccess might be because you have an existing libnotify provider running?
<fresheyeball>
judson: well I dont have libnofify installed
<judson>
MichaelRaskin, you'd very kindly suggested that you were going to see if there were working C&P builds - did you find one?
Cale has joined #nixos
chessai has quit [Ping timeout: 260 seconds]
<fresheyeball>
judson: I dont understand so far
<judson>
(I need to figure out why chromium doesn't find itself on my machine)
<judson>
Just my own problems, sorry.
chessai has joined #nixos
blankhart has quit [Ping timeout: 240 seconds]
<vcunat>
acowley: in your case, I suppose you would better get push access yourself. You've had dozens of contributions merged over the past two years. I think MichaelRaskin was organizing such additions and should know more. (offline ATM, apparently)
ndrei has quit [Remote host closed the connection]
jrolfs has joined #nixos
cript0nauta has joined #nixos
fendor has joined #nixos
fendor_ has quit [Remote host closed the connection]
goibhniu has joined #nixos
goibhniu has quit [Changing host]
goibhniu has joined #nixos
<troydm>
zybell_: nevermind, figured it out
<troydm>
zybell_: it was extraModules option
<troydm>
zybell_: was wifi module
cheshircat has joined #nixos
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
jrolfs has quit [Ping timeout: 265 seconds]
troydm has joined #nixos
goibhniu has quit [Remote host closed the connection]
<zybell_>
thought so. wifi modules should be loaded at start of dhcpclient.
<zybell_>
rule: do it as late as possible.
Bogdacutu has joined #nixos
<Dezgeg>
just let the kernel auto-load modules
<zybell_>
udev rules;-)
<Dezgeg>
no udev rules needed, just normal pci/usb-id based loading
<zybell_>
udev does rule that too!
michas_ has joined #nixos
<jtojnar>
FRidh[m]: what do you mean by checking gstreamer on staging? Should I merge the PR to staging as well?
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
<tazjin>
has there been a change to `pkgs.fetchgit` that now requires it to have a `sha256` attribute set?
ryanartecona has quit [Quit: ryanartecona]
<tazjin>
previously it worked fine with just `rev`
<dhess>
that also disabled ghc802 on armv7l-linux which is currently the only version that's supported
phdoerfler has quit [Quit: Leaving.]
jensens has joined #nixos
<dhess>
speaking of which, anyone know how to override llvm_35's meta.platforms from an overlay? I have tried a combination of things (llvm_35.overrideAttrs, llvmPackages_35.llvm.overrideAttrs, etc.) none of which have worked
<{^_^}>
[nixpkgs] @dezgeg pushed to master « llvm_34, llvm_35: Bring ARMv7 back to platforms »: https://git.io/vxMNL
<Dezgeg>
I added it back now
<dhess>
thanks!
<dhess>
I will try building against master, maybe I don't need to figure out this override
<Dezgeg>
IIRC currently there's no known way of overriding packages with meta.broken or non-matching meta.platforms, there is some open issue
<dhess>
thanks. Pretty frustrating :)
<dhess>
ohhh right I think you and I discussed this previously wrt the Linux kernel
nwspk has quit [Quit: Quit: *.banana *.split]
<dhess>
that was a little different though as I was trying to set the "other" platform attribute
dingotux has joined #nixos
<dhess>
the one for kernels
rauno has quit [Ping timeout: 260 seconds]
<dhess>
Dezgeg: speaking of armv7l, I was having issues with your unofficial binary cache last weekend, 503 errors from the redirect. Did you know anything about that?
zzamboni has quit [Quit: Leaving.]
nwspk has joined #nixos
jrolfs_ has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @orbekk closed pull request #31872 → Shiny Server package, module and test → https://git.io/vF5e0
asuryawanshi has quit [Ping timeout: 240 seconds]
<Dezgeg>
yeah, there's a problem that 404 URLs return 503 now, and Nix really doesn't like that
ixxie has joined #nixos
zzamboni has joined #nixos
<dhess>
ahh is that what's going on.
<Dezgeg>
it's out of my control unfortunately but I hope it gets fixed soon, samueldr made a mirror of it which should work though: https://mirrors.samueldr.com/nixos-arm/
ndrei has joined #nixos
<lejonet>
Oh, arm, exactly what I was poking at :D
Lisanna has quit [Remote host closed the connection]
<lejonet>
the gcc-arm-embedded, is it 32-bit only? The sopine spl present on the wiki for pine64 doesn't work with the non-lts version I have so need to compile stuff myself
ndrei has quit [Remote host closed the connection]
<lejonet>
arm-trusted-firmware is whining about not knowing abount -mgeneral-regs-only with the gcc-arm-embedded toolchain
<Dezgeg>
what is "non-lts" version?
<lejonet>
it wants me to use an aarch64 toolchain
<lejonet>
Dezgeg: the one they gave to backers
<lejonet>
iirc you can buy non-lts ones too still, but its probably not a good idea :P (there is apparently some difference in how the DRAM is init'd and such between the "non-lts" and "lts" boards)
<Dezgeg>
right, I guess you'll be having more problems given that mainline u-boot only has that single version of sopine
<lejonet>
Yeah, I dunno if the README in sunxi applies to both versions or only lts
asuryawanshi has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
goibhniu has joined #nixos
dingotux has left #nixos ["Konversation terminated!"]
ndrei has joined #nixos
<lejonet>
Because the README makes it seem like it should apply to both
<lejonet>
meh, I knew I waited too long to fiddle with this board again lol
ixxie_ has joined #nixos
ixxie_ has quit [Client Quit]
blahdodo has quit [Ping timeout: 260 seconds]
<lejonet>
I guess I could download one of the images on the pine64 wiki and see about extracting the spl from them (after ofc testing that the image works on the board I have)
<Dezgeg>
well the SPL could work in theory on both variants if there is some way to detect the version from software
<lejonet>
Mhm
<lejonet>
and with your SPL, it doesn't even detect any RAM, so my guess is thats a no then
ndrei has quit [Remote host closed the connection]
page has joined #nixos
ndrei has joined #nixos
<lejonet>
clever: it wants an overlay for it too... that is one thing I haven't looked into at all with nixos, overlays
<dhess>
clever: have you benched that qemu arm against any actual armv7l hardware?
<clever>
lejonet: the overlay is fully automatic in the module i made, as long as all of the files are in the right place
jrolfs has quit [Ping timeout: 255 seconds]
<clever>
dhess: it took several hours just to run the perl configure script, so, really slow :P
pkill9 has joined #nixos
<lejonet>
I added qemu.nix to /etc/nixos, imported it in my configuration.nix and set qemu-user.arm = true; and got this error: "error: getting status of '/etc/nixos/overlays/qemu-user.nix': No such file or directory"
<lejonet>
(with added I mean I downloaded it to /etc/nixos)
alexteves_ has quit [Ping timeout: 255 seconds]
<clever>
lejonet: try cloning all of nixos-configs, and add the absolute path of qemu.nix to imports
ndrei has quit [Remote host closed the connection]
ndrei has joined #nixos
<lejonet>
clever: can't I just add the qemu-user.nix file from overlays, to /etc/nixos/overlays/, and it is happy? :P
vaninwagen has joined #nixos
ndrei has quit [Remote host closed the connection]
<lejonet>
or download that entire dir more correctly, it seems to need the other files too
ndrei has joined #nixos
<clever>
lejonet: you also need all the files that qemu-user.nix refers to within the overlays dir
<lejonet>
clever: yeah, that I figured when I looked around a tiny bit
<lejonet>
There we go!
<clever>
lejonet: you may also want to look at the nixpkgs expressions for ubootBananaPi to see what makes it special, and how it may need to be modified to suit your board
<{^_^}>
→ 50b0afa2 by @vbgl: ocamlPackages.optcomp: fix build with OCaml 4.06
<{^_^}>
→ 8aa1e53a by @vbgl: ocamlPackages.ocsigen_deriving: 0.7.1 -> 0.8.1
<{^_^}>
→ 5a4a3a64 by @Mic92: Merge pull request #38438 from vbgl/ocaml-ocsigen-deriving-0.8.1
szicari has joined #nixos
telent has joined #nixos
dan_b has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
vidbina has joined #nixos
sigmundv has joined #nixos
chessai has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 240 seconds]
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
<cript0nauta>
Hi! i'm trying to install nixos and need to use a modified version of nixpkgs (the one here: https://github.com/NixOS/nixpkgs/pull/38382) to be compatible with my arch linux installation, which is the recommended way to do that?
<cript0nauta>
i suppose that should be changing something in my configuration.nix but not sure what
bara has quit [Read error: Connection reset by peer]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bara has joined #nixos
MichaelRaskin has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
aarvar has joined #nixos
<fresheyeball>
does anyone know what pip install actually does?
<makefu>
cript0nauta: what exactly are you trying to achieve? overwrite your current system with nixos, or simply install nix?
mahalel_ has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
hellrazor has joined #nixos
hellrazo1 has quit [Ping timeout: 265 seconds]
adamt has quit [Ping timeout: 240 seconds]
xcmw has joined #nixos
<sphalerite>
fresheyeball: sorry, was away for dinner and such
bara has quit [Read error: Connection reset by peer]
<sphalerite>
fresheyeball: did you get dunst working?
bara has joined #nixos
<cript0nauta>
makefu: i want to install nixos but keep having my arch partition, the problem is that i want to have full disk encryption and arch uses a newer version of cryptsetup, not compatible with the one shipped in nixpkgs
<sphalerite>
just dunst with no rc and no flags should get you a reasonable default setup
adamt has joined #nixos
adamt is now known as Guest85487
jperras has joined #nixos
bara has quit [Read error: Connection reset by peer]
<bkchr[m]>
FRidh: online?
bara has joined #nixos
<symphorien>
cript0nauta: git checkout the PR and nixos-rebuild -I nixpkgs=/path/to/checkout
bara has quit [Read error: Connection reset by peer]
szicari has quit [Quit: szicari]
<fresheyeball>
sphalerite: no, but I am sure I can now, so I moved on
bara has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
John882 has quit [Ping timeout: 265 seconds]
bara has quit [Read error: Connection reset by peer]
<sphalerite>
fresheyeball: as for what pip install does, it installs packages from pypi
<makefu>
cript0nauta: tricky, not sure how you can override the nixpkgs for nixos-install. my guess would have been NIXPATH=nixpkgs=/path/to/cloned-nixpkgs nixos-install
<sphalerite>
or what do you mean?
<makefu>
NIX_PATH=
bara has joined #nixos
<symphorien>
Ah for the install medium...
<symphorien>
Maybe you could build an iso with this nixpkgs
bara has quit [Read error: Connection reset by peer]
<cript0nauta>
makefu: I was able to unlock it by running nix-build a custom .nix file based on the PR, but after install it fails to boot because of the "global" version of cryptsetup (i think)
<makefu>
cript0nauta: that is already quite nice
<makefu>
you can override the cryptsetup package locally with nixpkgs.config.packageOverrides = super: { cryptsetup = callPackage ./local-cryptsetup.nix }
wangoe has quit [Ping timeout: 265 seconds]
<cript0nauta>
should I put that in my configuration.nix file?
<makefu>
local-cryptsetup.nix contains contains the new cryptsetup description
<makefu>
yes exactly
<fresheyeball>
I am getting an error TEST FAILED: tmp/lib/python3.6/site-packages/ does NOT support .pth files
<fresheyeball>
error: bad install directory or PYTHONPATH
<fresheyeball>
the preexisting path is in read only space
phdoerfler has quit [Quit: Leaving.]
Ariakenom has quit [Quit: Leaving]
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
ma27 has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
orivej has quit [Ping timeout: 255 seconds]
Guest84382 has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
<fresheyeball>
ok, so I got the install working
<fresheyeball>
but now when I run the package, it appears that setuptools is not longer avaiable
zybell_ has quit [Ping timeout: 255 seconds]
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
cript0nauta has quit [Quit: Leaving.]
cript0nauta has joined #nixos
szicari has joined #nixos
Guest84382 has quit [Ping timeout: 265 seconds]
erictapen has quit [Remote host closed the connection]
endformationage has joined #nixos
erictapen has joined #nixos
<fresheyeball>
how can I add runtime deps to stdenv.mkDerivation ?
<makefu>
fresheyeball: propagatedBuildInputs
<Dezgeg>
well, for something like python, yes, but generally no
<fresheyeball>
I really wish it was easier to figure out what is availabe when a function takes a record
ryanartecona has joined #nixos
jtojnar has quit [Quit: jtojnar]
<infinisil>
fresheyeball: You can do it by wrapping the resulting executables with a PATH prefix
bara has quit [Read error: Connection reset by peer]
meloc has joined #nixos
endformationage has quit [Ping timeout: 265 seconds]
meloc has quit [Client Quit]
<infinisil>
Or by patching the source code to use nix' dependencies at runtime
<infinisil>
Makes it such that hello is available on PATH to the executable foo
<fresheyeball>
where is wrapProgram comming from?
bara has quit [Read error: Connection reset by peer]
<infinisil>
add makeWrapper to buildInputs
endformationage has joined #nixos
bara has joined #nixos
<infinisil>
Then the bash function wrapProgram will be available
tertle||eltret has joined #nixos
phdoerfler has joined #nixos
endformationage has quit [Read error: Connection reset by peer]
<elvishjerricco>
Is there a way to tell nix-collect-garbage not to collect the build inputs to live paths? These often end up collected if they're not in the runtime closure, which I don't prefer.
<sphalerite>
infinisil: huh, I thought it was in stdenv?
bara has quit [Read error: Connection reset by peer]
<sphalerite>
elvishjerricco: unless you're using IFD, gc-keep-derivations should do it iirc
<infinisil>
sphalerite: I'm pretty sure it's not
<sphalerite>
oh wait no, it's keep-outputs
endformationage has joined #nixos
<bkchr[m]>
Anyone has an idea how to exchange the content of a folder atomically
<infinisil>
bkchr[m]: "exchange the content"?
bara has joined #nixos
<sphalerite>
bkchr[m]: if symlinks are acceptable, you can use those
goibhniu has joined #nixos
<elvishjerricco>
sphalerite: Is that documented anywhere?
<sphalerite>
elvishjerricco: man nix.conf
bara has quit [Read error: Connection reset by peer]
<bkchr[m]>
infinisil: working on the bootloader for raspberry pi and want to create the new boot folder and swap the new with the old one
erictapen has quit [Remote host closed the connection]
bara has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<sphalerite>
bkchr[m]: right so your options are, AFAIK, ln -sf replacement/boot / (assuming /boot is what you want to replace and it's already a symlink), or use renameat2 with the RENAME_EXCHANGE flag
erictapen has joined #nixos
<clever>
sphalerite: RENAME_EXCHANGE sounds like something setup-etc.pl could use
<sphalerite>
for renameat2 I'm not sure if there's a userspace program that simply exposes it so you may need to write a little C program
<clever>
sphalerite: if a directory with files exists in /etc, but environment.etc says it should be a symlink to a directory in the store, it currently fails to update the entire entry
m3lst4d has joined #nixos
<elvishjerricco>
sphalerite: man nix.conf says `keep-outputs`, but the example given at https://nixos.org/nixos/options.html#nix.extraoptions says `gc-keep-outputs`. I'm guessing the man page is right?
<sphalerite>
elvishjerricco: yeah, the option name was changed
<elvishjerricco>
Got it.
<sphalerite>
quite a few options have received this treatment
ma27 has quit [Ping timeout: 265 seconds]
m3lst4d has quit [Client Quit]
<Dezgeg>
I doubt FAT supports those fancy renameat() flags
Guest85487 has quit [Quit: WeeChat 2.0]
<sphalerite>
oh, it's FAT?
<sphalerite>
bleurgh
<fresheyeball>
ok, how do you all figure out what members are available for an input record?
<fresheyeball>
its one of the hardest things about nix for me
<sphalerite>
fresheyeball: input record..?
<fresheyeball>
there are many functions
<fresheyeball>
like mkDerivation, and buildPythonPackage
<fresheyeball>
that take records as inputs
<sphalerite>
oh right
<fresheyeball>
these functions have expectations about what fields are on the record
<fresheyeball>
and I see no way to explore what is available
alex`` has quit [Quit: WeeChat 2.1]
<fresheyeball>
so I have to google search and ask IRC and such to figure out whats there
<sphalerite>
the place where they *should* be documented is the nixpkgs manual
<fresheyeball>
which is quite frustrating
<fresheyeball>
sphalerite: except.... I had to ask IRC after failing to google, just to find out about propatedBuildInputs just now
jperras has quit [Ping timeout: 240 seconds]
<fresheyeball>
buildPythonPackage is also fairly opaque, and so now I have even fewer intuitions to work with
<makefu>
fresheyeball: the python building is really problematic, just like python packaging itself is
<fresheyeball>
I know, I am trying to ask the 'teach a man to fish' question
<sphalerite>
fresheyeball: there is a little section dedicated to "buildPythonPackage parameters" in the manual
<fresheyeball>
because of the nix-repl I just learned there is alo buildPythonApplication
<makefu>
fresheyeball: the irc is a good place for this :) if you have any insights, don't fear to put them in the wiki at least
<fresheyeball>
makefu: that also doesnt document buildPythonApplication
<makefu>
what really is missing is a reference of all the magic functions in nixpkgs
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
Guest84382 has joined #nixos
jperras has joined #nixos
<zybell_>
fresheyeball: In your paste seems to miss a char: 'mkdir -p $out' lacks a -
<fresheyeball>
zybell_: good catch
<fresheyeball>
I am trying the buildPythonPackage path now
davidlt has quit [Remote host closed the connection]
davidlt has joined #nixos
bara has quit [Read error: Connection reset by peer]
mpcsh has joined #nixos
<fresheyeball>
hmm
shoogz has quit [Remote host closed the connection]
<mpcsh>
hey y'all, I asked this last night, but is there any way to figure out what package a given package was installed as a dependency for? I just switched back to nixos and certain websites are matching all their fonts with "FreeMono", which I didn't install explicitly but is nonetheless present on my system.
<makefu>
fresheyeball: you may have found what i call the nix packaging rabbit hole
<fresheyeball>
makefu: yeah... pain
szicari has quit [Quit: szicari]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
<makefu>
maybe pypi2nix is the solution for your package ... it will freeze all dependencies and the package itself
<sphalerite>
fresheyeball: you may also want to look into pypi2nix
<sphalerite>
heh
<fresheyeball>
I used that for a personal project
spear2 has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
<fresheyeball>
but I don't see how to use it here
bara has joined #nixos
<mpcsh>
sphalerite: so the referrers are several versions of "fc-cache", "fc-00-nixos-cache.conf", "fonts.conf", and then two versions of "mpv". Only "mpv" did I explicitly install, and I need it around. Do you know of a way to disable this font?
<sphalerite>
mpcsh: it's probably included by default. Why do you want to disable it?
<clever>
mpcsh: the problem could be the reverse of what your thinking, some other font is currently missing, and its using FreeMono as a fallback
<sphalerite>
mpcsh: yep looks like it's brought in as part of the "default fonts" by nixos/modules/config/fonts/fonts.nix
<mpcsh>
sphalerite: so even though I have fontconfig.defaultFonts.{monospace,sansSerif,serif} set in my configuration.nix, and I have default fonts set in Firefox, some websites are matching fonts not present on my system (e.g. "Lucida Grande", "Arial", etc) to FreeMono, and so my default fonts are not being respected
guillaum1 has joined #nixos
<makefu>
fresheyeball: i've started writing a tool which creates skeletons for libraries so bootstrapping that kind of stuff becomes easier. however it have not continued with it after the 34c3 ...
<mpcsh>
clever: right, I think that's the case, the problem is that I don't want it to be a valid fallback for anything
<mpcsh>
or at least, I'd rather my default (Noto) be the fallback
<zybell_>
could you fetch multiple tarballs as src?
bara has quit [Read error: Connection reset by peer]
<guillaum1>
Is my /etc/nixos/configuration.nix used to build a system saved somewhere with the actual system? (I removed it by mistake, I'm still able to boot to the old generation, but can I recover the file ?)
bara has joined #nixos
<sphalerite>
mpcsh: you could set fonts.enableDefaultFonts = false; but I'm not sure to what extent that will help
<clever>
guillaum1: not by default, you need some special config to do that
<mpcsh>
sphalerite: will give that a try! I don't have a bouncer set up so I'll be offline for a minute :)
bara has quit [Read error: Connection reset by peer]
<guillaum1>
clever: I'm sad then ;) For my knowledge, what is the config option?
<clever>
guillaum1: one trick you can use, is to do `nixos-rebuild dry-run` and then use nix-diff to compare it against the .drv from the original system
endformationage has quit [Ping timeout: 268 seconds]
<clever>
guillaum1: that will tell you how the 2 differ, and then you can manually edit configuration.nix to bring the differences down to zero
<clever>
guillaum1: in this example, my configuration.nix is intact, but there is a single difference within a util i use in builtkite
<sphalerite>
hm, rocksndiamonds uses 100% of 3 of the cores on my chromebook. Would anyone care to test on their intel machine and tell me if this is because the chromebook's weak or because rocksndiamonds uses as much as it can or something?
endformationage has joined #nixos
<Profpatsch>
infinisil: That line is from 3 years ago
<clever>
guillaum1: and if i then run diffoscope on it, i can see that i had refactored the import statements in the haskell code to silence all compiler warnings, but forgot to nixos-rebuild switch
<infinisil>
Profpatsch: Yeah, but it's propagated through today, I tracked it back
<clever>
fresheyeball: that happens if the build tries to touch $HOME
<clever>
fresheyeball: its stuck in the homeless shelter, because it lacks a home
<fresheyeball>
so can I set $HOME to be some local tmp?
<clever>
fresheyeball: yep
<disasm>
lol, why is kibana under development instead of servers? :)
<clever>
fresheyeball: mkdir home ; export HOME=$(realpath home)
<zybell_>
fresheyeball could you fetch multiple tarballs as src? then I would additionally fetch all libs, use pip to install them 'locally' into $out and then add your prog into the prepared env.
<sphalerite>
fresheyeball: just managed to build pywal successfully using pypi2nix
hiratara has quit [Ping timeout: 276 seconds]
<fresheyeball>
sphalerite: I just got it too
<fresheyeball>
but with buildPythonPackage
mpcsh has joined #nixos
<mpcsh>
sphalerite: it worked!
* mpcsh
high fives sphalerite
bara has quit [Read error: Connection reset by peer]
cheshircat has joined #nixos
<sphalerite>
\o/
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
hiratara has joined #nixos
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
mpcsh has quit [Client Quit]
phdoerfler has quit [Quit: Leaving.]
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
chisui has quit [Ping timeout: 260 seconds]
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
<cript0nauta>
makefu: overriding the package un configuración.nix worked, thanks!
<cript0nauta>
It steels not working due to a missing library, but at least it asks me the volume's password
endformationage has quit [Ping timeout: 240 seconds]
bara has quit [Read error: Connection reset by peer]
<guillaum1>
clever: thank you, I think you saved my life ;)
<rycee>
infinisil: I'm not certain why the lib is imported like that. I imagine it might have something to do with avoiding cyclic dependencies or bootstrapping or something. If you find out I'd also like to know :-)
guillaum1 has quit [Remote host closed the connection]
bara has quit [Read error: Connection reset by peer]
<infinisil>
rycee: Yeah thought about that too
bara has joined #nixos
vaninwagen has quit [Quit: WeeChat 2.1]
<zybell_>
2 comments to PR:pywal.nix:for distribution add sha256 to verify,pls.all-packages.nix:seems to be sorted by pkg-names.Pls keep.
bara has quit [Read error: Connection reset by peer]
endformationage has quit [Ping timeout: 240 seconds]