gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/c/NixCon/live https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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
<cyounkins> looks like I borked something up here :-)
<gchristensen> why do you want to use that checkout?
<cyounkins> I'm trying to test a change locally for a PR?
<cyounkins> OK so I correctly rebased onto staging, so I'm 1 commit ahead of 6f2475
<cyounkins> But I see the same error.
fendor has quit [Read error: Connection reset by peer]
Rusty1 has quit [Quit: Konversation terminated!]
<gchristensen> cyounkins: do you need to be based on staging?
<cyounkins> I was requested to target it: https://github.com/NixOS/nixpkgs/pull/50992
<{^_^}> #50992 (by cyounkins, 4 hours ago, open): git: wrap git-credential-netrc to set PERL5LIB
<leotaku> infinisil: Not 100% the same thing, but one thing I "tried and saw" was somehow getting the output path of the source: With "normal" derivations I can just "nix-build" and get a symbolic link. How would I achive that here.
<gchristensen> cyounkins: I'd post your error to that thread and ask for help there :) sounds like maybea bug in staging?
<gchristensen> I'm sorry I can't help further
<cyounkins> I'll do that. Thank you!
<infinisil> leotaku: nix-instantiate --eval -A outPath will give you the output path
<infinisil> And then you can just `ln -s` that
<infinisil> There are however the quotes around it which are admittedly a bit annoying
<infinisil> Yeah, would be cool if nix-build would work on such non-derivations as well tbh
perique has quit [Quit: Textual IRC Client: www.textualapp.com]
<leotaku> infinisil: That works for me, thank you.
<infinisil> Nice
booglewoogle has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #50928 → direnv: make cross-compile on windows → https://git.io/fpRUY
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fp0HB
<gchristensen> Mic92: omg
Rusty1 has joined #nixos
<Mic92> gchristensen: I am currently working on the macOS aquivalent
<gchristensen> this is wild
<ottidmes> "do not merge" status: Merged :P
<Mic92> when I wrote this, it was really not supposed to be merged. Now the changes I did where pretty small
<Mic92> Also cross-compiling with go is also easy without nix, we are still in a unique position when it comes to native dependencies like linking C-Libraries.
<{^_^}> [nixpkgs] @nyarly opened pull request #51002 → Bugfix: gemsets didn't handle paths correctly → https://git.io/fp0HS
<gchristensen> is cross-compiling Rust on your todo? :)
<{^_^}> [nixpkgs] @c0bw3b opened pull request #51003 → ckbcomp: 1.133 -> 1.187 → https://git.io/fp0HQ
hiroshi- has joined #nixos
hiroshi has quit [Quit: ZNC 1.7.1 - https://znc.in]
hiroshi- is now known as hiroshi
<{^_^}> [nixpkgs] @alyssais opened pull request #51004 → semver-tool: init at 2.1.0 → https://git.io/fp0Qv
Ariakenom has quit [Quit: Leaving]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
philippD has joined #nixos
lassulus has quit [Quit: WeeChat 2.2]
lassulus has joined #nixos
init_6 has joined #nixos
doyougnu has joined #nixos
<ottidmes> clever: 28M tarball with builtins.unsafeDiscardStringContext config.system.build.toplevel vs without the discard which ended up in: wait! wait! stop! Ctrl+C because I saw my disk shrink to below 1G :P
<ottidmes> clever: my guess is that I did not ran into that problem before because of the use of initialRamdisk instead of netbootRamdisk
<Mic92> Ericson2314: depsTargetTargetPropagated is the same as propagatedBuildInputs?
<Mic92> gchristensen: yes. I have a pull request for that as well
doyougnu has quit [Ping timeout: 244 seconds]
<gchristensen> Mic92 for MVP
<Mic92> mhm. macOS cross looks a bit hairy. Ideally one want to use stdenv.cc = buildPackages.clang; but at the moment there is infinite recursion that I do not understand yet.
worldofpeace has joined #nixos
apaul1729 has joined #nixos
<Mic92> I might should leave the basic bootstraping for someone how can actually test the binaries.
cyounkins has quit [Remote host closed the connection]
slack1256 has joined #nixos
cyounkins has joined #nixos
cyounkins has quit [Ping timeout: 268 seconds]
<v0|d> Mic92: any links regardings to tracing leaks?
<v0|d> may be on breakpointHook/cntr.
<Mic92> v0|d: what kind of leaks?
<v0|d> like the ones we've had in openssl
<Mic92> What was it leaking?
mkoenig has quit [Remote host closed the connection]
<v0|d> perl?
mayhewluke has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
<Mic92> v0|d: well in that case you can either use breakpointHook or just grep for the offending path in $out.
<v0|d> any link on how to use breakpointHook?
<Mic92> I added some documentation to the manual
<v0|d> read a paragraph that it exists not sure how to employ it
<Mic92> But it could indeed need a concrete example
<Mic92> Just add it to nativeBuildInputs
<v0|d> what about cntr? should i nix-env -iA it?
<Mic92> ideally add it to environment.systemPackages
<v0|d> so I add breakpointHook to nativeBuiInput and nixos.cntr to sysPacks, then when I do cross build and get a reference err, what should I expect to happn?
<Mic92> also do `mkdir /var/lib/cntr` on your machine. There is a bug that I have not fixed yet that prevents creation in cntr for the nix sandbox case.
<Mic92> v0|d: it will break at the error and prints the instruction that you are supposed to execute
<v0|d> good to know:)
<Mic92> I also made a demo in my nixcon talk
<v0|d> must have missd it, i'll check it out.
thc202 has quit [Ping timeout: 250 seconds]
technoidX has joined #nixos
<infinisil> Oh my god, yet another thing that broke backwards compatibility in nixpkgs
<infinisil> I've stumbled in like 3 occurences of this today (while updating nixpkgs)
<gchristensen> what happened?
<gchristensen> heh
<infinisil> And I'm not sure how to fix this easily
<Mic92> infinisil: I also found this, but the error message was clear to me how it was supposed to be fixed.
<infinisil> Mic92: That is?
<infinisil> I can't just use rspamd_proxy
<Mic92> why not?
<infinisil> It's nixos-mailserver code that uses proxy
<infinisil> I don't wanna maintain a fork forever
<gchristensen> presumably they'll also want this patch, no?
<infinisil> It can't get merged into nixos-mailserver because they try to support multiple nixpkgs versions
<infinisil> With how it's now, proxy throws after this change, and rspamd_proxy throws before this change
<infinisil> This needs to be fixed on the nixpkgs side
<Mic92> well, they are better of with having different branches then too.
<infinisil> This is *not* a nixos-mailserver problem
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fp05Y
<infinisil> It's 100% the fault of nixpkgs breaking compatibility
<Mic92> then you can never remove a unmaintained package because somebody might depend on it.
<infinisil> Deprecation is the key word
<Mic92> there are no mechanisms for that
<infinisil> They're called warnings
<infinisil> There's a NixOS option for that
<infinisil> But with submodules it's a bit cumbersome, so a simple trace can be used instead (which is what warnings are really)
<infinisil> I'll implement a backwards compatibility bot that posts an angry comment when somebody breaks it in a PR
<Mic92> Well everything in nixpkgs could be considered as public API.
<Mic92> This is what I noticed when nixops broke
<{^_^}> [nixpkgs] @markuskowa merged pull request #50904 → LizardFS: 3.11.3 -> 3.12.0, add Berkeley DB support → https://git.io/fp4AD
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fp05z
pie_ has joined #nixos
pie_ has left #nixos [#nixos]
<infinisil> Mic92: Indeed, but we don't want that
drakonis1 has joined #nixos
<infinisil> The public interface should be constrained as much as possible
<infinisil> And only those parts would get covered by the bot
ottidmes has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #51005 → doc: add example usage for breakpointHook → https://git.io/fp05i
<Mic92> v0|d: ^
<v0|d> Mic92: nativeBuildInputs = [ cntr ]; ?
<Mic92> ah right
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #51006 → edex-ui: init at 1.0.1 → https://git.io/fp05M
<Mic92> fixed
<v0|d> :)
<Mic92> the runtime closure of pandoc is way to big
<mdash> Mic92: 'pan-' is a greek prefix meaning 'everything'
<Mic92> that's why I have to install ghc!
<Ankhers> Is there a prefered way to have a language work within the nix ecosystem? As an example, I know Haskell has a giant nix file with a bunch of derivations based off I think stack. Is this the suggested way to get a language to work?
<Ankhers> An auto generated file
<simpson> Ankhers: There's no standard technique. How does your language currently do its modules and packages?
<Ankhers> Erlang/Elixir has hex.pm. There is some support for Erlang and Elixir already within Nix, but I wan tto improve it. I'm just wondering what ends up being ergonomic for the user.
<simpson> Hm. I'm not sure but the topic's interesting to me.
worknonwork has joined #nixos
<Ankhers> I've basically been thinking, should we go the route of Haskell and have nixpkgs "own" the list of BEAM packages (which is sortof how it is implemented at the moment), or should we supply a binary that can convert a rebar3/mix project into a nix project and output a deps.nix file or something.
<Ankhers> I'm also open to hearing about other options I haven't thought of.
<Ankhers> simpson: Topic of the BEAM, or topic of the ergonomics?
<simpson> Of taking Nix into account when designing a language.
Supersonic has quit [Ping timeout: 250 seconds]
worknonwork has left #nixos ["AndroIRC"]
<{^_^}> [nixpkgs] @samueldr opened pull request #51007 → sunxi-tools: 20171130 -> 20181113 → https://git.io/fp05p
Supersonic has joined #nixos
<infinisil> simpson: Are you thinking of using Nix as the build tool itself? (in case of designing a language integrated with nix)
<delroth> I'm starting to use nixops to manage my personal infra, and one thing I'd like to do is to have the config for machine A depend on some of the config for machine B (e.g. in A, if B.services.foo.enable, reference B.services.foo.port). Are there any good examples / best practices in the wild on how to do that?
<delroth> in a simple case like that I'm pretty sure I could get away with some manual evalModules of B's config module, but I don't know how that will work if I end up having circular dependencies between configs
<delroth> (e.g. A looking at B.services.foo and B looking at A.services.bar -- not circular dependencies that are unresolvable ofc)
<delroth> a more practical example, if what I'm talking about is unclear: A is my monitoring machine, when evaluating its config I'd like to iterate on all other machines and find which ones are running e.g. nginx, if they do add an http probe to A's config
ng0_ has joined #nixos
vasarmilan has quit [Ping timeout: 240 seconds]
alex`` has quit [Ping timeout: 268 seconds]
ng0 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #51008 → Update Keybase software → https://git.io/fp0dB
<jasongrossman> Ankhers: Thank you for looking into this.
<jasongrossman> Ankhers++
<{^_^}> Ankhers's karma got increased to 1
<Ankhers> jasongrossman: My pleasure. Do you have a preference on how this should work?
<simpson> infinisil: Sort of. I don't want Monte to have its own idea of "packages" and "managing" those packages.
<infinisil> delroth: Add the `nodes` argument at the top of the NixOS module, then `nodes.B.config.services.foo.enable` to refer to it
<infinisil> simpson: Have you considered the caching implications of this?
<infinisil> simpson: Because nix doesn't have any finer grained caching than derivations, and having too many derivations is expensive
<simpson> infinisil: Monte will probably be switching to static linking soon, so it should be fine. No worse than Go.
<infinisil> simpson: Why would static linking influence caching of build products?
<delroth> infinisil: oh wow, didn't realize that was supported out of the box, thanks!
<delroth> the nixops documentation says basically nothing about this :/
<infinisil> delroth: Yeah, it's a bit hidden
<simpson> infinisil: I guess I don't see the problem.
ng0_ has quit [Quit: Alexa, when is the end of world?]
<infinisil> simpson: E.g. say you have a single derivation for every package: Then when you change a file in that package, you need to rebuild the full package, can't use cached version of other files. Now what if you make a derivation for every file: This could give you lots and lots of derivations which are also expensive if you have too many. Can even be worse if you use derivations to cache intermediate build products
<infinisil> Whereas in Haskell you can just use `cabal` for development, giving you very fast cycles
<infinisil> With lots of caching
<simpson> Ah, sure, if Monte compiled like Haskell. Right now, to use Monte for development, the entire application is loaded into the REPL from source. And in the future, our compiler will compile an entire application from source, without intermediate objects.
<infinisil> simpson: So there won't be a nix-free way to build a binary and you only develop through the repl?
<infinisil> If the repl is good enough this seems like a great solution
<simpson> infinisil: Well, that's kind of the question. In the ideal Monte world, what does Nix *do* for us? It's good at assembling a pure build environment. But that doesn't have to be the only way to do builds.
nD5Xjz has quit [Ping timeout: 268 seconds]
<infinisil> simpson: Are you saying in an ideal world there would be a "generic" way to build it, the Nix way being an instance of this, but other ways being possible too?
<infinisil> Gotta go now though (sleep), cya
<simpson> Peace.
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<jasongrossman> ,bye
<jasongrossman> Ankhers: I don't know enough about BEAM to have a preference - sorry.
cyounkins has joined #nixos
<Ankhers> jasongrossman: No problem. Thanks.
orivej has joined #nixos
hubbypa has joined #nixos
<WhittlesJr> What's it mean if nix-env -i (pkgname) succeeds, but adding the package to my config and rebuilding fails? (Removing the package and rebuilding succeeds). This is for `appdaemon`, tracking master.
<WhittlesJr> The failing dependency is python3.7-aiohttp-2.3.10
<jasongrossman> WhittlesJr: I'm sure you've thought of this, but let me just check: are you using the same channel in both cases? (If you're using sudo with nix-env then you probably are.)
hubbypa has quit [Client Quit]
<WhittlesJr> well, does nix-env ignore NIX_PATH? I assumed it didn't
<WhittlesJr> didn't ignore it, I mean
<WhittlesJr> Oh, I guess it is different. Let me see...
init_6 has quit []
Izorkin has quit [Ping timeout: 245 seconds]
apaul1729 has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
alienpirate5 has joined #nixos
<{^_^}> [nixpkgs] @WhittlesJr opened pull request #51010 → aiohttp: move idna-ssl into propogatedBuildInputs → https://git.io/fp0Fj
init_6 has joined #nixos
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
acarrico has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #51011 → deskew: init at 1.25 → https://git.io/fp0bE
drakonis1 has quit [Quit: WeeChat 2.2]
jtojnar has quit [Quit: jtojnar]
mayhewluke has quit [Ping timeout: 244 seconds]
mayhewluke has joined #nixos
hjulle[m] has joined #nixos
virus_dave has joined #nixos
<virus_dave> hello all! I’m a nix user on OSX. Hoping someone can help me understand what is probably a stupid misunderstanding on my part. I’m trying to use `nix-env` to install wine64 on my mac. Per https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/emulators/wine/packages.nix#L23, it seems like it should be possible. However, i can’t see this package with `nix-env -qa` (even after adding a channel via `nix-channel —add
<virus_dave> am i doing something obviously wrong?
sigmundv has quit [Ping timeout: 244 seconds]
slack1256 has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 252 seconds]
<jasongrossman> virus_dave: Is wine unfree?
<jasongrossman> ,unfree
<{^_^}> You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
justanotheruser has joined #nixos
mkoenig has joined #nixos
<virus_dave> oh wow, thanks. That might be relevant. However, i’ve followed the instructions there (adding `{ allowUnfree = true; }` to `~/.config/nixpkgs/config.nix`, but that doesn’t seem to make a difference. `nix-env -qa` still doesn’t show it (despite nix-env -qa -v` showing the `nixpkgs` file being scanned)
<cyounkins> virus_dave: It doesn't look like it's in the channel: https://hydra.nixos.org/eval/1491441?filter=wine&compare=1491416&full=#tabs-still-succeed
<cyounkins> Which is weird because the *.nix corresponding to the rev is https://github.com/NixOS/nixpkgs/blob/5d4a1a3897e2d674522bcb3aa0026c9e32d8fd7c/pkgs/misc/emulators/wine/packages.nix and references "x86_64-darwin"
<{^_^}> [nixpkgs] @griff opened pull request #51012 → nixos/rspamd: Allow worker type to be proxy again → https://git.io/fp0Nn
<cyounkins> Perhaps a dependency cannot be built on darwin? Perhaps someone more experienced can show us how to do package selection like Hydra does.
<cyounkins> Perhaps.
<{^_^}> [nixpkgs] @tathougies opened pull request #51013 → libgpg-error: Enable Aarch32 support for musl → https://git.io/fp0NW
<virus_dave> thanks cyounkins - now we wait :)
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
cyounkins has quit [Ping timeout: 252 seconds]
catch22 has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
alex_giusi_tiri has quit [Ping timeout: 244 seconds]
fishyfriend has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
fishyfriend has left #nixos ["WeeChat 2.3"]
Izorkin has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 250 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
palo2 has joined #nixos
palo1 has quit [Ping timeout: 244 seconds]
umbaws has joined #nixos
umbaws has quit [Client Quit]
umbaws has joined #nixos
umbaws has quit [Ping timeout: 250 seconds]
umbaws has joined #nixos
endformationage has quit [Ping timeout: 244 seconds]
catch22 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp0Ax
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51003 → ckbcomp: 1.133 -> 1.187 → https://git.io/fp0HQ
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50841 → nvidia_legacy_340: update to make it compatible with current kernel → https://git.io/fplcr
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp0Aj
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @c0bw3b opened pull request #51014 → [18.09] nvidia_legacy_340: 340.104 -> 340.107 → https://git.io/fp0xL
b has quit [Quit: Lost terminal]
fusion809 has joined #nixos
jasongrossman has joined #nixos
shabius_ has joined #nixos
shabius has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51014 → [18.09] nvidia_legacy_340: 340.104 -> 340.107 → https://git.io/fp0xL
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to release-18.09: https://git.io/fp0xo
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50595 → python36Packages.py4j: 0.10.7 -> 0.10.8.1 → https://git.io/fpcz8
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp0xP
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50551 → vim: 8.1.0490 -> 8.1.0535 → https://git.io/fpccR
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to staging: https://git.io/fp0xS
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50401 → Unbreak hg-git → https://git.io/fpsAd
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp0pe
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50338 → networkmanagerapplet: 1.8.16 -> 1.8.18. → https://git.io/fpO2P
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @AmineChikhaoui to master « networkmanagerapplet: 1.8.16 -> 1.8.18 »: https://git.io/fp0pJ
<{^_^}> [nixpkgs] @peti pushed 8 commits to haskell-updates: https://git.io/fp0p0
<{^_^}> [nixpkgs] @peti pushed 0 commits to haskell-updates: https://git.io/fp0pu
<{^_^}> [nixpkgs] @peti pushed 5 commits to master: https://git.io/fp0pz
v0|d has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50337 → transcribe: 8.40 -> 8.72 → https://git.io/fpO2f
<{^_^}> [nixpkgs] @peti closed pull request #50920 → ghc: Adding sphinx as build dependency to build man pages → https://git.io/fpBy6
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @pbogdan to master « transcribe: 8.40 -> 8.72 »: https://git.io/fp0pw
<{^_^}> [nixpkgs] @marsam opened pull request #51015 → wal-g: 0.1.12 -> 0.2.0 → https://git.io/fp0pD
booglewoogle has joined #nixos
nika has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50075 → kexectools: 2.0.17 -> 2.0.18 → https://git.io/fpLwd
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to staging: https://git.io/fp0hU
rnhmjoj has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #50689 → mysqltuner: 1.6.18 -> 1.7.13 → https://git.io/fpCkH
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fp0hY
virus_dave has quit [Quit: virus_dave]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50096 → heroku: 7.16.0 -> 7.18.2 → https://git.io/fpLSk
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « heroku: 7.16.0 -> 7.18.2 »: https://git.io/fp0h3
alex`` has joined #nixos
steshaw has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @c0bw3b closed pull request #49610 → minishift: 1.25.0 -> 1.26.1 → https://git.io/fxA6S
<{^_^}> [nixpkgs] @worldofpeace merged pull request #50739 → grml-zsh-config: 0.15.0 -> 0.15.1 → https://git.io/fpC6N
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « grml-zsh-config: 0.15.0 -> 0.15.1 »: https://git.io/fp0hc
alex`` has quit [Ping timeout: 272 seconds]
alex`` has joined #nixos
day|flip has joined #nixos
<day|flip> im trying to install a haskell package. but it faild with:
<day|flip> Setup: Encountered missing dependencies:
<day|flip> vty >=5.23.1 && <5.24
<day|flip> trying to installed haskellPackages.glirc
<{^_^}> [nixpkgs] @c0bw3b closed pull request #49426 → all-cabal-hashes: Update from Hackage at 2018-10-29T21:01:27Z → https://git.io/fx7jz
<{^_^}> [nixpkgs] @plchldr opened pull request #51018 → rtl8821a: init at 5.1.5 → https://git.io/fp0hB
<{^_^}> [nixpkgs] @c0bw3b merged pull request #49288 → rdkafka: 0.11.5 -> 0.11.6 → https://git.io/fxHsK
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to staging: https://git.io/fp0hE
<{^_^}> [nixpkgs] @worldofpeace merged pull request #50706 → libp11: 0.4.7 -> 0.4.9 → https://git.io/fpCsG
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « libp11: 0.4.7 -> 0.4.9 »: https://git.io/fp0hz
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b closed pull request #48820 → libuv: 1.23.1 -> 1.23.2 → https://git.io/fp0hK
<{^_^}> [nixpkgs] @vcunat pushed commit from @joachifm to release-18.09 « Merge #48084: steam: add libxcb to steamrt overrides »: https://git.io/fp0hS
nikka has joined #nixos
Ariakenom has joined #nixos
nika has quit [Ping timeout: 268 seconds]
ng0 has joined #nixos
jtojnar has joined #nixos
orivej has joined #nixos
bemeurer has joined #nixos
<bemeurer> Hi, I'm using the Mozilla overlay in a shell.nix; is there an easy way to make sure it comes with clippy?
nix` has joined #nixos
Adluc has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #47982 → woeusb: add p7zip to runtime deps enable extra feature → https://git.io/fxsUB
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @gleber to master « woeusb: add p7zip to runtime deps »: https://git.io/fp0jg
worldofpeace has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @basvandijk opened pull request #51021 → opencv3: 3.4.3 -> 3.4.4 → https://git.io/fp0ja
NinjaTrappeur has joined #nixos
<fusion809> Hi folks, I'm having trouble locating where in the manual it mentions setting locales for Nix on a non-NixOS system. I ask because after installing a heap of Texlive packages on my host system (openSUSE Tumblewleed) I keep getting errors like: https://gist.github.com/fusion809/4d900c5ce0abc4491fb3c0634e133b7a from Nix packages.
sir_guy_carleton has joined #nixos
<fusion809> after uninstalling the Texlive packages^
NinjaTrappeur has quit [Client Quit]
<fusion809> The texlive packages, to be clear, were uninstalled with my host's package manager, Nix.
<fusion809> ZYpp, not Nix^
ottidmes has joined #nixos
NinjaTrappeur has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50068 → libevdev: 1.5.9 -> 1.6.0 → https://git.io/fpLEQ
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to staging: https://git.io/fpEef
<leotaku> Is it expected that "builtins.toPath str" just returns another string instead of a path? The manual says it should return a path.
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @marsam opened pull request #51022 → pythonPackages.effect: fix python3.7 build → https://git.io/fpEek
sir_guy_carleton has joined #nixos
<leotaku> fusion809: somewhat of a far stretch, but people in this thread also seem to have locale problems on opensuse: https://github.com/NixOS/nixpkgs/issues/8398
<{^_^}> #8398 (by andrewrk, 3 years ago, closed): perl warning: setting locale failed
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 246 seconds]
Mateon3 is now known as Mateon1
aszlig has quit [Quit: Kerneling down for reboot NOW.]
aszlig has joined #nixos
bemeurer_ has joined #nixos
<fusion809> leotaku: thanks, that worked.
<fusion809> the export LOCALE_ARCHIVE="$(readlink ~/.nix-profile/lib/locale)/locale-archive" being added to ~/.zshrc
bemeurer has quit [Ping timeout: 260 seconds]
<ottidmes> fusion809: I can at least confirm that I too had this error and that making sure everything used the right LOCALE_ARCHIVE fixed things for me, but I am on NixOS (in my case I had old stuff in my nix-env profile)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #48817 → pythonPackages.sievelib: init at 1.1.1 → https://git.io/fpEej
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @leenaars to master « pythonPackages.sievelib: init at 1.1.1 (#48817) »: https://git.io/fpEvv
booglewoogle has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dotlambda pushed to master « appdaemon: add idna-ssl to aiohttp's propagatedBuildInputs »: https://git.io/fpEvq
<{^_^}> [nixpkgs] @dotlambda closed pull request #51010 → aiohttp: move idna-ssl into propogatedBuildInputs → https://git.io/fp0Fj
<{^_^}> [nixpkgs] @dotlambda pushed commit from @marsam to python-unstable « pythonPackages.effect: fix python3.7 build »: https://git.io/fpEvG
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed commit from @dtzWill to python-unstable « pythonPackages.cython: 0.29 -> 0.29.1 »: https://git.io/fpEv0
<{^_^}> [nixpkgs] @dotlambda merged pull request #51022 → pythonPackages.effect: fix python3.7 build → https://git.io/fpEek
<{^_^}> [nixpkgs] @dotlambda pushed commit from @marsam to master « pythonPackages.effect: fix python3.7 build (#51022) »: https://git.io/fpEvg
<{^_^}> [nixpkgs] @dotlambda closed pull request #50995 → pythonPackages.cython: 0.29 -> 0.29.1 → https://git.io/fp0Xn
johann__ has joined #nixos
johann__ has quit [Client Quit]
feep has quit [Disconnected by services]
thblt has left #nixos ["ERC (IRC client for Emacs 26.1)"]
init_6 has quit [Ping timeout: 250 seconds]
alex`` has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #50982 → pythonPackages.pyproj: 1.9.5.1 -> unstable-2018-11-13 → https://git.io/fp0Rm
<{^_^}> [nixpkgs] @dotlambda pushed commit from @worldofpeace to master « pythonPackages.pyproj: 1.9.5.1 -> unstable-2018-11-13 (#50982) »: https://git.io/fpEvp
alex`` has joined #nixos
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
rprije has quit [Ping timeout: 246 seconds]
nika has joined #nixos
thc202 has joined #nixos
nikka has quit [Ping timeout: 246 seconds]
day|flip has quit [Quit: Communi 3.5.0 - http://communi.github.com]
bemeurer_ has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.ddt: fix tests »: https://git.io/fpEfW
klntsky has joined #nixos
<{^_^}> [nixpkgs] @fuerbringer opened pull request #51023 → diskus: 0.4.0 -> 0.5.0 → https://git.io/fpEf7
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/fpEfh
<{^_^}> [nixpkgs] @mt-caret opened pull request #51024 → keynav: 0.20150730.0 -> 0.20180821.0 → https://git.io/fpEJk
<ottidmes> Error: unsupported locales detected: en_US.UTF-8/UTF-8 \ You should choose from the list above the error. (and inside the list above: en_US.UTF-8/UTF-8 \), whats going on?
bbarker has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zimbatm merged pull request #50934 → systemd timeout arguments to use infinity instead of 0 → https://git.io/fpR3H
<{^_^}> [nixpkgs] @zimbatm pushed commit from @cyounkins to master « treewide: systemd timeout arguments to use infinity instead of 0 (#50934) »: https://git.io/fpEJ4
<{^_^}> [nixpkgs] @c0bw3b merged pull request #47745 → openshot-qt: 2.4.2 -> 2.4.3 → https://git.io/fxLvK
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpEJB
<ottidmes> figured it out
<{^_^}> [nixpkgs] @zimbatm merged pull request #51002 → Bugfix: gemsets didn't handle paths correctly → https://git.io/fp0HS
<{^_^}> [nixpkgs] @zimbatm pushed commit from @nyarly to master « Bugfix: gemsets didn't handle paths correctly (#51002) »: https://git.io/fpEJ9
<ottidmes> the minimal profile contains: i18n.supportedLocales = [ (config.i18n.defaultLocale + "/UTF-8") ]; which breaks glibcLocales because I already had that entry, so that needs either a mkDefault, or the locales need to be filtered to be unique
sir_guy_carleton has quit [Quit: WeeChat 2.2]
pareidolia has quit [Quit: ZNC - http://znc.in]
WilliButz has quit [Quit: WeeChat 2.0]
hellrazor has joined #nixos
nika has quit [Quit: Konversation terminated!]
sir_guy_carleton has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5c5e528f278 (from 5 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
WilliButz has joined #nixos
WilliButz has quit [Client Quit]
WilliButz has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @delroth to release-18.09 « curl: cherry-pick upstream patch for ipv6 url parsing »: https://git.io/fpEUP
<{^_^}> [nixpkgs] @c0bw3b closed pull request #47597 → ckb-next: from 0.2.9 0 -> 0.3.1 → https://git.io/fxJjl
umbaws has quit [Ping timeout: 252 seconds]
lightdiscord has joined #nixos
drakonis_ has joined #nixos
lightdiscord has quit [Quit: Page closed]
drakonis has quit [Ping timeout: 264 seconds]
b has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #50469 → mxisd: init at 1.2.0 plus service with test → https://git.io/fpnIC
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/fpETr
umbaws has joined #nixos
<{^_^}> [nixpkgs] @zimbatm opened pull request #51026 → nixos: make the nixpkgs symlink permanent → https://git.io/fpET7
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #47435 → renoise: add mpg123 to runtime deps → https://git.io/fAjSV
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @jpotier to master « renoise: add mpg123 to runtime deps »: https://git.io/fpETx
arianvp has quit [Quit: WeeChat 2.2]
arianvp has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7c75afaf1ab (from 5 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
alex`` has quit [Ping timeout: 268 seconds]
alex`` has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
lassulus has quit [Ping timeout: 246 seconds]
c0bw3b_ has joined #nixos
<{^_^}> [nixpkgs] @basvandijk opened pull request #51027 → opencv4: init at 4.0.0 → https://git.io/fpEkw
reivilibre has joined #nixos
<leotaku> ottidmes: Thank you, however with the "/. + path" method, I still can't convert a store "path-string" to an actual path. How would I do that?
iyzsong has quit [Read error: Connection reset by peer]
<infinisil> leotaku: why do you need a path? A string is perfectly fine too and almost pretty much the same thing
acarrico has joined #nixos
<reivilibre> Hello, any ideas to solve 'error: while setting up the build environment: unable to make '/' private mount: Permission denied' when running 'nix-channel --update' on NixOS? I should mention I'm running NixOS in an LXC container..
<leotaku> infinisil: Do you remember how we talked about the quotes on a string returned from "nix-instantiate ./thing-that-returns-a-string.nix --eval" being anoying? I wanted to avoid that by simply storing all of the outPaths as actual paths.
<leotaku> I know I can just "tr -d '"'" or something, but I wanted a cleaner solution.
dbmikus has joined #nixos
<reivilibre> (alternatively, any ideas on installing NixOS on a server where there isn't an interface to insert a custom disk image for installation? I'm happy to run outside of LXC but thought it might make migration easier)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51023 → diskus: 0.4.0 -> 0.5.0 → https://git.io/fpEf7
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @fuerbringer to master « diskus: 0.4.0 -> 0.5.0 (#51023) »: https://git.io/fpEII
<ottidmes> leotaku: I just tried, it does return a path for me
<ottidmes> > ./. + "/foo"
<{^_^}> /var/lib/nixbot/state/nixpkgs/foo
<ottidmes> > toString (./. + "/foo")
<{^_^}> "/var/lib/nixbot/state/nixpkgs/foo"
<infinisil> leotaku: Hehe, just yesterday I actually switched from `builtins.toFile` to `pkgs.writeText` for something because I was annoyed at the former not returning a derivation and not being able to nix-build it because of that :P
<ottidmes> leotaku: sorry, did not read your message correctly, I will see if I can make it work, that is: "/nix/store/i7adhv25xgbjmy3v6vls1cqncs81m0fs-tarball.drv" to /nix/store/i7adhv25xgbjmy3v6vls1cqncs81m0fs-tarball.drv for example
Rusty1 has joined #nixos
v0|d has joined #nixos
<{^_^}> [nixpkgs] @clefru opened pull request #51028 → Write cargo config to temporary file instead of source dir. → https://git.io/fpEIG
<leotaku> ottidmes: Yeah that is what I want to achieve.
<ottidmes> > /nix/store + (removePrefix "/nix/store" "/nix/store/i7adhv25xgbjmy3v6vls1cqncs81m0fs-tarball.drv")
<{^_^}> error: undefined variable 'removePrefix' at (string):206:15
<ottidmes> > with import <nixpkgs> {}; with pkgs.lib; /nix/store + (removePrefix "/nix/store" "/nix/store/i7adhv25xgbjmy3v6vls1cqncs81m0fs-tarball.drv")
<{^_^}> /nix/store/i7adhv25xgbjmy3v6vls1cqncs81m0fs-tarball.drv
<ottidmes> leotaku: that works at least, not that it is pretty
<infinisil> > /nix/store + baseNameOf "/nix/store/i7adhv25xgbjmy3v6vls1cqncs81m0fs-tarball.drv"
<{^_^}> /nix/storei7adhv25xgbjmy3v6vls1cqncs81m0fs-tarball.drv
<infinisil> > /nix/store + ("/" + baseNameOf "/nix/store/i7adhv25xgbjmy3v6vls1cqncs81m0fs-tarball.drv")
<{^_^}> /nix/store/i7adhv25xgbjmy3v6vls1cqncs81m0fs-tarball.drv
<infinisil> The brackets are probably necessary:
<infinisil> > /nix/store + "/" + baseNameOf "/nix/store/i7adhv25xgbjmy3v6vls1cqncs81m0fs-tarball.drv"
<{^_^}> /nix/storei7adhv25xgbjmy3v6vls1cqncs81m0fs-tarball.drv
<infinisil> Which is a bit funny
<infinisil> > / + lib.substring 1 (-1) "/nix/store/i7adhv25xgbjmy3v6vls1cqncs81m0fs-tarball.drv"
<{^_^}> error: syntax error, unexpected '/', at (string):206:1
<infinisil> > /. + lib.substring 1 (-1) "/nix/store/i7adhv25xgbjmy3v6vls1cqncs81m0fs-tarball.drv"
<{^_^}> [nixpkgs] @c0bw3b merged pull request #47171 → vim plugins: fix for multiple clang outputs, use clang 6.0 → https://git.io/fAdr8
<{^_^}> /nix/store/i7adhv25xgbjmy3v6vls1cqncs81m0fs-tarball.drv
<{^_^}> [nixpkgs] @c0bw3b pushed 4 commits to master: https://git.io/fpEIl
<infinisil> leotaku: That seems pretty decent
<ottidmes> infinisil: haha, I was experimenting with that as well, writing it as a function: absToPath (since you can only really use it this way for absolute paths), maybe with eval you could work around it
<leotaku> infinisil: That indeed works perfectly, thanks again.
xelxebar has quit [Ping timeout: 245 seconds]
<infinisil> :)
<tilpner> Thanks, sphalerite!
<infinisil> > toPath = str: assert builtins.substring 0 1 str == "/"; /. + builtins.substring 1 (-1) str
<{^_^}> toPath defined
<infinisil> > toPath pkgs.hello.outPath
<{^_^}> error: a string that refers to a store path cannot be appended to a path, at (string):175:58
<infinisil> Ah right
<infinisil> > toPath = str: assert builtins.substring 0 1 str == "/"; /. + builtins.substring 1 (-1) (builtins.unsafeDiscardStringContext str)
<{^_^}> toPath defined
<infinisil> > toPath pkgs.hello.outPath
<{^_^}> /nix/store/58r35bqb4f3lxbnbabq718svq9i2pda3-hello-2.10
<leotaku> infinisil: I was just about to say that there was something weird when I tried it with "actual" store paths from nixpkgs.
<ottidmes> > with lib; let toPath = str: if hasPrefix "/" str then /. + (substring 1 (-1) str) else ./. + "/${str}"; in [ (toPath "/foo/bar") (toPath "foo/bar") ]
<{^_^}> [ <CODE> <CODE> ]
<infinisil> leotaku: Note that doing the context discard means it the derivation won't get built anymore
<sphalerite> tilpner: for..?
<sphalerite> Oh right the nmtui fix
<tilpner> For the "sphalerite | tilpner: the patch is complete!" I just got
<sphalerite> :)
<infinisil> ,context
<ottidmes> infinisil: why do I get <CODE> here, but I get the right paths in my repl?
<{^_^}> Nix strings can have a context representing a set of derivations this string depends on. E.g. "foobar ${pkgs.hello}" has the hello derivation in its context, "foobar" doesn't have any context.
<infinisil> ottidmes: lazy eval, you can wrap the thing in `deepEval` to evaluate it fully
<ottidmes> infinisil: is that how the bot is configured?
<infinisil> > [ (1 + 1) ]
<{^_^}> [ <CODE> ]
<infinisil> > deepEval [ (1 + 1) ]
<{^_^}> [ 2 ]
<infinisil> > :v deepEval
<{^_^}> deepEval = x: builtins.deepSeq x x
dbmikus has quit [Ping timeout: 246 seconds]
<infinisil> ottidmes: Yeah, needs lazy eval because evaluating derivations strictly is bad. And I can still go from lazy -> strict with deepSeq (but the other way isn't possible)
<ottidmes> infinisil: and how come the discard is not necessary in the assert?
<{^_^}> [nixpkgs] @marsam opened pull request #51029 → pythonPackages.manuel: 1.8.0 -> 1.10.1 → https://git.io/fpEId
booglewoogle has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #51030 → sage: add jupyter notebook support → https://git.io/fpEIN
<infinisil> ottidmes: It's not used for anything other than a comparison, which is allowed. The other instance needs it because paths can't have any context, as indicated by the error
<infinisil> As far as I understand at least
<ottidmes> > with lib; let toPath = str: let str' = builtins.unsafeDiscardStringContext str; in if hasPrefix "/" str' then /. + (substring 1 (-1) str') else ./. + "/${str'}"; in deepEval [ (toPath "/foo/bar") (toPath "foo/bar") (toPath pkgs.hello.outPath) ]
<{^_^}> [ /foo/bar /var/lib/nixbot/state/nixpkgs/foo/bar /nix/store/58r35bqb4f3lxbnbabq718svq9i2pda3-hello-2.10 ]
<infinisil> Nice
phreedom has quit [Remote host closed the connection]
zolk3ri has joined #nixos
phreedom has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #51030 → sage: add jupyter notebook support → https://git.io/fpEIN
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fpELs
orivej has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50987 → mailcap: init at 2.1.48 → https://git.io/fp0rq
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpEL2
fengels has joined #nixos
makefu has quit [Ping timeout: 260 seconds]
fengels has quit [Quit: Konversation terminated!]
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51024 → keynav: 0.20150730.0 -> 0.20180821.0 → https://git.io/fpEJk
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpELd
endformationage has joined #nixos
fengels has joined #nixos
rihardsk has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51001 → Treewide: use more HTTPS-enabled sources → https://git.io/fp09Q
<{^_^}> [nixpkgs] @c0bw3b pushed 13 commits to master: https://git.io/fpELA
ThatDocsLady has joined #nixos
<ottidmes> ,locate puttygen
<{^_^}> Found in packages: putty
<{^_^}> [nixpkgs] @ryantm merged pull request #51011 → deskew: init at 1.25 → https://git.io/fp0bE
<{^_^}> [nixpkgs] @ryantm pushed to master « deskew: init at 1.25 »: https://git.io/fpEtg
<Myrl-saki> Oh. I just realized a way to make NixOS more useful on cross-compiled systems.
<Myrl-saki> Basically, have 2 cross compilation variable sets.
<Myrl-saki> So, the first cross compilation is the "system build", while the second cross compilation is through nix-build.
das_j has joined #nixos
<Myrl-saki> Err, I have no idea what the fuck I'm saying.
<Myrl-saki> Basically, a Nix-y way to use cross compiled programs as if they were native.
<sphalerite> Myrl-saki: that relies on good faith that the results will be the same. Which they won't. :p
<Myrl-saki> sphalerite: Yes, that's why we need 2 variable sets.
<Myrl-saki> Basically, the first argument set is a way to build the system.
<Myrl-saki> And the second argument set is basically overriding pkgs to be pkgsCross.
<Myrl-saki> So it's like they are native.
<sphalerite> Myrl-saki: oh you mean for mixing and matching natively-built with cross-built stuff?
<Myrl-saki> sphalerite: That's probably stronger than what I actually want.
<Myrl-saki> sphalerite: Basically, the reason why I don't use `nixos-rebuild --build-host` is because `nix-build` on the device will require you to build everything.
nika has joined #nixos
<Myrl-saki> sphalerite: So the idea is that nix-build on the system will use the cross compiled package set.
drakonis has joined #nixos
drakonis1 has joined #nixos
umbaws has quit [Quit: WeeChat 2.3]
umbaws has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
virus_dave has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #51031 → crack-attack: enable custom sounds → https://git.io/fpEqW
<Myrl-saki> Either way, I'm experimenting with cross compilation, since it's Pretty Useful. TM.
nikka has joined #nixos
<Myrl-saki> ../sysdeps/ieee754/dbl-64/e_pow.c:469:13: error: '<<' in boolean context, did you mean '<' ? [-Werror=int-in-bool-context]
<Myrl-saki> this makes me wanna cri
nika has quit [Ping timeout: 246 seconds]
justanotheruser has quit [Ping timeout: 252 seconds]
rpg has joined #nixos
<sphalerite> you mean for cross-compiling the whole system?
<Myrl-saki> sphalerite: Yep.
<sphalerite> that's already doable to some extent AFAIK
<Myrl-saki> Err
<Myrl-saki> I mean, I know that you can cross compile the whole system.
<sphalerite> I don't know what you're on about with the two package sets thing
<Myrl-saki> But you can't native-compile on the system without rebuilding "everything".
<Myrl-saki> Basically, I want to native-comiple using the cross-compiled things.
ThatDocsLady has quit [Ping timeout: 264 seconds]
foldingcookie has joined #nixos
johann__ has joined #nixos
<Myrl-saki> For fuck's sake, how do I disable some glibc build warnings
<Myrl-saki> getconf.c:577:6: error: statement will never be executed [-Werror=switch-unreachable]
<{^_^}> [nixpkgs] @timokau opened pull request #51032 → sage: add tkinter as matplotlib backend → https://git.io/fpEq5
betaboon has joined #nixos
lassulus has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @c0bw3b closed pull request #22905 → crack-attack: enable sound support in the crack-attack game. → https://git.io/vDH6Z
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51031 → crack-attack: enable custom sounds → https://git.io/fpEqW
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpEmY
<{^_^}> [nixpkgs] @timokau merged pull request #51032 → sage: add tkinter as matplotlib backend → https://git.io/fpEq5
<{^_^}> [nixpkgs] @timokau pushed to master « sage: add tkinter as matplotlib backend (#51032) »: https://git.io/fpEm2
philippD has joined #nixos
drakonis has joined #nixos
<philippD> I'm trying to disable Tests while building haskell packages but my override doesn't seem to work. Does anyone know what I'm doing wrong here? https://gist.github.com/chisui/ebcbc704b6c97957247df44029e5e22e
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rusty1 has quit [Quit: Konversation terminated!]
civodul has joined #nixos
johann__ has quit [Ping timeout: 246 seconds]
icetan has quit [Ping timeout: 264 seconds]
johann__ has joined #nixos
<LnL> philippD: you changed haskellPackages but are using the ghc862 set
<philippD> LnL: I changed it to use `haskell.lib.dontCheck` directly on the package but that doesn't seem to work either https://gist.github.com/chisui/ebcbc704b6c97957247df44029e5e22e
johann__ has quit [Quit: Leaving.]
johann__ has joined #nixos
rpg has joined #nixos
<{^_^}> [nixpkgs] @magnusjonsson opened pull request #51033 → ocamlPackages.opti: init at 1.0.3 → https://git.io/fpEY4
johann__ has quit [Read error: No route to host]
justanotheruser has joined #nixos
graphene has joined #nixos
Rusty1 has joined #nixos
<booglewoogle> on my 32-bit machine current firefox install fails (OOM) -- https://hastebin.com/enugagibuh.rb. machine has 3G cap and <100M in use, so shouldn't be a problem on this side, I guess
goibhniu has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a7fd4310c0c (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<booglewoogle> 18.09 stable channel
<andi-> Yeah, gkrust ist failing there with memory requirements.. Also had then while trying to compile it from 64bit.. Not sure how to fix that yet.. Also haven't spent much time :/
umbaws has quit [Ping timeout: 250 seconds]
<LnL> philippD: are you sure that package isn't a dependency of one of the others?
<LnL> otherwise that won't work
<philippD> LnL: it's a dependency of distributed-static
<booglewoogle> I would if I could, can't thought :(
<booglewoogle> in the meantime, can anyone recommend a (preferably lightweight) alternative?
slack1256 has joined #nixos
<LnL> philippD: note that is uses the local haskellPackages variable, not pkgs.haskellPackages which won't include the overrides
primeos has quit [Quit: WeeChat 2.3]
primeos has joined #nixos
<LnL> I'm also not aware of extension = ..., but that might be haskell specific
<philippD> LnL: I get an error "anonymous function at ... called with unexpected argument 'extension'". I got the workaround from here https://unix.stackexchange.com/questions/166804/nix-skipping-unit-tests-when-installing-a-haskell-package
nika has joined #nixos
graphene has quit [Remote host closed the connection]
<LnL> ah, that's a typo then try extends
graphene has joined #nixos
<philippD> same error but now for 'extends'
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
IRCsum has quit [Remote host closed the connection]
<andi-> booglewoogle: firefox-bin?
nikka has quit [Ping timeout: 272 seconds]
IRCsum has joined #nixos
<philippD> LnL: now it runs but still performs the tests
<LnL> hmm, I'd expect that to work
periklis has joined #nixos
c0bw3b_ has quit [Remote host closed the connection]
umbaws has joined #nixos
sgillespie has joined #nixos
alex_giusi_tiri has joined #nixos
zolk3ri has quit [Ping timeout: 256 seconds]
pointfourone has joined #nixos
zolk3ri has joined #nixos
phreedom has quit [Quit: No Ping reply in 180 seconds.]
jonreeve has joined #nixos
phreedom has joined #nixos
pointfourone has quit [Client Quit]
acarrico has quit [Ping timeout: 246 seconds]
<jonreeve> Does anyone know how to configure a sound card? My subwoofers apparently don't work, and it's probably a pin assignment issue, but hdajackretask is giving me trouble, since it's trying to run `tee` and `mv`, and put things in `/lib/firmware` which of course doesn't exist in NixOS
<jonreeve> Any ideas?
acarrico has joined #nixos
<ottidmes> jonreeve: you mention that you have multiple outputs unmuted, I have had trouble when I had multiple sources enabled, I had to only enable the one of my USB soundcard for it to work, but that might just have been a particular problem with my setup
<ottidmes> jonreeve: you could also try and patch the package on nixpkgs such that the script.sh does work correctly, or you might the more "hacky" workaround is to copy over the files from the nix store to the /lib path it wants to find them
betaboon has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @stephengroat opened pull request #51035 → terragrunt: 0.17.2 -> 0.17.3 → https://git.io/fpEOp
drakonis_ has joined #nixos
nikka has joined #nixos
drakonis2 has joined #nixos
nika has quit [Ping timeout: 245 seconds]
develCuy has joined #nixos
drakonis has quit [Ping timeout: 272 seconds]
<develCuy> o/ I'm new to nix and trying to cook my first derivation of an outdated package, is there any doc available in this regard?
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
<jonreeve> ottidmes: why do you think the script isn't working correctly?
<jonreeve> I guess whatever tool it's using to spawn things like `tee` and `mv` doesn't know to check the system PATH?
<{^_^}> [nixpkgs] @c0bw3b opened pull request #51036 → Remove confuse (duplicate) and pommed (obsolete) → https://git.io/fpE3Z
xy2_ has quit [Read error: Connection reset by peer]
<sphalerite> develCuy: a new package?
<sphalerite> that is, newly package outdated software?
<sphalerite> Or update an existing package?
<dsx> How to override dhcpdConf from https://github.com/NixOS/nixpkgs/blob/release-18.09/nixos/modules/services/networking/dhcpcd.nix ? I don't quite understand how to do such things in general.
<sphalerite> develCuy: if it's a new package, https://nixos.org/nixpkgs/manual/#chap-quick-start
<sphalerite> develCuy: if that raises any further questions you're very welcome to ask here :)
fengels has quit [Ping timeout: 252 seconds]
justanotheruser has quit [Ping timeout: 264 seconds]
zolk3ri has quit [Quit: Lost terminal]
vidbina has joined #nixos
nika has joined #nixos
nikka has quit [Ping timeout: 246 seconds]
nika has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #51038 → nordic: 1.2.1 -> 1.3.0 → https://git.io/fpEs3
<{^_^}> [nixpkgs] @samueldr merged pull request #50384 → fusee-launcher: init at unstable-2018-07-14 → https://git.io/fpssk
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fpEsW
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51036 → Remove confuse (duplicate) and pommed (obsolete) → https://git.io/fpE3Z
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/fpEs8
periklis has quit [Remote host closed the connection]
<infinisil> ,overlay dsx
<{^_^}> dsx: Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
drakonis2 has quit [Quit: WeeChat 2.2]
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #51039 → [WIP] sage: 8.4 -> 8.5 → https://git.io/fpEsP
<dsx> Thanks!
alex_giusi_tiri has left #nixos [#nixos]
slack1256 has quit [Remote host closed the connection]
vidbina has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #51038 → nordic: 1.2.1 -> 1.3.0 → https://git.io/fpEs3
<{^_^}> [nixpkgs] @timokau pushed commit from @romildo to master « nordic: 1.2.1 -> 1.3.0 (#51038) »: https://git.io/fpEsx
orivej has joined #nixos
pikajude has joined #nixos
alex`` has quit [Quit: WeeChat 2.3]
alex`` has joined #nixos
<__monty__> Uhm, haskell-modules/configuration-ghc-head.nix mentions ghc802 but it's not in compilers/ghc anymore. Halp.
<ottidmes> jonreeve: that (the /bin locations) and the subject directory (/lib/firmware) probably
<__monty__> How do I find out where I can get jailbreak-cabal? (So I can submit a nixpkgs patch.)
mayhewluke has quit [Ping timeout: 246 seconds]
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
vidbina has joined #nixos
mayhewluke has joined #nixos
<__monty__> ottidmes: Any idea why 802 would be hardcoded for ghc HEAD?
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #51040 → rake: 12.0.0 -> 12.3.1 → https://git.io/fpEGB
<ottidmes> __monty__: not sure, mine isnt though, its at 8.5.20180118
<__monty__> l43
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<ottidmes> __monty__: Ah, I misunderstood you, but no, no idea, sorry (really should have a comment above it, if it had some reason)
pkx3 has joined #nixos
<ottidmes> __monty__: probably this: https://github.com/peti/jailbreak-cabal/issues/13
<{^_^}> peti/jailbreak-cabal#13 (by mpickering, 1 year ago, closed): jailbreaking is broken when using recent versions of Cabal
jonreeve has quit [Ping timeout: 244 seconds]
<ottidmes> __monty__: and considering the issue was closed under ghc 8.2.1, it likely should at least work for that version now
<ottidmes> __monty__: its actually been tested under 8.6.1, so it should work just fine: https://github.com/peti/jailbreak-cabal/blob/4a22f68c20ab774d711ca4399c7653d9b2037388/jailbreak-cabal.cabal#L16
maurer has joined #nixos
<__monty__> ottidmes: How can I test changes to configuration-ghc-head.nix?
<maurer> Is there something analogous to "src = ./." which will ignore the .git subdirectory of a local git repo? Do I need to try to convince fetchgit to ignore a hash?
<maurer> I'm asking because I'm working in a repo where the .git directory is substantially larger than the checked out source
<infinisil> maurer: If you're not concerned about uncommitted changes, `fetchGit ./.` should work
<ottidmes> __monty__: pkgs.haskell.packages.ghcHEAD.jailbreak-cabal probably
<__monty__> ottidmes: But how can I test that? Also, doing nix-env -iA nixpkgs...ghcHEAD doesn't seem to suffer the same error?
<__monty__> I suspect the line can actually just be dropped.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50610 → cadence: fix wrong wrappings → https://git.io/fpcwT
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @Melkor333 to master « cadence: fix wrong wrappings (#50610) »: https://git.io/fpEGF
zopieux has left #nixos ["WeeChat 2.2"]
makefu has joined #nixos
makefu has quit [Client Quit]
makefu has joined #nixos
drakonis1 is now known as drakonis
<booglewoogle> regarding the firefox on 32bit issue: I found this comment: "Well, linux distros tend to not cross-build so they would build 32-bits binaries on 32-bits OSes. What I do on Debian is add -Wl,--reduce-memory-overheads -Wl,--no-keep-memory to LDFLAGS. Maybe we could do that automatically."
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<booglewoogle> is there a way I can add those flags myself to test this?
oida has quit [Ping timeout: 256 seconds]
<pikajude> i have a package.yaml with build-tools that include a certain package
<pikajude> there's a package with this name both in allPackages and in haskellPackages
<pikajude> is there a way to disambiguate the one cabal2nix wants to use
pie_ has joined #nixos
<v0|d> how much ram does nix-daemon require?
<{^_^}> [nixpkgs] @c0bw3b pushed to master « taglib_1_9: refresh meta »: https://git.io/fpEn5
oida has joined #nixos
technoidX has quit [Remote host closed the connection]
pie_ has quit [Remote host closed the connection]
<__monty__> pikajude: I guess you could change the nix file cabal2nix generates?
pie_ has joined #nixos
<ottidmes> v0|d: would that not depend on how its used? I read yesterday about kexec into the memory of a VPS and they mentioned you need at least a 1GB VPS for that to work, so I would say at least 512MB ram (a basic NixOS will be 512MB as well, hence this estimate)
<v0|d> ottidmes: just interstnd in nix-daemon particulars
<infinisil> ottidmes: I wrote that heh
<infinisil> Trying to remember why 500MB failed..
<v0|d> ps auxw|grep nix-daemon|awk '{print $6}'|xargs
<v0|d>
<__monty__> Fwiw I have plenty of trouble with just nix-env -u --leq with 2G ram.
<v0|d> __monty__: what kind of implications?
<__monty__> Implications?
<v0|d> I mean problems, troubles?
<__monty__> The system isn't usable while that's running.
<v0|d> see.
<__monty__> Sometimes just plain fails the build too after ages because it runs out of memory.
jonreeve has joined #nixos
virus_dave has quit [Quit: virus_dave]
<{^_^}> [nixpkgs] @Infinisil merged pull request #51012 → nixos/rspamd: Allow worker type to be proxy again → https://git.io/fp0Nn
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fpEc0
catch22 has joined #nixos
<{^_^}> [nixpkgs] @Gerschtli opened pull request #51041 → dwm-status: 1.2.0 -> 1.4.0 → https://git.io/fpEcK
johann__ has joined #nixos
jonreeve has quit [Ping timeout: 268 seconds]
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
shabius_ has quit [Quit: Leaving]
shabius has joined #nixos
phreedom has quit [Quit: No Ping reply in 180 seconds.]
Acou_Bass has quit [Ping timeout: 246 seconds]
phreedom has joined #nixos
Acou_Bass has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #51035 → terragrunt: 0.17.2 -> 0.17.3 → https://git.io/fpEOp
<{^_^}> [nixpkgs] @timokau pushed commit from @stephengroat to master « terragrunt: 0.17.2 -> 0.17.3 (#51035) »: https://git.io/fpECl
zolk3ri has joined #nixos
ngsa has joined #nixos
johann__ has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @fishyfriend opened pull request #51043 → nixos/urxvtd: remove socket activation → https://git.io/fpEC6
pkx3 has quit [Remote host closed the connection]
pkx3_ has joined #nixos
freeman42x]NixOS has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #51044 → nextcloud-client: switch to libsecret and use it by default → https://git.io/fpEC1
<{^_^}> [nixpkgs] @marsam opened pull request #51045 → pythonPackages.nvchecker: 1.1 -> 1.2.7 → https://git.io/fpECM
<ngsa> Greetings. I'm new to nixos. Aside from a few issues, it's been a great transition. I've run into a problem properly configuring my mouse (logitech M510). Under other distros, all buttons work immediately including the wheel and side buttons (for forward/backword in a browser). Under 'xev' these button presses are not recognized. Any suggestions on how I might try to fix this? I noticed catchall entries are generated in
<ngsa> X11/xorg.conf.d/10-edev.conf and I tried to overwrite that content without success.
<ngsa> Apologies for the noise. I found an article that stated the mouse must be power cycled after every reboot of the OS. That fixed the problem.
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rpg has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #51046 → vale: 1.0.3 -> 1.2.6 → https://git.io/fpEWU
ngsa has quit [Remote host closed the connection]
<develCuy> sphalerite: thanks for the link! Actually I came from there. My situation is that I need to install and up-to-date version of a program, but its nix package is installing a very outdated one, so I'm looking for instructions to update a package
<develCuy> btw, not being able to get some up-to-date programs is preventing me to switch to nixos, until I can learn to update them myself and perhaps send patches
<develCuy> s/an/and
<tilpner> develCuy - Which package? Maybe you're just using an older channel?
<develCuy> palemoon
<tilpner> Ah, okay, nixpkgs only has 27.9.4, but the website mentions 28.2.1
<tilpner> You can of course try just changing the version and hash, which might work if they changed nothing about dependencies or build setup
<develCuy> yeah, how?
<tilpner> Easiest might be to copy the Nix expression somewhere else and edit the version number
<develCuy> ok, I can do that, but how to run the install?
<tilpner> You can find the file with EDITOR=echo nix edit nixpkgs.palemoon
<tilpner> Then, the simplest way is to put (callPackage ./your-palemoon.nix { stdenv = overrideCC stdenv gcc49; }) into your systemPackages
<tilpner> Though you may later want to put that into an overlay to make it prettier
<develCuy> ok, found the file, stored the output in my-palemoon.nix
johann__ has joined #nixos
<develCuy> i don't know what to put in sha256
<tilpner> I always put the output of "sha256sum /dev/null"
<develCuy> oh, cool!
<tilpner> Which is wrong, so it gives you the correct one :/
<tilpner> ,togu
<{^_^}> tilpner: Did you mean tofu?
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<develCuy> ok, how to know what is the right hash?
johann__ has quit [Client Quit]
<tilpner> You *can* use nix-prefetch-git, but getting the right hash from the error message after putting in a wrong one is usually quicker
johann__ has joined #nixos
johann__ has quit [Client Quit]
johann__ has joined #nixos
<develCuy> ok
johann__ has quit [Client Quit]
<develCuy> I updated the git repo path and version, because palemoon hash switched
<develCuy> now, I don't know what this means :( "Then, the simplest way is to put (callPackage ./your-palemoon.nix { stdenv = overrideCC stdenv gcc49; }) into your systemPackages"
<tilpner> The repo path?
fengels has joined #nixos
<tilpner> I assumed you were using NixOS. Are you?
<develCuy> changed params in fetchFromGitHub
<tilpner> You shouldn't need to change more than "sha256" and "version"
<develCuy> oh not yet, I'm on KXStudio
<develCuy> ok
<tilpner> Then you have no systemPackages and that message doesn't apply
<develCuy> oh, ok
<develCuy> I tried this without luck: nix-env -f ~/my-palemoon.nix -A palemoon-src
hamishmack has joined #nixos
umbaws has quit [Ping timeout: 246 seconds]
<develCuy> I get: error: cannot auto-call a function that has an argument without a default value ('stdenv')
<tilpner> I don't use nix-env, I forgot how to make it install things with callPackage
<tilpner> But I can tell you how to nix-build it
<tilpner> nix-build --no-out-link -E 'with import <nixpkgs> {}; callPackage ./your-palemoon.nix { stdenv = overrideCC stdenv gcc49; }'
<tilpner> Beautiful, isn't it? :s
worldofpeace has joined #nixos
<develCuy> wow
rihardsk has quit [Quit: rihardsk]
<NickHu> Anybody else use zotero?
<NickHu> I'm having a weird issue whereby okular works, unless I try to launch it through zotero
<NickHu> It gives me the error qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""; seems to not be respecting the QT_PLUGIN_PATH environment variable
<NickHu> Oddly enough, if I unset that variable I am still able to launch Okular
<develCuy> tilpner: found this for running the install: https://nixos.org/nix-dev/2017-July/024058.html
<develCuy> got this: fixed-output derivation produced path '/nix/store/lzg5ysvkjb1h9p93pqfx1j06b8wzgsg1-palemoon-src' with sha256 hash '0jcp5imiar88r72kspwjynbl0r3v90knyszagjydkrx9g58lkpzr' instead of the expected hash '0000000000000000000000000000000000000000000000000000'
<develCuy> so I updated the nix file with the right hash
<develCuy> unfortunately it fails with this message: cannot build derivation '/nix/store/30y572v888a04gdf03clmqn98nqanb3n-palemoon-28.2.1.drv': 1 dependencies couldn't be built
<tilpner> That's likely not the full error message
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51008 → Update Keybase software → https://git.io/fp0dB
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fpElO
vk3wtf has joined #nixos
<develCuy> yes, but it started to build
<develCuy> now I see that you pass the same to -E
<develCuy> but more stuff
<develCuy> let me try yours
<develCuy> will try install later
<dsx> How to make mpd and firefox (and maybe some others) to output audio simultaneously? I can't figure out correct combination of alsa and pulse.
<{^_^}> [nixpkgs] @dawehner opened pull request #51047 → Add the tychus application → https://git.io/fpElc
<dsx> I used to use alsa for everything and simple config for pa to just sink everything to alsa's dmix. But I can't figure out how to properly do that now.
<dsx> hardware.pulseaudio.enable = true; sound.enable = true; nixpkgs.config.pulseaudio = true; doesn't seem to be enough
<clever> dsx: what user is mpd running as?
<dsx> mpd
<clever> pulseaudio is in single-user mode by default
<clever> all audio using apps must run as the same user
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dsx> I see mpd having own pa instance running
<dsx> As well as my user
<clever> one of those claimed exclusive control of the alsa device
<clever> which breaks the other
<foldingcookie> speaking of pulseaudio, is there a way to compile Firefox on nixos to support ALSA (as done in Arch packaging)?
<{^_^}> [nixpkgs] @ttuegel opened pull request #51048 → melpaBuild: Get package-build from melpa/package-build → https://git.io/fpEl0
<booglewoogle> develCuy: isn't palemoon just a very old firefox? why do you need that?
<dsx> clever: I don't know why, but I was sure that PA supposed to figure that out by itself and…
<dsx> Oh well.
<develCuy> booglewoogle: I just need it ;)
<clever> dsx: the single pa instance, will then share the alsa device between all apps, on that user
<dsx> I see.
<{^_^}> [nixpkgs] @matthewbauer pushed to master « Revert "make-derivation: add disallowedReferences in strictDeps" »: https://git.io/fpEla
justanotheruser has joined #nixos
__monty__ has quit [Quit: leaving]
<develCuy> tilpner: I tried with nix-env but I created an infinite loop, so I created another file: install.nix, with your code and run the install nix-env -f install.nix -i palemoon
<develCuy> it is still giving me an error :(
Thra11 has quit [Ping timeout: 245 seconds]
<lassulus> develCuy: the error message would be helpful
<develCuy> yeah, I'm debugging
<develCuy> I'm very new to this, so just bootstraping my local env dev
pie_ has quit [Remote host closed the connection]
pie__ has joined #nixos
johann__ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51046 → vale: 1.0.3 -> 1.2.6 → https://git.io/fpEWU
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpE8Y
steshaw has joined #nixos
acowley has quit [Ping timeout: 246 seconds]
pie__ has quit [Excess Flood]
technoidX has joined #nixos
pie__ has joined #nixos
makefu has quit [Quit: WeeChat 2.2]
mayhewluke has quit [Ping timeout: 250 seconds]
<foldingcookie> is there a guide somewhere to how you customize a nixOS system? I want to make changes such as removing the -w option from dhcpcd's system service file, but don't know where I would start
rprije has joined #nixos
<foldingcookie> do I need to create a forked version of the dhcpcd package derivation, or is there a way to specify the changed part of the service file inline in configuration.nix?
<LnL> man configuration.nix or https://nixos.org/nixos/options.html
doyougnu has joined #nixos
<foldingcookie> LnL: I've read the latter and "$ man configuration.nix" gives "No manual entry for configuration.nix"
catch22 has quit [Ping timeout: 246 seconds]
abathur has joined #nixos
<foldingcookie> there isn't an option that changes the ExecCommand portion of the service
<LnL> huh the manpage for nixos options is automatically available on any system, unless manpages are explicitly disabled
<foldingcookie> ohhh, I have "services.nixosManual.enable = false;" because enabling it modifies `services.mingetty.helpLine`...
<foldingcookie> again a place where I'd like to modify a package derivation but I'm not sure how one goes about that
<LnL> but yeah there doesn't seem to be an option for what you want
<foldingcookie> seems a bit daft that you can't have manual pages without a note on the login screen telling you about it
<tilpner> You can
<foldingcookie> oh?
jackdk has joined #nixos
<tilpner> Just set the login message to something that doesn't include what you don't want
<tilpner> documentation.enable = true; services.mingetty.helpLine = "foo";
<foldingcookie> hmmm, maybe something changed since I set this up
<foldingcookie> let me play around a bit
rprije has quit [Ping timeout: 244 seconds]
rprije has joined #nixos
Thra11 has joined #nixos
<foldingcookie> no, I want to remove the effect of this line: https://github.com/NixOS/nixos/blob/master/modules/services/misc/nixos-manual.nix#L111
fengels has quit [Read error: Connection reset by peer]
<tilpner> Try services.nixosManual.showManual = false;
<tilpner> Although that is false by default
<foldingcookie> that's a different option, about having a separate TTY
fengels has joined #nixos
<tilpner> So you shouldn't need to do that
<foldingcookie> oops sorry
<LnL> foldingcookie: services.mingetty.helpLine = mkForce "";
<foldingcookie> I'm confused
<foldingcookie> ah, let me try that!
makefu has joined #nixos
<foldingcookie> that worked! thank you!
<foldingcookie> and now I have `man configuration.nix` <3
<infinisil> LnL: Disabling documentation increases NixOS evaluation time by ~40%
<infinisil> If you feel like improving it and don't care about man pages
<infinisil> documentation.enable = false
cyphase has quit [Ping timeout: 245 seconds]
virus_dave has joined #nixos
<infinisil> This is the thing that makes every nixos option evaluate even if you don't use it
<infinisil> If we can somehow dynamically generate these man pages we could get the 40% for everybody, which would be hella rad
<clever> infinisil: oh, that might be something i should look into with nixops deployments
<LnL> building them for the channel instead of dynamically would be fine 90% of the time
<infinisil> clever: Yeah definitely
<LnL> having custom/local options not show up in there is reasonable I'd say
<infinisil> LnL: They already don't show up anyways
<infinisil> Like the out-of-tree ones don't
oida has quit [Quit: byez]
<clever> yeah, configuration.nix's imports dont come into play i think
mayhewluke has joined #nixos
<infinisil> I kinda wish they did
<infinisil> Would be neat to see your own options docs
<infinisil> I have a lot of em
oida has joined #nixos
<clever> infinisil: defaults.documentation.enable = false; makes my eval go from 21 seconds to 21 seconds, lol
<infinisil> Another way to get rid of the static docs: Don't build a manpage, but instead just provide a website where every options docs are dynamically generated when you click on them
<infinisil> With nix-instantiate --eval
cyphase has joined #nixos
<infinisil> clever: Something is wrong then, it should definitely improve by a lot, confirmed on my 3 machine set up and a minimal nixos configuration
sgillespie has quit [Quit: leaving]
<infinisil> I didn't use nixops defaults
<{^_^}> [nixpkgs] @alyssais opened pull request #51050 → Remove reference to unpackaged GHC version → https://git.io/fpE4Q
<clever> it definitely did have an effect on the drvs, it initially took 30sec, as ot checked caches, and now wants to build new things
<infinisil> Hmm weird
vidbina has quit [Ping timeout: 250 seconds]
<infinisil> Oh and a problem with the dynamic nix-instantiate --eval idea is that there's no way to "collect" all nix files such that the evaluation will succeed on the target host
klntsky has quit [Remote host closed the connection]
Radivarig has joined #nixos
klntsky has joined #nixos
<infinisil> Oh well actually, the module system evaluates all imports at the beginning already
<infinisil> We can read that out
<infinisil> And build a derivation with all those files in it
<infinisil> Assuming the options don't depend on any other files, which could be the case in some weird configs
<infinisil> It's just not solid.. :(
noffle has joined #nixos
<dsx> Apparently I'm not smart enough or something. Could anyone show example of an overlay applied system-wide?
<dsx> I can't figure this out.
<dsx> Please.
<clever> dsx: nixpkgs.overlays = [ (super: self: { ... }) ]; will affect everything in the nixos configs
<clever> but for nix-build/nix-shell/nix-env, it has to be somewhere else, cant remember exactly where
<ottidmes> clever: I believe /etc/nixpkgs/overlays
carlosdagos has joined #nixos
<ottidmes> clever: nope, it is based on the value of nixpkgs-overlays in NIX_PATH
<tilpner> dsx - It is self: super: in that snippet
ng0 has quit [Quit: Alexa, when is the end of world?]
<clever> there is also a defualt based on $HOME
<clever> tilpner: thanks, i can never remember which way it is
<tilpner> Alphabetically
<ottidmes> clever: yes, ~/.config/nixpkgs/overlays.nix and ~/.config/nixpkgs/overlays/
<clever> overlays.nix might be the simplest then, just `nixpkgs.overlays = import /home/clever/.config/nixpkgs/overlays.nix;
<clever> now EVERYTHING has a single source of truth on what overlays are
<clever> and that file can just be [ (import ./overlay1.nix) ]
<clever> and you can still have your overlays split over many files
<ottidmes> clever: that is one way to structure it, personally since I have all my overlays defined as part of my system configuration, I just have NIX_PATH with nixpkgs-overlays=/etc/nixpkgs/overlays and I symlink my overlays to that location
<clever> that would also work
<clever> though when using a dir, how do you make nixos load it? does it accept a dir, or must it be a list of functions?
<{^_^}> [nixpkgs] @alyssais opened pull request #51051 → pew: fix build → https://git.io/fpEBn
jmagnusj has joined #nixos
<ottidmes> clever: https://nixos.org/nixpkgs/manual/#sec-overlays-install its described there
<clever> then nixpkgs.overlays = ./overlays; may just work
<ottidmes> clever: so just like modules are loaded, overlay.nix or overlay/default.nix
lunik1 has joined #nixos
<ottidmes> clever: in the case of nixpkgs.overlays I am not sure if it works like that, this was about home folder and nixpkgs-overlays in NIX_PATH
<clever> i was choosing overlays.nix, to make the nixos side simpler
lunik1 has quit [Read error: Connection reset by peer]
<dsx> Why this doesn't work? https://pastebin.com/ygvLVG4D
<dsx> Says: error: infinite recursion encountered, at undefined position
justanotheruser has quit [Ping timeout: 240 seconds]
<tilpner> ._.
<clever> dsx: as tilpner said, i got self and super backwards, so line 3 refers to itself
<ottidmes> dsx: pkgs
<ottidmes> dsx: super.writeText
ajs124 has quit [Quit: Gateway shutdown]
<clever> dsx: the pkgs on line 4 should also be a self
lunik1 has joined #nixos
sgillespie has joined #nixos
zolk3ri has quit [Quit: Lost terminal]
ajs124 has joined #nixos
<dsx> … error: anonymous function at /nix/store/f5dd6kj[…] called with unexpected argument 'alsaConf', at […]
<lunik1> Is anbody experiencing issues with sshguard on 18.09? The latest update causes the service to fail with "modprobe: ERROR: could not insert 'ip6_tables': Operation not permitted" for me.
<clever> dsx: why do you think the arg is called alsaConf?
<dsx> clever: looked in https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/config/pulseaudio.nix and all I want to do is to stop it from writing its /etc/asound.conf
sgillespie has quit [Remote host closed the connection]
<clever> dsx: thats a nixos module, so overlays will never change it directly
<clever> and its in a let block, so there is no way to change it directly
fusion809 has quit [Remote host closed the connection]
<dsx> How do I do that then?
<ottidmes> dsx: environment.etc."asound.conf" = mkForce "";
<clever> you might get away with environment.etc."asound.conf".text = mkForce "";
<ottidmes> dsx: environment.etc."asound.conf".text = mkForce "";
<clever> or you can just not enable pulseaudio
<dsx> Well, I actually need pulseaudio. I just don't want it to change alsa's config.
asymmetric has joined #nixos
<clever> then youll want the mkForce above
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @bennofs opened pull request #51052 → linux_rpi: enable aarch64 build on hydra → https://git.io/fpEBw
jb55 has joined #nixos
<dsx> duplicate entry asound.conf
<dsx> pulse conflicts with my version
<ottidmes> dsx: maybe: environment.etc."asound.conf" = mkForce { text = ""; }; ?
rpg has joined #nixos
<dsx> Same error. I don't know is that matters, I actually have some text there.
<dsx> (It doesn't)
maurer has left #nixos ["WeeChat 1.5"]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
haslersn has joined #nixos
<dsx> Is there a way to completely mask nixos/modules/config/pulseaudio.nix with my version?
<ottidmes> dsx: your version of that module? yes
<dsx> How to?
<ottidmes> dsx: for example at the same level as imports, config, and options: disabledModules = [ "system/boot/initrd-ssh.nix" ];
<ottidmes> dsx: so in your case disabledModules = [ "config/pulseaudio.nix" ];
<haslersn> Hi, I've got a python script that throws `AttributeError: module 'enum' has no attribute 'IntFlag'`. People on the internet suggest to uninstall the `enum34` package with is not stdlib compatible from python3.6 on. However, I didn't even install that package. I used `(python3.withPackages(ps: with ps; [ pyyaml jmespath ]))`. Is there any solution for NixOS? Is this something I should write a nixpkgs-Issue for?
<dsx> ottidmes: how to enable my and where do I place it so it become available globally?
<dsx> * enable mine
<clever> dsx: then put a copy in /etc/nixos/ and imports = [ ./pulseaudio.nix ];
<clever> then your free to modify that copy all you want
das_j has quit [Remote host closed the connection]
freeman42x]NixOS has joined #nixos
Radivarig has quit [Quit: Leaving]
Radivarig has joined #nixos
<{^_^}> [nixpkgs] @samueldr merged pull request #51052 → linux_rpi: enable aarch64 build on hydra → https://git.io/fpEBw
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fpERe
Radivarig_ has joined #nixos
Radivarig_ has quit [Remote host closed the connection]
Radivarig has quit [Client Quit]
Radivarig has joined #nixos
lord| has quit [Quit: WeeChat 2.3]
lord| has joined #nixos
<dsx> Where do I send patch? :)
thc202 has quit [Ping timeout: 272 seconds]