erasmas has quit [(Ping timeout: 250 seconds)]
thc202 has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
indi_ has joined #nixos
<NixOS_GitHub> [nixpkgs] ninegua opened pull request #21194: Fix netpbm installation for OS X (master...master) https://git.io/v19px
<angerman> acowley wel... I'm just started breaking cabal2nix open yesterday night...
<angerman> acowley let's see where this leads me.
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<gchristensen> niksnut: are these failures possibly due to changes to nix? https://hydra.nixos.org/build/44846830/nixlog/1 I'm wondering if we should instead downgrade nix :|
<clever> gchristensen: http://imgur.com/a/jZo7m and i have partial docs!
<gchristensen> nice!
<clever> gchristensen: with a minor hicup, generating that entire tree takes 32 seconds at 100% cpu load
<clever> during which time, the UI is unresponsive, and chrome wont even let you reload the page
markus1189 has joined #nixos
<pie_> clever, webui for nixos config?
<clever> pie_: yeah
<pie_> nheat.
<pie_> *neat
<clever> looks like a decent chunk of the cpu is spent pre-adding all the nodes to everything
<clever> i should probably defer that until you expand the folder
<pie_> whats it written in
<pie_> not php i hope :P
<pie_> hrhr
<clever> pie_: the server is QT (c++), the client is javascript
<pie_> interesting
markus1199 has quit [(Ping timeout: 258 seconds)]
eacameron has quit [(Remote host closed the connection)]
jazzencat has quit [(Quit: Lost terminal)]
<clever> gchristensen: down to 8 seconds load time
<sheenobu> wooo. any c+c would be great https://github.com/sheenobu/nixos/tree/master/pkgs/gomobile
digitus has quit [(Quit: digitus)]
stepcut has joined #nixos
<clever> gchristensen: and there, much better, 0.29 seconds!
zraexy has quit [(Ping timeout: 245 seconds)]
<sheenobu> ehhh actually I'm not sure i like depending on android
proteusguy has joined #nixos
<gchristensen> haha
<gchristensen> nice, clever
<clever> gchristensen: i have to pre-add children to every visible folder, to make the + option beside them
<clever> gchristensen: but pre-adding all children to all visible folders costs 8 seconds
<clever> gchristensen: so i had to cheat, and only add 1 child to every visible folder
systemfault has joined #nixos
wangoe has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
stepcut has quit [(Read error: Connection reset by peer)]
stepcut has joined #nixos
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
eacameron has quit [(Ping timeout: 245 seconds)]
georges-duperon has quit [(Ping timeout: 260 seconds)]
stepcut has quit [(Remote host closed the connection)]
kier has joined #nixos
xwvvvvwx has quit [(Ping timeout: 250 seconds)]
Rotaerk has joined #nixos
georges-duperon has joined #nixos
acowley is now known as acowley_away
[0x4A6F] has quit [(Ping timeout: 268 seconds)]
obadz has quit [(Quit: WeeChat 1.5)]
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21193: Fixup description of ripgrep. (master...patch-1) https://git.io/v19AW
[0x4A6F] has joined #nixos
zraexy has joined #nixos
<pie_> systemd is fine until something breaks.
<pie_> how do i get my kde desktop environment thing after it crashes?
obadz has joined #nixos
<pie_> the "start menu" analog
<pie_> i mean x is running fine still, and applications, just the "UI" crashed
<ToxicFrog> pie_: alt-F2, `kstart plasmashell` ?
<ToxicFrog> Or run that from an xterm if you have one lying around, but expect lots of logging spam.
* ToxicFrog considers installing NixOS on their laptop
<ToxicFrog> I like SUSE but first-class ZFS support is pretty tempting
<pie_> almost, plasma-desktop
<pie_> thanks
<pie_> ok fine, i cant blame not finding that on systemd :P
<ToxicFrog> On mine it's plasmashell, but I guess we have different parts of KDE crashing :P
<pie_> i dont have a plasmashell
<NixOS_GitHub> [nixpkgs] sh01 opened pull request #21196: ImageMagick: Add additional mirror. (release-16.09...cp_imagemagick_mirror) https://git.io/v1HTN
matthewbauer has joined #nixos
ambro718 has quit [(Ping timeout: 240 seconds)]
jazzencat has joined #nixos
sheenobu has quit [(Ping timeout: 264 seconds)]
acowley_away is now known as acowley
<Rotaerk> hmm, https://github.com/NixOS/cabal2nix indicates that cabal2nix cabal://name-version will automatically download from hackage
ebzzry has quit [(Ping timeout: 252 seconds)]
<Rotaerk> but when I try it, it just complains that ~/.cabal/packages/hackage.haskell.org/00-index.tar does not exist
<Rotaerk> oh, maybe I need to explicitly update cabal first...
<Rotaerk> yea nm that was it...
mudri has quit [(Quit: WeeChat 1.6)]
matthewbauer has quit [(Ping timeout: 246 seconds)]
himmAllRight has quit [(Quit: WeeChat 1.6)]
<taktoa> I keep reading "plasmashell" as "plasm as hell"
<Rotaerk> heh
zagy1 has joined #nixos
matthewbauer has joined #nixos
zagy has quit [(Ping timeout: 245 seconds)]
<jazzencat> That's not too far off the mark, taktoa. ;)
ben__ is now known as ben
<jazzencat> My /etc/localtime points to the correct timezone file, but the clock displays the time 8hours ahead of the actual time where I am.
<taktoa> make sure ntpd (or chrony) is running?
matthewbauer has quit [(Remote host closed the connection)]
<jazzencat> Okay, started the ntpd.
<jazzencat> I guess I need to restart?
matthewbauer has joined #nixos
jazzencat has quit [(Quit: Lost terminal)]
matthewbauer has quit [(Ping timeout: 245 seconds)]
matthewbauer has joined #nixos
aneeshusa has quit [(Ping timeout: 245 seconds)]
ebzzry has joined #nixos
matthewbauer has quit [(Ping timeout: 240 seconds)]
filterfish has joined #nixos
ebzzry has quit [(Ping timeout: 245 seconds)]
Shou has quit [(Ping timeout: 240 seconds)]
ebzzry has joined #nixos
ebzzry has quit [(Ping timeout: 256 seconds)]
data8 has joined #nixos
mbrgm has quit [(Ping timeout: 258 seconds)]
mbrgm has joined #nixos
data8 has quit [(Client Quit)]
derjohn_mobi has joined #nixos
jazzencat has joined #nixos
aj__ has quit [(Ping timeout: 256 seconds)]
<jazzencat> Okay, I have tried setting my date correctly with date -s "yyyy-MM-dd HH:MM TZ" but when I check in console it always shows the TZ as UTC. I have made sure /etc/localtime is pointing at the correct TZ file. And after a reboot the date and time are always back to UTC. I have run hwclock --systohc as well, but that doesn't help either.
ebzzry has joined #nixos
<jazzencat> I have searched NixOS wiki, Arch wiki and the rest of the internet, but nothing I find does the trick.
ebzzry has quit [(Ping timeout: 264 seconds)]
data8 has joined #nixos
acowley is now known as acowley_away
Wizek has joined #nixos
Wizek_ has joined #nixos
filterfish has quit [(Remote host closed the connection)]
systemfault has quit [(Quit: Bye!)]
danielrf1 has quit [(Read error: Connection reset by peer)]
danielrf1 has joined #nixos
roconnor has quit [(Ping timeout: 264 seconds)]
filterfish has joined #nixos
matthewbauer has joined #nixos
rardiol has quit [(Ping timeout: 268 seconds)]
matthewbauer has quit [(Ping timeout: 252 seconds)]
takle_ has joined #nixos
takle has quit [(Ping timeout: 248 seconds)]
redmq has quit [(Ping timeout: 268 seconds)]
georges-duperon has quit [(Ping timeout: 260 seconds)]
georges-duperon has joined #nixos
PragCyphr has joined #nixos
ebzzry has joined #nixos
PragCyph1 has quit [(Ping timeout: 250 seconds)]
SovereignBleak has quit [(Quit: Connection closed for inactivity)]
redmq has joined #nixos
AllanEspinosa has joined #nixos
hexagoxel has quit [(Ping timeout: 264 seconds)]
hexagoxel has joined #nixos
systemfault has joined #nixos
zraexy has quit [(Ping timeout: 264 seconds)]
stepcut has joined #nixos
mguentner2 has quit [(Quit: WeeChat 1.6)]
sigmundv has quit [(Ping timeout: 250 seconds)]
mguentner has joined #nixos
redmq has quit [(Ping timeout: 240 seconds)]
matthewbauer has joined #nixos
filterfish_ has joined #nixos
matthewbauer has quit [(Ping timeout: 248 seconds)]
filterfish has quit [(Ping timeout: 240 seconds)]
paperd has joined #nixos
paperd has quit [(Client Quit)]
paperd has joined #nixos
tmobile has joined #nixos
paperd has quit [(Quit: WeeChat 1.5)]
slack1256 has quit [(Remote host closed the connection)]
mizu_no_oto has joined #nixos
tmobile has left #nixos []
fractal has quit [(Quit: StormBNC - Free 5-Network BNC Service - http://stormbit.net/help/stormbnc)]
zraexy has joined #nixos
data8 has quit [(Quit: nite nite)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
data8 has joined #nixos
fractal has joined #nixos
eacameron has joined #nixos
mguentner2 has joined #nixos
matthewbauer has joined #nixos
mguentner has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 246 seconds)]
jacob_ has joined #nixos
jacob_ is now known as Guest28597
matthewbauer has quit [(Ping timeout: 260 seconds)]
AllanEspinosa has quit [(Ping timeout: 264 seconds)]
redmq has joined #nixos
sheenobu has joined #nixos
redmq has quit [(Ping timeout: 264 seconds)]
eacameron has joined #nixos
matthewbauer has joined #nixos
zraexy has quit [(Ping timeout: 265 seconds)]
eacameron has quit [(Ping timeout: 258 seconds)]
matthewbauer has quit [(Ping timeout: 256 seconds)]
matthewbauer has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
acertain has quit [(Remote host closed the connection)]
alx741 has quit [(Ping timeout: 260 seconds)]
data8 has quit [(Quit: nite nite)]
osa1 has joined #nixos
alx741 has joined #nixos
reinzeldroid has joined #nixos
data8 has joined #nixos
reinzeldroid has quit [(Read error: No route to host)]
marusich has joined #nixos
justan0theruser has joined #nixos
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
justanotheruser has quit [(Ping timeout: 258 seconds)]
uralbash has quit [(Ping timeout: 258 seconds)]
uralbash has joined #nixos
steshaw has joined #nixos
jpdoyle2 has joined #nixos
ThatDocsLady has quit [(Ping timeout: 246 seconds)]
BlessJah has quit [(Ping timeout: 246 seconds)]
alx741 has quit [(Ping timeout: 264 seconds)]
amarsman has quit [(Quit: amarsman)]
BlessJah has joined #nixos
matthewbauer has quit [(Ping timeout: 245 seconds)]
deepwater__ has quit [(Quit: Leaving)]
deepwater has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
Mercuria1Alchemi has joined #nixos
herzmeister has quit [(Ping timeout: 250 seconds)]
jpdoyle2 has quit [(Ping timeout: 256 seconds)]
hotfuzz_ has joined #nixos
hotfuzz has quit [(Read error: Connection reset by peer)]
pi3r has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
reinzelmann has joined #nixos
matthewbauer has quit [(Ping timeout: 240 seconds)]
matthewbauer has joined #nixos
herzmeister has joined #nixos
Fare has joined #nixos
alx741 has joined #nixos
Wizek has quit [(Ping timeout: 260 seconds)]
Wizek_ has quit [(Ping timeout: 258 seconds)]
data8 has quit [(Quit: nite nite)]
redmq has joined #nixos
Dezgeg has joined #nixos
pi3r has quit [(Read error: Connection reset by peer)]
amarsman has joined #nixos
marusich has quit [(Quit: Leaving)]
redmq has quit [(Ping timeout: 252 seconds)]
ebzzry has quit [(Ping timeout: 240 seconds)]
<angerman> can I inspect a closure? Or how much can I treat a function or set as data?
<osa1> Where can I see where my sysconfdir is?
<osa1> I can't find nix.conf file, `sudo updatedb && locate nix.conf` doesn't find it...
<angerman> wasn't that in /etc/nixos/ or so? But it's a long time since I played with nixos :-/
<osa1> I'm not on nixos, this is a linux system with nix installation
rly has joined #nixos
<LnL> osa1: /etc/nix/nix.conf, but it might not exist yet
<osa1> LnL: I was trying to avoid making changes to / , is there an alternative location? (my /nix is a `mount --bind`)
matthewbauer has quit [(Ping timeout: 258 seconds)]
<LnL> you can override it
<osa1> how?
<LnL> export NIX_CONF_DIR=/nix/etc/nix
rly has quit [(Ping timeout: 250 seconds)]
indi_ has quit [()]
johann__ has joined #nixos
kampfschlaefer has joined #nixos
<osa1> OK so this documentation is actually wrong: "A number of persistent settings of Nix are stored in the file sysconfdir/nix/nix.conf." it should be $NIX_CONF_DIR/nix.conf
zagy1 has quit [(Quit: Leaving.)]
Itkovian has joined #nixos
<LnL> where did you see that?
pi3r has joined #nixos
estewei has quit [(Ping timeout: 268 seconds)]
MichaelRaskin has quit [(Quit: MichaelRaskin)]
ixxie has joined #nixos
estewei has joined #nixos
ckauhaus has joined #nixos
Fare has quit [(Ping timeout: 245 seconds)]
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
<LnL> ikwildrpepper: niksnut: who should I ping about mac6?
<ikwildrpepper> LnL: ping niksnut, I'm on the road today
<LnL> it's on one of yours I think
derjohn_mobi has quit [(Ping timeout: 252 seconds)]
acowley_away has quit [(Ping timeout: 244 seconds)]
amarsman_ has joined #nixos
amarsman has quit [(Ping timeout: 258 seconds)]
amarsman_ is now known as amarsman
<angerman> where can I find more about meta.platrofms in mkDerivation?
rly has joined #nixos
acowley_away has joined #nixos
<LnL> gchristensen: there are also pytest issues on trunk
<LnL> angerman: I think it's just metadata
<angerman> yea. looks like it doesn't *ignore* packages that don't match the platform :-/
<LnL> not if you have allowBroken = true;
<angerman> LnL well, without allow broken it bails out :-)
<angerman> so I guess I need to somehow filter my set.
<angerman> LnL do you know how much I can treat expressions as data?
<LnL> nix-instantiate --eval --strict -E 'with import <nixpkgs>' {}; hello.meta' --json
<LnL> they are just attributes
<angerman> LnL ohh. I mean from within nix.
<angerman> LnL say I import a set or lambda. What can I do with it? Inspect, transform,...?
<angerman> LnL I guess my question boils down to, how much can I treat nix as lisp?
<angerman> And if so, how can I dig into lambdas or sets?
ryanartecona has joined #nixos
<LnL> nix-instantiate --eval --strict -E 'with import <nixpkgs> {}; lib.any (x: x == system) hello.meta.platforms'
<LnL> it's just an attribute set, so you can query it
<kmicu> You can treat nix as lisp so much that you can use Guix with Guile as lisp ( ͡~ ͜ʖ ͡°)
redmq has joined #nixos
<angerman> hmm...
<angerman> guix is too much gnu.
nschoe has joined #nixos
<kmicu> Guix is as much GNU as GIMP or GNOME :)
redmq has quit [(Ping timeout: 245 seconds)]
dgn has joined #nixos
<angerman> I guess I need to study the builtins more.
jpdoyle2 has joined #nixos
eacameron has joined #nixos
goibhniu has joined #nixos
latk has joined #nixos
eacameron has quit [(Ping timeout: 256 seconds)]
thc202 has joined #nixos
<NixOS_GitHub> [nixpkgs] AndersonTorres opened pull request #21199: Docutils: 0.12 -> 0.13.1 (master...docutils) https://git.io/v1H23
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/v1H2G
<NixOS_GitHub> nixpkgs/master 1b6e2b9 Paul Liu: Fix netpbm installation for OS X (#21194)...
civodul has joined #nixos
FRidh has joined #nixos
georges-duperon has quit [(Ping timeout: 250 seconds)]
Wizek has joined #nixos
georges-duperon has joined #nixos
jpdoyle2 has quit [(Quit: WeeChat 1.5)]
<manveru> when i have something like `yay = { hi = "foo"; there = "bar"; }` how can i set these in a let scope like `let; with yay; inherit hi there;`
<manveru> atm i have `hi = yay.hi; there = yay.there;` but there must be a better way, right?
<LnL> manveru: inherit (yay) hi there;
<manveru> oh cool :D
<manveru> thx
M-wkennington has quit [(Quit: Client limit exceeded: 5000)]
jazzencat has quit [(Quit: Lost terminal)]
derjohn_mobi has joined #nixos
jazzencat has joined #nixos
<NixOS_GitHub> [nix] LnL7 opened pull request #1154: manual: add NIX_CONF_DIR to conf-file section (master...manual-conf-file) https://git.io/v1Hwt
<jazzencat> So, here is the set of commands that I have run to try to get my clock fixed: date -s '2016-12-16 02:02-08:00' then tzselect and set the timezone to PST, then I ran hwclock --systohc and checked. The timezone linked to by /etc/localtime is correct, but it stubbornly keeps the timezone with UTC. And with a restart simply undoes everything again. I added the TZ='America/Vancouver'; export TZ to my .profile
<jazzencat> files as well and still nothing helps
<goibhniu> jazzencat do you not want to use ntp?
<kmicu> jazzencat: what’s the output of ‘nixos-option time.timeZone’ ?
<goibhniu> jazzencat: you can see the configuration options in `man configuration.nix` e.g. services.ntp.*
<kmicu> ntp is enabled by default so I’m assuming time.timeZone is not set for America/Vancouver.
<goibhniu> ah, nice!
<jazzencat> Value: "Pacific/Vancouver" Default: "UTC"
<jazzencat> Does it need to be America/Vancouver rather than Pacific/Vancouver?
<jazzencat> The Timezone line in configuration.nix is uncommented.
<kmicu> It must be ‘America/Vancouver’ and you did not get an error, b/c we ‘love’ stringly typed programming :)
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-16.09: https://git.io/v1Hr3
<NixOS_GitHub> nixpkgs/release-16.09 d039ff2 Sebastian Hagen: ImageMagick: Add additional mirror....
<jazzencat> /etc/localtime links to /etc/zoneinfo/Pacific/Vancouver
<jazzencat> So change Pacific/Vancouver to America/Vancouver in configuration.nix and rebuild?
<kmicu> Yep, that ‘/etc/zoneinfo/Pacific/Vancouver’ is probably created by your configuration.nix so if you set time.timeZone = "Stringy/Typed" then it probably set /etc/zoneinfo/Stringly/Typed link ( ͡~ ͜ʖ ͡°)
<jazzencat> Oh, would you look at that. :D
<jazzencat> Now it shows the correct time :D
<jazzencat> \0/~
<jazzencat> I knew I was missing something simple. Never mind date -s and hwclock --systohc, just update configuration.nix :D
<LnL> jazzencat: only one of those containes the truth :)
<jazzencat> Haha.
takle_ has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #21114: pythonPackages.natbib: fix for Python 3.5 (master...pathlib_python35m) https://git.io/v1Prx
<jazzencat> Yeah, I'm starting to like NixOS more and more despite the learning curve. Having less and less desire to bother with Debian or any other FHS compliant distro.
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v1Hov
<NixOS_GitHub> nixpkgs/master f3108c5 Luis Pedro Coelho: pythonPackages.natbib: fix for Python 3.5 (#21114)...
<jazzencat> The GNOME install broke, I go to configuration.nix delete the services.xserver.gnome3 line and rebuild. Problem solved.
<rly> jazzencat: if I can offer a suggestion, you can also run multiple versions of nixpkgs at the same time for different packages.
<LnL> my download-from-binary-cache gets stuck in a read :(
<rly> LnL: enterprise network or flaky one?
<rly> jazzencat: for some packages I run bleeding edge, but for the base system I use 16.09.
<jazzencat> Oh, nice. So one version for my DEs one for my Media programs etc, for example?
<rly> jazzencat: exactly.
<LnL> rly: no, and curl works fine
<rly> LnL: so, you are not on an enterprise network?
<LnL> rly: I'm at home
<jazzencat> So, I would run nix-env -iA nixos-unstable vlc to make nixos take the vlc package from the unstable channel?
<rly> LnL: some home routers don't work well with that particular program.
<LnL> rly: my other machine works fine
<LnL> never had any issues like that before
ixxie has quit [(Ping timeout: 250 seconds)]
<rly> LnL: OK, in that case, you could start using perldb? ;)
<LnL> it should be building locally because it's not available
<jazzencat> Oh, and the trouble I was having getting my wifi to work with my home router seems to be just limited to my connman not liking my home router. It works elswewhere.
<rly> jazzencat: I have broken wifi too, because the Dell people decided to put in El Cheapo hardware in a high-end model >.>.
<rly> jazzencat: I am thinking of just getting something external.
<LnL> rly: it's a vm if that matters
<jazzencat> Well, since I can plug in directly to the modem here at home, it isn't such a big deal.
<rly> LnL: it would be interesting to see if you can make it self-contained.
<LnL> rly: --fallback gets past it
<rly> LnL: i.e. the output for a bug report would then be a full Nix file which can be run without any interaction.
<jazzencat> When I go out to do my work at the local coffeeshop or library I can connect to the wifi there with no problems, so it's only an interesting puzzle. I'll probably use it to practice troubleshooting network connections at some point.
<jazzencat> Currently my nix-channel --list looks like this nixos https://nixos.org/channels/nixos-16.09 and nixos-unstable https://nixos.org/channels/nixos-unstable
<jazzencat> Any other reccommendations to add?
<ronny> hi
<kmicu> My recommendation is to not add more :)
<jazzencat> Hey, ronny
<ronny> ah, phew, the unstable channel is back to working
<jazzencat> And if I have to define my own package I can do nix-env -iA . foo from the directory where I made it?
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v1HKW
<NixOS_GitHub> nixpkgs/master be24f1d Will Dietz: musl: 1.1.11 -> 1.1.15, add security patch. (#21023)
<ronny> jazzencat: if you put a default.nix there that works
<LnL> rly: want to look at the release-16.09 tests first
<rly> jazzencat: you can set nix.path in configuration.nix.
<rly> jazzencat: you can add a my-nixpkgs entry too.
<LnL> ronny: yeah, was caused by a crossStdenv eval issue
<jazzencat> Okay. Is there anything I can't set in the mighty configuration.nix? ~,^
<rly> jazzencat: the my-nixpkgs one would point at the bleeding edge.
<LnL> ronny: travis now tries to eval the job
<rly> jazzencat: no
<rly> jazzencat: but you might want to use modules for organisation.
<rly> jazzencat: IIRC, configuration.nix is also semantically a module.
<LnL> jazzencat: you can add your own modules if you want, so no :)
redmq has joined #nixos
<jazzencat> nix-channel --add https://nixos.org/channels/my-nixpkgs nixos-bleeding
<jazzencat> Is that the command?
<LnL> rly: stuck again :(
<jazzencat> Oh, so I could have user1Configuration.nix and user2Configuration.nix?
<jazzencat> I'm still working to wrap my head around how NixOS does everything and how expressions and all that work :D
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v1HKK
<NixOS_GitHub> nixpkgs/master dec91d3 Maximilian Güntner: gem-config: add postgresql buildInput for sequel_pg (#20981)...
<rly> jazzencat: I just point it at a git checkout.
<rly> jazzencat: perhaps what you are doing is also possible in some way, but I don't think like that.
<LnL> jazzencat: yes nixos-config in your NIX_PATH
<jazzencat> Okay, so I need to learn how to work with git. I have zero clue there so far. I'll add that to my current list of reading to do.
redmq has quit [(Ping timeout: 258 seconds)]
<tumm> jazzencat: https://xkcd.com/1597/
<LnL> don't do that, you'll lose your reflog
jensens has joined #nixos
<LnL> but yes git's commands and flags are pretty inconsistent
nekroze has joined #nixos
iyzsong has joined #nixos
ixxie has joined #nixos
<nekroze> After removing nixos containers I am left with a directory under it in /var/lib/containers/mycontainer/var/empty and even as root I don't have permissions to remove it. How can I get rid of this? its causing problems
derjohn_mobi has quit [(Ping timeout: 260 seconds)]
<rly> nekroze: please show exact error message.
stepcut has joined #nixos
<rly> testp[5770]: segfault at 0 ip 00000000004010d9 sp 00007fffffffce90 error 4 in testp[400000+f8000]
<rly> Does anyone know what testp is?
<kmicu> jazzencat: if you need something that is already in Nixpkgs repo, but still not available in channels then you can create an ad–hoc shell e.g. ‘nix-shell -p enlightenment.terminology -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/master.tar.gz --command 'terminology'’ gives you the latest available ‘terminology’. No git required.
<nekroze> rly: rm: cannot remove '/var/lib/containers/fronten/var/empty': Operation not permitted
<rly> kmicu: is that cached?
<rly> kmicu: (because then I could get rid of my git checkout)
<rly> nekroze: mount | grep fronten
<kmicu> nekroze: what are permissions on that folder?
<nekroze> kmicu: no output
<nekroze> I think it might have had a mount there when it was a container
rardiol has joined #nixos
fritschy has joined #nixos
<rly> nekroze: perhaps it used extended attributes.
<rly> nekroze: lsattr empty
<nekroze> kmicu: dr-xr-xr-x 2 root root
derjohn_mobi has joined #nixos
stepcut has quit [(Ping timeout: 245 seconds)]
<rly> Root is not all powerful anymore on Linux, which is a bit weird.
<nekroze> Yeah I am getting nothing from any methods I can find
<nekroze> good old reboot included
<rly> nekroze: did you try the extended attributes suggestion (lsatttr /var/lib/containers/fronten/var/empty)?
<nekroze> yeah did nothing
mudri has joined #nixos
<rly> nekroze: nothing? As in "no output"?
<nekroze> yes
<nekroze> well a blank line
<rly> I think there should be a command saying rmrly ;)
<nekroze> rly: agreed
<nekroze> If I run lsattr on var instead of empty I get "----i-------------- /var/lib/containers/fronten/var/empty"
<goibhniu> but lsattr should tell you
<goibhniu> that's it, it's immutable
<goibhniu> `chattr -i /var/lib/containers/fronten/var/empty`
<nekroze> goibhniu: you sir are a gentleman and a scholar
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #21201: virtualbox: 5.1.8 -> 5.1.10 (master...u/vbox) https://git.io/v1Hiv
<nekroze> it works
<rly> nekroze: and I am just part of the plebs? ;)
<nekroze> rly: not at all good fellow
<nekroze> ale for all
<goibhniu> hehe ... glad it worked :D
<nekroze> me too. I was at a loss, the googs helped naught
ryanartecona has quit [(Quit: ryanartecona)]
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/v1Hiw
<NixOS_GitHub> nixpkgs/master 8b9ced0 Domen Kožar: rocksdb: build also static lib for rocksdb-haskell
<sphalerite> If I want to install a package with some modifications (modifications that can't be done just by passing different parameters to the expression), how should I go about it? Edit it in my local copy of nixpkgs then install from there?
takle has joined #nixos
<joachifm> sphalerite: that's one way, packageOverrides is another
<sphalerite> oh right using ~/.nixpkgs/config.nix?
<joachifm> sphalerite: or nixpkgs.config.packageOverrides, if you're on NixOS
<sphalerite> oops, forgot to mention that this is for my user environment, not systemPackages
<joachifm> if it's supposed to be user local, ~/.nixpkgs might be most apropos
<NixOS_GitHub> [nixpkgs] kierdavis opened pull request #21202: unigine-valley: refactor (master...unigine-valley) https://git.io/v1HXG
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/v1HX0
<NixOS_GitHub> nixpkgs/master a4586f8 Franz Pletz: wireguard: 20161129 -> 20161209
<NixOS_GitHub> nixpkgs/master 3fc60ec Bart Brouns: remove mutt-kz: deprecated in favor of neomutt...
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #20952: remove mutt-kz: deprecated in favor of neomutt (master...mutt-kz) https://git.io/v10gd
<7YUAAVO5L> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v1HXS
<7YUAAVO5L> nixpkgs/master 52c34f6 Profpatsch: liquibase: improve external jar integration (#20818)...
<21WAACOT1> [nixpkgs] fpletz closed pull request #20818: liquibase: improve external jar integration (master...liquibase) https://git.io/v13IN
nekroze has quit [(Quit: Lost terminal)]
page has quit [(Quit: leaving)]
page has joined #nixos
johann__ has quit [(Quit: Leaving.)]
<viric> libreoffice works really slow and bad for me. But I guess it's just a matter of libreoffice
<NixOS_GitHub> [nixpkgs] joachifm pushed 5 new commits to master: https://git.io/v1HMm
<NixOS_GitHub> nixpkgs/master 994b243 Michael Alan Dorman: elpa-packages: 2016-12-15
<NixOS_GitHub> nixpkgs/master c5e64ba Michael Alan Dorman: melpa-packages: 2016-12-15...
<NixOS_GitHub> nixpkgs/master 01d5fda Michael Alan Dorman: melpa-stable-packages: 2016-12-15...
<viric> (making 25 slides, with pictures in them)
<rardiol> did someone put gcc7 in nixpkgs yet?
<viric> it's super slow, dragging objects paints quite bad on screen, black text sometimes becomes white (therefore invisible), the text background colours don't appear in presentation mode, ...
<sphalerite> viric: apparently increasing the amount of RAM libreoffice can use, which is somewhere in the settings, can help
<aszlig> domenkozar: hm, i wonder why it's trying this? testdir.tmpdir.ensure_dir('.cache').chmod(0)
<viric> sphalerite: really?
<aszlig> domenkozar: are they expecting tests to be run as root?
<aszlig> aka "real root"
<domenkozar> I'm pretty sure not
berce has joined #nixos
<viric> sphalerite: I will check
<domenkozar> maybe 0 gets fetched from some get_uid() call?
<domenkozar> or is that the actualy line in code
<aszlig> lemme check that
<domenkozar> I'd guess they detect current user as 0
<gchristensen> niksnut: ping, I think there are more problems from that change.
<domenkozar> and then they create cache directory to be sure
<sphalerite> viric: but yes, those problems also sound very much like libreoffice to me :D
<gchristensen> oh are you ( domenkozar, aszlig ) discussing hydra?
steshaw has quit [(Quit: Connection closed for inactivity)]
<domenkozar> gchristensen: yes
<gchristensen> pytest?
<domenkozar> yes
eacameron has joined #nixos
<sphalerite> Hm, I have a mysterious partition lying around on the desktop I intend to install nixos on... Refuses to mount. Anyone know any tricks to help identify that sort of thing?
<gchristensen> great :) I thought I broke everything when I pushed that... I can't imagine how I caused it though.
<domenkozar> gchristensen: pushed what?
<gchristensen> pushed changes to 16.09 causing everything to break
<gchristensen> just the roundup changes.
<domenkozar> ah, it's hydra namespacing
<gchristensen> yeah
<gchristensen> my preference would be for that to be rolled back until we can at least release with it
xwvvvvwx has joined #nixos
<domenkozar> it's hard to rollback nix schema changes
<domenkozar> but I guess namespacing could be reverted if needed
<gchristensen> oh there was a schema change with that?
jgertm_ has joined #nixos
<aszlig> hm, we could build the older releases on different machines
<aszlig> ... with older nix
eacameron has quit [(Ping timeout: 250 seconds)]
<aszlig> for example by setting requiredSystemFeatures = [ "legacy-nix" ] on all jobs
<gchristensen> older releases? I'm just thinking 16.09
<aszlig> err, with older releases i mean "older than master"
<domenkozar> so right now every software that does
<domenkozar> uid = getuid()
<domenkozar> something(uid)
<domenkozar> fails to build
<LnL> gchristensen: I tried to look at the nixos tests but download-from-binary-cache gets stuck
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v1HDn
<NixOS_GitHub> nixpkgs/master f0e77cd Joachim Fasting: grsecurity: 4.8.14-201612110933 -> 4.8.15-201612151923
<aszlig> domenkozar: we could also use seccomp to forge the uid as well :-D
<gchristensen> LnL: looks like people smarter than me are on it :)
xwvvvvwx has quit [(Client Quit)]
<LnL> allright
<aszlig> domenkozar: i tried to patch *stat() with seccomp, but that's very difficult to do
<domenkozar> aszlig: I have no idea what are the implications of that, but for sure we don't want to patch all code doing POSIX
<aszlig> domenkozar: well, that code assumes that if you're running as uid 0 you can do everything
<domenkozar> it's assuming your user has permissions to folders owned by your user
<aszlig> domenkozar: that works
<aszlig> what's not working is if you make assumptions about uid 0 being something special
pi3r has quit [(Ping timeout: 258 seconds)]
herzmeister has quit [(Quit: Leaving)]
<sphalerite> Why does allowUnfree = false not prevent firmware-linux-nonfree from being installed?
herzmeister has joined #nixos
<joachifm> sphalerite: because free != libre
<joachifm> sphalerite: in this context ...
<domenkozar> yeah stallman would be angry
<sphalerite> wait so what is unfree?
<joachifm> it's come up quite a few times, it is a bit vague
<jazzencat> *sigh* I forgot the title of a game I was interested in and now I can't find it anymore.
<jazzencat> I would recognize it if I saw it...
filterfish has joined #nixos
xadi has joined #nixos
filterfish_ has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/v1HyH
<NixOS_GitHub> nixpkgs/master 38ea64e aszlig: qemu_test: Make chown() calls to the store a no-op...
<sphalerite> jazzencat: describe it? Who knows, maybe someone will know :p
johann__ has joined #nixos
saintromuald has quit [(Remote host closed the connection)]
<peti> Yo Haskell users, please note that hydra.cryp.to is about to go offline. If you're still using that server as a binary cache for Nix, then you're about to see some error messaes. :-)
<jazzencat> The game world and it's history is procedurally generated when you start a game, art-style uses cel-shaded/pixel aesthetic. If you die you have to complete a mission to resurrect otherwise your character can permanently die. Multiplayer support and you can host your own instance of the game world if you wish to.
xwvvvvwx has joined #nixos
<jazzencat> The game world will generate a history depending on what happens you might have elves and dwarves living side-by-side or you could have a world with one of the races missing.
phanimahesh has joined #nixos
xwvvvvwx_ has joined #nixos
xwvvvvwx_ has quit [(Client Quit)]
xwvvvvwx has quit [(Read error: No route to host)]
<jazzencat> And damned if I can remember the name of it. I don't think it was released. Or it wasn't about a year ago...
<aszlig> domenkozar: oh, that pytest thing chmods to 0000 and tries to see whether failure is happening to create subsequent files
<aszlig> domenkozar: and if that fails, the test succeeds
<gchristensen> heh... how did we break that test?
<aszlig> but i'm not sure how this could not be the case within the builder sandbox
johann__ has quit [(Quit: Leaving.)]
<aszlig> ah, wait... we're running as "root" X-D
SovereignBleak has joined #nixos
<domenkozar> exactly
<aszlig> so the permissions are effective, but the inner uid 0 is still able to access it because it is the owner of the outside uid
<aszlig> so that's perfectly normal, but the tests assume they're not being run as root
<domenkozar> peti: are you doing haskell updates now on hydra.nixos.org?
<aszlig> otoh... this is kind of a privilege escalation...
<gchristensen> aszlig: is there a reason we chose to run them as 0?
<domenkozar> peti: also, did you see that ghc 8.0.2 fixes ABI determinism?
<domenkozar> and split-objs on darwin
<aszlig> as a normal user even if you're the owner you can't just say for example chdir into a dir with perms 0000, but if you're using a user namespace you can
Shou has joined #nixos
<domenkozar> aszlig: maybe we can also fix it upstream
<gchristensen> :/
<domenkozar> we have core pytest contributor here
<aszlig> domenkozar: good idea, who's gonna post it to the LKML? ;-)
<domenkozar> oh I meant pytest as upstream, not kernel.
<domenkozar> but feel free :-)
<aszlig> domenkozar: i guess this is more like a kernel issue, but i'm not quite sure in which situations this could impact fs security
<NixOS_GitHub> [nixpkgs] frontsideair opened pull request #21203: flow: 0.36.0 -> 0.37.1 (master...flow-36-37) https://git.io/v1H9l
<NixOS_GitHub> [nixpkgs] domenkozar pushed 3 new commits to release-16.09: https://git.io/v1H9R
<NixOS_GitHub> nixpkgs/release-16.09 56ed586 Domen Kožar: rocksdb: 4.1 -> 4.13...
<NixOS_GitHub> nixpkgs/release-16.09 8ba1a1d Domen Kožar: rocksdb: compile as shared lib...
<NixOS_GitHub> nixpkgs/release-16.09 9f62c2f Domen Kožar: rocksdb: build also static lib for rocksdb-haskell...
zagy has joined #nixos
<aszlig> otoh... it's not, if the user has owner privs he/she can simply chmod it back so it's accessible
<gchristensen> niksnut: nixos-16.09 hasn't updated yet, despite the nixpkgs-channels being pushed to 12 hours or more ago
pie_ has quit [(Ping timeout: 268 seconds)]
<aszlig> so i guess running as non-root within the user namespace should get rid of most of the headaches
<domenkozar> aszlig: what's stopping us from doing that?
<domenkozar> it would also be more like it used to be with chroot
saintromuald has joined #nixos
<aszlig> domenkozar: nothing at all, i didn't actually expect my seccomp stuff to get merged
zagy has quit [(Quit: Leaving.)]
<aszlig> domenkozar: particularly because of this comment: https://github.com/NixOS/nixpkgs/pull/20500#issuecomment-261302434
redmq has joined #nixos
xadi has quit [(Quit: Leaving.)]
sdothum has joined #nixos
xadi has joined #nixos
xadi has quit [(Client Quit)]
xadi has joined #nixos
<rly> I have a load of 40 on my laptop, because a nixos-rebuild is building a lot. How can I limit this to some sane value?
<rly> I.e., it's probably memory related.
<rly> I would like it to cap at 8GB for building stuff.
<gchristensen> aszlig: also this comment: "So all in all, I think this is not worth it" :P
<clever> rly: did you use -j on nixos-rebuild?
mizu_no_oto has joined #nixos
redmq has quit [(Ping timeout: 264 seconds)]
<osa1> where can I see nixpkgs.makeWrapper documentation?
<rly> clever: I think I did set it to use all cores, but that shouldn't result in a completely unresponsive laptop, but then again, it might also have been another program or it's that there is/was an I/O system problem.
<clever> rly: can you pastebin the contents of /etc/nix/nix.conf?
<rly> clever: I think I am also rebuilding chrome, while I just want to piggy back on Hydra build outputs.
<rly> clever: how should NIX_PATH look like when it's just pointing at a channel?
<rly> clever: I am currently pointing at a git checkout of 16.09.
<clever> rly: nixpkgs=/path/tp/nixpkgs
<rly> clever: that results in massive rebuildings.
<clever> rly: which branch of which git repo are you using?
<rly> clever: origin/release-16.09
<rly> clever: of the nixpkgs repo.
<clever> rly: thats not the 16.09 channel
<gchristensen> rly: what is the io wait when your load is that high?
<gchristensen> rly: are there any messages in dmesg?
<NixOS_GitHub> [nix] domenkozar pushed 2 new commits to master: https://git.io/v1HHD
<NixOS_GitHub> nix/master 36b3e15 Daiderd Jordan: manual: add NIX_CONF_DIR to conf-file section
<NixOS_GitHub> nix/master 621a53f Domen Kožar: Merge pull request #1154 from LnL7/manual-conf-file...
zagy has joined #nixos
<clever> rly: can you pastebin the contents of /etc/nix/nix.conf?
johann__ has joined #nixos
<rly> gchristensen: I have noticed something weird on this hardware, though. Sometimes I need to run emacs 4 times before it runs.
<clever> rly: line 5 says it can do up to 5 derivations at once, and line 16 says each of those can use 8 cores on make
<rly> gchristensen: vim doesn't have that problem.
<clever> rly: so it will run up to 40 things at once
<clever> correction, 8, and 8, so 64 things
<rly> clever: I don't particularly care on which it spends X resources, so it seems weird to specify it like that.
<rly> clever: I would expect the multiplication of those numbers to be bounded.
<rly> clever: i.e. a configuration option where I can specify N < X*Y.
<clever> rly: the issue, is that build-cores doesnt always help derivations (some ignore it), so if you go purely with build-max-jobs=1, build-cores=10, it will waste resources
<gchristensen> I always run with jobs=<cores> and cores=1
<clever> rly: but on the other hand, build-max-jobs=10, build-cores=1 will waste resources when you have a series of derivations that depend on eachother
<rly> I am also not sure why build-cores is specified twice.
<clever> each derivation will only use 1 core
<clever> rly: you probably added it to extraConfig
takle has quit [()]
<rly> clever: indeed. Thansk
<clever> rly: it lines up perfectly
mudri` has joined #nixos
mudri has quit [(Ping timeout: 248 seconds)]
<clever> rly: another issue related to what you said, build-cores simply sets $NIX_BUILD_CORES when a build starts, and the stdenv may run make -j $NIX_BUILD_CORES, or it may just run make
<clever> rly: so nix-daemon doesnt know how many cores a given derivation is actualy going to use
<clever> and i saw a bug a few months ago where a derivation ignored that entirely, and used /proc/cpuinfo to max the system out on its own
filterfish has quit [(Remote host closed the connection)]
<rly> clever: I think this all should be managed via cgroups.
<clever> and there is a related problem ive run into on my arm builders
<rly> clever: on Linux that is, not sure about other platforms.
<clever> there is a step in the glibc build, that takes a crap-ton of ram
<clever> so i dont want any parallelization on just that step
<clever> but there is no way to set that
<clever> so i either -j 4, and let 3 gcc's fight over the ram with that 1 thing
<clever> or i -j 1 and wait 4 times as long for the build
<clever> cgroups wont really help that kind of thing
<rly> clever: cgroups allows for maximum resource limitations.
<rly> clever: but for your case, no.,
<clever> yeah
<rly> clever: the build system should keep track of the resources used by the builders.
<clever> and i think using cgroups on a more powerful machine, would just recreate that problem
<clever> your making it behave like a weaker system, as viewed by a subset of the processes
<rly> clever: and suspend the right computations.
<clever> rly: there is a weird thing make doesn, that could be tapped into, at the cost of complexity
<clever> rly: if you make -j8, it will spawn off children for the subdirs, that also make -j8
<clever> but it doesnt multiply
ixxie has quit [(Remote host closed the connection)]
<clever> the make processes somehow talk to the 1st one, and coordinate sharing those 8 jobs
<rly> clever: I changed to the right channel, but it's still building firefox.
<clever> rly: what revision is git on now?, git rev-parse HEAD
<rly> clever: 81428dd022c2676
<clever> yep, thats the revision for nixos-16.09
<mpickering> Is the best way to learn how to use nixos to read the manual or is there a more gentle recommended introduction?
<clever> and what command are you running that is wanting to build firefox?
<rly> clever: nixos-rebuild switch
<clever> rly: and what is the value of $NIX_PATH?
<gchristensen> mpickering: depends on who you ask I guess. I usually learn something by experimentation first and using it, and then going and reading the whole manual. I know some people who really like to read the whole manual first.
<gchristensen> mpickering: I started by downloading the vbox image and installing nixos
<clever> rly: that has no effect on the current build, that will only effect the next build
<clever> rly: so the current value of $NIX_PATH is what matters
<mpickering> I have a nixos installation already, I guess I need to learn the basics about how to write nix expressions in order to do what I want and the manual will be best then
<mpickering> thanks
<rly> clever: oh, that's a rather terrible feature, if true.
<rly> clever: so, I should manually override the NIX_PATH?
<clever> rly: all that config option does, is change the default $NIX_PATH in a /etc file, for when you re-launch a shell
<clever> rly: and that /etc file wont exist until the entire build is done
<clever> at which point, its too late to have done its job
<clever> rly: yeah
<rly> clever: yes, I get it.
<gchristensen> mpickering: follow some examples, read the nix (separate manual from nixos and nixpkgs,) and ask questions
<rly> clever: but I can't think of any reason why anyone would want that.
<joachifm> mpickering: look up lethalman's nix pills series
<gchristensen> read the nix manual*
<gchristensen> oh my yes, his pills are great
<clever> rly: to change the default for future builds, or to add custom things
<dash> yes i had to read those blog posts to understand things :)
<rly> clever: what is the equivalent NIX_PATH for my nixPath?
<clever> rly: -I is simpler, nixos-rebuild switch -I nixpkgs=/home/me/src/nixpkgs-channels
pi3r has joined #nixos
<rly> mpickering: you can just start with the hello world package.
<rly> mpickering: go in a nix-shell and actually build it by hand.
<rly> mpickering: running the command env in that environment will also be enlightening.
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/v1H5v
<NixOS_GitHub> nixpkgs/master cb9ff3f Tim Steinbach: linux: 4.4.38 -> 4.4.39
<NixOS_GitHub> nixpkgs/master 0e8e4a0 Tim Steinbach: linux: 4.8.14 -> 4.8.15
<rly> clever: it now works according to plan.
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-16.09: https://git.io/v1H5f
<NixOS_GitHub> nixpkgs/release-16.09 b2040b9 Tim Steinbach: linux: 4.4.38 -> 4.4.39...
<NixOS_GitHub> nixpkgs/release-16.09 f23dae0 Tim Steinbach: linux: 4.8.14 -> 4.8.15...
<mpickering> Maybe someone can help me get unstuck before I read everything. I am using "ghcWithPackages" to setup a haskell environment with some packages already installed. This requires specifying a list of packages you want.
<mpickering> I want to generate a list of all packages and install them all
filterfish has joined #nixos
<gchristensen> oh gosh that is a whole thing
filterfish has quit [(Read error: Connection reset by peer)]
<clever> mpickering: nixos has every single package in hackage, that might take a while to compile...
<LnL> mpickering: all packages?
<joachifm> clever: :)
<LnL> I think we have about 10000
<clever> mpickering: also, are you sure you need all of them? including this one? https://hackage.haskell.org/package/acme-cutegirl
<rly> Don't ask why, ask why not? ;)
<mpickering> or just the ones in LTS, some large number which I know will compile together
<gchristensen> mpickering: is this for a stress test? or do you really need _all_ the packages?
<mpickering> I work on GHC and want to test the compiler
<gchristensen> neat!
<mpickering> So the plan is to make this environment, then in this shell I can use cabal as normal BUT all C dependencies etc will already be installed
<mpickering> which is usually a pain
<LnL> mpickering: all the packages in the haskellPackages attribute are from the latest lts
<LnL> mpickering: if you have a ghcWithPackages function that uses your compiler you could probably just use: ghcWithPackages (p: p)
roconnor has joined #nixos
<domenkozar> you might need to filter null, but yeah that's sounds like a good start
<LnL> mpickering: err ghcWithPackages (p: lib.attrValues p)
<clever> LnL: error: Package ‘NewBinary-0.2.1’ in ‘/nix/store/jk5dvrv6w9bcgh88g0x7clk19df3q28f-nixos-17.03pre96925.1c50bdd/nixos/pkgs/development/haskell-modules/hackage-packages.nix:12162’ is marked as broken, refusing to evaluate.
<domenkozar> if you want to work on GHC, you'll have to recompile all packages in this case.
<domenkozar> mpickering: can you describe a bit more in detail how you plan your workflow?
<LnL> oh right, you'll also have to filter broken stuff out
<clever> nix-repl> haskell.packages.ghc802.ghcWithPackages (p: lib.filter (x: x ? broken && !x.broken) (lib.attrValues p))
<clever> error: Package ‘Elm-0.13’ in ‘/nix/store/jk5dvrv6w9bcgh88g0x7clk19df3q28f-nixos-17.03pre96925.1c50bdd/nixos/pkgs/development/haskell-modules/hackage-packages.nix:4484’ is marked as broken, refusing to evaluate.
<clever> oh, maybe it was under meta
<LnL> clever: yeah I think so
<clever> nix-repl> haskell.packages.ghc802.ghcWithPackages (p: lib.filter (x: x ? meta && x.meta ? broken && !x.meta.broken) (lib.attrValues p))
<clever> error: Package ‘Elm-0.13’ in ‘/nix/store/jk5dvrv6w9bcgh88g0x7clk19df3q28f-nixos-17.03pre96925.1c50bdd/nixos/pkgs/development/haskell-modules/hackage-packages.nix:4484’ is marked as broken, refusing to evaluate.
<mpickering> domenkozar: I plan to recompile all the packages but I first need to setup an environment which has all the right c dependencies
<mpickering> so I can "nix-env" and then "cabal install" will work for any package
<clever> mpickering: under nix, your not supposed to install such dependencies, you list them in the package, and nix will just build things for you
<LnL> clever: perhaps you also need to look at meta.platforms?
<domenkozar> you'll need two things: be able to tell where ghc source is and filter out all broken/missing packages
<clever> LnL: oh, i see the problem
<clever> LnL: you cant inspect the values on a broken package, to see if its broken
<LnL> clever: oh :(
<clever> nix-repl> haskell.packages.ghc802.Elm.meta
<clever> error: Package ‘Elm-0.13’ in ‘/nix/store/jk5dvrv6w9bcgh88g0x7clk19df3q28f-nixos-17.03pre96925.1c50bdd/nixos/pkgs/development/haskell-modules/hackage-packages.nix:4484’ is marked as broken, refusing to evaluate.
<clever> but if i set allowBroken, it returns the meta
<LnL> that's strange, does the derivation get evaluated when querying meta?
<mpickering> domenkozar: I read that haskellPackages was roughly linked to the LTS?
<clever> LnL: i think the stdenv is protecting the entire attribute, not just the derivation value
<clever> mpickering: haskell.packages.ghc802.ghcWithPackages (p: lib.filter (x: x ? meta && x.meta ? broken && !x.meta.broken) (lib.attrValues p))
obadz has quit [(Ping timeout: 258 seconds)]
<clever> mpickering: and set allowBroken = true; in ~/.nixpkgs/config.nix
<domenkozar> mpickering: correct
<domenkozar> mpickering: do you want the latest packages?
<LnL> or import <nixpkgs> { config.allowBroken = true; }
<clever> mpickering: in theory, this will compile ghc 802, and build EVERYTHING with that ghc, then give you a ghc that can use everything at once
obadz has joined #nixos
systemfault has quit [(Quit: Bye!)]
c0bw3b has joined #nixos
<clever> error: Package ‘StrategyLib-4.0.0.0’ in ‘/nix/store/jk5dvrv6w9bcgh88g0x7clk19df3q28f-nixos-17.03pre96925.1c50bdd/nixos/pkgs/development/haskell-modules/hackage-packages.nix:16093’ has an unfree license (‘unfree’), refusing to evaluate.
<LnL> clever: could tryEval help here?
<clever> possibly, havent messed with it
<clever> mpickering: or: nix-build -E 'with import <nixpkgs> { config = { allowUnfree = true; allowBroken = true; }; }; haskell.packages.ghc802.ghcWithPackages (p: lib.filter (x: x ? meta && x.meta ? broken && !x.meta.broken) (lib.attrValues p))' -Q -j 8
<domenkozar> mpickering: would that work?
<mpickering> domenkozar: I don't mind too much at the moment
<mpickering> clever: The command completes instantly for me so I suspect something is not quite right
<clever> mpickering: its busy downloading a gig of ghc for me
<domenkozar> mpickering: do you plan to distribute these builds somewhere?
<LnL> that's a good sign, it evaluated properly
<domenkozar> it takes a while to build all of it
<mpickering> I wasn't planning to
filterfish has joined #nixos
<clever> LnL: yeah, somethings wrong, it only built ghc, it doesnt depend on anything
<mpickering> Something is wrong anyway as "nix-env" loads an environment with ghc-7.10.2
<LnL> clever: I think that filters out things without a meta.broken attribute
<jazzencat> Does the searchable package list on the nixos.org site reflect what's in the channels or not?
<clever> LnL: yeah, i think i got it backwards
<clever> [clever@amd-nixos:~/apps]$ nix-build -E 'with import <nixpkgs> { config = { allowUnfree = true; allowBroken = true; }; }; haskell.packages.ghc802.ghcWithPackages (p: lib.filter (x: !(x ? meta && x.meta ? broken && !x.meta.broken)) (lib.attrValues p))' -Q -j 8
<mpickering> I'm not really sure what the nix way is to approach this so sorry for being indirect
<clever> error: assertion failed at /nix/store/jk5dvrv6w9bcgh88g0x7clk19df3q28f-nixos-17.03pre96925.1c50bdd/nixos/pkgs/os-specific/darwin/apple-source-releases/CF/default.nix:4:1
<mpickering> the plan was to get this environment setup and then proceed in the normal unix way
amarsman has quit [(Ping timeout: 250 seconds)]
<LnL> clever: that's probably a darwin specific package
<clever> yep, and its using appleDerivation, not mkDerivation
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<mpickering> which package is this?
<LnL> does meta.platforms = [ "not-my-platform" ]; result in a meta.broken = true; ?
teknico has joined #nixos
<mpickering> I now understand the syntax for functions. that has been confusing me
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #21204: docker: 1.12.3 -> 1.12.5 (master...docker_1_12_5) https://git.io/v1HbM
<domenkozar> best resource so far to get the language basics
<LnL> yeah you sould have mentioned that before we started throwing nix expressions at your head :)
johann__ has quit [(Quit: Leaving.)]
prose[m] has quit [(Remote host closed the connection)]
fpletz[m] has quit [(Read error: Connection reset by peer)]
TimePath[m] has quit [(Remote host closed the connection)]
M-manveru has quit [(Remote host closed the connection)]
nhooyr has quit [(Remote host closed the connection)]
offlinehacker[m] has quit [(Remote host closed the connection)]
baldo[m] has quit [(Remote host closed the connection)]
regnt[m] has quit [(Remote host closed the connection)]
Shell has quit [(Remote host closed the connection)]
SShrike has quit [(Remote host closed the connection)]
regnat[m] has quit [(Remote host closed the connection)]
lfont[m] has quit [(Remote host closed the connection)]
rycee[m] has quit [(Write error: Connection reset by peer)]
cornu has quit [(Read error: Connection reset by peer)]
aspiwack[m] has quit [(Read error: Connection reset by peer)]
jack[m] has quit [(Read error: Connection reset by peer)]
org-rubo78[m] has quit [(Write error: Connection reset by peer)]
Grill[m] has quit [(Read error: Connection reset by peer)]
unlmtd[m] has quit [(Read error: Connection reset by peer)]
masia[m] has quit [(Read error: Connection reset by peer)]
ntninja has quit [(Remote host closed the connection)]
M-jackal has quit [(Remote host closed the connection)]
eqyiel[m] has quit [(Remote host closed the connection)]
M41px[m] has quit [(Read error: Connection reset by peer)]
M-roblabla has quit [(Read error: Connection reset by peer)]
icetan has quit [(Read error: Connection reset by peer)]
saintaquinas[m] has quit [(Write error: Connection reset by peer)]
bennofs_matrix has quit [(Write error: Connection reset by peer)]
M-schneeflocke has quit [(Write error: Connection reset by peer)]
davidar has quit [(Write error: Connection reset by peer)]
ArdaXi[m] has quit [(Read error: Connection reset by peer)]
jcl[m] has quit [(Read error: Connection reset by peer)]
primeos[m] has quit [(Read error: Connection reset by peer)]
MrAxilus[m] has quit [(Read error: Connection reset by peer)]
danielrf[m] has quit [(Remote host closed the connection)]
bendlas has quit [(Write error: Connection reset by peer)]
chexxor_web[m] has quit [(Write error: Connection reset by peer)]
mythmon- has quit [(Read error: Connection reset by peer)]
cinderfish[m] has quit [(Remote host closed the connection)]
av[m] has quit [(Write error: Connection reset by peer)]
rsynnest[m] has quit [(Write error: Connection reset by peer)]
M-Shrike has quit [(Write error: Connection reset by peer)]
Guest61891 has quit [(Write error: Connection reset by peer)]
Ralith has quit [(Write error: Connection reset by peer)]
citizenziggy[m] has quit [(Write error: Connection reset by peer)]
bachp has quit [(Write error: Connection reset by peer)]
M-appservice_irc has quit [(Write error: Connection reset by peer)]
guanjian[m] has quit [(Write error: Connection reset by peer)]
<clever> *boom*
<mpickering> is there a way to find out the type of something?
<domenkozar> mpickering: see "Typing discipine" at https://medium.com/@MrJamesFisher/nix-by-example-a0063a1a4c55#.3wxr5ylzm
<clever> nix-repl> __typeOf 42
<clever> "int"
<domenkozar> builtins.typeOf "foo"
<domenkozar> "string"
<mpickering> I see, excellent
<domenkozar> clever: don't teach newcomers special functions
<domenkozar> :)
<LnL> doesn't nix-repl have :t
<clever> nix-repl> :t 42
<clever> an integer
<clever> though that only works in the repl, cant be used in an expression or nix-instantiate --eval
<gchristensen> domenkozar: is there a plan on fixing the hydra issue? I don't want to wait until a lot of users get unhappy
<domenkozar> gchristensen: niksnut needs to decide
<domenkozar> what path to take
<domenkozar> can't speak in his name :)
<gchristensen> does he know?
<mpickering> I am in the repl now, inspecting the "haskellPackages" set and it seems to be a map from string to string, I expected a map from string to set so I could inspect librarySystemDepends for each package
<clever> Encode = «derivation /nix/store/mjjnwi3d6p0jh3gnxx8hj2chrxwsha4g-Encode-1.3.8.drv»;
pi3r has quit [(Ping timeout: 250 seconds)]
<clever> mpickering: the value in this is a derivation, not a string, and derivations can be compiles with :b in the repl
<mpickering> but I can't inspect the derivation? it is atomic?
<clever> mpickering: it has attributes, put a . after it and tab compete works
<clever> nix-repl> haskellPackages.Encode.<tab><tab>
<clever> haskellPackages.Encode.LANG haskellPackages.Encode.haddockPhase haskellPackages.Encode.pname
<mpickering> so it does
<clever> mpickering: http://pastebin.com/17fnXRun all derivations can also be cast to a string, which is the path where that derivation will install to
filterfish has quit [(Ping timeout: 265 seconds)]
cinderfish[m] has joined #nixos
jensens has quit [(Ping timeout: 250 seconds)]
johann__ has joined #nixos
<ocharles_> Does anyone know how to get qtbluetooth for QT 5.5+?
<ocharles_> It's not a submodule, it seems to be part of base, but we don't seem to have it in our builds. Not entirely sure what you need to do to get it
kampfschlaefer has joined #nixos
filterfish has joined #nixos
alnix has joined #nixos
<ocharles_> aha, I think it's in "qtconnectivity"
slack1256 has joined #nixos
redmq has joined #nixos
<rly> clever: nix-build now still tries to build the world.
<rly> clever: env contains a NIX_PATH which looks fine.
<clever> rly: what args are you giving to nix-build?
<rly> clever: none, but I do have: pkgs ? import <my-nixpkgs> {} }.
redmq has quit [(Ping timeout: 246 seconds)]
<rly> clever: sorry, nix-build foo.nix
<clever> ah, so it will depend on what my-nixpkgs is set to in $NIX_PATH
<clever> or the existance of a my-nixpkgs directory in one of the nix-path elements
<rly> clever: OK, so how can I override that on the command line?
<clever> -I my-nixpkgs=/path/to/nixpkgs
uralbash has quit [(Quit: Leaving.)]
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/v1Hhx
<NixOS_GitHub> nixpkgs/master 664cc49 Nikolay Amiantov: gbenchmark: init at 1.1.0
filterfish has quit [(Remote host closed the connection)]
alnix has quit [(Ping timeout: 250 seconds)]
M41px[m] has joined #nixos
jcl[m] has joined #nixos
M-manveru has joined #nixos
jack[m] has joined #nixos
primeos[m] has joined #nixos
bachp has joined #nixos
MrAxilus[m] has joined #nixos
regnt[m] has joined #nixos
Grill[m] has joined #nixos
citizenziggy[m] has joined #nixos
ntninja has joined #nixos
org-rubo78[m] has joined #nixos
Kiko[m] has joined #nixos
eqyiel[m] has joined #nixos
M-roblabla has joined #nixos
unlmtd[m] has joined #nixos
guanjian[m] has joined #nixos
SShrike has joined #nixos
aspiwack[m] has joined #nixos
TimePath[m] has joined #nixos
cornu has joined #nixos
prose[m] has joined #nixos
av[m] has joined #nixos
ArdaXi[m] has joined #nixos
bennofs_matrix has joined #nixos
offlinehacker[m] has joined #nixos
M-appservice_irc has joined #nixos
M-jackal has joined #nixos
chexxor_web[m] has joined #nixos
regnat[m] has joined #nixos
davidar has joined #nixos
bendlas has joined #nixos
masia[m] has joined #nixos
nhooyr has joined #nixos
M-Shrike has joined #nixos
rsynnest[m] has joined #nixos
mythmon- has joined #nixos
rycee[m] has joined #nixos
Shell has joined #nixos
flo[m] has joined #nixos
icetan has joined #nixos
fpletz[m] has joined #nixos
M-wkennington has joined #nixos
saintaquinas[m] has joined #nixos
zimbatm[m] has joined #nixos
lfont[m] has joined #nixos
Guest11481 has joined #nixos
musicmatze[m] has joined #nixos
M-schneeflocke has joined #nixos
Ralith has joined #nixos
baldo[m] has joined #nixos
mizu_no_oto has joined #nixos
danielrf[m] has joined #nixos
cpennington has joined #nixos
latk has quit [(Remote host closed the connection)]
data8 has joined #nixos
<NixOS_GitHub> [nixpkgs] boronine opened pull request #21205: haxe: 3.1.3 -> 3.2.1 (master...haxe-3.2.1) https://git.io/v1QeJ
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/v1QeL
<NixOS_GitHub> nixpkgs/master 3d1206d Franz Pletz: ragel: add stable version, default to stable
<NixOS_GitHub> nixpkgs/master 60d29f5 Franz Pletz: rmilter: 1.8.5 -> 1.10.0
<NixOS_GitHub> nixpkgs/master f97bfce Franz Pletz: rspamd: 1.2.7 -> 1.4.1
<NixOS_GitHub> [nixpkgs] garbas closed pull request #9277: xdg-app: init at git 2015/08/16 (master...upstream.xdg-app) https://git.io/v3dzg
ryanartecona has joined #nixos
filterfish has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
filterfish has quit [(Remote host closed the connection)]
osa1 has quit [(Ping timeout: 250 seconds)]
cpennington has quit [(Ping timeout: 258 seconds)]
pi3r has joined #nixos
rycee[m] has quit [(Ping timeout: 245 seconds)]
bennofs_matrix has quit [(Ping timeout: 245 seconds)]
unlmtd[m] has quit [(Ping timeout: 245 seconds)]
TimePath[m] has quit [(Ping timeout: 245 seconds)]
Lowl3v3l has joined #nixos
unlmtd[m] has joined #nixos
TimePath[m] has joined #nixos
Guest11481 has quit [(Ping timeout: 245 seconds)]
nhooyr has quit [(Ping timeout: 245 seconds)]
<ocharles_> Ok, I got this QT application to build, but ldd shows all the libQt libraries are missing
<ocharles_> patchelf --print-rpath shows: /tmp/nix-build-golden-cheetah-3.4.drv-0/__nix_qt5__/lib:/nix/store/xln252fxffi1jv3h8xmcg27pnzzrhc8s-mesa-noglu-13.0.2/lib:/nix/store/7560325dmw3vkj7mfg7bcw9zb9hfqgfh-openssl-1.0.2j/lib:/nix/store/m7a3k9cgci9mz114c8497f89w28c5dzn-glibc-2.24/lib:/nix/store/3rgj4hgy23l3vfp1sfn9bwn3fn05vgzh-gcc-5.4.0-lib/lib
<ocharles_> which is nonsense - why is /tmp there?
<ocharles_> Any Qt packagers know what's up?
rycee[m] has joined #nixos
bennofs_matrix has joined #nixos
Guest11481 has joined #nixos
nhooyr has joined #nixos
Mercuria1Alchemi has quit [(Ping timeout: 250 seconds)]
<ocharles_> The final step of building has: g++ -Wl,-O1 -Wl,-rpath,/tmp/nix-build-golden-cheetah-3.4.drv-0/__nix_qt5__/lib -Wl,-rpath-link,/tmp/nix-build-golden-cheetah-3.4.drv-0/__nix_qt5__/lib -o GoldenCheetah qtsoap.o QTFullScreen.o
<ocharles_> So that's where the rpath is coming from
Fare has joined #nixos
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] larkery opened pull request #21207: Fiddle LD_LIBRARY_PATH to include GDAL (master...patch-1) https://git.io/v1QJf
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
derjohn_mobi has quit [(Ping timeout: 250 seconds)]
Drakonis has joined #nixos
Drakonis has quit [(Changing host)]
Drakonis has joined #nixos
cpennington has joined #nixos
derjohn_mob has joined #nixos
slack1256 has quit [(Ping timeout: 264 seconds)]
berce has quit [(Ping timeout: 258 seconds)]
<avn> ocharles_: cmake based build?
<ocharles_> no, qmake
m` has joined #nixos
derjohn_mob has quit [(Ping timeout: 250 seconds)]
filterfish has joined #nixos
derjohn_mob has joined #nixos
filterfish has quit [(Remote host closed the connection)]
iyzsong has quit [(Quit: night.)]
<m`> Hi! Im trying to get familiar with building nix-expressions. I'm getting the following error when using: 'nix-build myexpr.nix': error: cannot auto-call a function that has an argument without a default value (‘stdenv’), the expression I'm using can be found here http://codepad.org/n6uvgEd5
rardiol has quit [(Remote host closed the connection)]
<LnL> how are you importing that?
amarsman has joined #nixos
skyraider_ has joined #nixos
<LnL> m`: oh you can't nix-build that directly because it's a function with arguments
<m`> in this attempt I tried to build it directly. so it needs a sort of wrapper?
<LnL> m`: nix-build -E 'with import <nixpkgs> {}; callPackage ./myexpr.nix {}'
<LnL> the callPackage function will import the file and call the function with whatever packages you specified in the attribute set
<NixOS_GitHub> [nixpkgs] garbas opened pull request #21208: update scripts for tp_smapi & thunderbird-bin (master...update-scripts) https://git.io/v1Qkb
rardiol has joined #nixos
estewei_ has joined #nixos
<m`> LnL: alright, I see. Now, however I'm getting this: "illegal name: ‘.fetch-deps.sh’" even though the shell script exists in that dir.
estewei has quit [(Ping timeout: 260 seconds)]
osa1 has joined #nixos
<LnL> m`: you put a dot before the filename
<NixOS_GitHub> [nixpkgs] garbas closed pull request #21062: thunderbird-bin: adopt common update script (master...thunderbird-bin-common-update-script) https://git.io/v1o86
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #21209: Separate truely top-level code from per-bootstrapping-stage code (master...organize) https://git.io/v1QIG
erasmas has joined #nixos
Drakonis has quit [(Read error: Connection reset by peer)]
mudri`` has joined #nixos
johann__ has quit [(Quit: Leaving.)]
<viric> mpf. I'm downloading at 84KB/s from nixos.org/channels
<viric> (a cloudfront thing)
<viric> we should have torrent links
osa1 has quit [(Ping timeout: 240 seconds)]
<viric> - for isos -
<LnL> I'm really surprised by how many cloudfront issues we have
filterfish has joined #nixos
<viric> 60KB/s
<viric> 80minutes for the iso
<LnL> considering what it's supposed to do
filterfish has quit [(Read error: Connection reset by peer)]
<m`> LnL: but that should work normally, no? should trigger the path-literal parsing.. However, when using ".fetch-deps.sh", it complains that the file does not exist..
<viric> is there any workaround?
jgertm_ has quit [(Ping timeout: 260 seconds)]
mudri` has quit [(Ping timeout: 260 seconds)]
<LnL> m`: oh the file starts with a dot?
<m`> LnL: yes
<LnL> viric: it's usually something regional, so if you have some sort of other connection you can use that might help
<viric> other connection *out of the region*? no
<viric> I'll try an hydra result.
<LnL> the hydra link will most likely not work anymore
<viric> damn it
<viric> what is this plot about?
<m`> LnL: it works when removing the dot from the filename!
<LnL> strange I would expect it to work
<clever> m`: what about ./.fetch-deps.sh; ?
<mpickering> So in hackage-packages the distinction between haskellDependencies and systemDependencies is clearly marked but when I look at "haskellPackages.<pkg>" the information in the derivation is quite different with no distinction between the two any more
<mpickering> How can I get at this system dependency information
<clever> mpickering: that would be a nix function that combines everything together
<mpickering> What exactly would be?
<clever> mpickering: all of the haskell packages run thru a special function, that turns the list of haskellDependencies and systemDependencies into the more normal nativeBuildInputs stuff
<mpickering> ok, makes sense
stepcut has joined #nixos
<mpickering> where exactly does this happen, I see that "mkDerivation" is an argument but can't find where it is called
viric_ has joined #nixos
<rly> LnL: is anyone paying cloudfront?
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
<clever> mpickering: line 157 of the file i linked
<jazzencat> Hm, looks like if I want the legacy e16wm I will have to compile it myself.
<mpickering> and line 137 combines them all together
<LnL> rly: yes, it's not free :p
<clever> mpickering: looks like all of the haskell stuff goes into the propagated inputs, and the system stuff goes into the native inputs
<rly> LnL: sure, but it might be that they got a promotional deal or something like that.
<rly> LnL: such things sometimes happen.
<rly> LnL: and in that case the "real" clients come first.
<LnL> don't know the details
<clever> mpickering: so if you put the haskell package foo into your buildInputs, you automaticaly get every haskell depdency of foo (recusrively)
johann__ has joined #nixos
xadi has quit [(Ping timeout: 264 seconds)]
<clever> mpickering: which probably helps ghc find the pieces of the entire closure, and optimize things to death
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/v1QmW
<NixOS_GitHub> nixpkgs/master 1946e87 Fatih Altinok: flow: 0.36.0 -> 0.37.1
johann__ has quit [(Client Quit)]
viric has quit [(Ping timeout: 256 seconds)]
<mpickering> ok this explains what I was seeing, sometimes nativeBuildInputs had exactly what I wanted
reinzelmann has quit [(Quit: Leaving)]
xadi has joined #nixos
mizu_no_oto has joined #nixos
<clever> mpickering: yeah, line 136 and 137 concat a bunch of things, to make 2 main lists, and then lines 168 and 169 use those 2 lists
filterfish has joined #nixos
<mpickering> but that was the case when it is an executable, all the haskell deps are also in the "nativeBuildDeps"
filterfish has quit [(Remote host closed the connection)]
<clever> mpickering: also of use, is line 291, passthru
<clever> mpickering: everything inside the passthru attributeset can be accessed as an attribute on the derivation, but has no effect on the build
<clever> mpickering: and in there is things like .env, which is a modified derivation for building foo, and the main build of foo doesnt depend on that env
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/v1QmA
<NixOS_GitHub> nixpkgs/staging d12e540 AndersonTorres: pythonPackages.docutils: 0.12 -> 0.13.1
dgn has quit [(Ping timeout: 265 seconds)]
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #21199: Docutils: 0.12 -> 0.13.1 (master...docutils) https://git.io/v1H23
<mpickering> I don't understand that sorry. passthru is meta information that is not used at all. how is .env modified?
<clever> mpickering: .env is usefull mainly for building stuff by hand, nix-shell -A haskellPackages.foo.env
<clever> mpickering: this will drop you into an env that has been specialy modified to make it easy to build foo by hand
<clever> but the main haskellPackages.foo build doesnt depend on that env
<mpickering> err that is precisely what I want but a union of them all
<clever> mpickering: and line 146, where it generates a special ghc bash script, that wraps all of the haskell inputs
data8 has quit [(Read error: Connection reset by peer)]
eacameron has quit [(Read error: Connection reset by peer)]
* clever scratches head
eacameron has joined #nixos
<clever> somebody changes ghc 7.10.3 in nixpkgs master, so now ghc 8.0.1 has to recompile, lol
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<LnL> yeah bootstrapping is broken on newer versions or something
<clever> and now i get to compile 1 ghc for the price of 2!
<clever> though the 7.10.3 came from the binary cache this time
<LnL> I thought it was more then 2 if you rebuild the stdenv
<clever> the first step is usualy what triggered the rebuild, if no other jobs got to that trigger first
<mpickering> lol .. unique causes a stack overflow on a list with 20 000 things in
c0bw3b has left #nixos []
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<dtzWill> LnL: lol yeah to get 8.0.1 you go 7.4.2-binary -> 7.8.4 -> 7.10.3 -> 8.0.1
* dtzWill also has stdenv-rebuild-all-the-things woes
<clever> dtzWill: wut? lol
<LnL> dtzWill: that looks more like it :)
AveryC has joined #nixos
<LnL> that's why we call it rebuilding the world
digitus has joined #nixos
<dtzWill> by the powers of all haskell versions COMBINED muahaha
amarsman has quit [(Ping timeout: 250 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<viric_> Hm
<viric_> I run the minimal nixos iso
<viric_> and I lack even "man ls"
<viric_> or man configuration.nix
<viric_> wtf?
<clever> that doesnt sound right
<viric_> (16.09)
<LnL> I don't think it includes manpages
redmq has joined #nixos
<viric_> sorry?
<LnL> viric_: add environment.extraOutputsToInstall = [ "doc" ];
viric has joined #nixos
amarsman has joined #nixos
ckauhaus has quit [(Quit: Leaving.)]
mguentner2 is now known as mguentner
<clever> LnL: https://youtu.be/rIdPKzYTN-w how does this look?
redmq has quit [(Ping timeout: 252 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
viric_ has quit [(Ping timeout: 258 seconds)]
<LnL> clever: good stuff!
<clever> LnL: next thing i need is to do something with the default and example values, add a button to populate the left tree, and handle the xml in the description better
viric_ has joined #nixos
<NixOS_GitHub> [nixpkgs] mdaiter opened pull request #21210: stanchion: add Darwin support (master...stanchionMac) https://git.io/v1QGy
viric has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Read error: Connection reset by peer)]
eacamero_ has joined #nixos
viric has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
viric_ has quit [(Ping timeout: 245 seconds)]
<mpickering> clever: It seems that the .env.nativeBuildInputs contain infinite loops?
<clever> mpickering: it shouldnt, as far as i understand it
<clever> LnL: this removes 1 space from each line, causing the 2nd&3rd line to remain indented
zagy has quit [(Quit: Leaving.)]
viric has quit [(Read error: Connection reset by peer)]
<rly> How can I install a local resolver easily? I.e. such that all DNS requests are cached?
<LnL> clever: oh
m` has quit [(Ping timeout: 258 seconds)]
derjohn_mob has quit [(Ping timeout: 265 seconds)]
<mpickering> clever: also I tried the command you said about "env" before and there is an error "error: attribute ‘nixos’ in selection path ‘nixos.haskell.compiler.LibClang’ not found"
<jazzencat> What is a good backup WM to have incase something goes screwy with my main one?
<clever> mpickering: the nixos. prefix is only for nix-env, it cant be used with all of the other nix tools
erasmas has quit [(Ping timeout: 240 seconds)]
viric has joined #nixos
ryanartecona has joined #nixos
<mpickering> So I should use "nix-shell -A haskellPackages.LibClang" ?
<clever> mpickering: either "nix-shell -A haskellPackages.LibClang" or "nix-shell -A haskellPackages.LibClang.env"
jazzencat has quit [(Quit: Lost terminal)]
<NixOS_GitHub> [nixpkgs] cleverca22 opened pull request #21211: fix indentation in several nixos option descriptions (master...docs) https://git.io/v1QCU
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<LnL> clever: double quoted multiline strings work?
<viric> hm I'm trying to install nixos with zfs root
<mpickering> I tried that as well. Hmm
teknico has left #nixos []
AveryC has quit [(Read error: Connection reset by peer)]
<viric> At creation time it picked the hostId of the nixos iso
<clever> LnL: "strings" work, but dont remove the indentation at all, so the output looks worse
<LnL> well I didn't know that was valid syntax
<LnL> viric: you should generate one yourself
derjohn_mob has joined #nixos
<clever> LnL: eek, somebody put tabs in a nix file!!!!
<ToxicFrog> viric: I did that and it worked fine, but it also didn't automatically generate a hostid, I picked on by hand.
fritschy has quit [(Quit: Leaving.)]
Lowl3v3l has quit [(Ping timeout: 240 seconds)]
<clever> LnL: i think i should stop at fixing 5 files, lol, if i keep this up i'll wind up reformating all of the nixos modules....
<LnL> clever: sed -i ...
<clever> LnL: mosh.nix also had the incorrect number of spaces on a few of its lines, near the tabs
<clever> because the tab size was different, and it mislead the last person editing it
<LnL> probably to accommodate for the tabs :p
erasmas has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
acowley_away is now known as acowley
AveryC has joined #nixos
<LnL> that reminds me, I should update my vim plugin in nixpkgs
systemfault has joined #nixos
<LnL> you can now == without messing up multiline strings
ambro718 has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<rly> How do I make the TP-Link UE300 work on NixOS?
<rly> It's a USB3.0 to Gigabit Ethernet device.
Lowl3v3l has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21211: fix indentation in several nixos option descriptions (master...docs) https://git.io/v1QCU
cpennington has quit [(Remote host closed the connection)]
<clever> rly: what are the vid and pid for it (visible in lsusb)
nschoe has quit [(Quit: Program. Terminated.)]
msd has joined #nixos
<msd> LnL: if one were to change the null package list proposed in stanchion PR, how should that substitution be performed?
<msd> LnL: also, don't know why the Nix VM is failing, but it appears as though the Python test suite fails and not the new version of the package
<msd> LnL: after Stanchion gets finalized, I can push the PR for Riak CS's Darwin patches
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/v1Q4G
<NixOS_GitHub> nixpkgs/master 1eb9fe3 Dan Peebles: awscli, boto{core,3}: update to 1.11.30, 1.4.87, and 1.4.2, respectively...
xwvvvvwx has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<acowley> Can someone take a look at this PR that's been waiting for a couple weeks? https://github.com/NixOS/nixpkgs/pull/20847
<acowley> I don't think it's anything unusual
msd has quit [(Remote host closed the connection)]
xwvvvvwx has quit [(Ping timeout: 260 seconds)]
skyraider_ has quit [(Quit: Connection closed for inactivity)]
redmq has joined #nixos
acowley is now known as acowley_away
xwvvvvwx has joined #nixos
hotfuzz has joined #nixos
xwvvvvwx_ has joined #nixos
xwvvvvwx_ has quit [(Client Quit)]
xwvvvvwx1 has joined #nixos
acowley_away is now known as acowley
hotfuzz_ has quit [(Ping timeout: 258 seconds)]
rly has quit [(Ping timeout: 240 seconds)]
<xwvvvvwx1> Hey :)
xwvvvvwx has quit [(Ping timeout: 240 seconds)]
filterfish has joined #nixos
<xwvvvvwx1> So I'm trying to setup a local development environment for my editor (vscode) so I can fix some bugs
<xwvvvvwx1> I have the binary build in a nix-shell
filterfish has quit [(Read error: Connection reset by peer)]
<xwvvvvwx1> and I just need to patch the binary with the correct rpath (or at least I think thats all I have to do)
<xwvvvvwx1> In the nixpkgs recipie (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vscode/default.nix) the rpath is set using `atomEnv.libPath`
<xwvvvvwx1> but the output of `atomEnv.libPath` seems to be incorrect on my local machine
<xwvvvvwx1> when I run `nix-instantiate '<nixpkgs>' -A atomEnv.libPath --eval-only` I get a list of paths
<xwvvvvwx1> all these paths end in lib64
<xwvvvvwx1> when I try and go to these paths, the /nix/store/.../lib64 folder doesn't exist but the /nix/store/.../lib folder does
<xwvvvvwx1> what exactly is atomEnv.libPath
<xwvvvvwx1> and why is it outputting paths that do not exist on my system?
Fare has quit [(Ping timeout: 258 seconds)]
<xwvvvvwx1> I hope I was clear... I'm still pretty new to nix so I don't understand everything super well
<xwvvvvwx1> I couldn't find any documentation for atomEnv in any of the three manuals
<clever> pkgs/top-level/all-packages.nix: atomEnv = callPackage ../applications/editors/atom/env.nix {
eacamero_ has quit [(Read error: Connection reset by peer)]
<xwvvvvwx1> ah ok
eacameron has joined #nixos
mudri`` has quit [(Ping timeout: 268 seconds)]
<xwvvvvwx1> so it's reusuing the build inputs for the atom editor
<xwvvvvwx1> ?
<clever> its using the libPath attribute on the atom/env.nix expression
zagy has joined #nixos
<xwvvvvwx1> okok
<xwvvvvwx1> so everything in this all-packages.nix file is available as a build input to any package?
<clever> yeah, just add it as an argument on line 1 and you can access it
<xwvvvvwx1> right
<xwvvvvwx1> ok
<xwvvvvwx1> but then why is the libPath from the atomEnv different to the one on my system?
<clever> at a glance, its adding both /lib and /lib64 to paths
<clever> so it may have extras that arent valid and misleading you
<mw> hi, before I file an issue I just wanted to check if I'm missing something and/or doing something noobish...
<mw> I can't start tor-browser as a regular user(it can't find the Tor executable) running it with sudo works fine, any ideas?
<xwvvvvwx1> clever: yes you are correct
<xwvvvvwx1> I was not looking closely enough at the output
<xwvvvvwx1> thanks so much for the help!
<xwvvvvwx1> Really appreciated :)
xwvvvvwx1 is now known as xwvvvwx
xwvvvwx is now known as xwvvvvwx
acowley is now known as acowley_away
c0bw3b has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
goibhniu has quit [(Ping timeout: 260 seconds)]
ambro718 has quit [(Ping timeout: 250 seconds)]
<c0bw3b> i have a "result" symlink inside my $HOME
<c0bw3b> pointing to /nix/store/k6kqz2pmwsnlgx9ifsm5z9g00y0c4q53-nixos-system-hostname-16.09.1240.c43a79e
<clever> c0bw3b: you ran "nixos-rebuild build" at some point
<clever> the last-mod timestamp will tell you when
<c0bw3b> okay that's what i wanted to know
<c0bw3b> yheah dec 11th
<c0bw3b> was playong from that directory that day then ^^
<mw> I found my issue </monologue>
evangeline has quit [(Ping timeout: 245 seconds)]
mudri`` has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
berce has joined #nixos
zagy has quit [(Quit: Leaving.)]
viric_ has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
<clever> Mic92: is this right?, a default of null means it wont assert out when an value isnt given: https://github.com/NixOS/nixpkgs/blob/release-16.09/nixos/modules/services/computing/slurm/slurm.nix#L49-L50
zagy has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
viric has quit [(Ping timeout: 246 seconds)]
Lowl3v3l has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
Lowl3v3l has joined #nixos
berce has joined #nixos
Fare has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
hotfuzz has quit [(Read error: Connection reset by peer)]
hotfuzz has joined #nixos
viric has joined #nixos
viric_ has quit [(Ping timeout: 246 seconds)]
osa1 has joined #nixos
berce has joined #nixos
xwvvvvwx has quit [(Ping timeout: 245 seconds)]
berce has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
Lowl3v3l has quit [(Remote host closed the connection)]
wangoe has joined #nixos
Lowl3v3l has joined #nixos
berce has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
berce has joined #nixos
filterfish has quit [(Remote host closed the connection)]
berce has quit [(Read error: Connection reset by peer)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
berce has joined #nixos
xwvvvvwx has joined #nixos
Shou has quit [(Ping timeout: 250 seconds)]
reinzelmann has joined #nixos
xwvvvvwx has quit [(Client Quit)]
Fare has quit [(Ping timeout: 245 seconds)]
Fare has joined #nixos
filterfish has joined #nixos
<Mic92> clever: I don't know, what happens if null is interpolated into a string?
filterfish has quit [(Remote host closed the connection)]
berce has quit [(Read error: Connection reset by peer)]
<clever> Mic92: not sure either, and i just found the cause of a second bug
<clever> Mic92: http://nixos.org/nixos/options.html try reading the description on boot.loader.grub.efiInstallAsRemovable
<NixOS_GitHub> [nixpkgs] cleverca22 opened pull request #21212: fix 2 xml errors in the description of efiInstallAsRemovable (master...docs) https://git.io/v1QKx
Ralith_ has quit [(Remote host closed the connection)]
derjohn_mob has quit [(Ping timeout: 256 seconds)]
Shou has joined #nixos
ryanartecona has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
viric_ has joined #nixos
Fare has quit [(Ping timeout: 240 seconds)]
warbo has joined #nixos
viric has quit [(Ping timeout: 264 seconds)]
ifur has quit [(Quit: thanks for all the fish!)]
<Mic92> clever: merged
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21212: fix 2 xml errors in the description of efiInstallAsRemovable (master...docs) https://git.io/v1QKx
<clever> Mic92: there are currently no other xml errors that i can see, i wrote a tool to go over the description of everything, lol
bennofs1 has joined #nixos
<Mic92> clever: maybe worth for travis
evangeline has joined #nixos
zagy has quit [(Quit: Leaving.)]
zagy has joined #nixos
zagy has quit [(Client Quit)]
berce has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
<clever> and it looks like i moved the files to a subdir on another system, then did a crap-ton of development without that commit
<clever> merge conflict time!
estewei_ has quit [(Quit: Quit)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
berce has joined #nixos
sternenseemann has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/v1QDO
<NixOS_GitHub> nixpkgs/master 415c9ff Antoine Eiche: nixos/keystone: init at liberty version...
<NixOS_GitHub> nixpkgs/master a932f68 Antoine Eiche: nixos/keystone: secrets can be read from files...
<NixOS_GitHub> nixpkgs/master 086e5d0 Antoine Eiche: nixos/keystone: add test in release.nix
berce has quit [(Read error: Connection reset by peer)]
berce has joined #nixos
viric_ has quit [(Ping timeout: 246 seconds)]
berce has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #21213: uxrvtd: Fix clipboard (master...clipboard) https://git.io/v1QDM
viric has joined #nixos
<Mic92> after some fiddling with nixpkgs git repo, no conventional git repo can bring me down.
dan1 has joined #nixos
<clever> Mic92: it looks like i did a decent amount of development along a different path, on a diff machine
Wizek_ has joined #nixos
<clever> then forgot about it, and restarted on this machine
<clever> and now everything conflicts!
msd has joined #nixos
acertain has joined #nixos
<dan1> Hey people, I saw on the GSOC 2015 ideas list (https://nixos.org/wiki/GSOC_2015_ideas_list#Promote_independence_of_systemd) some talk of seperating from systemd, has anyone actually managed to do that?
<clever> dan1: i have a basic nix based OS that runs without systemd, but currently all services have to be written by hand to work
<warbo> is there a simple way to dynamically set what `functionArgs` will return for a function?
<warbo> I'm currently writing a file then importing it :(
<dan1> Oh my that's perfect. I love runit or s6 thanks
<clever> dan1: i have a local fork (need to push it still) that can boot nix-daemon on a raspberry pi, and do sandboxes nix builds, with a 40mb ramdisk
<dan1> clever: thanks thats awesome
<clever> dan1: the entire thing compiles down to just a squashfs, kernel, and initrd
<warbo> I'm using it to fiddle with Haskell packages whilst ensuring that haskellPackages.callPackage passes in the required args
filterfish has joined #nixos
acertain has quit [(Ping timeout: 244 seconds)]
filterfish has quit [(Remote host closed the connection)]
msd has quit [(Remote host closed the connection)]
msd has joined #nixos
<clever> Mic92: heh, looks like i had totally swapped out the http server i was using, and git doesnt merge that kind of thing well
<Mic92> webserver?
<clever> Mic92: the old code used QHttp for the server, the fork used websocketpp
<clever> then i did more work on the QHttp variant, having forgotten about the websocketpp one
Itkovian has joined #nixos
MichaelRaskin has joined #nixos
Ralith_ has joined #nixos
acertain has joined #nixos
berce has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar created haskell-parallel-builds (+1 new commit): https://git.io/v1QHt
<NixOS_GitHub> nixpkgs/haskell-parallel-builds 2e626a5 Domen Kožar: Haskell generic builder: enable parallel builds for GHC 8.0.2...
filterfish has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar opened pull request #21214: Haskell generic builder: enable parallel builds for GHC 8.0.2 (master...haskell-parallel-builds) https://git.io/v1QHl
filterfish has quit [(Remote host closed the connection)]
Lowl3v3l has quit [(Remote host closed the connection)]
jazzencat has joined #nixos
acertain has quit [(Ping timeout: 244 seconds)]
<clever> Mic92: and this is what happens when you dont pull your own changes, lol: https://github.com/cleverca22/nixos-installer/commit/d8d37387e1520e2641b45e38eaa8ee8b2c49d23e
Lowl3v3l has joined #nixos
<dan1> clever: What's the easiest way I could play with not-os or what's the minimal set of changes to a vanilla nixos install to replace systemd with runit like you have done? Just running ssh works for me ;)
<clever> dan1: part of the problem is that every single service in nixos uses systemd stuff to define itself
<clever> dan1: so you have to replace the systemd module in nixos with https://github.com/cleverca22/not-os/blob/master/systemd-compat.nix to neuter all of them
<avn> clever: may be time to make generating services pluggable? ;)
redmq has quit [(Ping timeout: 245 seconds)]
<clever> dan1: and also, things like util-linux depend on systemd for some insane reason, and systemd supplies udev
<clever> dan1: so not-os entirely lacks udev
<dan1> Yea that one of the reasons i hate systemd, it's like a virus ;)
berce has quit [(Read error: Connection reset by peer)]
<domenkozar> if someone has some ideas about rocksdb-haskell on OSX: https://github.com/NixOS/nixpkgs/issues/21215
<dan1> clever: I was thinking about using mdev
<clever> dan1: a week ago i tried to get plymouth working on not-os, and upstream had to add an option to make udev optional
<MichaelRaskin> On my system I just use eudev
berce has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
msd_ has joined #nixos
<dan1> MichaelRaskin: so I see eudev seperates itself from systemd, so does that give you some kind of udev compatability?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<MichaelRaskin> What do you mean udev compatibility? They continue original udev and port some of the systemd-udev changes
<MichaelRaskin> They are actually a sane udev implementation
ryantrinkle has joined #nixos
derjohn_mob has joined #nixos
<clever> dan1: let me commit my rpi changes
<MichaelRaskin> (also, the only hard part about udev is the config, and both sides keep using the same old tested parser)
msd has quit [(Ping timeout: 246 seconds)]
ryantrinkle has left #nixos []
osa1 has quit [(Read error: Connection reset by peer)]
osa1 has joined #nixos
osa1 has quit [(Changing host)]
osa1 has joined #nixos
<clever> dan1: done, that also includes changes to allow running nix builds from the ramdisk
Itkovian has joined #nixos
filterfish has joined #nixos
jazzencat has quit [(Quit: WeeChat 1.6)]
<dan1> clever: thanks reading the changeset now ;)
filterfish has quit [(Read error: Connection reset by peer)]
<clever> dan1: https://github.com/cleverca22/not-os/blob/master/rpi_image.nix#L14 this derivation is also designed to work with the network booting on the rpi
<clever> dan1: so with a single nix-build command, i can change all of the firmware the rpi runs, even if its unresponsive, without having to change the SD card out
Lowl3v3l has quit [(Remote host closed the connection)]
<dan1> clever: clever indeed ;)
<clever> oh, and half of those files are outside of the git repo, unfinished work that got interupted by a power outage and then forgotten
Lowl3v3l has joined #nixos
<clever> dan1: i also wired up a large arcade machine button to the reset pin on the rpi, so i could just punch that to test a build
m` has joined #nixos
m` is now known as lenGO
berce has joined #nixos
lenGO is now known as t2
cybrian has quit [(Remote host closed the connection)]
cybrian has joined #nixos
filterfish has joined #nixos
<t2> hi! I'm working on an utility, which converts clojure-boot projects into nix-expressions. Basically a builder bash script is created, which curls all the needed packages froma repo. I'm looking for a strategy to check their sha in the nix-expression.
filterfish has quit [(Remote host closed the connection)]
Lowl3v3l has quit [(Remote host closed the connection)]
<t2> is there a better approch than specifying a wrong sha, let nix build it, and then re-enter the suggested sha?
<gchristensen> t2: you can do nix-prefetch-url -A hello.src (as an example)
Lowl3v3l has joined #nixos
osa1 has quit [(Ping timeout: 258 seconds)]
berce has quit [(Read error: Connection reset by peer)]
osa1 has joined #nixos
berce has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
<t2> gchristensen: actually I just found out that the repo provides me with a sha1 for each file. is that helping or do we need sha2?
Lowl3v3l has quit [(Remote host closed the connection)]
Lowl3v3l has joined #nixos
<clever> t2: nix usualy takes the hash of the NAR archive, not the bare file within it
jazzencat has joined #nixos
<clever> t2: so no hash that upstream provides will work
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Shoue has joined #nixos
berce has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
Shou has quit [(Ping timeout: 246 seconds)]
<t2> alright. at the moment it's like this: a builder bash script just fetches the dependencies, and then I thought of checking the hash of the eintire content of $out by the help of the outputHash property in the nix-expression. However, this looks inpossible when having only the shas (received by nix-prefetch-url) for each individual file.
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<t2> so would I check the sha's already in the bash script or could I use some nix-facilities for it?
osa1 has quit [(Ping timeout: 258 seconds)]
<clever> t2: it may help if you look at the nix-prefetch-git scripts
<clever> t2: and nix-store --add-fixed
<clever> that allows fetching something outside of nix, then adding it to the /nix/store, and getting the hash of it
berce has joined #nixos
cpennington has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
<toogley> hey. i have 'programs.zsh.interactiveShellInit = "$HOME/.dotfiles/zsh/zshrc";' in my configuration.nix. but when i start zsh, i receive "/etc/zshrc:51: permission denied: /home/toogley/.dotfiles/zsh/zshrc" - how can i fix this?
<clever> toogley: i think you want the source command
<clever> toogley: the current code is trying to start a new process, with zshrc (which isnt +x'd), and all variables that sets will be lost when it quits
<toogley> ideally, i would like to not use any symlinks and only reference the file in the configuration.nix
<toogley> clever: nope, doesn't help.
<clever> programs.zsh.interactiveShellInit = "source $HOME/.dotfiles/zsh/zshrc";
<clever> assuming it works anything like bash
<jazzencat> I think I need to print out the Nix Manual and read through it. Reading online is awkward.
berce has joined #nixos
<toogley> clever: ah, it does work - i just forgot to rebuild my config. thanks!
Guest28597 has quit [(Quit: Lost terminal)]
<t2> clever: alright, I'll check it out. Just as a rough direction: Am I right in the assumtion, that a bash builder that just fetches sources does not make sense here?
berce has quit [(Read error: Connection reset by peer)]
<clever> t2: pkgs.fetchurl already does exactly that
Itkovian has joined #nixos
<jazzencat> Questions questions, WeeChat or irssi or hexchat?
<toogley> jazzencat: i love weechat
<clever> jazzencat: i always use irssi
<MichaelRaskin> I read this conversation in a screen with "tail -f" of ii log…
<peti> jazzencat: Weechat is pretty much irssi with many essentials features included that irssi needs external plugins for. No idea about hexchat.
<toogley> jazzencat: but i guess that depends on whether you like using an terminal or not^^
<toogley> MichaelRaskin: nice :D
<t2> clever: great, where can I get the documentation of this function?
<toogley> MichaelRaskin: what is the reason for that setup?
<MichaelRaskin> But then, I pretty much configured mcabber to behave like ii
<clever> t2: fetchurl should be in the nixpkgs manual
<avn> Also curious about hexchat, do it have some nice features?
<MichaelRaskin> I guess the real real reason is that my setup «everything goes to log and then tail -f» makes it easy to do flexible notifications in the way I want
<jazzencat> Hmm, I'm using hexchat right now, but weechat looks nice because I can use it as a relay and connect to my home computer with my smart phone as well.
<jazzencat> And apparently WeeChat suppots external HTML5 interfaces as well.
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<jazzencat> So I can have terminal or GUI, depending on what I want.
<NixOS_GitHub> [nixpkgs] domenkozar force-pushed haskell-parallel-builds from 2e626a5 to d0250ad: https://git.io/v1QAs
<NixOS_GitHub> nixpkgs/haskell-parallel-builds d0250ad Domen Kožar: Haskell generic builder: enable parallel builds for GHC 8.0.2...
<toogley> jazzencat: you could maybe also use some bouncer and use different clients.
<jazzencat> That's true. Signing up for a free bouncer can be a bit of a hassle.
<toogley> jazzencat: but commercial ones don't cost a lot. i know one for about 3 € per year or so?
<toogley> jazzencat: but i have no experience with that.
<jazzencat> Quassel is another possibility. If I had an external box I could install Quassel Core and then connect to it with the client from different devices.
<NixOS_GitHub> [nixpkgs] peti closed pull request #21214: Haskell generic builder: enable parallel builds for GHC 8.0.2 (master...haskell-parallel-builds) https://git.io/v1QHl
berce has joined #nixos
<jazzencat> I have no credit card.
<toogley> jazzencat: you don't need one.
berce has quit [(Read error: Connection reset by peer)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<jazzencat> Ah.
<jazzencat> My preferred browser is only available in RPM or .deb packages for linux, is there a way to have nix-env handle and install those formats as well?
<jazzencat> I think they might have released the source-code so I could use that if I can find it.
<toogley> jazzencat: but i have no real experience with it.
berce has joined #nixos
<jazzencat> Well, WeeChat might be a good intermediate solution and easier to set up for the same features as quassel-irc which I also really like. WeeChat is hard to set up on Windows unfortunately and that's what my Desktop is.
redmq has joined #nixos
<toogley> jazzencat: xchat might be also a solution, i think.
filterfish has joined #nixos
<jazzencat> HexChat and XChat are the same family.
filterfish has quit [(Remote host closed the connection)]
<jazzencat> Hm, Vivaldi source code downloads is a bit outdated.
cpennington has quit [(Remote host closed the connection)]
berce has quit [(Read error: Connection reset by peer)]
<bennofs1> jazzencat: I think nixpkgs-unstable has a package for vivaldi
<bennofs1> not sure how up-to-date it is though
berce has joined #nixos
<jazzencat> I have 16.09 and nixos-unstable already.
<bennofs1> hmm nixos-unstable should have it as well
<jazzencat> How do I force nix-env -qa to look in nixos-unstable? When I run nix-env -qa vivaldi nothing shows up.
<bennofs1> sry, idk
bennofs1 is now known as bennofs
<clever> jazzencat: try doing nix-env -iA nixos.vivaldi
ryantm____ has quit [(Quit: Connection closed for inactivity)]
Lowl3v3l has quit [(Remote host closed the connection)]
hiratara has quit [(Ping timeout: 258 seconds)]
berce has quit [(Read error: Connection reset by peer)]
<jazzencat> Is there a way to rename my channels without having to unsubscribe and resubscribe?
<clever> jazzencat: not that i know if
berce has joined #nixos
<jazzencat> Okay. Well, unsub/resub to rename isn't too onerous.
<jazzencat> Hm, says vivaldi is unfree. I guess they have stopped releasing their sourcecode again.
Lowl3v3l has joined #nixos
<clever> jazzencat: one weird thing that always trips up new comers, the nix-env search commands wont show unfree things, until you enable unfree
<jazzencat> Would nix-env -qaA nixos-unstable.vivaldi search for it as well.
<clever> jazzencat: and you wont know how to enable unfree, because it doesnt tell you
<clever> until you force the whole name with -A
<jazzencat> Yeah.
<jazzencat> I see that. I need to put the allowUnfree in the configuration.nix
<t2> clever: alright, I checked out fetchurl. Still not 100% sure, if this is the thing I need. The general thing that the utility should do is this: Extract all the outside clojure dependencies from the project, determine for each one a nix-compatible sha via e.g. nix-prefetch-url. finally I need to feed this to the clojure build tool. E.g by setting up a particular environment variable(BOOT_LOCAL_REPO), that points to
<t2> a directory. then runt the tool for the building. So inbetween that a nix-expression must generated. The problem here is: that to me it looks like fetchurl fetches finally a source string. but I need them sort of in a directory. also what I'm fetching are jars(=zips), which may contain several files...
<clever> jazzencat: configuration.nix only effects nixos-rebuild, it has no effect on nix-env
<clever> jazzencat: for nix-env, you need ~/.nixpkgs/config.nix, the error should give example contents
hiratara has joined #nixos
Lowl3v3l has quit [(Remote host closed the connection)]
berce has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
berce has joined #nixos
<jazzencat> I saw that.
filterfish has quit [(Read error: Connection reset by peer)]
Lowl3v3l has joined #nixos
<jazzencat> allowUnfree = true; has to go in /.nixpkgs/config.nix
acowley_away is now known as acowley
c0bw3b has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<jazzencat> Looks like I don't have a ~/.nixpkgs/config.nix
<bachp> I would like to parse the version field version = "1.3.1"; into multiple variables: versionMajor = "1"; versionMinor = "3"; and versionPatch = "2"; . Is there a function to do this in nix? I wasn't able to find somethin with a quick search.
berce has quit [(Read error: Connection reset by peer)]
<jazzencat> We just won't tell RMS that it tells me how to install unfree stuff...
<clever> bachp: one sec
<bachp> I found splitString "." "foo.bar.baz" which I could use but I tought maybe there is an other more specific way to parse versions
<clever> nix-repl> let foo = lib.elemAt (lib.splitString "." "1.2.3"); in { versionMajor = foo 0; versionMinor = foo 1; versionPatch = foo 2; }
<clever> { versionMajor = "1"; versionMinor = "2"; versionPatch = "3"; }
<clever> bachp: this is my first thought on how to do it
c0bw3b has joined #nixos
msd_ has quit [()]
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/v17e7
<NixOS_GitHub> nixpkgs/master ebe67d6 Bjørn Forsman: collectd service: change /var/lib/collectd perms: 700 -> 755...
reinzelmann has quit [(Quit: Leaving)]
Lowl3v3l has quit [(Remote host closed the connection)]
Sonarpulse-Work has quit [(Remote host closed the connection)]
Lowl3v3l has joined #nixos
<clever> bachp: ah, id just use the expression i pasted above, its a bit more complex, but the next person to bump the version only has to edit 2 things (the version, and hash)
<eacameron> Has anyone combined vagrant and nixos?
berce has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
berce has quit [(Read error: Connection reset by peer)]
<dash> eacameron: probably :)
<dash> eacameron: but since you can run nix without nixos there's probably not been much particular need for it
<eacameron> dash: I suppose that's a good point.
berce has joined #nixos
<jazzencat> Looks like I need to add ~/.nixpkgs/config.nix to my system. I use root to run the nix-env installs usually. Would I want to put it in /root?
<clever> jazzencat: yep
<bachp> clever: Is the "lib." necessary? Isn't elemAt a built in?
berce has quit [(Read error: Connection reset by peer)]
berce has joined #nixos
<clever> bachp: elemAt is a built in, so you can also reference it via builtins.elemAt or __elemAt
berce has quit [(Read error: Connection reset by peer)]
deepwater has joined #nixos
<clever> bachp: a lot of nix files also have with lib; (or in this case, with stdenv.lib;) in them, so its just simpler to use the lib version
<bachp> clever: SO just elemAt wouldn't work? I think I misunderstud how builtins work
<bachp> clever: So best practice in this case would be to import lib or to use stdenv.lib?
<clever> bachp: just elemAt doesnt work in the repl, havent really checked to see how nix files handle it
<clever> yeah, you already have stdenv being passed in, and stdenv.lib is there for this reason
RchrdB has joined #nixos
filterfish has joined #nixos
<bachp> Ok got it. Thanks for the help
hiratara has quit [(Remote host closed the connection)]
filterfish has quit [(Remote host closed the connection)]
bfrog has joined #nixos
hiratara has joined #nixos
berce has joined #nixos
<jazzencat> Vivaldi isn't too badly out of date. Version 1.5, and the current version is 1.6
berce has quit [(Read error: Connection reset by peer)]
<c0bw3b> plus 1.6 was published only yesterday :)
<c0bw3b> or 2 days ago maybe
<jazzencat> Yep, so not really out of date ;)
<jazzencat> I guess they moved to git for their source-code?
<jazzencat> I'm not sure why Vivaldi is considered unfree, seeing as they did publish source code... unless they have changed that policy again and only distribute binaries...
jazzencat has quit [(Quit: Leaving)]
FRidh has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] bachp opened pull request #21216: openshift: 1.3.1 -> 1.3.2 (master...openshift-1.3.2) https://git.io/v17UI
jazzencat has joined #nixos
berce has joined #nixos
<c0bw3b> jazzencat : the base code is chromium but some additional components are under copyright
berce has quit [(Read error: Connection reset by peer)]
<c0bw3b> see vivaldi://credits if you have one running
<c0bw3b> for example Breakpad for crash reporting
<jazzencat> Oh, I see.
<jazzencat> Well, it's a good tool so I use it. I don't really care about the "purity" of my OS.
<clever> the linux steam also happens to use breakpad
<jazzencat> If RMS and the FSF Zealots want me to only use free software then they can damn well make tools that work properly.
<jazzencat> ^,^
<c0bw3b> I also use Vivaldi on windows at work and at home as a secondary browser after firefox
berce has joined #nixos
<simpson> jazzencat: I believe that you may have misunderstood the Free Software ideology. We want you to use Free Software not because we want you to suffer, and not because we want you to be enthralled by some Free Software brain worm, but because we believe that you have a *right* to Free Software.
<jazzencat> Breakpad is Apache Licence. Isn't that considered a FOSS Licence.
<simpson> You also have a right to use non-Free Software. There's some ethical considerations beyond this, but we won't force you to conform to our ethical worldview.
<simpson> Apache 2.0 is a great license.
<jazzencat> Yeah, I get that, and given a choice I use the FOSS versions, but I have other stuff I want to do with my time and fixing non-functional FOSS programs ain't one of them at the moment.
dan1 has quit [(Quit: WeeChat 1.4)]
berce has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<rardiol> what's the proper way to separate a library between a qt4 and qt5 version? Append a _qt4 to the attribute name and use 2 separate nix files? find some way to use an argument passed to the derivation?
berce has joined #nixos
fpletz has quit [(Ping timeout: 248 seconds)]
<jazzencat> simpson, that snarky crack about RMS and the FSF zealots wasn't aimed at you, I was referencing the instances of RMS flat-out telling someone they shouldn't use Photoshop for work because it's unethical and that they should use the sub-optimal GIMP instead for their work and take more time (Though GIMP is getting there and is a very good tool for hobbyists)
<simpson> jazzencat: It *is* not-very-ethical to support the PS empire, to participate in its piracy-extortion racket, and to ignore the provenance of one's tools.
berce has quit [(Read error: Connection reset by peer)]
<simpson> But, again, most of us are *not* going to force others to adhere to our personal ethical compasses.
<jazzencat> Which makes you one of the non-zealots ;)
<simpson> Well, I used to work as an evangelist for a FLOSS shop. I would describe myself as zealous.
<jazzencat> Well, then...
<simpson> Perhaps we're not like you think we are~
Fare has joined #nixos
<rardiol> I honestly think a real free zealot would be running guixsd
<jazzencat> And if you mean the price paid by for the software = piracy extortion, I'm not sure I agree. Brian Lunduke made this point as well, that $300'000 budget per year would pay for maybe 4 full-time developers, and that's not counting QA, marketing and all the rest that goes with it.
<jazzencat> $60/copy of a Triple-A game means they have to sell more than 330'000 units to break even for a development budget of $20 million which is on the low end for that type of game.
<Ralith> you don't spend $20 million on a game if you're not expecting far more sales than that, of course
<Ralith> (also, I hear kiva is pretty competitive these days, 2d artwise)
<jazzencat> That's just the break-even for it, and yeah you'd expect more than to just break even.
berce has joined #nixos
<MichaelRaskin> I think extortion is about the ways to make unsubstuntiated parts of lawsuits prohibitively expensive to litigate
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v17k4
<NixOS_GitHub> nixpkgs/master 993cbf8 rnhmjoj: uxrvtd: Fix clipboard
<jazzencat> MichaelRaskin, you mean the patent issues? Yeah the laws could use some reforming and fixing, but remember also that under the current system they have to defend their patents and that companies like that have to deal with patent trolls.
<MichaelRaskin> Copyright infringement lawsuits also sometimes include interesting parts, to say the least
fpletz has joined #nixos
<MichaelRaskin> Well, as for the patents, they are a problem, not a solution
<MichaelRaskin> And not a victim
<MichaelRaskin> They are not even saying they want software patents to be unenforceable
mudri`` is now known as mudri
<jazzencat> True, but even FOSS has to be prepared to defend the copyright (copyleft, hyuk punny) when someone distributes a GPL program in binary form without providing the corresponding sourcecode in a timely manner... or alters the orginal author's licence.
<jazzencat> Depending on how hardline they are, they don't want software patents to exist at all.
<MichaelRaskin> Well, unenforceable is the same as not existing except you can use the paperwork as a proof of timestamp
berce has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21160: ntp: make timesyncd the new default (master...timesyncd) https://git.io/v1yfq
berce has joined #nixos
<MichaelRaskin> Technically speaking, translating the original idea of invention patents to software yields something already covered by the current state of copyright
berce has quit [(Read error: Connection reset by peer)]
<jazzencat> Send a copy to yourself in registered mail once you have completed the code, that will serve as a timestamp as long as the seal on the package isn't broken.
filterfish has joined #nixos
<MichaelRaskin> (Well, it depends on translation, of course)
filterfish has quit [(Remote host closed the connection)]
<MichaelRaskin> jazzencat: I just wanted to say that my position is equivalent to nonexistence
<jazzencat> Ultimately for a user like my Mom or Dad, FOSS ends up being no cheaper than proprietary as they have to hire a developer to make the program to their specifications and would be dependent on this dev doing the job they want, just as they are dependent on MS or Adobe making the tools they need. All that's changed is whether the licence allows them to share the program with their neigbours or not.
<MichaelRaskin> Re: registered mail — I guess notarized copy has a benefit of better reusability
<jazzencat> And you can do that with hard-copies anyway.
<viric> there are quite enough timestamping mechanisms though
<viric> cryptographic timestamping
<jazzencat> Registered mail can also contain a USB drive with the program or code on it rather than a thick paper printout.
<viric> jazzencat: nand memories vanish after some months
<viric> unpowered.
<MichaelRaskin> And the notion of unopened quickly becomes complicated with electronics
<Ralith> jazzencat: what changes in the circumstance you describe is that you can bring in a different developer in the future if the original one becomes unavailable
<jazzencat> The crypto has an issue of whether the devs know what they are doing or know enough to select the right tools. But yeah that can work too. For printout like blueprints the registered mail trick is simple and holds up in Canadian court at any rate.
berce has joined #nixos
<jazzencat> But the point is that the cost would still not be significantly cheaper all told that the proprietary solution.
<jazzencat> You spend time or you spend money.
berce has quit [(Read error: Connection reset by peer)]
<Ralith> the cost of being dependent upon a sole IP owner can be very high indeed
<jazzencat> Which isn't all that different from switching from Corel to Adobe or something.
<MichaelRaskin> Also ther is a question of being able to _continue_ using exactly the same setup as you use
<jazzencat> I did audio mastering work and I was using Audacity for that. But the audio effects plugins were not up to scratch for quality. When I asked around for devs to help develop better ones and I'd pay them, everyone I asked just flat out refused to do it.
obadz has quit [(Ping timeout: 240 seconds)]
<jazzencat> When I asked in the Pidgin IRC channel how I could switch input languages on the fly without having to go into the system language settings each time, I got the response of "why would you want to anyway?"
<MichaelRaskin> Well, with proprietary software you get the situation where buying one more license for the thing that already exists is impossible
<NixOS_GitHub> [nixpkgs] glaebhoerl opened pull request #21217: Vivaldi 1.6 (master...vivaldi-1.6) https://git.io/v17Lf
<jazzencat> Why is buying another licence impossible? Unless the software is out of production...
<Ralith> the fact that you can't afford to hire/aren't very good at hiring developers does not negate the fact that it can sometimes be immensely valuable to have the option to :P
<MichaelRaskin> jazzencat: and so what if it is out of production?
obadz has joined #nixos
berce has joined #nixos
<MichaelRaskin> I mean, I have been the person buying Windows 98 leftovers in weird places
<Ralith> I have a friend who studies nuclear physics
<jazzencat> Then I burn copies of it and use those if I need to. I still use Adobe Master Suite CS6.
<Ralith> his university's lab is full of equipment that is in constant danger of becoming useless, because it is operated by software that is no longer maintained
<Ralith> some of this equipment cost millions of dollars and cannot, practically speaking, be replaced
<MichaelRaskin> In my case, we had hardware older than Windows 95 with very good and tested drivers for DOS and for Windows 9x.
acowley is now known as acowley_away
<MichaelRaskin> The hardware costs mere thousands of dollars, though
<jazzencat> There are banks that have computers that still use magnetic tape for their storage, that still do what they are supposed to do, and the banks hire companies to custom-build replacement parts.
<Ralith> labs across the country have to share hacks and work-arounds to eke out just a little more life from gear that would be working fine if not for the fact that the control systems were proprietary to companies that no longer exist
<Ralith> the source code to which has almost certainly been destroyed
<Ralith> not everybody has the resources and negotiating position of a bank, unfortunately
<jazzencat> Yeah, so there we have a problem, and that's where the OpenBSD team's insistance on good documentation helps, because it makes reverse-engineering things possible.
<clever> MichaelRaskin: the development hardware for the sega genesis? console only works on windows 95
<clever> MichaelRaskin: and this crazy guy is trying to make a game on it
<jazzencat> Yeah. And when you don't have the coding skills and no resources you're not in a much better position to be able to hire someone to fix GIMP to your specifications either.
rardiol has quit [(Ping timeout: 246 seconds)]
<jazzencat> You just have to wait until someone, maybe, comes up with the idea and implements it.
<jazzencat> Haha.
<jazzencat> Nice.
<clever> MichaelRaskin: and i think the interactive debugger is raw dos, only windows95 lacks the security that allows dos to control isa cards directly
<MichaelRaskin> Did you say reverse engineering?
<jazzencat> Local game store sells consoles that run NES, SNES, SEGA Genesis games.
<MichaelRaskin> Because software licenses are allowed to prohibit it
<jazzencat> Yeah, depending on where you are EULAs aren't enforcable unless you show the person the EULA before they purchase the software.
<clever> jazzencat: the video i linked, is the original sega development console, with specialized hardware to allow you to set breakpoints and inspect the state of the game
filterfish has joined #nixos
<viric> I worked in a company that produced private software. Unlike Windows, though, we used very strong counter-copy mechanisms. So when the licences had been discontinued, noone could get any new copy.
filterfish has quit [(Remote host closed the connection)]
<clever> viric: that reminds me of a /r/talesfromtechsupport/ post i read a week ago, the software in question would brick itself if you try to read the licensing key files
<clever> viric: and backup software often reads those keys
<MichaelRaskin> Well, in any remotely reasonable interpretation of informing the user, most Windows installer versions qualify as computer viruses
<clever> viric: the user kept reporting that it was broken, they kept asking, "do you have any backup software" and he kept answering no
<MichaelRaskin> In the criminal code sense
sitedyno has quit [(Ping timeout: 240 seconds)]
berce has quit [(Read error: Connection reset by peer)]
<viric> :) not that kind. It was not self-destructing, but used smartcards and crazy code wrapping
<clever> viric: months down the road, he starts the convo with 'do you think its my backup software?'
<MichaelRaskin> In the sense that they can change the boot sector without asking and before showing the license, then fail to install and leave an unbootable system
rardiol has joined #nixos
<MichaelRaskin> Windows 10 brought this to an art form by sometimes managing to do this via autoupdate
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21218: Update/ripgrep 0.3.2 (master...update/ripgrep-0.3.2) https://git.io/v17tt
<clever> MichaelRaskin: heh
<viric> MichaelRaskin: a few weeks ago... Installing some software caused BSOD, and it started on boot and it caused BSOD in boot. You go to the special blank boot, click some kind of "repair", and the outcome was a boot that reported "No operating system found"
<clever> viric: many years ago, i discovered that if you plug a teensy microcontroller into a usb hub, and into the special charging ports, you get a BSOD
<viric> That was just the naive path of "please fix the system, bring it to the usable state" pressing of buttons
tg has quit [(Ping timeout: 245 seconds)]
<clever> viric: that was the ONLY time i was able to track down the cause and fix it, the mobo vendor has a special driver for the "charging" usb ports
<clever> said driver was probably having a segfault in kernelspace
t2 has quit [(Ping timeout: 240 seconds)]
<clever> and was easily uninstalled
<viric> yes, the goal for that system I told was also to uninstall that just-installed thing
sitedyno has joined #nixos
<viric> plenty of software reminds you of backups
danielrf[m] has left #nixos ["User left"]
berce has joined #nixos
<MichaelRaskin> I had a notebook HDD that had a special way of reminding about backups…
<clever> viric: another more anoying bug i ran into on windows, certain games detect the lack of a mouse wheel, and decide to mess with how the wheel event behaves
<clever> in my case, i was using synergy, with zero mice connected
<clever> so it thinks i lack a wheel
<MichaelRaskin> The point is that after it died, it was possible to make it work again (for some time) by various magic passes (including just waiting a day, actually)
berce has quit [(Read error: Connection reset by peer)]
<clever> then it gets a wheel up event, and infinitely scrolls to the top of the list, even when i try hitting the down arrow key
<clever> and if it gets even 1 wheel down event, it infinitely scrolls to the bottom of the list
<clever> the menu's are now 100% imposible to navigate
<MichaelRaskin> Maybe middle-click would help?
<clever> the solution, was to connected a device that claims to be a usb mouse with a wheel, and never touch it again
<clever> in my case, it was a teensy microcontroller setup to emulate a combo keyboard+mouse
<clever> but any wheeled mouse would have worked
<MichaelRaskin> It would be fun to use a mouse with a mechanically broken wheel
berce has joined #nixos
jensens has joined #nixos
<jazzencat> That was a fun discussion :)
* kmicu ಠ_ಠ
berce has quit [(Read error: Connection reset by peer)]
tg has joined #nixos
Wizek has quit [(Ping timeout: 250 seconds)]
Wizek_ has quit [(Ping timeout: 260 seconds)]
<jazzencat> Hm, looking for more icon themes.
k2s has joined #nixos
k2s has quit [(Client Quit)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
berce has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
<jazzencat> That video's HW and program looks like what speedrunners would use when doing Tool-Assisted Speedruns.
jensens has quit [(Ping timeout: 268 seconds)]
berce has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21219: fzf: 0.15.1 -> 0.15.9 (master...update/fzf-0.15.9) https://git.io/v17mw
jazzencat has quit [(Ping timeout: 260 seconds)]
sitedyno has quit [(Ping timeout: 240 seconds)]
filterfish has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
filterfish has quit [(Read error: Connection reset by peer)]
berce has joined #nixos
jazzencat has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
wangoe has quit [(Ping timeout: 268 seconds)]
eacameron has quit [(Remote host closed the connection)]
berce has joined #nixos
Lowl3v3l_ has joined #nixos
mizu_no_oto has joined #nixos
sitedyno has joined #nixos
berce has quit [(Read error: Connection reset by peer)]