andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2019 || For best support,
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<CRTified> Is there a simple way to add custom filters/actions to fail2ban on NixOS? As far as I can tell, the directory is created directly from the fail2ban package ( https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/security/fail2ban.nix#L95 ), so adding environment.etc."fail2ban/action.d/foo.conf" might be the wrong way, I guess?
cosimone has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ has joined #nixos
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @Infinisil opened pull request #78738 → haskell generic-builder: Fix package conf handling → https://git.io/JvYwj
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75922 → kbfs, nixos/keybase, nixos/kbfs: fix KBFS, add enableRedirector option → https://git.io/Je5uc
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JvYrI
<{^_^}> [nixpkgs] @marsam merged pull request #78665 → python27Packages.python-periphery: 2.0.0 -> 2.0.1 → https://git.io/JvmxS
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYrm
srid-irccloud has quit [Quit: Connection closed for inactivity]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #78663 → python27Packages.pyfaidx: 0.5.7 -> 0.5.8 → https://git.io/JvmAp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYrn
<{^_^}> [nixpkgs] @marsam merged pull request #78658 → python27Packages.pynvim: 0.4.0 -> 0.4.1 → https://git.io/JvmAG
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYr4
<{^_^}> [nixpkgs] @marsam merged pull request #78630 → python27Packages.cvxopt: 1.2.3 -> 1.2.4 → https://git.io/JvmMO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYrE
<{^_^}> [nixpkgs] @marsam merged pull request #78635 → python27Packages.lark-parser: 0.7.8 -> 0.8.1 → https://git.io/Jvmyh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYro
virus_dave has quit [Quit: virus_dave]
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
<{^_^}> [nixpkgs] @marsam merged pull request #78636 → python37Packages.minio: 5.0.5 -> 5.0.6 → https://git.io/JvmS4
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYr9
mexisme has joined #nixos
azdle has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
erasmas has quit [Quit: leaving]
tertl3 has joined #nixos
ng0 has quit [Quit: leaving]
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @marsam opened pull request #78740 → ecdsatool: add to all-packages.nix → https://git.io/JvYoz
ixxie has quit [Ping timeout: 260 seconds]
turona has quit [Ping timeout: 272 seconds]
turona has joined #nixos
v88m has joined #nixos
mexisme_ has joined #nixos
mexisme has quit [Ping timeout: 268 seconds]
pikajude has quit [Quit: ZNC 1.7.4 - https://znc.in]
pikajude has joined #nixos
<noonien> CRTified: this seems to be what you're looking for: https://nixos.org/nixos/options.html#jails
<{^_^}> [nixpkgs] @marsam merged pull request #78588 → keepalived: 2.0.19 -> 2.0.20 → https://git.io/JvmLc
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYoy
<{^_^}> [nixpkgs] @marsam merged pull request #78718 → cargo-about: 0.1.1 -> 0.2.0 → https://git.io/JvYoS
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYo9
<noonien> `services.fail2ban.jailes.my-jail = '' your filter/action here '';`
<CRTified> noonien, no, I want to define a custom filter or action (so the things that you use when declaring a jail)
<noonien> oh
<noonien> i'm not sure about that, sorry
<CRTified> I basically want to whitelist IPs for some duration if they have succesfully logged in over SSH, so that the user does not ban himself when he (e.g.) tries other clients (for example, sshfs has triggered fail2ban in the past for various reasons)
chiefgoat has quit [Ping timeout: 265 seconds]
werner291 has quit [Quit: werner291]
rogue_koder_ has quit [Ping timeout: 265 seconds]
logzet has quit [Ping timeout: 260 seconds]
logzet has joined #nixos
jluttine has quit [Ping timeout: 268 seconds]
chiefgoat has joined #nixos
lovesegfault has joined #nixos
Rusty1 has quit [Remote host closed the connection]
drew_b has joined #nixos
<bsima> is nginx plus available via nix?
Rusty1 has joined #nixos
<noonien> is it possible to generate a vmlinux file instead of bzImage when building a linux kernel?
jluttine has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
aiverson has joined #nixos
<aiverson> ryantm Twey you're on the git history of godot. I'm trying to package a custom fork of godot, and the build is failing to find <GLES3/gl3.h>. I've tried multiple sources of the gl3.h file and confirmed they show up in the shell, and use the patches for godot from nixpkgs. It's still failing. Could someone help?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvYKF
alex`` has quit [Ping timeout: 268 seconds]
<drew_b> so I'm seeing a nix error of `gcc: error: No such file or directory
<drew_b> `cc' failed in phase `Linker'. (Exit code: 1)
<drew_b> but i have an impure nix-shell that has the hosts /usr/bin/cc in scope
AmandaC has quit [Read error: Connection reset by peer]
protocol has quit [Remote host closed the connection]
protocol has joined #nixos
iyzsong has joined #nixos
AmandaC has joined #nixos
jluttine has quit [Ping timeout: 268 seconds]
<infinisil> drew_b seems to have found the issue: https://github.com/haskell/haskell-ide-engine/issues/1613
<{^_^}> haskell/haskell-ide-engine#1613 (by drewboardman, 2 hours ago, closed): HIE failing on test directory - multi cradle configuration.
wildtrees has quit [Quit: Leaving]
jluttine has joined #nixos
drew_b has quit [Ping timeout: 268 seconds]
sigmundv__ has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @fpletz opened pull request #78741 → opensmtpd: 6.6.1p1 -> 6.6.2p1 → https://git.io/JvY6d
mDuff has quit [Ping timeout: 268 seconds]
ddellacosta has quit [Quit: WeeChat 2.2]
jluttine has quit [Ping timeout: 240 seconds]
sigmundv__ has quit [Ping timeout: 268 seconds]
jluttine has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed to master « linux_5_5: init at 5.5 »: https://git.io/JvY6p
ddellacosta has joined #nixos
mmlb has joined #nixos
h0m1 has quit [Ping timeout: 246 seconds]
mexisme_ has quit [Quit: WeeChat 2.7]
mexisme has joined #nixos
h0m1 has joined #nixos
<noonien> is it possible to get all dependencies of a derivation, in nix?
<Cale> noonien: There's a field called propagatedBuildInputs which you can look at, and in the lib, there's a function closePropagation, which if you apply it to the propagatedBuildInputs, will track things down recursively.
<noonien> that's neat! thanks!
<infinisil> Though this only include dependencies in propagatedBuildInputs, which is usually almost none
<infinisil> noonien: What do you need this for?
<noonien> i want to create a squashfs image with the complete dependencies of a derivation
<Cale> Yeah, it was sufficient when I was looking for the Haskell dependencies of Haskell packages, in order to build unified documentation for everything, but I'm not sure it would be suitable for constructing images.
<noonien> i was just wondering if there's a way of doing it without closureInfo, since it looks like kind of a hack
<infinisil> I see
<infinisil> Yeah there is a way to do this
<infinisil> It involves closureInfo (or the exportReferencesGraph it uses), and somehow building a derivation that contains the build-time dependencies
<infinisil> The latter of which can be mostly achieved by running `env > $out` as the build
tomberek has joined #nixos
<infinisil> Once you have such a derivation building (which will contain all build-time dependencies as runtime dependencies), you can give that to exportReferencesGraph
<infinisil> (or closureInfo)
<noonien> i see, it sounds rather complicated, and hacky, i'm probably better off just using closureInfo
<infinisil> You can't get around the `env > $out` thing
pmyjavec has joined #nixos
<noonien> hmm, i'm not sure if i explained correctly, i need the runtine dependencies, not build dependencies
<noonien> i'm guessing that's what "propagatedBuildInputs" doesn't work
<noonien> why*
<pmyjavec> Hey all, I'm using PRIME as found on this wiki page: https://nixos.wiki/wiki/Nvidia#Nvidia_PRIME, what I don't understand is how to actually run applications with OpenGL? When I try run glxgears for example I get: Error: couldn't get an RGB, Double-buffered visual
<pmyjavec> Do I need to run the process in some kind of wrapper ?
<infinisil> noonien: Oh yeah then you don't need the `env > $out` thing. I assumed you were talking about build-time deps
<noonien> from what i understand, closureInfo has __structuredAttrs = true; so that it can have its attributes as a json file
<noonien> so that it can parse and manipulate it using `jq`
<noonien> i'm unsure what exportReferenceGraph is exactly, but i'm guessing the `.closure` is what ends up in .attrs.json
<noonien> it would have been nice to have this inside of nix, so i don't have to import from derivation
<clever> noonien: why do you need the dependency listing?
<noonien> i want to create a squashfs image of everything that's needed to run my program
<infinisil> noonien: There's no way to have this in nix itself, because nix can't know what will end up as a runtime dependency and what won't
<clever> noonien: one minute
<clever> 68 system.build.squashfsStore = pkgs.callPackage ../../../lib/make-squashfs.nix {
<clever> 69 storeContents = config.netboot.storeContents;
<clever> 70 };
<clever> noonien: this will generate a squashfs
<aiverson> According to the docs, nix does figure out runtime dependencies by searching through the raw archive for paths in the nix store.
<infinisil> (runtime dependencies are build-time dependencies that happen to be referenced in $out when the build is done)
<clever> noonien: you just give it a list of things you want in the squashfs, and it figures out the closure for you
<noonien> clever: that's awesome!
<noonien> i'll look into make-squashfs.nix
<noonien> infinisil: so the actual derivations have to be built, and that's why?
tertl3 has quit [Quit: Connection closed for inactivity]
b7j0c has joined #nixos
<infinisil> yup
<Keith[m]> is there any way to make ghc aware of xmonad and it's extensions? I'd like to be able to use ghc to check my config
<noonien> clever: i'm building a language evaluator, something similar with https://github.com/tilpner/qeval, it would have been great to know the full dependencies in nix, then perhaps i could create a base squashfs with the common dependencies between all images i need, and then only have extra ones in their own image
<infinisil> Controversial example: runCommand "x" {} ''if [ "$((RANDOM % 2))" -eq 0 ]; then ln -s ${pkgs.hello} $out; else touch $out; fi''
<infinisil> Has 50% chance that hello is a runtime dependency :)
delli3 has joined #nixos
<clever> noonien: nix wont allow a path to exist without its deps though
<noonien> infinisil: and the actual derivations start with the root is evaluated i'm guessing, right?
<b7j0c> hello. when I install perl with `nix-env -iA nixos.perl`, and then install something like the the JSON package with `nix-env -iA nixos.perl530Packages.JSON`....I cannot load the package with `perl -e 'use JSON'`
<noonien> clever: i plan to use these images in a firecracker microvm, i probably won't have nix inside it
<b7j0c> I will get a message about my `@INC` for perl and it doesn't include the path where the package was installed
<clever> b7j0c: you must use perl.withPackages to merge the libraries into the main perl
<b7j0c> oh neat. How do I do that?
<b7j0c> I can google it too, don
<clever> b7j0c: install `perl.withPackages (ps: [ ps.JSON ])` instead of perl + json
<clever> b7j0c: you probably also want to use nix-shell, not nix-env
<b7j0c> ah ok, thanks!
<clever> b7j0c: nix-shell -p 'perl.withPackages (ps: [ ps.JSON ])'
<b7j0c> appreciate it
<noonien> is it possible to get a vmlinux as a an output from a kernel build? i'm currently only getting a bzImage
<b7j0c> ha thanks clever - that worked - I hadn't clued in to the fact that merely installing the pkg was not sufficient - thanks again!! :)
protocol_ has joined #nixos
protocol has quit [Ping timeout: 268 seconds]
das_j has quit [Remote host closed the connection]
ajs124 has quit [Remote host closed the connection]
Scriptkiddi has quit [Remote host closed the connection]
ajs124 has joined #nixos
das_j has joined #nixos
Scriptkiddi has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lord| has quit [Ping timeout: 268 seconds]
b7j0c has left #nixos [#nixos]
protocol_ has quit [Remote host closed the connection]
protocol_ has joined #nixos
lord| has joined #nixos
kvda has joined #nixos
<noonien> hmm, i remember there being a website that had a figure for how reproducible nixpkgs is, does anyone have a link?
<gchristensen> r13y.com
<ryantm> aiverson: That's just my bot doing trivial version bumps. I don't have any special knowledge about it. Did you try adding libGL to the build inputs?
<noonien> gchristensen: neat, thanks!
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
<kandinski> where can I read the nixos manual for unstable? In particular, I'm trying to upgrade a 19.09 system and I have a nonstandard disk layout, so the deprecation of loaOf is refusing tow ork with the layout of my initrd.luks.devices
lovesegfault has quit [Ping timeout: 268 seconds]
<kandinski> (not refusing: rather, it's warning, but I'd like to fix it anyway)
<pmyjavec> Is there an easy way I can see my running X11 configuration on nixos?
<wedens[m]> services.xserver.exportConfiguration = true
<wedens[m]> and you can see it at /etc/X11/xorg.conf
<pmyjavec> Thank you
<pmyjavec> Getting my Nvidia card to work has been such great fun.
<noonien> i just have 2 configs, one that disables the card, and one that boots from it
<noonien> it's a lot less of a PITA than using primus
<pmyjavec> Yeah, the whole nvidia not opensourcing drivers really sucks.
<noonien> it does require rebooting to switch though
<pmyjavec> I'd never buy a laptop with Nvidia again.
<noonien> it's not a problem for me, because i have my laptop docked most of the time, and when i travel i just rebuild and reboot
<pmyjavec> noonien did you have to do anything special to get opengl working?
<pmyjavec> actually, do you have your config somewhere? I'd love to see it
<pmyjavec> someting is wrong with my setup and I don't know what.
<pmyjavec> Nothing with gl is working.
<drakonis> apparently nvidia might make drivers less terrible in the near future?
<drakonis> announcements in 2 months
<noonien> does AMD have as much of a bad rep?
<pmyjavec> I think my Bus Id's are wrong.
<noonien> i have a friend that i've infected with nix, and his AMD gpu only works on unstable
<pmyjavec> I have the decimal in mine.
<wedens[m]> amd apu became usable just recently
<wedens[m]> (new ones)
<noonien> well, apart from optimus, i've not really had any issues with nvidia pretty much ever
<noonien> i'd like to switch to amd, but intel+nvidia just works usually
<pmyjavec> noonien would I be able to see your lspci output?
<pmyjavec> (I understand it might be personal) haha
<noonien> her is the relevant part: 01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
<noonien> oops, and: 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
<pmyjavec> it's funny
<pmyjavec> that doesn't line up with what's in your config
<noonien> it does, it's just a different format
<pmyjavec> This might be one of my issues.
<noonien> lspci shows hexadecimal values as far as i can tell, i'm unsure if the nix config requires decimal values
<noonien> also, there's no `.`, it's replaced by `:`
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
mexisme has quit [Ping timeout: 265 seconds]
Supersonic112 is now known as Supersonic
mac10688 has joined #nixos
<pmyjavec> noonien thanks!
pmyjavec has quit [Remote host closed the connection]
butterthebuddha has joined #nixos
butterthebuddha has left #nixos [#nixos]
butterthebuddha has joined #nixos
<butterthebuddha> How do I enable tsan for clang on darwin?
<butterthebuddha> there are some instructions here (https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/llvm/4/llvm.nix) but it's unclear to me how to use them
pmyjavec has joined #nixos
<pmyjavec> noonien not yet :)
<pmyjavec> Didn't seem to change much (which is strange).
<noonien> does glxinfo still not show nvidia?
<{^_^}> [nixpkgs] @worldofpeace closed pull request #78704 → linux: 5.4.15 -> 5.5.0 → https://git.io/JvYTL
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/92558b8181b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<pmyjavec> noonien no, and xrandr --listprovidersProviders: number : 1Provider 0: id: 0x45 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 2 associated providers: 0 name:Intel
<pmyjavec> Something is working though because the video performance of X is 1000% better
<pmyjavec> when I just had "intel" in my x drivers list, it was horrible.
<noonien> oh, i don't have intel in my drivers list
<noonien> so that it only loads nvidia
<pmyjavec> maybe...
<noonien> i'll have it as an option eventually, but this config is pretty old
<pmyjavec> noonien I think I know what's up
<pmyjavec> When I just used "nvidia" the bus ID was wrong
<pmyjavec> so it wouldn't find a screen.
<pmyjavec> I read some people need both drivers enabled but maybe in my case having both drivers is an issue.
<pmyjavec> I'll try again... :)
<pmyjavec> Confusing
<noonien> yeah, i just don't have both drivers, it's much less of a hassle
<noonien> i prefer my browser to work on nvidia anyway, and vdpau
buckley310 has quit [Quit: The Lounge - https://thelounge.chat]
butterthebuddha has quit [Remote host closed the connection]
<noonien> i have a 4k external display connected via thunderbolt, it basically kills my iGPU in some cases
<colemickens> worldofpeace: hey, just saw your comment on the 5.5 PR. I'm just happy to have it in, but I'm a bit confused about workflow.
nikola_i has joined #nixos
<colemickens> Do certain people have permission to direct commit to master? And when I view the commit in GitHub, it links to a PR, but it's a PR on a fork repo? I don't really understand what I'm looking at: https://github.com/NixOS/nixpkgs/commit/ff54d08dc84474c0cac37116e33619dfa11747b0 -> then click #17 in the commit description
<{^_^}> https://github.com/NixOS/nixpkgs/pull/17 (by viric, 7 years ago, merged): Fixing npm and updating nodejs to 0.6.19
buckley310 has joined #nixos
pmyjavec has quit [Remote host closed the connection]
<worldofpeace> colemickens: I think there's this thing here where people could/would push things directly to master as they please because that is what they've been doing for years. And it just so happens that someone did... exactly that. For me it can be very frustrating because it can undermine contributors contributions without that being the exact intention.
<colemickens> I really don't mind, mostly just surprised that it's allowed at the GH permission level and then surprised about why GH decided to associate it with a random PR.
<colemickens> Which I guess aren't questions I expect you to have answers to :)
<worldofpeace> colemickens: yeah it seems github does weird associations with direct pushes for some reasons, blame it on people's pull bots
<samueldr> yeah, that last bit is unnerving :(
<worldofpeace> colemickens: it's an ongoing discussion about direct pushes, and with how nixpkgs culture is changing I can only see it changing a certain way...
pmyjavec has joined #nixos
<pmyjavec> noonien it's working nicely now, thanks for the help
<noonien> pmyjavec: good to hear! no problem
<colemickens> Hm, seems maybe delicate. Is there an RFC about this or somewhere I can read more? I'm sort of optimistic about seeing Nix and NixOS mentioned in more places and am curious about community/culture efforts, this seems relevant.
<samueldr> colemickens: I guess in this particular case, it's good to see what was different, and pat yourself on the back for doing it exactly the same way
<worldofpeace> colemickens: ooh, forgot clarify https://github.com/NixOS/nixpkgs/pull/78704#issuecomment-579583357. deja vu because I recall another PR of yours that got closed in the exact same situation
<worldofpeace> samueldr++
<{^_^}> samueldr's karma got increased to 156
* samueldr wonders how hard r-ryantm needs to be prodded to do those new kernels and kernel updates
<samueldr> those updates are pretty mechanical
<worldofpeace> colemickens: I believe as an RFC that sort of repo access restriction discussion happened a bit at https://github.com/NixOS/rfcs/pull/50, but good luck because of github's magic collapsing
<{^_^}> rfcs#50 (by FRidh, 23 weeks ago, open): [RFC 0050] Merge bot for maintainers
<colemickens> Well, from the thread, it seemed there was possibly some things that also maybe ought to have been updated in tandem?
<samueldr> right, some linuxPackages
<worldofpeace> samueldr: could help NeQuissimus out considerably
<samueldr> though I think it was automated on his side, IIRC, but manually activated or something of the sort
<worldofpeace> colemickens: I'm not sure if those are committed https://github.com/NixOS/nixpkgs/pull/78704#issuecomment-579479963, they show up as commits in nixpkgs
<samueldr> I don't remember if I ever reviewd a kernel major init, but I don't remember linuxPackages.* being a reported issue if I did
<samueldr> worldofpeace: no branch under the commit message, I think this means it's from elsewhere
<samueldr> (had a hunch)
<colemickens> one of my least favorite github features
<samueldr> one of the most surprising feature
<worldofpeace> dtzWil's magical branch of all the fixes 🤣
<samueldr> it would be better served with a clear indication "this is not part of any branches of this repository"
<aiverson> ryantm, Adding libGL to the buildInputs had no effect on it.
<colemickens> I don't think it always works either. I've tried to rely on it previously and had it not work anyway.
<samueldr> colemickens, worldofpeace, care to continue (with a rehash) in #nixos-dev, where by european time the others will see it and chime in if they need to?
bhipple has joined #nixos
nikola_i has quit [Ping timeout: 248 seconds]
<bhipple> Could someone merge https://github.com/NixOS/nixpkgs/pull/78503? This is a simple no-op cleanup and already approved by the maintainer
<{^_^}> #78503 (by bhipple, 3 days ago, open): hexdino: use pname
<colemickens> I need to hop off for a while and don't have a lot to contribute other than a nod in support of the RFC (I have some thoughts on it too but need to read more to make sure I'm not repeating anything already said and will comment on it if my thoughts are still relevant)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78503 → hexdino: use pname → https://git.io/JvqXw
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvYXr
<bhipple> worldofpeace: thx, was looking to get that out of my diff for https://github.com/NixOS/nixpkgs/pull/78501 while rebasing (WIP PR) :)
<{^_^}> #78501 (by bhipple, 3 days ago, open): fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir
<worldofpeace> My concern was stepping on contributors toes unintentionally samueldr but it's overlookable in this case because this kernel stuff is better suited for a machine anyways :D
<samueldr> I hear and agree that it can get a bit chafing to see that whizz through while your PR with discussion is standing
mexisme has joined #nixos
protocol_ has quit [Remote host closed the connection]
<worldofpeace> I will probably mention it because it's actually something I'm seeing too much, and I've been seeing people's feedback recently that it's a turn off to contributions sometimes
protocol_ has joined #nixos
<samueldr> and I've seen cases where direct-to-master (direct-to-video when?) pushes have caused some eval or build issues :) those would not necessarily be as tested (e.g. fully built) by ofborg, but at the very least eval'd
protocol_ has quit [Remote host closed the connection]
protocol_ has joined #nixos
andersk has quit [Remote host closed the connection]
<worldofpeace> hehe, I'm guilty of that a few times actually. but I've been trying to limit much more. problem is some things I actually have/want to direct push, backports.
andersk has joined #nixos
<samueldr> right, though backports in theory are low impact changes
<worldofpeace> samueldr: all the kids are onto direct-to-stream these days 🤣
<samueldr> and the impact should be known
<worldofpeace> samueldr: but things like backporting a new package, a PR feels more needed. (I've only ever broken eval with those types of changes on stable ☹️ )
protocol_ has quit [Read error: Connection reset by peer]
protocol_ has joined #nixos
<samueldr> yeah, what I was thinking, but never written down: pushes to release branches may still be needed, or else it's a tarpit for the backports process
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<ryantm> aiverson: Can you post your custom fork somewhere? Do you have a different derivation too?
<worldofpeace> right, so at least direct pushes to master could be restricted. won't really mention the staging branches because the process goes down similar to how the backports process is. kinda internal.
<samueldr> staging is kind of a big PR's staging ground, then staging-next the actual big PR
[Leary] has joined #nixos
mexisme has quit [Ping timeout: 265 seconds]
<ryantm> samueldr: It's trying to update linux... the last thing it tried to do was update 2020-01-27T07:00:01 linux 5.4.14 -> 5.4.15
Lears has quit [Read error: Connection reset by peer]
<ryantm> samueldr: but it couldn't find the derivation associated with that.
<samueldr> ryantm: oh cool, I didn't check and assume
<samueldr> and introducing new releases?
<samueldr> I guess that's not really something the bot is ready for?
<ryantm> Yeah, no hope of that currently.
<ryantm> If we had some really clear standard for doing it, maybe.
<wedens[m]> can someone review https://github.com/NixOS/nixpkgs/pull/78453 ?
<{^_^}> #78453 (by wedens, 3 days ago, open): nixos/grub: make memtest work with EFI
bvdw has quit [Read error: Connection reset by peer]
<ryantm> I'm guessing the problem is that it is looking looking for the exact version it sees at Repology, and someone has already updated it by the time nixpkgs-unstable has a channel update and gets to Repology
bvdw has joined #nixos
nikola_i has joined #nixos
Soo_Slow has joined #nixos
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
Cale has quit [Ping timeout: 260 seconds]
bhipple has quit [Remote host closed the connection]
protocol_ has quit [Remote host closed the connection]
protocol has joined #nixos
protocol has quit [Read error: Connection reset by peer]
Cale has joined #nixos
fusion809 has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
fusion809 has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 265 seconds]
endformationage has quit [Ping timeout: 240 seconds]
kvda has quit [Quit: Textual IRC Client: www.textualapp.com]
chagra has joined #nixos
<{^_^}> [nixpkgs] @bene1618 opened pull request #78745 → nixos/dhcpcd: Add option for dhcpcd waiting behaviour → https://git.io/JvY1Z
chagra_ has joined #nixos
chagra has quit [Ping timeout: 272 seconds]
nikola_i has quit [Ping timeout: 260 seconds]
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
buckley310 has quit [Quit: The Lounge - https://thelounge.chat]
buckley310 has joined #nixos
lovesegfault has joined #nixos
nikola_i has joined #nixos
palo1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ff54d08dc84 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nikola_i has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
UndefinedIsNotAF has quit [Read error: Connection reset by peer]
UndefinedIsNotAF has joined #nixos
bob_twinkles has quit [Quit: No Ping reply in 180 seconds.]
bob_twinkles has joined #nixos
nikola_i has joined #nixos
lovesegfault has quit [Ping timeout: 260 seconds]
chagra_ has quit [Ping timeout: 272 seconds]
captn3m0 has quit [Ping timeout: 265 seconds]
chagra_ has joined #nixos
lovesegfault has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
nikola_i has quit [Ping timeout: 260 seconds]
captn3m0 has joined #nixos
chagra has joined #nixos
butterthebuddha has joined #nixos
domogled has joined #nixos
<butterthebuddha> I'm trying to edit a default.nix for a nixpkgs package
<butterthebuddha> How do I test my changes?
<butterthebuddha> Sorry, very new to this
chagra_ has quit [Ping timeout: 260 seconds]
<makefu> butterthebuddha: try nix-build -E 'with import <nixpkgs> {};pkgs.callPackage ./default.nix { }'
<butterthebuddha> error: anonymous function at ~/nixpkgs/pkgs/os-specific/darwin/skhd/default.nix:1:1 called without required argument 'Carbon', at /nix/store/vafaz3chgg2gw58a15szd7zv3di08q86-nixpkgs-20.03pre207249.7e8454fb856/nixpkgs/lib/customisation.nix:69:16
<tilpner> noonien: To allow paths to exist without their dependencies, check bitflip from my NUR repo
nikola_i has joined #nixos
* colemickens is back to getting stack overflows on nixos-rebuild again
<aiverson> ryantm: Here is the derivation. https://github.com/aiverson/nixos-simula
<srhb> colemickens: Are you rebuilding from a git checkout?
<colemickens> srhb: my NIX_PATH's nixpkgs is a local checkout yes
<srhb> colemickens: Did you clean that repo recently?
<srhb> (as in git clean)
<colemickens> ! yes
<colemickens> Well, git gc and then git prune at least
<srhb> Ah, no, those are not related to what I've been seeing I think.
<{^_^}> [nixpkgs] @Ralith opened pull request #78746 → vulkan: 1.1 -> 1.2 → https://git.io/JvYMU
<srhb> colemickens: Specifically my issue occurs when (iirc) .version-suffix doesn't exist
<srhb> I don't recall completely, but I think it's caused by some issue in an upstream library used for filterSource.
<srhb> colemickens: You can check whether you have that.
<Miyu-saki> Ohhh. This is a bit interesting. `nix-store -q --deriver $(nix-store -qR ...)` does not always provide drvs in /nix/store.
captn3m0 has quit [Ping timeout: 240 seconds]
<Miyu-saki> Since references are referred to by out path and not by deriver.
<Miyu-saki> I wonder if there's a way to fetch them.
arahael1 is now known as Arahael
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
* Ralith_ wraps up https://github.com/NixOS/nixpkgs/pull/78746 and collapses
<{^_^}> #78746 (by Ralith, 7 minutes ago, open): vulkan: 1.1 -> 1.2
<Ralith_> rebuilding glslang 3 times is never fun
<srhb> Miyu-saki: Not really. At least, not if you don't know what the deriver is, which you probably don't if it wasn't built locally (it's information from the DB)
mac10688 has quit [Ping timeout: 272 seconds]
<Miyu-saki> srhb: nix show-deriation is a thing, but I'm not sure if fetches the drv or not. `nix show-derivation -r`
gagbo has joined #nixos
<Miyu-saki> Nope, it does not, apparently.
<lovesegfault> Is anyone with the commit bit around?
chagra has quit [Ping timeout: 268 seconds]
ixxie has joined #nixos
butterthebuddha has quit [Remote host closed the connection]
<Miyu-saki> This is even more interesting than I thought.
<colemickens> srhb: wooow. you led me to the answer
<colemickens> srhb: my first google searches failed, but I primed it with "git" and then a subsequent generic search popped this right up: https://github.com/NixOS/nixpkgs/issues/42379
<{^_^}> #42379 (by erictapen, 1 year ago, closed): stack overflow (possible infinite recursion) depending on type of git checkout
<colemickens> Thank you! I wouldn't have wound up finding that. That would've been a rough one to sort out.
<Miyu-saki> `--deriver` and `show-derivation` are giving different outputs. Huh.
<srhb> colemickens: score for psychic debugging :)
<Miyu-saki> [myrl@myrl-zenbook:~]$ nix-store -q --deriver $(nix-store -qR /nix/store/45niwgvrim8ra2zykm5881bcchxia27q-firefox-72.0.1 | ag atk) | head -n1
<Miyu-saki> /nix/store/67jbkkknbj29gbw840z05xkcxq0gaa68-atk-2.34.1.drv
<Miyu-saki> [myrl@myrl-zenbook:~]$ nix show-derivation -r /nix/store/45niwgvrim8ra2zykm5881bcchxia27q-firefox-72.0.1 | nix run nixpkgs.jq -c jq 'keys[]' | ag atk | head -n1
<Miyu-saki> "/nix/store/00632dysk5af3g79nj9cnfq6fihln8i2-atk-2.34.1.drv"
<Miyu-saki> Anyone have an explanation for this? lol
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
<Miyu-saki> Here's one that's simpler.
<{^_^}> [nixpkgs] @marsam merged pull request #78740 → ecdsatool: add to all-packages.nix → https://git.io/JvYoz
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYMR
<{^_^}> [nixpkgs] @marsam merged pull request #78629 → python27Packages.moznetwork: 0.27 -> 1.0.0 → https://git.io/JvmMm
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYME
<Miyu-saki> Oh oh oh.
<Miyu-saki> Is it perhaps --optimise?
<{^_^}> [nixpkgs] @marsam merged pull request #78626 → hexchat: 2.14.2 -> 2.14.3 → https://git.io/Jvm19
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYMu
<{^_^}> [nixpkgs] @marsam merged pull request #78621 → python27Packages.musicbrainzngs: 0.6 -> 0.7.1 → https://git.io/JvmXf
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYM2
jgt has joined #nixos
chagra has joined #nixos
jgt has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Enzime opened pull request #78747 → mkvtoolnix: 42.0.0 -> 43.0.0 → https://git.io/JvYMK
domogled has quit [Ping timeout: 272 seconds]
lovesegfault has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @marsam merged pull request #78666 → python27Packages.plyvel: 1.1.0 -> 1.2.0 → https://git.io/JvmxA
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYM6
<{^_^}> [nixpkgs] @marsam merged pull request #78662 → python27Packages.pykeepass: 3.1.2 -> 3.2.0 → https://git.io/JvmAF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYMX
<{^_^}> [nixpkgs] @zowoq opened pull request #78748 → upx: 3.95 -> 3.96 → https://git.io/JvYMM
<{^_^}> [nixpkgs] @marsam merged pull request #77806 → Add myself as vim plugins codeowner → https://git.io/JvU7V
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYMD
domogled has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #78749 → qesteidutil: remove → https://git.io/JvYMS
jaen has joined #nixos
troydm has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #78667 → hadolint: add static executable → https://git.io/Jvmpt
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYM9
<{^_^}> [nixpkgs] @FRidh merged pull request #78616 → iproute: 5.4.0 -> 5.5.0 → https://git.io/JvmoL
<{^_^}> [nixpkgs] @FRidh pushed commit from @primeos to staging « iproute: 5.4.0 -> 5.5.0 »: https://git.io/JvYM5
<{^_^}> [nixpkgs] @FRidh merged pull request #78569 → cmake: 3.16.2 -> 3.16.3 → https://git.io/JvqpY
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « cmake: 3.16.2 -> 3.16.3 »: https://git.io/JvYMd
FRidh2 has joined #nixos
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #78530 → spdk: 19.10 -> 19.10.1 → https://git.io/JvqHn
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYMh
WinchellsM has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @FRidh merged pull request #77872 → epoxy: 1.5.3 -> 1.5.4 → https://git.io/JvTBV
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « epoxy: 1.5.3 -> 1.5.4 »: https://git.io/JvYDv
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #78053 → pkgs/coreutils: Disable the df skip-rootfs test → https://git.io/JvIfz
<{^_^}> [nixpkgs] @FRidh pushed commit from @rickynils to staging « pkgs/coreutils: Disable the df skip-rootfs test »: https://git.io/JvYDI
<Miyu-saki> Yeah, this is really weird. And fun.
<Miyu-saki> I'm guessing this is really the effect of --optimise.
aiverson has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mmahut opened pull request #78750 → qdigidoc: 4.1.0 -> 4.2.3 → https://git.io/JvYDW
CMCDragonkai1 has joined #nixos
chagra has quit [Ping timeout: 265 seconds]
lukash_|away is now known as lukash_
Makaveli7 has joined #nixos
CMCDragonkai1 has quit [Ping timeout: 260 seconds]
kenjis1 has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #78752 → opensmtpd: apply patch for CVE-2020-7247.patch → https://git.io/JvYDo
emacsomancer has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #78741 → opensmtpd: 6.6.1p1 -> 6.6.2p1 → https://git.io/JvY6d
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JvYD6
emacsomancer has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #77985 → gcc: remove versions 4.9 and 5 → https://git.io/JvkWo
<{^_^}> [nixpkgs] @Ma27 pushed 18 commits to master: https://git.io/JvYD1
dafreno has joined #nixos
dafreno has quit [Remote host closed the connection]
pmyjavec has quit [Remote host closed the connection]
ng0 has joined #nixos
ng0 has joined #nixos
ng0 has quit [Changing host]
marek has joined #nixos
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
chagra has joined #nixos
Chiliparrot has joined #nixos
ixxie has quit [Ping timeout: 265 seconds]
sigmundv__ has joined #nixos
<colemickens> Nice. Got my first intel gpu hang on 5.5.
veske has joined #nixos
<Valodim[m]> heh
smatting has joined #nixos
<{^_^}> [nixos-org-configurations] @domenkozar pushed to master « planet: add cachix blog »: https://git.io/JvYyl
<{^_^}> [nixpkgs] @hrdinka merged pull request #78493 → attract-mode: 2.2.0 -> 2.6.1 → https://git.io/Jvq6j
<{^_^}> [nixpkgs] @hrdinka pushed 2 commits to master: https://git.io/JvYy8
chloekek has joined #nixos
<{^_^}> [nixpkgs] @alexbakker opened pull request #78753 → zenpower: 0.1.5 -> 0.1.6 → https://git.io/JvYyR
Makaveli7 has quit [Quit: WeeChat 2.7]
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @pingiun opened pull request #78754 → python/regex 2019.12.20 -> 2020.8.1 → https://git.io/JvYyw
Arahael has quit [Ping timeout: 272 seconds]
Arahael has joined #nixos
<{^_^}> [nixpkgs] @obadz merged pull request #78752 → [19.09] opensmtpd: apply patch for CVE-2020-7247.patch → https://git.io/JvYDo
<{^_^}> [nixpkgs] @obadz pushed 2 commits to release-19.09: https://git.io/JvYSf
alex`` has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #78756 → chrome-token-signing: 1.0.7 -> 1.1.0 → https://git.io/JvYSs
tilcreator has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @mmahut closed pull request #78497 → chrome-token-signing: 1.0.7 -> 1.1.0 → https://git.io/JvqPJ
turion has joined #nixos
<{^_^}> [nixpkgs] @knl opened pull request #78757 → perlPackages.TimeDate: fix tests that fail as of 2020 → https://git.io/JvYSR
<turion> I'm trying to package a Python application. When I just do python3 setup.py install --user, it puts the executable script into ~/.local/bin, but I can't execute that script because it's lacking dependencies (its own library, as it happens).
<turion> What I'm trying now: Create a default.nix in the repository, and use buildPythonApplication.
<turion> I can nix-build this, but it doesn't work properly: result doesn't contain any executables it seems, and when I try to add callPackage ./path/to/the/thing/default.nix to my home-manager list of packages, it complains about "The option value [...] is not of type `package'"
<turion> Where am I going wrong?
<pingiun> warning: ignoring the user-specified setting 'sandbox', because it is a restricted setting and you are not a trusted user
<pingiun> should I add myself to a group or something?
knupfer has quit [Remote host closed the connection]
lsix has joined #nixos
werner291 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #78748 → upx: 3.95 -> 3.96 → https://git.io/JvYMM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYS6
knupfer has joined #nixos
<cyris212> Does someone have urxvt working with 24bit color support?
thc202 has joined #nixos
domogled has quit [Ping timeout: 268 seconds]
<Yaniel> I have alacritty working with that :3
__monty__ has joined #nixos
domogled has joined #nixos
tilcreator has joined #nixos
lukash_ is now known as lukash
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #73815 → zenmonitor: init at 1.3 → https://git.io/Je6Oh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvYSN
<turion> I forgot to put brackets around "callPackage foo {}" *facepalm*
<turion> Now it builds. Still, I don't have the executable in the package. Does nix not execute `python setup.py`? Do I have to somehow tell it specifically which executable to install?
<__monty__> Is foo a `pythonPackage`?
<turion> foo = { buildPythonApplication, pandas }: buildPythonApplication rec { ... }
<turion> That's what is in default.nix, and it builds. (But I can't find any executables in the result folder)
knupfer has quit [Quit: knupfer]
kenjis1 has quit [Ping timeout: 260 seconds]
<turion> __monty__: So either I'm misunderstanding how to use buildPythonApplication, or the package has a nonstandard build process...?
<__monty__> That sounds likely yeah.
<turion> __monty__: The nixpkgs manual mentions "wheel files". I don't think this package has them... but no idea, haven't used Python in 10 years
<{^_^}> [nixpkgs] @marsam merged pull request #78747 → mkvtoolnix: 42.0.0 -> 43.0.0 → https://git.io/JvYMK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvY9q
<seanparsons> Who do I have to tickle to get the 19.09 channel moved along? :)
<__monty__> hydra
<turion> Hydra?
<__monty__> ,howoldis
<turion> Maybe fix some tests :)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c55809e2560 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<turion> I can't even properly run python setup.py bdist_wheel... it crashes with ValueError: ZIP does not support timestamps before 1980
<__monty__> Yikes.
<__monty__> That's definitely a problem.
<LnL> the python zip module doesn't like SOURCE_DATE_EPOCH
<turion> Strangely, this error does not crop up when building the package through buildPythonApplication
<__monty__> Nix pretends it's 1970.
<LnL> turion: add SOURCE_DATE_EPOCH = 315532800;
<__monty__> Hmm, does buildPythonApplication set the SOURCE_DATE_EPOCH to something different from 0?
<turion> LnL haha yes that worked somehow
<{^_^}> [nixpkgs] @sikmir opened pull request #78758 → gpxsee: enable on darwin → https://git.io/JvY9c
<turion> Sounds plausible
<LnL> turion: https://nixos.org/nixpkgs/manual/#faq check 15.17.3.3
<LnL> something something dos
<__monty__> Weird incompatibility imo. Why would it not work on timestamps pre 1980? That's so arbitrary.
<pingiun> warning: ignoring the user-specified setting 'sandbox', because it is a restricted setting and you are not a trusted user. how do I become a trusted user?
<turion> LnL yes :) that's it
<__monty__> DOS, the gift that keeps giving...
<turion> Ok, there is a *.whl file in build now
<turion> Why does it not get installed...
<turion> Is there any metadata or other attributes that I need to set in order for it to work?
<__monty__> I doubt meta matters.
<turion> Is there any way how I can debug this better? Run something with lots of -vvv
<__monty__> If the package has a custom build process you'd probably have to override the buildphase, I guess.
<turion> I don't think it really has a custom build process
<__monty__> A nix-shell where you step through the phases one by one?
<turion> Yep, that's what I'm trying
<turion> I can make the .whl file
<turion> Now I'm not sure how I could reproduce the pip install
<__monty__> installPhase?
<turion> I mean, how can I manually reproduce it in a nix-shell
<__monty__> By running installPhase? I don't know what phase it's normally executed in.
<turion> How do I run installPhase? I thought that's just an attribute in a derivation
<turion> pip install should be run in installPhase
fendor has joined #nixos
<__monty__> In a nix-shell for a package you literally get a command named `installPhase`.
<turion> Ooohh
<turion> Ok, I can run pip install dist/foo.whl --user
<turion> I can't run it without --user because read-only file system
<turion> Same goes for installPhase
<turion> should I chroot or something??
<turion> Oh wow I can do type installPhase to see what it tries to do
<{^_^}> [nixpkgs] @Mic92 merged pull request #78664 → python27Packages.pygdbmi: 0.9.0.0 -> 0.9.0.2 → https://git.io/JvmxC
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvY96
<srhb> turion: You can redefine $out etc. as needed to avoid trying to manipulate the nix store.
<wedens[m]> turion: you can set `format = "wheel"` in `buildPythonPackage`, btw
<turion> srhb: Like "out=tmp installPhase"? doesn't seem to work...
<turion> Ah, it's complaining that $prefix is on a read-only file system
<srhb> turion: I usually export it before trying to run any of the phases (configurePhase eg. might set some other variables as a consequence of the value at that point in time, say)
o1lo01ol1o has joined #nixos
<turion> Also, it wants to make a makefile, but echo $makefile doesn't show me anything
<srhb> turion: When you first start the nix-shell, you may want to echo $phases to see what's going on
<srhb> turion: Nothing is guaranteed if you don't follow that ordering.
<turion> wedens[m]: I actually want to do setuptools, I think
<turion> srhb: Ah... echo $phases doesn't give me anything
<turion> So far, I only have a default.nix, not a shell.nix, does that change anything?
Makaveli7 has quit [Quit: WeeChat 2.7]
<__monty__> turion: You're not doing nix-shell -p, are you?
<srhb> turion: It shouldn't if the result is some mkDerivation {}
<turion> (And btw. all tests seem to run fine. I can see their output when building the derivation)
<turion> __monty__: Oh, yes I am... because pandas and pip and so on
<__monty__> turion: Just do `nix-shell`. The buildinputs should be handled by the derivation.
<turion> srhb: It's {}: buildPythonApplication {...}, that should translate into mkDerivation eventually?
<turion> __monty__: Oh wow. A lot happened. First, echo $phases is still empty. But maybe that doesn't matter because I'm now in a shell where I have access to that executable
<__monty__> Hmm, weird.
<__monty__> I expected the opposite to happen >.<
<turion> :D
<turion> Gahh, how do I open the same shell from another directory?
<__monty__> Pass the path to the default.nix
<turion> I don't understand
<CRTified> If I set users.motd in multiple modules, it will only use one value. Is there a way to compose it? And if so, in what order will it be composed?
<turion> I'm trying nix-shell ~/path/to/foo, but from a different directory
<__monty__> turion: Hmm, maybe it's picking up a default.nix in the PWD?
cosimone has joined #nixos
<turion> CRTified: I don't know how to fix it, but it seems like (https://github.com/NixOS/nixpkgs/blob/release-19.09/nixos/modules/security/pam.nix#L711) the type of users.motd is types.nullOr, which means that it doesn't concatenate multiple messages by design. I think types.nullOr always takes null or the last non-null value.
<{^_^}> [nixpkgs] @jpgu-epam opened pull request #78764 → mesos: fix insecure Maven domain → https://git.io/JvYHY
<turion> You could fork nixpkgs and change the type to just types.lines, but I'm not sure that's the best way
<CRTified> No, I don't think so
<CRTified> Guess writing a custom module to construct the MOTD at once makes more sense
<turion> __monty__: Hmm, no it doesn't
<{^_^}> [nixpkgs] @basvandijk opened pull request #78765 → perlPackages.TimeDate: use fetchpatch instead of storing the patch → https://git.io/JvYHO
<CRTified> Thanks, turion :)
<turion> :) wish I could be more helpful
<{^_^}> [nixpkgs] @jpgu-epam closed pull request #78703 → mesos: Fix insecure Maven domain → https://git.io/JvYJj
<turion> __monty__: Maybe there's a relevant difference between default.nix and shell.nix here?
libbermia has joined #nixos
<turion> Ok, well I'll just start the shell where it works and then navigate from there to where I need to execute the command...
<turion> I still don't understand why I can't use the same derivation to install the executable globally
jgeerds has joined #nixos
<turion> Maybe I need to return not the derivation, but one of its attributes? Like .env?
<__monty__> turion: Well it's really weird that you get the executable when starting a nix-shell. Normally that's where the phases are run from to produce the executable. So maybe because there's no phases the executable never gets copied to $out.
troydm has joined #nixos
<turion> Yes... almost as if my package was a dependency to itself..?
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #78298 → pythonPackages.data_hacks: init at 0.3.1 → https://git.io/JvLim
Makaveli7 has joined #nixos
<{^_^}> [nix] @domenkozar opened pull request #3335 → retry on HTTP status code 429 → https://git.io/JvYHR
<turion> Well, anyways, thanks __monty__! I can at least run it somehow :)
vidbina_ has joined #nixos
<__monty__> turion: Try adding an `installPhase = 'cp /the/binary $out';` to the derivation maybe.
werner291 has quit [Remote host closed the connection]
danguita has joined #nixos
vidbina_ has quit [Ping timeout: 265 seconds]
Makaveli7 has quit [Quit: WeeChat 2.7]
vidbina_ has joined #nixos
domogled has quit [Ping timeout: 268 seconds]
domogled has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
kenjis1 has joined #nixos
chagra has quit [Ping timeout: 265 seconds]
chagra has joined #nixos
wpcarro has quit [Remote host closed the connection]
Wimpress has left #nixos [#nixos]
<{^_^}> [nixpkgs] @romildo opened pull request #78768 → qogir-icon-theme: 2019-09-15 -> 2020-01-29 → https://git.io/JvYQG
<{^_^}> [nixpkgs] @basvandijk opened pull request #78769 → perlPackages.TimeDate: use fetchpatch instead of storing the patch → https://git.io/JvYQZ
domogled has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @basvandijk closed pull request #78765 → perlPackages.TimeDate: use fetchpatch instead of storing the patch → https://git.io/JvYHO
<{^_^}> [nixpkgs] @basvandijk merged pull request #78757 → perlPackages.TimeDate: fix tests that fail as of 2020 → https://git.io/JvYSR
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to release-19.09: https://git.io/JvYQC
fendor has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #78540 → pretty-simple: init at 3.2.1.0 → https://git.io/JvqQi
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to master: https://git.io/JvYQ5
orivej has quit [Ping timeout: 268 seconds]
magnetophon has joined #nixos
kenjis1 has quit [Ping timeout: 248 seconds]
veske has quit [Quit: This computer has gone to sleep]
jaen has quit [Remote host closed the connection]
<magnetophon> How do I escape a ${} inside a nix string? The manual says to use $$ or \$ but nether work...
<clever> ,escape"
<{^_^}> " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
<clever> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<clever> magnetophon: it depends on what type of string your inside
Makaveli7 has joined #nixos
<magnetophon> clever: Thanks!
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e4105b542a0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<magnetophon> How do I use a function that is defined in interactiveShellInit in another function in interactiveShellInit? I get "command not found:"
Makaveli7 has quit [Client Quit]
<clever> magnetophon: check what order they appeared in, within the generated files
nikola_i has quit [Ping timeout: 260 seconds]
<magnetophon> clever: I didn't know the order mattered at all in shell. Shall I try to define the called function before I call it?
<__monty__> Shell is like most interpreted languages.
<magnetophon> __monty__: I'll take that as a yes. Thanks!
<clever> magnetophon: you can use mkBefore and mkAfter in nix, to control what order things get emited, if your assigning interactiveShellInit several times
noudle has joined #nixos
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #78675 → pythonPackages.gitlab: init at 1.0.2 → https://git.io/JvYvl
<abbec> sorry if this is a stupid question but how can I map an attrset and change the type: go from `{ a = { b = "foo" }; };` to `{ a = "foo" };`?
Kritnich has quit [Quit: Bye bye.]
Kritnich has joined #nixos
<magnetophon> clever: Nope, just assigning it once, afaik.
<{^_^}> [nixpkgs] @Ekleog merged pull request #78716 → matrix-synapse: 1.9.0 -> 1.9.1 → https://git.io/JvY7b
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/JvY7N
<clever> magnetophon: ah, then just re-order the functions within that string
<magnetophon> Hmm, now that I swapped the order, only thje first few functions are defined at all.
<magnetophon> clever: If I pastebin some code, would you mind taking a look?
iyzsong has quit [Ping timeout: 246 seconds]
<clever> magnetophon: sure
<magnetophon> clever: Thanks! https://pastebin.com/zt4He5eq only up until "confirm" works
dm9 has joined #nixos
<clever> magnetophon: https://gist.github.com/cleverca22/0b5f850823123d404363ccb681cd7109 gist also supports the nix syntax, and highlights it a bit better
<magnetophon> Hmm in this code-HL. it looks like the ''' is the problem, but that is how you write '' in this kind of string, no?
<clever> though in this case, its a giant blob of bash, so its not that much better
<clever> magnetophon: pastebin doesnt know what nix is, so its getting upset over that part
<magnetophon> clever: yeah, I told it it was bash, so you get at least HL up untill the '''
<clever> magnetophon: one sec
<__monty__> > lib.mapAttrs (x: x.b) { a = { b = "foo"; }; }
<{^_^}> { a = <CODE>; }
<__monty__> abbec: ^
kenjis1 has joined #nixos
<clever> [root@system76:~]# nix-instantiate --eval '<nixpkgs/nixos>' -A config.programs.bash.interactiveShellInit --json | jq -r
<clever> magnetophon: try running this
<clever> magnetophon: and then pastebin what it outputs
<abbec> __monty__:
<abbec> * monty: what if it is recursive?
<__monty__> Recursive how?
<abbec> seems to not work like that in that case
Kritnich has quit [Quit: Bye bye.]
<abbec> from `{a = { b = {c = {"foo" };}; }; to { a = { b = "foo"}; };
<abbec> * from `{a = { b = {c = {"foo" };}; };` to `{ a = { b = "foo"}; };`
<clever> magnetophon: now we can see what the result of running the nix code is, with all the vars and escaping undone
<clever> magnetophon: though your code isnt there, which interactiveShellInit did you set?
<magnetophon> clever: sorry, I was sleeping, I hae zsh, not bash.
<magnetophon> clever: one sec
Kritnich has joined #nixos
<abbec> * from `{a = { b = {c = "foo"; }; };` to `{ a = { b = "foo"}; };`
<clever> magnetophon: line 55, we can see the ''') turned into '')
<__monty__> abbec: I'm gonna go ahead and say you probably shouldn't generate a set like that. You're making this quite hard.
<magnetophon> clever: yeah, as it should.
<clever> magnetophon: line 71, you open a doublequote and never close it
<abbec> monty: might very well be the case :) can try a different approach
<abbec> * __monty__: might very well be the case :) can try a different approach
<magnetophon> clever: yup, that looks like an issue. lemme check the code. thanks!!
waleee-cl has joined #nixos
FRidh2 has quit [Quit: Konversation terminated!]
fendor has joined #nixos
fusion809 has joined #nixos
<magnetophon> clever: Yes! all good now. I sure as hell saved that one-liner as a comment in my config! Thanks!
fusion809 has quit [Remote host closed the connection]
thongpv8716 has joined #nixos
<clever> magnetophon: the nixos-option command can also be used, but it doesnt work well with multi-line stuff
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #78681 → pythonPackages.pipdeptree: init at 0.13.2 → https://git.io/JvYvX
<magnetophon> clever: cool.
<magnetophon> lemme reboot into my new gen. BRB!
<__monty__> > lib.mapAttrsRecursiveCond (as: (lib.collect lib.isAttrs) != []) (x: builtins.head (lib.attrValues x)) {a = {b = {c = "foo";};};}
magnetophon has quit [Remote host closed the connection]
<{^_^}> { a = <CODE>; }
<__monty__> > (lib.mapAttrsRecursiveCond (as: (lib.collect lib.isAttrs) != []) (x: builtins.head (lib.attrValues x)) {a = {b = {c = "foo";};};}).a
<{^_^}> { b = <CODE>; }
<__monty__> > (lib.mapAttrsRecursiveCond (as: (lib.collect lib.isAttrs) != []) (x: builtins.head (lib.attrValues x)) {a = {b = {c = "foo";};};}).a.b
<{^_^}> { c = <CODE>; }
<__monty__> : (
thongpv87 has joined #nixos
magnetophon has joined #nixos
<infinisil> __monty__: :p for strict
fusion809 has joined #nixos
jgeerds has quit [Ping timeout: 265 seconds]
Makaveli7 has joined #nixos
Makaveli7 has quit [Client Quit]
orivej has joined #nixos
psyanticy has joined #nixos
tomberek has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @globin merged pull request #78612 → grafana: 6.5.3 -> 6.6.0 → https://git.io/JvmVh
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JvY57
cosimone has quit [Quit: Terminated!]
astk has joined #nixos
<astk> Hi, im new to using nix, and I wanted to set up my first project using nix-copy-closure to deploy to an AWS.
<astk> I'm on windows, and was wondering how to set up the host and remote end using nix-ops
Arahael has quit [Ping timeout: 268 seconds]
<astk> to set up nixOs. is that possible on windows or do i need a VM running linux on the host?
<clever> astk: there is a virtualbox image available with nixos pre-installed
<{^_^}> [nixpkgs] @globin pushed 2 commits to release-19.09: https://git.io/JvY5b
<__monty__> infinisil: Ah, maybe you can fix the code too? abbec wants to recurse until the next-to-last level and then unwrap the attrset.
<astk> i was having difficulty using virtualbox because of something to do with bridged addaptors and ssh, is there an alternative?
Neo-- has joined #nixos
<infinisil> Hmm..
<__monty__> infinisil: My idea was to have the recurse condition check if the attrset contains an attrset.
<misuzu> astk: you can use vps server with any distribution and then install nix. amazon gives some for free, oracle cloud too
v88m has quit [Read error: Connection reset by peer]
thongpv8716 has quit [Remote host closed the connection]
<infinisil> abbec: __monty__: Let's go to #nix-lang to experiment
astk_ has joined #nixos
v88m has joined #nixos
<astk_> misuzu: I wasnt sure about trying to compile on a VPS
<astk_> I'm guessing there is no way to run on native windows
<clever> astk_: nix does sorta work on windows, but that would then produce windows binaries as a result
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<astk_> ah right
<clever> astk_: so you would then need a windows->linux cross-compiler
<clever> astk_: and at that point, your better off using proper linux
<misuzu> maybe this will work
astk has quit [Ping timeout: 260 seconds]
<astk_> that almost seems like the more sophisticated, seems like a good excuse to learn how to cross compile
<thongpv87> Does anyone use Thinkpad X1 Extreme (2nd)? The external display ports does not work on my machine :(
<astk_> the only problem with trying to compile on linux is this issue with the bridged addapter
<astk_> and also its super slow
<astk_> using the VM
<__monty__> thongpv87: USB-C ports?
<misuzu> astk_: you can try installing nix on WSL
<astk_> is that like msys, cygwin on mingw32?
v88m has quit [Read error: Connection reset by peer]
<astk_> like a unix-like environment for windows?
<clever> astk_: WSL is a linux api, to let you run unmodified linux programs on windows
v88m has joined #nixos
<astk_> clever: thanks, ill see if its possible and report back
wavirc22 has joined #nixos
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
<thongpv87> @_monty_ not working @Shoubit Also not work
v88m has quit [Read error: Connection reset by peer]
<thongpv87> I'm trying https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Extreme_(Gen_2)#Optimus_manager but I don't know how to integrate it into configuration.nix
v88m has joined #nixos
libbermia has quit [Remote host closed the connection]
astk_ has quit [Remote host closed the connection]
phreedom has quit [Ping timeout: 240 seconds]
v88m has quit [Read error: Connection reset by peer]
nikola_i has joined #nixos
v88m has joined #nixos
astk has joined #nixos
thongpv87 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl opened pull request #78771 → ocamlPackages.lwt4: 4.4.0 → 4.5.0 → https://git.io/JvYdA
dsg has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm merged pull request #78526 → seasocks: 1.4.2 -> 1.4.3 → https://git.io/Jvq9C
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvYFf
<xa0[m]> Hey, how would I escape a literal ${...} in a nix string?
<etu> ,escape'
<{^_^}> etu: Did you mean escape"?
<{^_^}> " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
<etu> That's not the one
<etu> ,escape'''
<{^_^}> etu: Did you mean escape''?
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<astk> i guess the a downside with using WSL is that there is no option to save the machine as a .vdi for reproducing the build environment
<{^_^}> [nixpkgs] @ryantm merged pull request #78591 → mediathekview: 13.5.0 -> 13.5.1 → https://git.io/JvmCl
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvYFT
<etu> > "'''${foobar}"
<{^_^}> undefined variable 'foobar' at (string):277:7
<etu> > "''${foobar}"
<{^_^}> undefined variable 'foobar' at (string):277:6
thongpv87 has joined #nixos
<astk> ok, i have ubuntu on ASL, is there a command line command that will get me a nixos?
<astk> oh, sorry, nvm, i have that here; https://nathan.gs/2019/04/12/nix-on-windows/
<xa0[m]> > \u0123
<{^_^}> error: syntax error, unexpected $undefined, at (string):277:1
<xa0[m]> > "\u0123"
<{^_^}> "u0123"
<xa0[m]> > "\\u0123"
<{^_^}> "\\u0123"
<xa0[m]> Honestly…
<astk> what are you trying to do?
<xa0[m]> See above
<sphalerite> xa0[m]: for extensive experiments, please message {^_^} directly :)
<etu> xa0[m]: Ok, it should be '' for escaping. But doesn't seem to be the same for "-strings
<etu> > '' ''${a} ''
<{^_^}> "${a} "
<xa0[m]> Oh, ok, cool!
<xa0[m]> Thanks
phaebz has joined #nixos
<astk> so nix is busy installing on the WSL, which seems to be working, now i need to somehow place a simple example project onto the AWS for testing
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/45e01e508a7 (from 81 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
wavirc22 has quit [Ping timeout: 260 seconds]
<astk> maybe someone has a git i can clone with instructions for uploading with nix-copy-clusure and nix-ops?
Rusty1 has joined #nixos
<astk> oh, in haskell
wavirc22 has joined #nixos
Chiliparrot has joined #nixos
<astk> hmm, maybe its easier if i make a hello world that builds with cabal or stack to then convert to use nix
turion has quit [Quit: Leaving.]
phreedom has joined #nixos
domogled has joined #nixos
domogled has quit [Client Quit]
genesis has quit [Remote host closed the connection]
<mkaito> anyone else having issues with direnv `use nix` since the latest update? it seems to just get stuck forever.
virus_dave has joined #nixos
vidbina_ has quit [Ping timeout: 265 seconds]
<wedens[m]> perhaps it's rebuilding some stuff?
ToxicFrog has quit [Ping timeout: 272 seconds]
<mkaito> nah
<mkaito> entering nix-shell "manually" takes ~2s
<mkaito> direnv has been sitting there for 2 hours now
tomberek has joined #nixos
cosimone has joined #nixos
phaebz has quit [Remote host closed the connection]
<astk> is there something like cabal init for nix?
<{^_^}> [nixpkgs] @drewrisinger opened pull request #78772 → pythonPackages.qiskit: fix broken & 0.14.0 -> 0.14.1 → https://git.io/JvYbF
<astk> oh, and should i be installing haskell within nix-env?
<astk> like, nix-env -i cabal-install
<astk> instead of in the WSL Ubuntu?
<astk> which would be sudo apt-get install cabal-install
<{^_^}> [nixpkgs] @layus opened pull request #78773 → sane module: support overriding config files → https://git.io/JvYbp
<astk> or a nix-shell?
myme has quit [Quit: WeeChat 2.6]
ddellacosta has joined #nixos
ToxicFrog has joined #nixos
<{^_^}> [nixpkgs] @ruuda closed pull request #77813 → python3Packages.google_auth: 1.6.3 -> 1.10.0 → https://git.io/JvUAq
<{^_^}> [nixpkgs] @ruuda closed pull request #77819 → python3Packages.googleapis_common_protos: 1.6.0 -> 1.51.0 → https://git.io/JvUxz
myme has joined #nixos
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
alex`` has quit [Ping timeout: 265 seconds]
<srk> astk: better to use per-project default.nix/shell.nix
vidbina_ has joined #nixos
<srk> for add-hoc environments you can also do something like nix-shell -p "haskellPackages.ghcWithPackages (pkgs: with pkgs; [ cryptonite ])"
v88m has quit [Ping timeout: 265 seconds]
<astk> so thats just using cabal-to-nix and then adding cabal install to be available within a shell?
<astk> just not quite sure what default.nix is, thats the result of cabal-to-nix right?
<srk> no that's usually wrapper calling your-project.nix
<astk> then the shell.nix is for making this default.nix and other dependenices available in the shell environemt?
<srk> or you can skip manual cabal2nix and use callCabal2Nix
<srk> yes
<srk> (looks like I have cabal-install installed in my user profile so it's probably not pulling it by default)
Chiliparrot has quit [Ping timeout: 245 seconds]
<srk> ,haskell astk
<astk> thanks
<tomberek> \q
<{^_^}> Let me do that for you
tomberek has quit [Quit: leaving]
boeg has joined #nixos
drakonis has joined #nixos
<srk> astk: callCabal2nix example - nixpkgs.haskell.packages.${compiler}.callCabal2nix "reactive-banana-automation" ../git/reactive-banana-automation { };
<srk> you can either use the default which is haskellPackages or specify compiler e.g. haskell.packages.ghc882
noudle has quit []
Chiliparrot has joined #nixos
<boeg> Hi so I'm looking into using nix on arch os for development environments. So say I want to set up an environment with postgres - I guess since postgres runs as a service on the system, not just normally executed, two different environments with postgres wouldn't be isolated from each other? Would they not interfere?
<boeg> arch linux *
<astk> srk, is that to be typed at the command line?
<siers> boeg, you can't have nixos services without nixos, since you're running nix on an other OS, I don't think
<boeg> siers: alright, thats what i thought
<srk> astk: usually part of default.nix, you can also test it in nix repl
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/96af51f3258 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<astk> so instead of having cabal-to-nix make the default.nix i would put the call to callCabal2nix in a manually created version?
noudle has joined #nixos
wavirc22 has quit [Ping timeout: 272 seconds]
wavirc22 has joined #nixos
chagra has quit [Ping timeout: 268 seconds]
growpotkin has joined #nixos
<OmnipotentEntity> How can I ensure that findutils is available for a shell-hook?
wavirc22 has quit [Ping timeout: 268 seconds]
alex`` has joined #nixos
pbb_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #78691 → pythonPackages.superlance: init at 1.0.0 → https://git.io/JvYft
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #78692 → pythonPackages.supervisor-checks: init at 0.8.1 → https://git.io/JvYfq
thongpv87 has quit [Ping timeout: 260 seconds]
wavirc22 has joined #nixos
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @das-g opened pull request #78774 → gdal: 3.0.1 -> 3.0.3 → https://git.io/JvYA8
chagra has joined #nixos
vidbina has joined #nixos
vidbina_ has quit [Ping timeout: 260 seconds]
wavirc22 has quit [Ping timeout: 265 seconds]
<srk> astk: from default.nix you either use callPackage pointing to your-project.nix which you can generate with cabal2nix . > your-project.nix or you skip the manual step and use callCabal2nix which does it for you
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
wavirc22 has joined #nixos
drew_b has joined #nixos
<astk> so instead of writing; let
<astk> (as the contents of default.nix)
pbb has joined #nixos
<astk> nixpkgs.haskell.packages.822.callCabal2nix pathToMyProject
<astk> is that right?
<astk> where the first version had the my-project.nix returned from cabal2nix
<{^_^}> [nixpkgs] @OmnipotentEntity opened pull request #78775 → geant4: 10.5.1 -> 10.6.0 → https://git.io/JvYAy
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/96af51f3258 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
wavirc22 has quit [Ping timeout: 248 seconds]
<srk> astk: not quite, you need to pass a string to it as first arg (derivation name)
Chiliparrot has joined #nixos
<astk> ah right, ok
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #78776 → acsccid: 1.1.6 -> 1.1.8 → https://git.io/JvYxU
wavirc22 has quit [Ping timeout: 268 seconds]
ng0_ has joined #nixos
wavirc22 has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3335 → retry on HTTP status code 429 → https://git.io/JvYHR
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JvYxL
ng0 has quit [Ping timeout: 265 seconds]
wavirc22 has quit [Read error: Connection reset by peer]
<astk> i have nix setup on the WSL and have managed to use nix to install cabal3
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #75927 → saml2aws: 2.15.0 -> 2.19.0 → https://git.io/Je5zp
<{^_^}> [nixpkgs] @teto pushed commit from Martin Potier to master « saml2aws: 2.15.0 -> 2.19.0 »: https://git.io/JvYxK
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/845b911ac21 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-19.09)
tertl3 has joined #nixos
<astk> do i need to clone the git repo that i want to modify from within nix?
<astk> or do i just clone it in the ubuntu repl?
wavirc22 has quit [Ping timeout: 268 seconds]
wavirc22 has joined #nixos
felixfoertsch has quit [Read error: Connection reset by peer]
felixfoertsch23 has joined #nixos
troydm has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jonringer closed pull request #72300 → dotnet.sdk: 2.2.6 -> 3.0.100 → https://git.io/Jezt4
markusl2ll has joined #nixos
ixxie has joined #nixos
srid has quit [Ping timeout: 268 seconds]
wavirc22 has quit [Ping timeout: 240 seconds]
<markusl2ll> hi! I'm a nixos noob and have set the "nixpkgs.config.allowUnfree = true;" in the configuration.nix, but still, I get the same error (of the variable being not set) when installing proprietary software
wavirc22 has joined #nixos
<markusl2ll> using NIXPKGS_ALLOW_UNFREE=1 in front of nix-env works
<{^_^}> [nixpkgs] @Ma27 pushed to master « gcc49Stdenv: re-add »: https://git.io/JvYpc
andrewrk has joined #nixos
<andrewrk> I just updated to 20.03pre210639.e59dcf8ccec (Markhor), and now when using cmake to configure my project, I get this: https://clbin.com/aDzrK
<andrewrk> "The CMAKE_C_COMPILER /nix/store/382vgzzm7xrkqfply7y1h3fn03hp68m5-gcc-wrapper-7.4.0/bin/gcc is not a full path to an existing compiler tool."
<andrewrk> "The C compiler identification is unknown"
<andrewrk> this is in a nix-shell with cmake
<tilpner> markusl2ll: nixpkgs.config only applies to the pkgs you use in your configuration.nix, not to nix-env
<andrewrk> ok never mind, what actually happened is that a command I ran to remove a directory did not work, and I didn't notice
<tilpner> markusl2ll: There's another config file that applies to nix-env, ~/.config/nixpkgs/config.nix IIRC
<markusl2ll> tilpner: ah, thank you very much!!
<tilpner> markusl2ll: You can share one file between both, if you want
<tilpner> So your settings don't get out-of-sync
wavirc22 has quit [Ping timeout: 265 seconds]
<markusl2ll> tilpner: since I use home-manager, I guess it's "idiomatic" to set that file from there?
<tilpner> No idea, I don't use HM
<markusl2ll> I'm using nixos with home-manager for multiple machines
<markusl2ll> right
<tilpner> I would expect HM to have a better solution though
<markusl2ll> but thank you very much
sigmundv__ has quit [Ping timeout: 268 seconds]
wavirc22 has joined #nixos
<astk> srk: how do i use callCabal2nix with a cabal.project file?
<astk> and am trying to add the default.nix
<astk> but if i have it contain;
<astk> nixpkgs.haskell.packages.822.callCabal2nix "rotate" ./ {}
<astk> it throws an error about an unexpected /
opthomasprime has joined #nixos
<astk> so i tried just typing cabal2nix and it says "missing URI"
<astk> where this is supposed to be the path to a .cabal file
<astk> not a cabal.project file
Arahael has joined #nixos
<andrewrk> hot damn the new gcc version in nixos-unstable is 9.2.0
wavirc22 has quit [Ping timeout: 268 seconds]
drew_b has quit [Quit: WeeChat 2.7]
<astk> i have this for reference;
<astk> but i dont understand all this call self.super stuff..
drew_b has joined #nixos
<astk> whats overrides?
<astk> clever*
wavirc22 has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
<astk> is it saying something like "the cabal.project file is pointing to packages that are via .cabal files, replace these with the nix version generated by callCabal2nix" ?
nikola_i has quit [Ping timeout: 260 seconds]
<OmnipotentEntity> Anyone around who's used CUDA? I'm having some trouble getting all of my ducks in a row, apparently. I'm going through grahamc[m] 's CUDA github page, https://github.com/grahamc/nixos-cuda-example , but when I attempt to compile using the provided nix-build command I get a linker error vs cublas (which should be part of the cudatoolkit?)
wavirc22 has quit [Ping timeout: 260 seconds]
<srk> astk: more like add these to the set of existing packages
<astk> did you test to see that CUDA is properly set up?
<srk> or replace existing
<srk> astk: adding packages via overlay is better in case they depend on each other as you don't have to pass dependencies explicitly
<astk> srk: so i have to kind of copy the contents of the cabal.project file into the default.nix with callCabal2nix for each .cabal file?
wavirc22 has joined #nixos
<astk> srk: oh, how do i do that?
<srk> astk: yes, you just list them in the overlay :)
<astk> whats this "overlay" ?
<srk> ,overlay
<{^_^}> 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
<srk> ^^
<astk> would you be able to link a default.nix that could compile the rotate project?
<xa0[m]> hey, question, what actually is the difference between buildInputs, nativeBuildInputs and propogatedBuildInputs?
<astk> or should i just try to modify the one from the macho tool example?
<clever> 2020-01-29 12:07:18 < astk> nixpkgs.haskell.packages.822.callCabal2nix "rotate" ./ {}
<srk> hm that one uses override, not much of a difference
<clever> astk: you want ./.
<astk> thanks!
<astk> but that would be for the way without using overlays
<astk> right?
werner291 has joined #nixos
<astk> im assuming it can read the cabal.project file if just the path to the directory containing it is provided to callCabal2nix
<clever> astk: when using an overlay, you would do `rotate = self.callCabal2nix "rotate" ./ {};`
<clever> astk: `callCabal2nix "rotate" ./.` will look for `rotate.cabal` in `./.`
<srk> there's no support for automatically loading stuff from cabal.project afaik
<clever> astk: nixpkgs on its own doesnt support cabal.project, i prefer to use an overlay to load each .cabal file and merge them all together
<clever> the machotool example is loading 2 cabal files to do that
<xa0[m]> alternatively, where would i go to look stuff like that up?
nikola_i has joined #nixos
<xa0[m]> the documentation seems minimal or hard to find
<astk> hmm, rotate is actially in ./rotate/. if the default.nix is in the same dir as the cabal.project file
<clever> xa0[m]: nativeBuildInputs is for the host, buildInputs is for the target
<clever> astk: you can also do `./rotate`, the rule is that it must not end with a /
<xa0[m]> ahh, ok. what of propogatedBuildInputs?
<clever> xa0[m]: if foo has bar in the propogatedBuildInputs, then baz depends on foo, baz gets bar automatically
<astk> ok, thanks, lets see if this works!
<clever> xa0[m]: baz will behave like it had buildInputs [ foo bar ];
<xa0[m]> ah! gotcha. ok. does that apply to systemPackages too?
<clever> xa0[m]: propagated inputs only applies at build time
<OmnipotentEntity> astk, how do I test that exactly? I thought I have it set up properly, and nvidia-smi says my driver version and CUDA 10.2
<xa0[m]> makes sense. perfect, thanks
<{^_^}> [nixpkgs] @arcnmx opened pull request #78777 → edk2: 201905 -> 201911 → https://git.io/JvYhf
<astk> astk: i have no idea
<astk> omnipotententity^
<OmnipotentEntity> is that at me? lol
<astk> sorry...
erasmas has joined #nixos
<OmnipotentEntity> it's ok!
<OmnipotentEntity> Thanks for the help nonetheless.
<tilpner> omnipotententity: I have notes from a few months ago that tell future-me to run these:
<tilpner> "optirun sleep 10000000 &", "sudo modprobe nvidia-uvm", "sudo chown root:video /dev/nvidia*"
dsg has joined #nixos
<OmnipotentEntity> what on earth is that optirun thing?
<OmnipotentEntity> lol
<tilpner> These were necessary once every boot, the optirun is specific to laptops with two gpus
<tilpner> If you don't have a laptop, ignore it
<OmnipotentEntity> excellent, thanks!
orivej has quit [Ping timeout: 260 seconds]
<OmnipotentEntity> hmm... I'm still having trouble with a CUDA program even after those.
dsg has quit [Client Quit]
dsg has joined #nixos
<astk> i cant seem to do nix-build, it says something about; nixpkgs.config.allowUnfree = true;
<astk> if i add this to a configuration.nix file as it suggests, it still has the same error
<Taneb> astk: what are you trying to build?
<OmnipotentEntity> I have allowUnfree in my system configuration.nix and also in ~/.config/nixpkgs/config.nix
marek has quit [Ping timeout: 240 seconds]
<OmnipotentEntity> I think you need it in both places astk if you're trying to do anything with the nvidia drivers.
wavirc22 has quit [Ping timeout: 268 seconds]
<clever> astk: nix-build doesnt read the global configuration.nix, only the per-user config.nix
<tilpner> omnipotententity: Perhaps this is helpful: https://tx0.co/67z
wavirc22 has joined #nixos
<astk> do i need a --configPath option or something?
<astk> Taneb: im building the repo cloned from; https://github.com/fog-hs/rotateDistributed
<OmnipotentEntity> tilpner, thanks I'll try it.
<astk> having added a default.nix containing;
drakonis has quit [Ping timeout: 252 seconds]
<OmnipotentEntity> Still not having any luck. The error I'm receiving is my CUDA driver version is insufficient for CUDA runtime version.
<OmnipotentEntity> But my driver version is 440.44
<astk> clever: so where do i add this allow unfree line?
<clever> astk: the error tells you where config.txt
<clever> config.nix*
wavirc22 has quit [Ping timeout: 268 seconds]
<astk> but i changed that to no avail
<clever> astk: what path is it at?
wavirc22 has joined #nixos
<astk> \home\hask\.config\nixpkgs
<astk> a file called config.nix containing the text; { allowUnfree = true; }
v88m has joined #nixos
<clever> astk: what happens if you delete the } at the end and try again?
<astk> nothing... same error
<clever> astk: then its definitely not reading that file
<astk> right
<clever> astk: you can always override it with `--arg config '{ allowUnfree = true; }'`
<clever> then it will directly use that value, and not need a config.nix file
<clever> astk: oh, but if your basing it on my machotool, it wont accept that config arg
<clever> with import <nixpkgs> {};
<clever> change this line to:
<clever> with import <nixpkgs> { config.allowUnfree = true; };
knupfer has joined #nixos
wavirc22 has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4fb1fd69e8b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4fb1fd69e8b (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8c651aa852c (from 20 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
wavirc22 has joined #nixos
<astk> oh, its wierd, if i add a txt file using windows explorer the WSL ubuntu doesnt see it
wildtrees has joined #nixos
gagbo has quit [Quit: I'm out !]
<astk> it doesnt appear on ls
<clever> astk: WSL has its own root dir
<astk> yeah, its in appdata/local
<astk> thats what i was editing
<{^_^}> [nixpkgs] @grahamc opened pull request #78778 → guile: disable parallel building for reproducibility → https://git.io/JvYjv
<clever> oh, and i heard that WSL can only see files that have a special tag, and explorer has no way to create that tag
<clever> explorer also destroys the tag when copying files (the copy wont have it)
<clever> only if you make the file from within WSL can it be seen by WSL
<gustavderdrache> there are a lot of limitations with file handling in WSL 1
<astk> damn now vi cant seem to obtain permissions to edit files!
<gustavderdrache> better to use the command line or a remote editor to manipulate files
chloekek has quit [Quit: WeeChat 2.6]
<clever> astk: i think fixing virtualbox is going to be simpler
<astk> there isnt much support from Oracle!
<astk> its so close to working, im going to persevere
<clever> astk: i do have experience with using virtualbox
<astk> it was some kind of intermittently reproducable bug with not being able to switch between NET and Bridged addapters
<{^_^}> [nixpkgs] @jonringer merged pull request #78656 → vim-prosession: add vim plugin → https://git.io/JvmbW
<{^_^}> [nixpkgs] @jonringer pushed commit from gauvain@govanify.com to master « vimPlugins.vim-prosession: init at 2019-11-01 »: https://git.io/JvYjR
endformationage has joined #nixos
<clever> astk: i try to limit the vm to a single adapter, but i do sometimes change what mode its in (bridged or nat)
<clever> astk: the guest network may need to be bumped (or just fully reboot) when changing the mode
markusl2ll has quit [Quit: leaving]
wavirc22 has quit [Ping timeout: 268 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<astk> yeah, tried that, not works
<astk> gave up
[Leary] has joined #nixos
<clever> astk: how does it not work?
wavirc22 has joined #nixos
<astk> now it says; error: anonymous function at ...allowUnfree ...
Lears has quit [Read error: Connection reset by peer]
isHavvyGhosting has joined #nixos
<astk> if trying to use the addaptor from within a running session after having changed its mode from NAT to Bridged, after disconnecting and reconnecting it, it does not have the right ip addr
<astk> which should be something like 198... and its 127..
<astk> if trying to close the session and change to Bridged and then start the machine, it crashes and wont start
<astk> complaining about having a bad network addapter
<astk> but what about this "called with unexpected argument 'allowUnfree', at" error?
wild_buffalo has quit [Quit: WeeChat 2.3]
bvdw has quit [Read error: Connection reset by peer]
<clever> astk: can you paste the full error message?
isHavvy has quit [Ping timeout: 248 seconds]
bvdw has joined #nixos
wavirc22 has quit [Ping timeout: 240 seconds]
fendor has joined #nixos
wavirc22 has joined #nixos
<clever> 2020-01-29 12:54:49 < clever> with import <nixpkgs> { config.allowUnfree = true; };
orivej has joined #nixos
<clever> astk: your missing the config. in there
<astk> thanks!
nikola_i has quit [Ping timeout: 260 seconds]
<clever> astk: also, you can make this nix code fetch rotate for you
<astk> error: haskellPackages.multi-ghc-travis has been renamed to haskell-ci, which is now on hackage
<clever> astk: let rotate = fetchFromGitHub { owner = "owner"; repo = "repo"; rev = "sha1"; sha256 = "hash"; }; in
<{^_^}> [nixpkgs] @drewrisinger opened pull request #78779 → python3Packages.cirq: init at 0.6.1 → https://git.io/JvOeG
<clever> astk: add that on line 2, then use "${rotate}/rotate" on line 5, instead of ./rotate
<clever> repeat on 6&7
<clever> astk: you need to edit the .cabal file in rotate, to depend on haskell-ci, not multi-ghc-travis
<astk> awesome, thanks
leotaku_ has joined #nixos
leotaku has quit [Ping timeout: 268 seconds]
<astk> actually, it does not mention travis at all...
ksixty1 has joined #nixos
<astk> i dont know how to tell it to use haskell-ci instead of multi-ghc-travis, since it does not have something to swap
<clever> astk: oh, and you want to use `nix-build -A rotate`
<clever> astk: if you dont use `-A rotate`, then your telling nix to build every single package on hackage
<clever> and some of them have been renamed, causing errors
<astk> well its probably rotateUse
<astk> but yeah, adding -A fixes that error, thanks!
<astk> ok, now its installing things which is a good sign
marek_ has joined #nixos
<astk> im going to get snacks wile it does and finish writing up the example
<astk> cheers
<infinisil> "Get your snacks!" – Etho
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/6d9a4a615ee (from 28 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<clever> astk: oh, you can also use `nix build -f . rotateUse`
<clever> astk: that will give nicer progress information
orivej has quit [Ping timeout: 272 seconds]
astk has quit [Ping timeout: 260 seconds]
WinchellsM has joined #nixos
<WinchellsM> Has anyone here used nix-bundle to convert nix expressions into static binaries (runnable on machines without nix)?
<clever> WinchellsM: yes
<infinisil> ,ask
<{^_^}> Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
<WinchellsM> clever: Did you ever run into "execvp" errors on the binaries generated?
<{^_^}> matthewbauer/nix-bundle#58 (by georgewsinger, 20 minutes ago, open): Getting execvp errors when running binaries on another machine
wavirc22 has quit [Ping timeout: 260 seconds]
wavirc22 has joined #nixos
domogled has joined #nixos
<clever> WinchellsM: one min...
<WinchellsM> clever: Ok :]
dm9 has quit [Quit: WeeChat 2.7]
vidbina has quit [Ping timeout: 248 seconds]
<{^_^}> [nix] @edolstra pushed to flakes « Add flag --override-input to override specific lock file entries »: https://git.io/JvOvm
astk has joined #nixos
<{^_^}> [nixpkgs] @ju1m opened pull request #78780 → Dovecot fts xapian → https://git.io/JvOvG
fresheyeball has quit [Quit: WeeChat 2.6]
<astk> hmmm, the build fails
<clever> WinchellsM: ive only used nix-bundle via nix-build, not the nix-bundle.sh script
wavirc22 has quit [Ping timeout: 268 seconds]
<astk> if i try to build rotateUse it complains about rotate being missing...
<astk> "rotateUse-0 is broken due to missing package rotate"
<clever> astk: can you pastebin the full error?
wavirc22 has joined #nixos
<WinchellsM> clever: What do you mean via `nix-build`?
<WinchellsM> How do you do that?
<WinchellsM> Maybe doing it that way will solve these issues
alex`` has quit [Ping timeout: 268 seconds]
<astk> nix-build -A rotateUse
nikola_i has joined #nixos
<clever> WinchellsM: this line will generate a bundle that contains ${installer} and will run ${installer}/bin/installer when ran
alex`` has joined #nixos
<clever> WinchellsM: in my case, its an installer that does more complex stuff, but it can also just be a simple program
wavirc22 has quit [Ping timeout: 265 seconds]
jonten has joined #nixos
<astk> "nix-build -A rotate" works, as does "nix-build -A rotateBackpack"
Jackneill has quit [Remote host closed the connection]
wavirc22 has joined #nixos
<astk> does nix not work with backpack?
<clever> astk: i think it does
<clever> astk: i can reproduce your error on nixos
<astk> are you using the version that fetches it from github like you suggested above?
<astk> or by cloning and adding the local default.nix with overlays?
<clever> astk: i just cloned master
<astk> im doing it with the cloned repo because i think it makes a better instructional for people starting from their own projects
<astk> but i was going to try your way to make the error easier to help with, but if you have it thats ok
<astk> any idea whats going wrong?
<clever> [clever@system76:~/apps/rotateDistributed/rotateDistributed]$ nix-shell -A rotateUse.env
<clever> [nix-shell:~/apps/rotateDistributed/rotateDistributed]$ ghc-pkg list
wavirc22 has quit [Ping timeout: 268 seconds]
<clever> astk: this does see a rotate-0
<clever> [nix-shell:~/apps/rotateDistributed/rotateDistributed]$ ghc-pkg describe rotate
<clever> and i can describe it...
<astk> yeah, and rebuilding either the rotate or rotateBackpack does not do anything extra, so it is already built
<astk> thats why i thought it could have been a problem with backpack
<astk> definite rotateUse-0-4cxovrg1nEO41pgr9xs9Yu-rotate-example
<astk> depends rotate-0-5roixrQ9SJsK8PoTZLTRTO+85Wo50ewzyeB3BeoE8ESFo
<astk> depends rotate-0-5roixrQ9SJsK8PoTZLTRTO+HfdL02s7O6O2XxWX3yuvHz
<clever> nix will build all deps automatically for you
<astk> right, but its trying to use 2 different builds of the same thing?
dashkal has quit [Ping timeout: 260 seconds]
<clever> yeah, thats weird
<clever> ive never seen haskell do it in this weird way before
wavirc22 has joined #nixos
<clever> astk: what is the 2nd string of garbage, after the + char?
<astk> !? your asking me?
<astk> its my second day using nix
<clever> astk: thats a haskell question, ghc-pkg does that on every os
nikola_i has quit [Ping timeout: 245 seconds]
bgamari_ is now known as bgamari
<astk> well even so, i have no clue
<astk> aha!!
<astk> it could be a backpack problem
<astk> i did;
<astk> cabal v2-run rotateUse
<astk> and it says;
cosimone_ has joined #nixos
<astk> Configuring library for rotate-0..
<astk> cabal: Your compiler does not support Backpack. To use this feature you must use GHC 8.1 or later
<clever> astk: nixos wont have a ghc in $PATH by default
<astk> GHCi, version 8.0.2
<clever> oh, one sec...
<clever> for me, i used ghc 8.6.5
<clever> so thats not it
cosimone has quit [Ping timeout: 248 seconds]
cosimone_ is now known as cosimone
<astk> hmm
wavirc22 has quit [Ping timeout: 260 seconds]
<astk> obviously i would hit an unknown incomprehensible error on my second day
<clever> astk: i think we want to ask #haskell about the error
<{^_^}> [nixpkgs] @grahamc opened pull request #78781 → gnugp22: try to fix dates (r13y) → https://git.io/JvOfI
<astk> ok
lord| has quit [Ping timeout: 268 seconds]
wavirc22 has joined #nixos
orivej has joined #nixos
dashkal has joined #nixos
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
wavirc22 has quit [Ping timeout: 265 seconds]
elibrokeit has quit [Quit: A random quit message]
iqubic has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
elibrokeit has joined #nixos
endformationage has quit [Ping timeout: 240 seconds]
wavirc22 has joined #nixos
nikola_i has joined #nixos
astk_ has joined #nixos
<astk_> whats the code koz?
<astk_> i cant find it in the scrollup
astk has quit [Ping timeout: 260 seconds]
acarrico has quit [Ping timeout: 240 seconds]
opthomasprime has left #nixos [#nixos]
<astk_> oops wrong channel...
<astk_> clever: could it be something to do with needing to tell nix which dependency to use?
<gchristensen> dream: in my editor hacking on a Nix expression. I add a fixed-output derivation and don't specify the hash, run :tofu, and have `sha256 = "the-hash";` magically inserted
magnetophon has quit [Remote host closed the connection]
<simpson> I would like that. I would also like it, though, if there were tooling that interacts with existing signatures from upstream. (And sorry, I know this has been discussed before.)
wavirc22 has quit [Ping timeout: 240 seconds]
<astk_> also, how do i get nix to use the more up to date ghc?
<simpson> TOFU is quite good, but it leads to the occasional top-of-Lobsters rant about Nix impurities~
ddellaco1 has joined #nixos
<clever> astk_: replace `haskellPackages` with `haskell.packages.ghc881`
<gchristensen> simpson: agreed
<astk_> in "haskellPackages.override" ?
wavirc22 has joined #nixos
chloekek has joined #nixos
<clever> astk_: yep
ddellacosta has quit [Ping timeout: 240 seconds]
<charukiewicz> I'm trying to build the haskell package persistent-mysql from nixos-unstable, but I want to turn off tests. I'm using the following to attempt to override doCheck but it doesn't seem to work:
<charukiewicz> persistent-mysql = pkgsUnstable.haskellPackages.persistent-mysql_2_10_2_2 // { doCheck = false; };
werner292 has joined #nixos
<clever> charukiewicz: you want haskell.lib.dontCheck, // wont work
<charukiewicz> Is there some better way to pass { doCheck = false; } into the package before it gets evalulated?
lord| has joined #nixos
<clever> charukiewicz: persistent-mysql = haskell.lib.dontCheck super.persistent-mysql_2_10_2_2;
<charukiewicz> okay thanks, let me try
werner291 has quit [Ping timeout: 265 seconds]
werner292 is now known as werner291
<nh2> worldofpeace: https://github.com/NixOS/nixpkgs/pull/77998#issuecomment-576045357 - what did you mean by "staging release branch"?
jonten has quit [Ping timeout: 265 seconds]
wavirc22 has quit [Ping timeout: 268 seconds]
<nh2> I'm wondering whether I should recommend https://github.com/NixOS/nixpkgs/pull/78736 to use `staging-19.09`
<{^_^}> #78736 (by wamserma, 19 hours ago, open): cpio: 2.12 -> 2.13 (fix CVE-2019-14866, backport)
<gchristensen> nh2: right to 19.09 imo
domogled has quit [Ping timeout: 240 seconds]
jasom has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
wavirc22 has joined #nixos
<astk_> clever: ok, that gives a different error
<astk_> it says it does not have the correct base
<astk_> i think i was using --allow-new when building with cabal
<astk_> is there a similar option for nix/
<astk_> ?
jtcs has quit [Ping timeout: 260 seconds]
<nh2> astk_: yes, the `doJailbreak` function
juliancoffee has joined #nixos
lord| has quit [Ping timeout: 265 seconds]
<charukiewicz> clever: Thanks! That did end up working for us.
lord| has joined #nixos
astk_ has quit [Ping timeout: 260 seconds]
jtcs has joined #nixos
astk96 has joined #nixos
<astk96> should i use stack or something to try and get the correct versions?
<astk96> instead of trying to use --allow-new
wavirc22 has quit [Ping timeout: 268 seconds]
marek_ has quit [Ping timeout: 260 seconds]
growpotk- has joined #nixos
Chiliparrot has joined #nixos
jasom has joined #nixos
<srk> astk96: haskell.lib.doJailbreak (haskellPackages.call...)
Chiliparrot has quit [Client Quit]
wavirc22 has joined #nixos
astk99 has joined #nixos
juliancoffee has quit [Remote host closed the connection]
astk96 has quit [Ping timeout: 260 seconds]
juliancoffee has joined #nixos
UndefinedIsNotAF has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
fendor has quit [Read error: Connection reset by peer]
<astk99> here is the full error; https://pastebin.com/raw/ibQa8pKT
<astk99> it fails at; Setup: Encountered missing or private dependencies: base >=4.5 && <4.13
<astk99> which is what --allow-new would bypass with cabal
fendor has joined #nixos
<clever> astk99: are you using doJailbreak?
sumner[m] has left #nixos ["User left"]
<astk99> no, what that?
<clever> 2020-01-29 14:56:39 < srk> astk96: haskell.lib.doJailbreak (haskellPackages.call...)
<clever> 2020-01-29 14:46:26 < nh2> astk_: yes, the `doJailbreak` function
<astk99> heres the default.nix
<clever> astk99: it does exactly what you want
<astk99> awesome!
<infinisil> astk99: Check the logs at https://logs.nix.samueldr.com/nixos/ when you're having connections problems. Three people now mentioned doJailbreak
<astk99> no i didnt see that, i got logged out for a while
<infinisil> (That's why I'm saying to check the logs)
jgeerds has joined #nixos
<astk99> so i put that after the = sign on each of the class
<astk99> calls*
<clever> astk99: yep
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8f69e4e45e5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
wavirc22 has quit [Ping timeout: 268 seconds]
smatting has quit [Ping timeout: 272 seconds]
wavirc22 has joined #nixos
karantan has joined #nixos
domogled has joined #nixos
astk99 has quit [Ping timeout: 260 seconds]
astk has joined #nixos
<astk> if i add the jailbrake calls i get the exact same error...
karantan has quit [Client Quit]
Dagger2 is now known as Dagger
* clever heads off to bed
<astk> you didnt manage to get it to work on your end?
domogled has quit [Ping timeout: 268 seconds]
<astk> ok, well, thanks for the help anyway, getting 99% of the way there is still something i guess
<astk> sad though, almost had a least working backpack example on nix!
wavirc22 has quit [Ping timeout: 268 seconds]
wavirc22 has joined #nixos
veske has joined #nixos
veske has quit [Client Quit]
nikola_i has quit [Ping timeout: 260 seconds]
astk has quit [Ping timeout: 260 seconds]
growpotk- has quit [Quit: ZNC 1.7.5 - https://znc.in]
growpotk- has joined #nixos
karantan has joined #nixos
karantan has quit [Client Quit]
orivej has quit [Ping timeout: 265 seconds]
drew_b has quit [Quit: WeeChat 2.7]
drakonis has joined #nixos
aiverson has joined #nixos
Chiliparrot has joined #nixos
cosimone has quit [Quit: Terminated!]
hoobershaggus has joined #nixos
fling has quit [Ping timeout: 265 seconds]
psyanticy has quit [Quit: Connection closed for inactivity]
<{^_^}> [nix] @edolstra pushed to flakes « Clean up the lock file handling flags »: https://git.io/JvOTB
<{^_^}> [nixpkgs] @cust0dian opened pull request #78782 → nushell: 0.8.0 -> 0.9.0 → https://git.io/JvOT0
tertl3 has quit [Quit: Connection closed for inactivity]
dashkal has quit [Changing host]
dashkal has joined #nixos
<dashkal> Hello. I'm currently trying to get nix working on top of linux mint with cinnimon as the desktop env. Running on a laptop with hybrid intel/nvidia. Nix installed X11 apps fail, but I'm hacing no problem with apt installed ones. Any idea what I configured wrong?
<dashkal> NixOS itself did NOT like the laptop. Gave up entirely after a day of fighting with that.
o1lo01ol1o has joined #nixos
<dashkal> glxgears gives me 'Error: couldn't get an RGB, Double-buffered visual'
<dashkal> Alacritty gave me 'Error creating GL context; Received multiple errors. Errors: `[OsError("Could not create EGL display object"), OsError("`glXQueryExtensionsString` found no glX extensions")]`'
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<{^_^}> [nix] @edolstra pushed to flakes « Revive the flake cache »: https://git.io/JvOTj
<{^_^}> #9415 (by joepie91, 4 years ago, open): libGL not working on non-NixOS (without setting up)
troydm has joined #nixos
<WinchellsM> I installed a nix package via `nix-env -i <package_name>` in Arch Linux, but it's not showing up in my PATH. I assume my PATH has to be modified to include some nix directory?
<dashkal> myme: Danke. Reading now.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cust0dian has joined #nixos
mexisme has joined #nixos
mexisme has quit [Client Quit]
cosimone has joined #nixos
Neo-- has quit [Ping timeout: 260 seconds]
drakonis has quit [Quit: WeeChat 2.6]
<dashkal> myme: Much appreciated. nixGL did the job.
<myme> Pleasure.
wavirc22 has quit [Ping timeout: 272 seconds]
wavirc22 has joined #nixos
hoobershaggus has quit [Remote host closed the connection]
genesis has joined #nixos
growpotk- has quit [Quit: ZNC 1.7.5 - https://znc.in]
wavirc22 has quit [Ping timeout: 265 seconds]
valdosti has joined #nixos
drakonis has joined #nixos
growpotk- has joined #nixos
wavirc22 has joined #nixos
fling has joined #nixos
<aiverson> How would I get lorri daemon to stop building things unless something has changed?
wavirc22 has quit [Ping timeout: 265 seconds]
wavirc22 has joined #nixos
growpotk- has quit [Ping timeout: 240 seconds]
growpotk- has joined #nixos
lukash is now known as lukash|away
<tilpner> aiverson: Do you by any chance have a ./. anywhere?
virus_dave has quit [Quit: virus_dave]
<{^_^}> [nixpkgs] @simson opened pull request #78783 → i3ipc: 1.6.0 -> 2.1.1 → https://git.io/JvOI2
fendor__ has joined #nixos
<aiverson> I do.
<aiverson> It's in a default.nix fetched from GitHub.
<__red__> any npm/node experts here?
<__red__> I have no experience in it, but supposedly npm install -g ask-cli was supposed to install a thing globally
<__red__> but since nixos doesn't allow iunstallation into /nix/store... that's obviously broken
<__red__> so I ran it without the -g to make it local
<__red__> and it's sinstalled it node_modules directory
<__red__> but I don't seem to be able to get the executable to execute
fendor__ has quit [Quit: Leaving]
<tilpner> aiverson: That could cause lots of unnecessary rebuilds, try to filter out quickly-changing paths
<tilpner> Or ask in #lorri, they know better than me
<aiverson> There shouldn't be any quickly-changing paths. It's in a source being retrieved from github using fetchFromGithub. It's sha256 hashed and pinned to a revision. Nothing in there should be changing.
wavirc22 has quit [Ping timeout: 268 seconds]
wavirc22 has joined #nixos
Naptra has joined #nixos
<tilpner> aiverson: So where is the ./.?
<aiverson> Here's my shell.nix
knupfer has quit [Ping timeout: 248 seconds]
<aiverson> { pkgs ? import <nixpkgs> {} }:
<aiverson> buildInputs = [
<aiverson> mkShell {
<aiverson> (pkgs.callPackage (pkgs.fetchFromGitHub {
<aiverson> with pkgs;
<aiverson> repo = "lovr";
<aiverson> owner = "aiverson";
<aiverson> rev = "ab9073ba3cbd9965bc46dc768ecee26568d02f96";
<aiverson> sha256 = "16chcpn4gzgm5r94mkbsc9jm8mj1kd1f40mdb7azf3c9mv52gi62";
<aiverson> fetchSubmodules = true;
<aiverson> }) {})
<aiverson> ];
<tilpner> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<aiverson> That's it.
wavirc22 has quit [Ping timeout: 260 seconds]
<aiverson> The ./. is in default.nix in https://github.com/aiverson/lovr
tilcreator has quit [Ping timeout: 268 seconds]
fling has quit [Ping timeout: 265 seconds]
wavirc22 has joined #nixos
<tilpner> That looks fine to me
fling has joined #nixos
fling has quit [Read error: Connection reset by peer]
Naptra has quit [Ping timeout: 272 seconds]
fling has joined #nixos
tilcreator has joined #nixos
wavirc22 has quit [Ping timeout: 268 seconds]
__monty__ has quit [Quit: leaving]
fusion809 has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @bbigras opened pull request #78784 → lego: 3.2.0 -> 3.3.0 → https://git.io/JvOL2
wavirc22 has joined #nixos
growpotk- has quit [Ping timeout: 272 seconds]
<xa0[m]> Maybe the wrong crowd to talk this over with, but do any of you fear "distro lockin" with nixos? I like that I can always up and move my system to any new distro, which are usually mostly the same, but with nix I have to fundamantally change so much of my stuff that it might make me stay out of pure laziness
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78328 → cinnamon.cinnamon-control-center: init at 4.4.0 → https://git.io/JvLda
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvOLo
<asymmetric> i'm on 19.09, and i tried running unstable.calibre
<asymmetric> it works fine, but if i try to view PDFs, EPUBs etc with its viewer, there's an error in the console: ImportError: No module named QtWebEngineCore
<drakonis> xa0[m]: i'd describe the move to changing the way you do things
<drakonis> rather than lock-in
o1lo01ol1o has joined #nixos
<drakonis> the traditional distributions give you a kind of freedom to shoot your foot that nix does not
<asymmetric> i don't understand why the calibre package doesn't fully describe its dependencies, making it possible to run it from a different channel than the rest of my system
<drakonis> as the foot shooting here has to instead be authorized
<manveru> xa0[m]: i just don't see much appeal in other distros anymore... after hopping a ton around, they are all just different paintjobs for the same fragile house of cards that could be achieved in relatively few lines of nixos config (relatively :)
<{^_^}> [nixpkgs] @purefn opened pull request #78786 → dockerTools.buildLayeredImage: store all paths passed in final layer → https://git.io/JvOLd
<drakonis> traditional distros exist to fulfill specific niches
<cransom> xa0[m]: i'm not sure i ever understood distro hopping. if one didn't work how you wanted it, you could go to another sure, but then you never learned how to fix it to do what you wanted so you likely never learned teh system or the system was too complex to change.
<drakonis> after moving into nix, the desire to distro hopping will eventually subside as you end jumping back and forth
<drakonis> into nix
<drakonis> because it is far more convenient than your average distribution
<manveru> cransom: i mostly did it because i didn't dare touching much of the defaults to have less painful upgrades... so you start hunting for the perfect preset that fits you
<cransom> before i had a nixos focused job, i used whatever linux $work had. that was all the commitment i ever had to a particular distro.
Jackneill has quit [Remote host closed the connection]
<cransom> manveru: yeah, that resonates. i would be prepared to reinstall a distro whenever it got into a weird state that i coudln't recover from. i don't have that problem now.
<drakonis> with nix, the concern of the user regarding keeping the system working goes away, as long as they don't have to tread new ground, which then, learning the nix language becomes desirable
<drakonis> because on average, if something breaks, everyone will see it break when they upgrade
v88m has quit [Ping timeout: 272 seconds]
mDuff has joined #nixos
juliancoffee has quit [Remote host closed the connection]
<dashkal> How sane is it to setup nixos on a usb disk? Context here is I want something not my main hard drive to contain the experiments until I find a configuration that works with this laptop. Something persistant between reboots.
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/JvOtW
<dashkal> The only reason I'm using nix on mint is because, well, it works.
waleee-cl has quit [Quit: Connection closed for inactivity]
<manveru> usb should work just fine, if a bit slow maybe :)
<cransom> you'll be sad if you use a dollar store thumb drive, i expect.
<dashkal> Slow I can tolerate. It's mostly so I can mess with configs and see if I can resolve those last issues. Also so I can reproduce them so I can ask for help properly. "X freezes when I try to reboot it" isn't a very good bug report.
<drakonis> dashkal: exfat is slow
<drakonis> and it will probably heckin burn up your flash memory
<dashkal> Hrm, suppose I could rig something so most of everything stays in a copy-on-write to ramdisk except for /etc/nix*
<dashkal> Meh, project for another time I suppose.
<gchristensen> dashkal: what hardware are you running on?
lovesegfault has joined #nixos
<dashkal> Lenovo P52s
<infinisil> dashkal: I believe linux caches almost everything in memory already, I don't think it would be that slow assuming you have some RAM
<gchristensen> looking at the specs, I don't really think you're going to have much troulbe with NixOS working smoothly
<dashkal> The problems I was running into are all basically around X. Trying to kill X hangs the system. So reboots, for example, always lead to having to hard kill the system by holding the power button.
<gchristensen> ah, so you've already tried but am having trouble?
<dashkal> Yes. I gave up and installed mint so I could have a working system. I haven't given up (Barely set up on this distro), but frustration got kinda high.
<gchristensen> ouch
<dashkal> I realize my contradiction, what I get for enter-before-editing.
<dashkal> I'm not given up, but I did need a working system so I just put mint on to get that.
<gchristensen> you could add a partition and install nixos to that so you can reboot to swap between
<gchristensen> not ideal but an option
<dashkal> I doubt I can do that. Is it possible to resize crypto partitions?
<gchristensen> I wouldn't bet on it
<lovesegfault> gchristensen: Do you use ZFS on your laptop?
<gchristensen> I do
mexisme has joined #nixos
<dashkal> The other issue I have is that I have (and sadly need) win10 on this machine. Need to get dual boot working properly. The systemd-boot instructions lead to a bootloader that couldn't see it. I think I can make grub behave, but hadn't reached that point before the X issues defeated me.
<gchristensen> oof yeah okay you've got some tough things there
<dashkal> I think I'll table this for the moment. Try again when I can get two laptops next to each other so I have a working rig to use to look up docs / ask for help. My phone was not cutting it :)
lsix has quit [Quit: WeeChat 2.6]
<dashkal> I never keep anything vital only on the machine anyway, so wiping is always an option.
<gchristensen> aye, that will help for sure!
* infinisil was saved many times by a second machine
<infinisil> I also have an installation stick ready at all times
<dashkal> I have one, but it's currently mint flavoured :P I'll fix that soon.
<aswanson> anyone have experience serving more than one service via nginx on nixos? I'm attempting to serve tt-rss and try out roundcube on my vps and I'm having trouble understanding how to have nix configure nginx to serve the apps at different URIs (nginx newbie)
<andi-> aswanson: just configure different services.nginx.virtualHosts.<name> instances
<andi-> e.g. ….virtualHosts."ttrss.mydomain.local".locations.proxyPass = "http://localhost:1234";
<makefu> hey i am trying to fix my server and i've booted into a live image, mounted root to /mnt and ran nixos-enter. however i am unable to run nixos-rebuild to change the configuration with the error "error: cloning builder process: Operation not permitted" "error: unable to start build process"
<andi-> and some other ….virtualHosts."roundcube.mydomain.local".locations.proxyPass = "http://localhost:4567";
<aswanson> andi-: oh, is there no option to say serve one at `https://<domain>/rss` and the other at `https://<domain>/mail`? I have to proxy them to different ports?
<andi-> aswanson: you can do not need different ports. I just did that to illustrate how you would serve two services. You can do that with paths but that is most likely not covered by the default modules of those services.
<aswanson> andi-: I've been attempting to do that by just copying out the nginx config that's being done in the tt-rss default.nix into services.nginx.virtualhosts but not having luck at serving it at /rss
anderslundstedt has quit [Quit: leaving]
<aswanson> so far I can replicate what is going in the default tt-rss config but I thought I could just change the location with the index from "/" to "/tt-rss" but that doesn't seem to work
srid-irccloud has joined #nixos
werner292 has joined #nixos
<andi-> aswanson: I can't help you with that... I always google for a while with that rewriting and PHP Magic that is going on there :/
anderslundstedt has joined #nixos
fendor has quit [Quit: Leaving]
werner291 has quit [Ping timeout: 265 seconds]
trevthedev has joined #nixos
werner292 is now known as werner291
<trevthedev> Good timezone, I was wondering about the Dwarf Fortress package
<trevthedev> it seems to get it's hashes from a json file, but I don't think that these hashes are the game's binary, is there any way of telling what exactly they are? I really want to get the 0.47.01 update, but have no idea how on earth the DF does things, haha
<trevthedev> ttps://github.com/NixOS/nixpkgs/blob/master/pkgs/games/dwarf-fortress/game.json the json file i'm referring to^
gustavderdrache has quit [Quit: Leaving.]
<trevthedev> ran that as instructed and it just returned an empty game.json file
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
aminechikhaoui has joined #nixos
acarrico has joined #nixos
<dashkal> There we go, install media restored.
noudle has quit []
marek_ has joined #nixos
<fre> anyone solved the riddle of how to migrate a nix store to a new partition through nixops?
ixxie has quit [Ping timeout: 272 seconds]
<dashkal> Any suggestions on a reasonably minimal terminal emulator (I used to use urxvt) that can still use the system clipboard (as opposed to cutbuffer only)?
anderslundstedt has quit [Quit: leaving]
<gchristensen> I don't really know what that means, but I like alacritty :P
* DigitalKiwi is a fan of alacritty
<andi-> DigitalKiwi: shameless plug of my own thing: https://github.com/andir/ate
<andi-> err dashkal
<dashkal> I'm currently running that. What incantation do I need for clipboard integration? Something in keybinds I suppose.
<dashkal> alacritty
<lovesegfault> gchristensen: I'm currently using xfs but I need to reformat anyways to add more swap and I might do ZFS
aminechikhaoui has quit [Client Quit]
<lovesegfault> just because I want snapshotting :P
<gchristensen> Ctrl-Shift-C copies for me
<lovesegfault> andi-: o/
<andi-> \
<dashkal> So it does! I hadn't tried that yet. Ok, I'm set then
aminechikhaoui has joined #nixos
<gchristensen> lovesegfault: if you have a second machine with some disk space, part of your backup strategy is a breeeeeeeze.
<lovesegfault> gchristensen: Can it do encrypted snapshots?
<lovesegfault> And yeah, I have a VPS I want to backup to
<gchristensen> according to #zfsonlinux, encryption is not production ready https://github.com/zfsonlinux/zfs/issues/6224
<trevthedev> got lazy and just manually prefetched it, found out what the hashes were based on update script, thanks for pointing me in that direction, haha
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/274d02e4776 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> zfsonlinux/zfs#6224 (by zrav, 2 years ago, open): File incorrectly zeroed when receiving incremental stream that toggles -L
anderslundstedt has joined #nixos
<xa0[m]> How awful would it be to have a nixos system with a guix-managed home… 😄
<trevthedev> now with the new package need to figure out how to build again
anderslundstedt has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @reset opened pull request #78787 → Add Darwin support to dotnetCorePackages → https://git.io/JvOqH
<lovesegfault> gchristensen: Hmm, do you use it unencrypted or do you have ZFS on LUKS?
<gchristensen> lovesegfault: ZFS on LUKS
<lovesegfault> Hmm, how do you secure the backups? Do you just rely on the receiver also being LUKS-encrypted?
anderslundstedt has joined #nixos
<gchristensen> well... right now, no, it is just some disks in a box in my home
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78745 → nixos/dhcpcd: Add option for dhcpcd waiting behaviour → https://git.io/JvY1Z
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvOqh
<gchristensen> encryption would be a good upgrade, but it hasn't been top priority yet :/
kenjis1 has quit [Ping timeout: 260 seconds]
trevthedev has quit [Quit: WeeChat 2.6]
chloekek has quit [Ping timeout: 268 seconds]
mexisme has quit [Ping timeout: 268 seconds]
trevthedev has joined #nixos
<trevthedev> It may be the migraine but I can't for the life of me figure out how to build a package
* lovesegfault steals the Nix sources from gchristensen's home
<lovesegfault> Muahahaha
<trevthedev> trying to build the Dwarf Fortress package to see if it actually worked or not but nix-build '<nixpkgs>' default.nix just says it won't build
<gchristensen> lovesegfault: oh ... no .... :| :)
<trevthedev> error: Please be informed that this pseudo-package is not the only part of
<trevthedev> Nixpkgs that fails to evaluate. You should not evaluate entire Nixpkgs
<trevthedev> without some special measures to handle failing packages, like those taken
<trevthedev> by Hydra.
<gchristensen> trevthedev: you're trying to build all of nixpkgs. try: nix-build . -A dwarf-fortress
jtojnar_ has joined #nixos
<trevthedev> error: cannot auto-call a function that has an argument without a default value ('pkgs')
bennofs has quit [Remote host closed the connection]
bennofs has joined #nixos
immae has quit [Quit: WeeChat 2.4]
jtojnar_ has quit [Quit: jtojnar_]
<trevthedev> ran nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'
<trevthedev> now i need to fix bloody unf*ck
immae has joined #nixos
wildtrees has quit [Remote host closed the connection]
<gchristensen> eh?
wildtrees has joined #nixos
<DigitalKiwi> fwiw (little) i've been using native encryption on zfs on linux for a year with no (un)known data loss (but i don't do a lot of zfs send/recv either)
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
<gchristensen> DigitalKiwi: oh good to know :)
<DigitalKiwi> on multiple computers too
<DigitalKiwi> and a lot of drives
<trevthedev> man is updating Dwarf-Fortress is a huge PITA
<DigitalKiwi> well "a lot" being like all of my external drives which is like 5
<trevthedev> need to update dfhack, TWBT, unf*ck, etc
genesis has quit [Ping timeout: 272 seconds]
<trevthedev> i give up lol, just gonna open an issue and pray XD
tv has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75405 → muse: Use wrapQtAppsHook → https://git.io/JeSjq
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvOYL
<{^_^}> [nixpkgs] @alyssais opened pull request #78789 → dino: 2019-10-28 -> 0.1.0 → https://git.io/JvOYt
<{^_^}> [nixpkgs] @alyssais merged pull request #77922 → squashfs-tools-ng: 0.7 -> 0.8 → https://git.io/JvTwP
<{^_^}> [nixpkgs] @alyssais pushed to master « squashfs-tools-ng: 0.7 -> 0.8 »: https://git.io/JvOYm
genesis has joined #nixos
marek_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @andersk to release-19.09 « muse: Use wrapQtAppsHook. »: https://git.io/JvOYs
<{^_^}> [nixpkgs] @NorfairKing opened pull request #78790 → super-user-spark: 0.3.2.0 -> 0.4.0.4 → https://git.io/JvOYC
<trevthedev> opened issue, hoping that everything clears up soon, haha
trevthedev has left #nixos ["WeeChat 2.6"]
<{^_^}> [nixpkgs] @alyssais closed pull request #78789 → dino: 2019-10-28 -> 0.1.0 → https://git.io/JvOYt
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @aanderse merged pull request #78419 → nixos/unifi: use systemd tmpfiles instead of preStart → https://git.io/JvtbZ
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvOYu