<joepie91>
I'll probably finish things tomorrow and publish it :P and more sources can be added later, as needed
<joepie91>
(it uses MITRE, NVD and SecurityFocus for now)
eju has joined #nixos
<joepie91>
SF seems to be reasonably quick in providing details even when MITRE/NVD still say "reserved"
frumpagumpus has joined #nixos
<joepie91>
(this is the report output - a --json flag will be added also)
<NixOS_GitHub>
[nixpkgs] matthewbauer opened pull request #20670: Darwin close-source apps: init Steam, Spotify (master...darwin-apps) https://git.io/v1vx5
thc202 has quit [(Read error: Connection reset by peer)]
<Shados>
c74d: Why do you want to keep a package in the store but not in the system profile?
<c74d>
Shados: so that I can keep it out of the global environment, but have it easily available for temporary project-specific (e.g. nix-shell) environments
matthewbauer has quit [(Ping timeout: 246 seconds)]
<shanemikel>
is there a nice way to track which derivation packages come from? So I could install stuff from expressions in my home dir (perhaps stuff that's already in nixpkgs, but I need to build it differently, or a different version), and just list all the installed packages that came from my system nixpkgs installation, or all the packages that came from my personal derivation.. just to make it easy to nuke everything and revert to
<shanemikel>
the nixpkgs stuff
zeus_ has joined #nixos
<shanemikel>
I guess I could take care manually to keep it all in a different profile, but I might forget! also, is there a way to "layer" different profiles so I can keep organized if I do it this way?
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
page_ has joined #nixos
eacameron has joined #nixos
page has quit [(Ping timeout: 260 seconds)]
k2s has quit [(Ping timeout: 265 seconds)]
shanemikel has joined #nixos
shanemikel has left #nixos []
shanemikel has joined #nixos
<gchristensen>
NeQuissimus: are you available for a bit more tonight? :)
<shanemikel>
Derr.. just put mutliple profiles in my various paths
stepcut has quit [(Remote host closed the connection)]
<shanemikel>
oh.. shit --drv-path
<shanemikel>
sorry I've had too much coffee, can't deal with manuals right now :(
MichaelRaskin has quit [(Ping timeout: 260 seconds)]
echo-area has joined #nixos
<gchristensen>
ImageMagick is the most frustrating package.
joelmo has quit [(Quit: Connection closed for inactivity)]
<NixOS_GitHub>
[nixpkgs] lbodor opened pull request #20674: dockerTools: rsync contents with -keep-dirlinks (master...docker-tools-rsync-pr) https://git.io/v1fvA
frumpagumpus has quit [(Ping timeout: 240 seconds)]
stepcut has joined #nixos
redmq has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc pushed 2 new commits to roundup-10: https://git.io/v1fff
<NixOS_GitHub>
nixpkgs/roundup-10 178af9c Graham Christensen: libtiff: 4.0.6 -> 4.0.7 for many CVEs...
<NixOS_GitHub>
nixpkgs/roundup-10 8c977d8 Graham Christensen: graphicsmagick: Update URLs for patches
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
redmq has quit [(Ping timeout: 260 seconds)]
supremacsy has joined #nixos
shanemikel has joined #nixos
nitrix has joined #nixos
<ryantm____>
Somehow my /sys/fs/cgroup mount got completely full. It seems to be making it impossible to run nixos-rebuild --switch. Anyone have that problem before? The root drive has many 97 GB free
ibrahims has quit [(Ping timeout: 245 seconds)]
<ryantm____>
oh wait that's totally wrong.
derjohn_mobi has joined #nixos
mbrgm has quit [(Ping timeout: 248 seconds)]
<ryantm____>
My /boot is full.
mbrgm has joined #nixos
derjohn_mob has quit [(Ping timeout: 268 seconds)]
<shanemikel>
I'm perusing the nix manual, reading Ch14. How can I reference packages in nixpkgs from a derivation somewhere in my own project tree? is there something under ~/.nix-profile pointing to the system nixpkgs? Also, I see some useful looking stuff in ~/.nix-profile/share/nix .. I'm guessing this is the basic stuff meant to be used for expressions outside of the nixpkgs tree?
<ryantm____>
shanemikel: you can do import <nixpkgs> {};
<ryantm____>
That will import the nix expr defined by NIX_PATH=nixpkgs=/path/to/nixpkgs
ibrahims has joined #nixos
<shanemikel>
oh, thanks. there's a .nix-defexpr link
frumpagumpus has joined #nixos
ibrahims has quit [(Ping timeout: 246 seconds)]
<ryantm____>
sudo nix-collect-garbage -d followed by nixos-rebuild boot fixed my issue with /boot being full
<shanemikel>
usually that happens from keeping around too many old kernels
<shanemikel>
did you see how many were in there?
hexagoxel has quit [(Ping timeout: 264 seconds)]
lverns has joined #nixos
hexagoxel has joined #nixos
<shanemikel>
did nixpkgs stop using the all-packages.nix file? cant `find` it i
nh2_ has quit [(Quit: Leaving.)]
<gchristensen>
shanemikel: no it is there
ibrahims has joined #nixos
<gchristensen>
$ find . -name all-packages.nix
<gchristensen>
./pkgs/top-level/all-packages.nix
mguentner has quit [(Ping timeout: 252 seconds)]
<shanemikel>
oop.. got it
joneshf-laptop has joined #nixos
<shanemikel>
oh, stupid find doesn't follow symlinks by default
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
phreedom has joined #nixos
ibrahims has joined #nixos
shanemikel has joined #nixos
odi has joined #nixos
ibrahims has quit [(Client Quit)]
frumpagumpus has joined #nixos
marusich has quit [(Ping timeout: 258 seconds)]
page_ is now known as page
marusich has joined #nixos
the_scourge has quit [(Ping timeout: 260 seconds)]
c__ has quit [(Ping timeout: 260 seconds)]
Guest2 has joined #nixos
rardiol has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] TravisWhitaker opened pull request #20677: graphviz: Make derivations pure on non-NixOS systems. (master...graphviz-fix) https://git.io/v1fs1
marusich has quit [(Ping timeout: 256 seconds)]
echo-area has quit [(Remote host closed the connection)]
echo-area has joined #nixos
marusich has joined #nixos
indi_ has quit [(Remote host closed the connection)]
NEo4v8 has joined #nixos
indi_ has joined #nixos
systemfault has quit [(Quit: Bye!)]
johann__ has joined #nixos
yodeler has quit [(Remote host closed the connection)]
<hyper_ch>
running from the cli with sudo doesn't work
<hyper_ch>
running from kicker tells me it needs root privileges
<lassulus>
hyper_ch: `DISPLAY=:0 gparted` works for me as root
<hyper_ch>
unetbootin asks for root access
<hyper_ch>
thx :)
<dweller>
'sudo nix-shell -p gparted --run gparted' works for me
<hyper_ch>
lassulus: doesnt work here
<lassulus>
whats the error?
<hyper_ch>
(gpartedbin:18662): Gtk-WARNING **: cannot open display: :0
<dweller>
try xhost +local
Seichi has joined #nixos
<hyper_ch>
dweller: what do you mean by that?
<hyper_ch>
dweller: how do I remove that stuff that was added by sudo nix-shell -p gaprted --run gparted ?
<dweller>
what stuff?
<hyper_ch>
dweller: it downloaded stuff
<dweller>
from nix store? during garbage collecting
<hyper_ch>
into nixstore
arjen-jonathan has joined #nixos
lel has quit [(Ping timeout: 258 seconds)]
johann__ has quit [(Quit: Leaving.)]
<clever>
hyper_ch: nix-collect-garbage
<hyper_ch>
thx
<hyper_ch>
one issue still is - shouldn't gparted ask for root permission like unetbootin?
<LnL>
do we have some sort of solution for applications that don't have a versioned source?
<clever>
hyper_ch: sudo gives it root
<hyper_ch>
clever: starting it from kde kicker... it doesn't ask for root
<hyper_ch>
running it with sudo, gives error display in ci
<clever>
hyper_ch: ah, thats a bit odd
<clever>
hyper_ch: is this from a cd or normal install?
<hyper_ch>
it's from a running nixos
<hyper_ch>
unstable
Lowl3v3l has quit [(Ping timeout: 260 seconds)]
MatrixBot_icetan has joined #nixos
icetan[m]1 has joined #nixos
jacob_ has joined #nixos
msd has joined #nixos
jacob_ is now known as Guest75901
<ixxie>
Okay so, I notice some packages subattributes coding for particular plugins/libraries/modules; for example browsers have options for installing flash plugins. Some interpreters/compilers are built with arbitrary libraries, like rWrapper; I want to implement arbitrary plugin installation for Chromium, VSCode, etc.
aaronlevin has joined #nixos
derjohn_mobi has quit [(Ping timeout: 256 seconds)]
<Havvy>
So, I have a NixOS install mounted to /media/sda4 and I need to change the configuration and rebuild nixos. How do I get access to nixos-stuff commands?
<clever>
Havvy: is the host also nixos?
<Havvy>
No. It's a rescue OS I have no control over.
<clever>
Havvy: have you used chroot before to do this to another distro?
<Havvy>
(When my laptop died months ago, I lost my private key)
<Havvy>
clever: Yes, to a prior NixOS, but I forget things.
Shou has joined #nixos
<clever>
Havvy: mount --bind /dev /media/sda4/dev ; mount --bind /proc /media/sda4/proc ; mount --bind /sys /media/sda4/sys ; mount -t tmpfs tmpfs /media/sda4/run
<NixOS_GitHub>
[nixpkgs] LnL7 closed pull request #20684: postgresql: fix build on darwin (master...fix-postgresql-osx) https://git.io/v1f4V
<clever>
Havvy: that should get the bulk of the mounts, then you want to symlink /media/sda4/run/current-system to /nix/var/nix/profiles/system (the symlink will only be valid after the chroot)
<goibhniu>
Myrl-saki: \o/
<clever>
Havvy: then i think you can chroot /media/sda4 /media/sda4//nix/var/nix/profiles/system/sw/bin/bash and export PATH=/run/current-system/sw/bin
<clever>
Havvy: and make sure to only use "nixos-rebuild boot", switch wont like the chroot
<rly>
Has anyone used both Terraform *and* NixOps?
<Havvy>
Yeah, switch sounds like a good way to destroy things.
[0x4A6F] has quit [(Ping timeout: 246 seconds)]
<clever>
Havvy: and if you have a boot partition, mount that as well
<rly>
I have used Terraform now and it sort of works, but it looks like like it has very much ad hoc semantics.
<rly>
-like*
<Havvy>
boot is at sda2
<clever>
Havvy: it should be at /media/sda4/boot/ before you chroot
<rly>
NixOps doesn't define as many cloud resources, which makes it much less practical to use at this time, I think, but perhaps it's very easy to add new resources.
<Havvy>
so `mount /dev/sda2 /media/sda4/boot` ?
cfricke has joined #nixos
<clever>
Havvy: yep
msd has joined #nixos
<Myrl-saki>
goibhniu: Feeling so accomplished right now.
dmi3y has joined #nixos
[0x4A6F] has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v1f6m
<NixOS_GitHub>
nixpkgs/master f9d787c Joachim Fasting: grsecurity: 4.8.10-201611210813 -> 201611232213
echo-area has quit [(Remote host closed the connection)]
dmi3y has quit [(Client Quit)]
msd has quit [(Remote host closed the connection)]
msd has joined #nixos
<Havvy>
clever: The chroot isn't working because it can't follow the symlinks. Though I can follow them...
<clever>
or just export PATH=/nix/var/nix/profiles/system/sw/bin/
filterfish has joined #nixos
msd has quit [(Remote host closed the connection)]
filterfish has quit [(Read error: Connection reset by peer)]
plumps has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Havvy>
No wait, got the darn symlinks working.
filterfish has joined #nixos
msd has joined #nixos
dmi3y has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
msd has quit [(Ping timeout: 260 seconds)]
the_scourge has quit [(Read error: No route to host)]
filterfish has quit [(Remote host closed the connection)]
madbub has joined #nixos
<Havvy>
clever: Success! :D
filterfish has joined #nixos
* Havvy
is wondering whether or not he should print out his private key somewhere.
dmi3y has quit [(Client Quit)]
<Havvy>
The cool thing is that once I actually had access to a working nixos-rebuild, it only took five minutes. And three of those were futzing around with newlines.
ixxie has quit [(Ping timeout: 252 seconds)]
<clever>
heh :D
indi_ has joined #nixos
angerman has quit [(Quit: Gone)]
filterfish has quit [(Ping timeout: 248 seconds)]
Seichi has quit [(Quit: Konversation terminated!)]
Seichi has joined #nixos
joneshf-laptop has quit [(Quit: Leaving)]
filterfish has joined #nixos
filterfish_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
johann__ has joined #nixos
filterfish_ has quit [(Read error: No route to host)]
filterfish has quit [(Read error: No route to host)]
filterfish has joined #nixos
dmi3y has joined #nixos
dmi3y has quit [(Client Quit)]
dmi3y has joined #nixos
plumps has joined #nixos
indi_ has joined #nixos
signal4 has left #nixos ["Leaving"]
asymmetric has joined #nixos
johann__ has quit [(Quit: Leaving.)]
<ronny>
hmm
<ronny>
does anyone have an idea how to enable fast user switching on nixos (using gdm)
johann__ has joined #nixos
<LnL>
sweet! I can use my nas wirh NIX_OTHER_STORES now :D
indi_ has quit [()]
Seichi_ has joined #nixos
Seichi has quit [(Ping timeout: 250 seconds)]
<ronny>
hmm
asymmetric has quit [(Ping timeout: 252 seconds)]
ugjka has quit [(Quit: ByE ByE)]
plumps has quit [(Read error: Connection reset by peer)]
plumps has joined #nixos
frumpagumpus has quit [(Ping timeout: 250 seconds)]
Shou has quit [(Ping timeout: 256 seconds)]
pstn_ has joined #nixos
c__ has joined #nixos
takle has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1fSB
<NixOS_GitHub>
nixpkgs/master 2d7cb1f Vladimír Čunát: luajit: 2.1.0-beta1 -> 2.1.0-beta2...
iyzsong has joined #nixos
ugjka has joined #nixos
<NixOS_GitHub>
[nixpkgs] abbradar opened pull request #20688: BItcoin and Electrum servers (master...bitcoin) https://git.io/v1fS9
Shou has joined #nixos
johann__ has quit [(Quit: Leaving.)]
pstn_ has quit [(Remote host closed the connection)]
aaronlevin has quit [(Ping timeout: 250 seconds)]
Seichi_ has quit [(Quit: Konversation terminated!)]
Seichi_ has joined #nixos
aaronlevin has joined #nixos
msd has joined #nixos
Itkovian has quit [(Quit: Textual IRC Client signing off)]
Itkovian has joined #nixos
<domenkozar>
ikwildrpepper: niksnut mac1-5 are idle and blocking nixpkgs :(
ebzzry has joined #nixos
pstn_ has joined #nixos
aaronlevin has quit [(Ping timeout: 256 seconds)]
<rly>
Does nixops support a command which will delete all AWS resources from a given account?
abcrawf has quit [(Remote host closed the connection)]
<domenkozar>
it only tracks what it creates
<rly>
Or do you know of anything else which does?
<domenkozar>
but I'm sure there are projects that do this
<rly>
I found some ruby hack, but it is of course incomplete.
abcrawf has joined #nixos
filterfish has quit [(Remote host closed the connection)]
proteus-guy has quit [(Ping timeout: 265 seconds)]
filterfish has joined #nixos
abcrawf has quit [(Remote host closed the connection)]
abcrawf has joined #nixos
lonokhov has quit [(Quit: leaving)]
aaronlevin has joined #nixos
Shou has quit [(Ping timeout: 260 seconds)]
frnwtr has joined #nixos
phanimahesh has quit [(Ping timeout: 240 seconds)]
plumps has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
laverne_ has quit [(Ping timeout: 265 seconds)]
aaronlevin has quit [(Quit: leaving)]
cushty has quit [(Quit: WeeChat 1.5)]
xadi has quit [(Ping timeout: 244 seconds)]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1Jmy
<NixOS_GitHub>
nixpkgs/master 286c836 Vladimír Čunát: pciutils: fixup finding modules to libkmod's way...
ebzzry has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1JYC
<NixOS_GitHub>
nixpkgs/master 516f839 Vladimír Čunát: Revert "pciutils: fixup finding modules to libkmod's way"...
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/v1JY4
<NixOS_GitHub>
nixpkgs/staging ceda8cb Vladimír Čunát: pciutils: fixup finding modules to libkmod's way...
eacameron has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/v1JY5
<NixOS_GitHub>
nixpkgs/release-16.09 fe0f9f9 Vladimír Čunát: pciutils: fixup finding modules to libkmod's way...
phanimahesh has quit [(Ping timeout: 252 seconds)]
NEo4v8 has joined #nixos
opsJm has joined #nixos
eacameron has quit [(Remote host closed the connection)]
MatrixBot_icetan has quit [(Remote host closed the connection)]
icetan has quit [(Remote host closed the connection)]
MatrixBot_icetan has joined #nixos
icetan has joined #nixos
filterfish has quit [(Read error: No route to host)]
icetan has quit [(Remote host closed the connection)]
MatrixBot_icetan has quit [(Remote host closed the connection)]
MatrixBot_icetan has joined #nixos
icetan has joined #nixos
Seichi_ has quit [(Quit: Konversation terminated!)]
NEo4v8 has quit [(Ping timeout: 245 seconds)]
Seichi_ has joined #nixos
herzmeister has quit [(Quit: Leaving)]
MatrixBot_icetan has quit [(Remote host closed the connection)]
icetan has quit [(Remote host closed the connection)]
johann__ has quit [(Read error: Connection reset by peer)]
MatrixBot_icetan has joined #nixos
icetan has joined #nixos
JagaJaga has quit [(Ping timeout: 240 seconds)]
herzmeister has joined #nixos
icetan has quit [(Remote host closed the connection)]
MatrixBot_icetan has quit [(Remote host closed the connection)]
simendsjo has joined #nixos
msd has quit [(Remote host closed the connection)]
rly has quit [(Ping timeout: 245 seconds)]
amarsman has quit [(Ping timeout: 260 seconds)]
benzrf has joined #nixos
<benzrf>
yo!
<benzrf>
i'm not totally clear on how the stuff works that fits outside of the edge of the nix expression language but lower-level than running nix-shell
Shou has joined #nixos
<benzrf>
basically - sure, once you have a derivation value constructed within the expression language, the runtime system has a notion of "building" it, which produces some directory of results, like binaries. ok
<benzrf>
past that - what are the concepts and mechanics involved in, like, generating symlink farms, and managing the store, and stuff
<benzrf>
is it like - anytime any derivation is built, a dir in the store is automatically created to cache/store the output
<benzrf>
but then how does the symlink stuff work?
msd has joined #nixos
<clever>
benzrf: buildEnv will create a group of symlinks to merge some paths, and that itself is another derivation
tomb has joined #nixos
<clever>
benzrf: its just a perl script that looks at each input, and dynamicaly creates the correct symlinks
<benzrf>
do any of you ever have moments of hopelessness where you feel like maybe it's futile after all to try to build a truly functional build system on top of the quicksand that is unix
<benzrf>
like, with all the special-casing that has to happen because of shit like depending on $PATH at runtime
<clever>
nix solves that by just clearing $PATH at the start of a build
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<clever>
and because everything is in nearly random paths under /nix/store, you cant find something your not supposed to be using
<benzrf>
well
<clever>
you can only find something you have been explicitely given thru the expression
<benzrf>
i guess not so much the *build* system itself -
<benzrf>
but the runtime aspects
<benzrf>
getting programs to behave as though their dependencies are actually inputs instead of global state
<clever>
yeah, if something happens to already be in $PATH on the devs system, they may not notice it depends on that
<clever>
and it will eventualy break when somebody doesnt have it
<clever>
but then it should be fixed
ebzzry has joined #nixos
<clever>
thats why i avoid having certain tools installed globally
<clever>
and why i try to always use absolute paths in things i build on nix
<simendsjo>
It seems Chrome/Chromium wants to recompile each time I do --upgrade. Is there a way to state that I only want to update things that has been precompiled?
<clever>
simendsjo: nix has no way of doing that, it either updates everything, or it updates nothing
pstn_ has quit [(Ping timeout: 248 seconds)]
<clever>
simendsjo: are you on 32bit or 64bit?
<simendsjo>
I see. Is it because some low-level libraries is being updated often that it needs to recompile?
<simendsjo>
64 bit
<clever>
its because nix has no real way to figure out the old state, the purity of the system stops it
<clever>
simendsjo: what do you have in nixpkgs.config ?
<simendsjo>
Do you mean ~/.nixpkgs/config.nix?
Shou has quit [(Ping timeout: 260 seconds)]
<clever>
simendsjo: depends, is chromium in nix-env -q or systemPackages?
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
ebzzry has quit [(Ping timeout: 260 seconds)]
xadi has joined #nixos
<simendsjo>
I've been experimenting quite a bit, so it looks like I have it in both...
<clever>
the one in systemPackages will use nixpkgs.config
<clever>
then one in nix-env will use ~/.nixpkgs/config.nix
<clever>
also, nix-env stuff isnt updated by nixos-rebuild, so it will just not update, which might be what you want
Seichi_ has quit [(Quit: Konversation terminated!)]
<simendsjo>
I see. I'm only using nixos-rebuild and have everything in configuration.nix. I cannot find any nixpkgs.config file, but it also seems like locate is broken.
Seichi_ has joined #nixos
<simendsjo>
I should probably move applications over to config.nix then?
<clever>
updatedb cant be ran manualy, it needs a service setup in configuration.nix
<clever>
and nixpkgs.config is an entry in configuration.nix
icetan[m] has joined #nixos
<simendsjo>
I have `locate.enable = true;` in configuration.nix, but it doesn't seem to work anyway.
<clever>
it updates once a day, at 2:15 am
icetan[m] is now known as icetan
yegods has joined #nixos
<kmicu>
Run ‘systemctl start update-locatedb’ to generated a database if you do not want to wait for a scheduled updated.
<simendsjo>
I don't set much in the config section in configuration.nix, just some `allowUnfree` and a couple of other things.
<gchristensen>
fpletz: so I should backport the gstreamer patches, right?
<clever>
simendsjo: i think enableWideVine causes a rebuild of chromium
<clever>
it was doing that on my end recently
<benzrf>
can i get pulp thru nix
<griff__>
is there a way to get my own hydra instance to build a fork of nixpkgs without it having to build the entire world? Like just downloading from hydra.nixos.org when the derivation has already been built there?
<simendsjo>
kmicu: Doesn't seem to do anything. I get several log entries with permission denied (e.g. on my home folder) even though I try to run it as root.
<clever>
griff__: you generaly want to make a derivation and tell it what you want to build from nixpkgs
<clever>
griff__: or its going to try to download ~80gig of packages, every single thing under the sun
<simendsjo>
clever: Ah. But I think I need it for netflix to work :/
<clever>
simendsjo: if you put chromium only in nix-env, and put enableWideVine into ~/.nixpkgs/config.nix, then it will only have to build chromium when you tell nix-env to update
<clever>
simendsjo: so you can do it less often
Itkovian has joined #nixos
<simendsjo>
clever: That sounds like a decent plan. I should probably keep configuration.nix only short enough to boot my system and put all other applications in config.nix?
<clever>
simendsjo: yeah, thats one option, i'm a bit torn between configuration.nix being enough to rebuild the entire thing, and being able to select what rebuilds each time
<simendsjo>
clever: That was my idea too - a system that will work the same so I can easily roll back anything from the boot menu and easily setup an entirely new system.
<clever>
simendsjo: also, have you seen how to use buildEnv in ~/.nixpkgs/config.nix ?
<simendsjo>
clever: Not at all :) I still haven't found time to read through half the documentation.
<clever>
simendsjo: so i can just nix-env -iA nixos.mystuff, and everything from line 15-38 gets installed
athan has quit [(Ping timeout: 256 seconds)]
<clever>
simendsjo: manage that in git, and you have less to remember when you want to upgrade or reinstall
<simendsjo>
clever: Nice. That looks like a good middle ground. How is rollback handled using this approach?
<clever>
simendsjo: the entire mystuff package is one atomic unit, so a rollback will downgrade the whole thing at once
<clever>
or remove it if it wasnt present in the last version
ambro718 has joined #nixos
<simendsjo>
clever: So I can do `nix-env -iA nixos.mystuff --upgrade`, and if something breaks, do `nix-env -iA nixos.mystuff --rollback` (or similar commands)?
benzrf has left #nixos ["WeeChat 1.6"]
<clever>
no need to --upgrade, and --rollback doesnt take -A
<clever>
if you -i something you already have, it will upgrade
<clever>
and --rollback just undoes whatever the last operation was
<simendsjo>
I see. Thanks. I'll probably try to migrate something over to using nix-env instead of nixos-rebuild to reduce the upgrade time.
<griff__>
clever: thanks I will try that
Itkovian has quit [(Ping timeout: 260 seconds)]
fadenb has quit [(Quit: WeeChat 1.6)]
edvorg has quit [(Ping timeout: 252 seconds)]
fadenb has joined #nixos
Shou has quit [(Ping timeout: 256 seconds)]
MatrixBot_icetan has joined #nixos
herzmeister has quit [(Quit: Leaving)]
dmi3y has quit [(Quit: dmi3y)]
herzmeister has joined #nixos
eacameron has joined #nixos
frnwtr has left #nixos ["WeeChat 1.5"]
civodul has joined #nixos
jgertm has quit [(Ping timeout: 265 seconds)]
arjen-jonathan has quit [(Ping timeout: 265 seconds)]
jgeerds has quit [(Remote host closed the connection)]
plumps has joined #nixos
<NixOS_GitHub>
[nixpkgs] shlevy pushed 1 new commit to master: https://git.io/v1J80
<NixOS_GitHub>
nixpkgs/master 4438ea1 Shea Levy: Add self to the mention bot blacklist
nh2_ has quit [(Ping timeout: 260 seconds)]
msd has quit [(Remote host closed the connection)]
opsJm has quit [(Ping timeout: 260 seconds)]
msd has joined #nixos
Havvy has quit [(Ping timeout: 260 seconds)]
Seichi_ has quit [(Quit: Konversation terminated!)]
Seichi_ has joined #nixos
yodeler has joined #nixos
yodeler has quit [(Changing host)]
yodeler has joined #nixos
rly has joined #nixos
nh2_ has joined #nixos
IITaudio has quit [(Ping timeout: 256 seconds)]
ilja_kuklic has joined #nixos
<joepie91>
gchristensen: ping me when you're around, please :)
<joepie91>
want to make sure that the current version of the CVE lookup thing covers all the info you need
Seichi_ has quit [(Ping timeout: 245 seconds)]
kampfschlaefer has joined #nixos
plumps has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nh2_ has quit [(Ping timeout: 240 seconds)]
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
pi3r has quit [(Ping timeout: 260 seconds)]
laverne_ has joined #nixos
kostja has joined #nixos
<kostja>
hello! does any one has nix installed in a non default location?
<hyper_ch>
probably
<kostja>
my pkgOverride stopped working and I get a nix that expects the store at /nix
<kostja>
wanted to ask what I'm supposed to change
eacameron has quit [(Remote host closed the connection)]
NEo4v8 has joined #nixos
laverne_ has quit [(Ping timeout: 265 seconds)]
alunduil has quit [(Remote host closed the connection)]
<afh>
Hi I'd like to install coreutils using nix on macOS, yet I'd like the binaries to have the 'g'-prefix, fortunately I see the coreutils/default.nix has withPrefix which defaults to false. What option do I give nix-env -i coreutils to set it to true?
yegods has joined #nixos
yegods has quit [(Remote host closed the connection)]
yegods has joined #nixos
<Dezgeg>
nix-env -iA nixpkgs.coreutils-prefixed seems like it
ilja_kuklic has quit [(Ping timeout: 256 seconds)]
frumpagumpus has joined #nixos
jensens has quit [(Ping timeout: 245 seconds)]
jdreaver has joined #nixos
<viric>
Again, kdenlive hell. What do I have to install, apart from kde5.kdenlive, to get the icons in it?
<afh>
Dezgeg: Thanks, yet it works differently than I expected. I thought it would install (i.e. create a symlink named) gdate rather than date
<afh>
It seems that the binary the links point (coreutils) is prefixed with 'g' which does not make much sense to me. What are your thoughts?
Seichi_ has joined #nixos
cfricke has joined #nixos
pstn_ has joined #nixos
<Dezgeg>
hmm, maybe it has a bug with the single-binary build
Seichi__ has joined #nixos
<LnL>
ikwildrpepper: the macs are idle again
lverns has joined #nixos
plumps has quit [(Read error: Connection reset by peer)]
plumps has joined #nixos
<afh>
Dezgeg: How do I list the derivations for a package to find out how I can change the singleBinary attribute?
Seichi_ has quit [(Ping timeout: 265 seconds)]
<viric>
I have no idea how to get icons in kde5 programs. Grrr
<viric>
Every few months, the same thing
laverne_ has quit [(Ping timeout: 265 seconds)]
<hyper_ch>
kde5 is still in bad shape
<hyper_ch>
imho
servilio has joined #nixos
<servilio>
hi! how can I force the renewal of a certificate generated by letsencrypt?
asymmetric has joined #nixos
<hyper_ch>
certbot?
eacameron has quit [(Remote host closed the connection)]
JagaJaga has joined #nixos
<hyper_ch>
servilio: certbot?
Seichi__ has quit [(Ping timeout: 252 seconds)]
<servilio>
hyper_ch: ended up rm'ing the files under /var/lib/acme/<domain>/ and restarting the service acme-<domain>.service
<servilio>
worked like a charm
Shou has joined #nixos
<hyper_ch>
you still didn't say what client you're using
earldouglas has joined #nixos
<earldouglas>
Is there a way to generate a sha256 from a local git repo in the same way that fetchgit does? I guessed nix-store --dump . | sha256sum, but no luck.
<clever>
earldouglas: nix-prefetch-git
<clever>
earldouglas: part of your problem, is that fetchgit doesnt keep the .git dir, so your previous hash was likely including that
<earldouglas>
Bingo!
<earldouglas>
That worked, thanks!
<servilio>
hyper_ch: no idea, I just enabled ACME in a Nginx vhost
<hyper_ch>
servilio: there's a gazillion clients
<servilio>
hyper_ch: from what I read, seems to be simp_le
<hyper_ch>
I see
asymmetric has quit [(Read error: Connection reset by peer)]
<servilio>
hyper_ch: now I the error on my ways :D I made a pretty generic question, just assumed that asking it in the nixos channel would implicitly have the "for the NixOS service"
<simpson>
servilio: There are multiple clients with NixOS support IIRC.
<hyper_ch>
servilio: I just wrote a littel dns api script for the config panel I use for a different le client
<hyper_ch>
dns-01 challenge is fun :)
nh2_ has quit [(Ping timeout: 252 seconds)]
<servilio>
yes, I should added from the beginning that I meant the one enabled through security.acme
athan has quit [(Ping timeout: 246 seconds)]
automaton has joined #nixos
<the-kenny>
https://github.com/NixOS/nixpkgs/issues/18111#issuecomment-262812502 - ugh, this guy must be very pleasant to work with. I was just *hinting* at the idea of removing the (months old) rustc-unstable compiler from nixpkgs and he goes full-throttle against it in a (to me) quite unpleasant tone
<the-kenny>
Oh and if I'm doing something wrong: Please tell me. I'm just trying to clear things up here
<simpson>
the-kenny: "It would be very helpful if you allowed us to take over please." That's a red flag right there.
<the-kenny>
simpson: red flag for what?
<simpson>
the-kenny: Unpleasant motives, mostly. Nix is a community project, nixpkgs even more so, and somebody that wants to own an entire subsystem because their business depends on it is risky.
<the-kenny>
Oh and note that he questioned my commit access earlier this year. I suppose he isn't happy with what I'm doing :) (Which isn't much, I know)
<afh>
How can I list the derivations for a nixpkgs?
takle has quit [(Remote host closed the connection)]
<the-kenny>
simpson: Oh yeah. I suppose we're on similar points here: He's free to contribute as is everyone else, but shouldn't get any extra rights because he's monetizing nixpkgs somehow
<simpson>
the-kenny: For example, I'm monetizing nixpkgs, which means (to me) that I am obligated to contribute patches and fixes upstream, that I must wait in line with my PRs like everybody else, and that I am allowed to participate in discussions as long as I'm reasonable.
Seichi__ has joined #nixos
<the-kenny>
simpson: yeah, nothing's wrong with that. His comments made me feel like we're obliged to keep rustc-unstable because of him (or even make hydra build it, he's hinting at that and it's the original issue title). We can discuss that, but it should be a discussion and not "I need it for my business therefore you have to keep it"
Seichi has joined #nixos
nh2_ has joined #nixos
<the-kenny>
And in *my* view he has some misaligned views of nixpgs: nixpkgs.git does *not* provide a stable API (read: package set) in any way
<NixOS_GitHub>
[nixpkgs] grahamc pushed 1 new commit to release-16.09: https://git.io/v1Jzc
<NixOS_GitHub>
nixpkgs/release-16.09 0454ef9 Franz Pletz: gstreamer: 1.8.2 -> 1.10.1...
<simpson>
the-kenny: Sure. I'm frankly far more worried by the insinuation that maintainership of Rust stuff should be handed over.
<simpson>
Well, you can pick any given nixpkgs revision and treat it as stable, just like with any other package manager.
athan has joined #nixos
<the-kenny>
simpson: Well there isn't any formalized maintainership as far as I know. And I'll surely keep my freedom to package/modify nixpkgs if I deem it reasonable (and you guys aren't against it)
<the-kenny>
simpson: Or even take any release-branch as stable. That's what I wrote in the last comment
<Yaniel>
Could this be solved by packaging rustup and exposing it to nix expressions?
Seichi__ has quit [(Read error: Connection reset by peer)]
<the-kenny>
Yaniel: I don't think so. This guy is working on something he wants to deploy. rustup isn't really usable for that. Also note that we already have a script ready to drop you in a nix-shell with the latest unstable compiler.
<the-kenny>
Yaniel: Plus I've got a WIP PR for rustup that enables nixpkgs packaging ;) Sadly it isn't as easy as packaging rustup. We need some hooks to run patches on the downloaded binaries
<simpson>
Ultimately, the problem is that Rust is still young and unstable.
<the-kenny>
...or a fhs-user-env like steam, but that's ugly
<Yaniel>
Hmm
<the-kenny>
also note that he's using a 4 month old version of the nighly compiler
<the-kenny>
He *is* already using a super-outdated version
<the-kenny>
I seriously doubt his code will work in current -nightly
<Yaniel>
I mean it would be nice if I could just install rustup and specify a list of tool chains I want it to download at install time
<the-kenny>
I'm working on that :)
<Yaniel>
Awesome
<the-kenny>
Just need a weekend or so of free time to get it working
herzmeister has quit [(Quit: Leaving)]
<the-kenny>
sadly this weekend is super busy :()
<Yaniel>
(Completely unrelated to he above mentioned drama)
herzmeister has joined #nixos
<the-kenny>
:D
Seichi has quit [(Ping timeout: 260 seconds)]
Itkovian has joined #nixos
Shou has quit [(Ping timeout: 252 seconds)]
griff__ has quit [(Quit: griff__)]
Seichi__ has joined #nixos
plumps has quit [(Read error: Connection reset by peer)]
plumps_ has joined #nixos
asymmetric has joined #nixos
Seichi_ has quit [(Ping timeout: 250 seconds)]
zsoc has joined #nixos
tomb has joined #nixos
<asymmetric>
hey, a question that's slightly unrelated: i'm trying to create a systemd unit that access a /var/run/acts directory in its own mount namespace
<asymmetric>
basically, what PrivateTmp does, but for a custom dir
<asymmetric>
does anyone have any idea how to do it?
arjen-jonathan has joined #nixos
nh2_ has quit [(Quit: Leaving.)]
nh2_ has joined #nixos
plumps_ has quit [(Read error: Connection reset by peer)]
plumps has joined #nixos
griff__ has joined #nixos
frumpagumpus has quit [(Ping timeout: 260 seconds)]
plumps_ has joined #nixos
plumps has quit [(Read error: Connection reset by peer)]
nh2_ has quit [(Ping timeout: 250 seconds)]
arjen-jonathan has quit [(Ping timeout: 260 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<rly>
I am using a fairly high end Dell XPS 15, but the power drain is pretty terrible. Is there anything which I can tell to NixOS to fix this?
<clever>
rly: there is a "powertop" util ive used to track that down on laptops
lverns has quit [(Quit: Konversation terminated!)]
lverns has joined #nixos
msd has quit [(Remote host closed the connection)]
frumpagumpus has joined #nixos
<rly>
I wonder whether they track how many people actually use Windows on these devices.
eacameron has joined #nixos
plumps has joined #nixos
plumps_ has quit [(Read error: Connection reset by peer)]
<rly>
Is there any way to increase the number of generations displayed by Grub to basically unlimited?
plumps has quit [(Read error: Connection reset by peer)]
<rly>
I think it only shows the last 100 by default.
plumps has joined #nixos
<clever>
rly: yeah, one sec
<clever>
rly: boot.loader.grub.configurationLimit
<rly>
clever: it's a really nice feature; it helped me twice already.
<clever>
rly: also keep in mind, it affects disk usage in /boot, most of the people ive given that to had to turn it down because /boot was full
<rly>
clever: having that problem is so 1990s.
<rly>
clever: we should be booting off the cloud these days.
<clever>
rly: my laptop is doing that, lol
<rly>
clever: sweet. How?
<clever>
ipxe is configured to hijack bios device #0, and re-route it to an iscsi server
<rly>
clever: corporate thingie or your own infra?
<clever>
so when grub tries to use the legacy bios API's, it winds up going over the LAN
<clever>
to the NAS in the other room
<clever>
entire thing stays within my house, but my download speed is fast enough that it could potentialy keep up
<clever>
just latency and packet loss to deal with
pi3r has joined #nixos
tmobile has joined #nixos
lverns has quit [(Ping timeout: 260 seconds)]
Seichi has joined #nixos
NEo4v8 has joined #nixos
madbub has quit [(Read error: Connection reset by peer)]
Seichi__ has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Remote host closed the connection)]
xadi has quit [(Quit: Leaving.)]
NEo4v8 has quit [(Ping timeout: 265 seconds)]
tomb has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
plumps has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
zraexy has joined #nixos
ilja_kuklic has joined #nixos
athan has quit [(Ping timeout: 240 seconds)]
<asymmetric>
what's the correct way of keeping a non-nixos instal up-to-date?
<asymmetric>
do i need nix-channel --update ?
<asymmetric>
or is nix-env -u enough?
lverns has joined #nixos
ixxie has quit [(Remote host closed the connection)]
<clever>
nix-env -u will only sync it to what is currently in nixpkgs, you need to also update nixpkgs first, which is nix-channel's job
<viric>
when there is a line like this...
<viric>
QXcbConnection: XCB error: 8 (BadMatch), sequence: 616, resource id: 31457293, major code: 152 (Unknown), minor code: 11
xadi has joined #nixos
simendsjo has quit [(Remote host closed the connection)]
<viric>
What thing is not matching?
<asymmetric>
kewl, thanks
xadi has quit [(Client Quit)]
ixxie has joined #nixos
MichaelRaskin has joined #nixos
Seichi has quit [(Quit: Konversation terminated!)]
<simpson>
klros: You can either override the derivation with a user-specific Nix expression, or you can clone nixpkgs from git and put it on your NIX_PATH.
goibhniu has joined #nixos
<simpson>
We really need an FAQ entry for how to add small bits of unstable nixpkgs to a non-unstable NixOS.
derjohn_mobi has quit [(Ping timeout: 250 seconds)]
AllanEspinosa has joined #nixos
<asymmetric>
MichaelRaskin: nix-build -A python3Packages.x doesn't work, errors with "error: attribute ‘magic-wormhole’ in selection path ‘python3Packages.magic-wormhole’ not found"
<asymmetric>
whereas nix-build -A magic-wormhole works, but defaults to 2.7 obviously
<MichaelRaskin>
Oh, it is an application and it is on the top-level, not in python-packages
xadi has joined #nixos
pi3r has quit [(Ping timeout: 246 seconds)]
<MichaelRaskin>
You could try overriding…
Itkovian has joined #nixos
<MichaelRaskin>
Which needs nix-build -E
plumps has joined #nixos
<asymmetric>
i see.. would i have to override the pythonPackages part? how would i do that?
<simpson>
asymmetric: Ideally it would be placed back into the Python package system, and then the top-level package would change to `magic-wormhole = python27Packages.magic-wormhole`. I'm not sure why it was done this way.
amarsman has joined #nixos
<klros>
simpson: how we override a package installation ?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<simpson>
asymmetric: Oh, you're not in #tahoe-lafs. Anyway, why does it matter which Python version is being used? And if it does, why wouldn't you prefer Python 2?
<simpson>
asymmetric: Because the question isn't old vs. new. Python 2 will *never go away*, and many people *cannot port from Python 2*. Additionally, libraries like Twisted (which I'm sure magic-wormhole uses) are battle-tested on Python 2 but only beta-quality on Python 3.
stepcut has quit [(Remote host closed the connection)]
<asymmetric>
gosh.. how big of a mess is a situation in which a version of a language lives forever, in parallel with newer versions?
* asymmetric
is done ranting
<MichaelRaskin>
asymmetric: look at Lua and enjoy
<asymmetric>
but yeah, i suppose you're right, esp. about twisted - it's even mentioned in the readme
<simpson>
asymmetric: Python 2 and Python 3 are not versions. They are mutually-incompatible languages. (This is part of why I'm not popular in #python.)
<asymmetric>
but it's a problem only for the server, which i don't use
<asymmetric>
(the wormhole server feature i mean)
stepcut has joined #nixos
<klros>
simpson: i meant for building a package. :D
<klros>
btw thanks guys for the resource , i will look at them
<simpson>
Okay. I'm just saying: There's no reason to expect that Python 3 is better than Python 2 when it comes to the behavior of applications.
<simpson>
asymmetric: I'd recommend that you either move magic-wormhole to be a normal Python library, and put a top-level alias for the Python 2.7 (or Python 3.5, your choice) version, or write a nasty overrideDerivation.
<asymmetric>
simpson: i think i'll leave it as is. magic-wormhole is not a library after all.
<joepie91>
simpson: I feel like "not popular in #python" may not be an especially relevant metric, going by my own experiences :)
<simpson>
asymmetric: There *is* possible library usage, but I'm not going to argue for it right now, without a use case.
<clever>
asymmetric: youtube-dl isnt a library, but it is under pythonPackages
<asymmetric>
clever: yeah, why's that? someone said it was a leftover, or a lack of organization
<asymmetric>
simpson: hah! nice find
<asymmetric>
simpson: i guess i'll have to move it after all
<clever>
asymmetric: i think i would just put it under pythonPacakges to give people a choice if they want to use a different python for whatever reason
<simpson>
asymmetric: I've been looking for magic-wormhole use cases since warner and I last chatted at PyCon. #tahoe-lafs is basically the magic-wormhole channel.
JagaJaga has quit [(Ping timeout: 260 seconds)]
<asymmetric>
clever: sure, that makes sense, but what's the project's policy? because by that logic, everything should be under python-packages, right?
<asymmetric>
simpson: i use it all the time to pass files around the office with colleagues
athan has joined #nixos
<simpson>
There's not a good policy. fridh has been working on an *actual* Python subsystem which integrates with PyPI, but that work is very hard and I don't know what progress has been made.
<simpson>
asymmetric: Nice! Please let warner know; I'm sure it would be encouraging to him.
<asymmetric>
yes, i think it was fridh who advised me not to put an app under python-packages
<asymmetric>
simpson: i'll definitely do that!
<klros>
there is no ~/.nixpkgs/config.nix btw
<simpson>
klros: You have to create it.
<simpson>
asymmetric: But yeah, I think that the solution follows from the original advice of python27Packages or pypyPackages or Python35Packages for choosing the Python interpreter.
Guest75901 has quit [(Quit: Lost terminal)]
Lowl3v3l has joined #nixos
<klros>
thanks for the help. downloading now
CrashOverride has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<asymmetric>
simpson: sorry, didn't get that. do you mean moving it back to python-packages?
<simpson>
asymmetric: Yeah.
frankpf has joined #nixos
AllanEspinosa has quit [(Ping timeout: 265 seconds)]
<asymmetric>
simpson: alright, thanks for the help!
<simpson>
Sure.
lverns has quit [(Quit: Konversation terminated!)]
<NixOS_GitHub>
[nixpkgs] FRidh pushed 73 new commits to staging: https://git.io/v1J6D
<NixOS_GitHub>
nixpkgs/staging c93c0a4 Frederik Rietdijk: farsight2: use python2
<NixOS_GitHub>
nixpkgs/staging 051dfa5 Frederik Rietdijk: mod_python: use python2
<NixOS_GitHub>
nixpkgs/staging e84b9e2 Frederik Rietdijk: asn2quickder: use python2
<NixOS_GitHub>
[nixpkgs] FRidh force-pushed python3 from 3965647 to ae8972e: https://git.io/vPPX6
<tmobile>
Is there a way to access a derivation's store path in the scope of mkDerivation? I'd like to do something like configureFlags = [ "--some-opt=$out/some/path" ] but $out won't be expanded.
<tmobile>
${out} complains that 'out' is undefined.
<clever>
tmobile: once the version of nix is bumped, you can use builtins.placeholder for that, until then, you need to append to it at the bash level
CrashOverride has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever>
it will now eval this chunk of bash script, before it runs ./configure, so $out is a normal env variable at this stage
ilja_kuklic has quit [(Ping timeout: 248 seconds)]
<tmobile>
clever: Neat, thanks.
CrashOverride has joined #nixos
<goibhniu>
Hi, I'm trying to use qtcreator. but I'm having trouble getting it to find the qt libraries.
<goibhniu>
with `nix-shell -p qtcreator gdb qt5Full` when I try to build a QtWidgets project it complains: "ld: cannot find -lQt5Widgets", and also Qt5Gui and Qt5Core
<goibhniu>
if I manully run qmake and then make in the project and then add the path to qtbase it works (-L/nix/store/88xdlhn5kw93wim4c2pzk
<goibhniu>
vdm4fl811nj-qtbase-5.6.1-1/lib)
<goibhniu>
adding qtbase to nix-shell doesn't seem to help: ` nix-shell -p qtcreator gdb qt5Full qt5.qtbase` ... any ideas?
CrashOverride has quit [(Ping timeout: 258 seconds)]
<clever>
goibhniu: last time i messed with qtcreator, i had to run "type qmake" to find a qmake binary in a tmp folder, then added that to qtcreator as a qt kit
<clever>
goibhniu: but the problem, is that the tmp folder gets wiped after a shutdown, and that qmake is generated by the setup hooks when you enter nix-shell
<clever>
so you have to reconfigure qtcreator every time you reboot
<goibhniu>
interesting
<clever>
normally, qmake has the paths of all of the libs built into it, and qtcreator will just query qmake to find them all
<clever>
but with nix, that would lead to qmake depending on every single module you can possibly enable, and now you cant cut out un-needed things
<clever>
so the setup hooks have to generate a modified qmake, based on what you put into buildInputs
<goibhniu>
I'm not sure I follow, I'm in a nix-shell and I've run `type qmake` but it gives me the store path ... do I need a special nix expression to create a custom qmake for my shell?
plumps has quit [(Read error: Connection reset by peer)]
<clever>
qt56.qmakeHook has to also be in the -p flag
<clever>
thats what generates the qmake
frumpagumpus has joined #nixos
plumps has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<goibhniu>
Cool, I can see that when I enter a nix-shell with qt56.qmakeHook I now have the env var: QMAKE=/run/user/1000/tmp.HCyJx7Ldws/bin/qmake
<clever>
yep, and within qtcreator you should be able to add a new version of qt, and give it the path to that qmake
plumps has quit [(Ping timeout: 250 seconds)]
<clever>
and it will auto-detect the paths for everything
AllanEspinosa has quit [(Ping timeout: 268 seconds)]
plumps has joined #nixos
frankpf has joined #nixos
Shou has joined #nixos
zraexy has quit [(Ping timeout: 256 seconds)]
plumps has quit [(Ping timeout: 256 seconds)]
<goibhniu>
sorry, I still don't have it ... I'm getting messages like: Cannot read /run/user/1000/tmp.HCyJx7Ldws/mkspecs/linux-g++/qmake.conf: No such file or directory
<clever>
i think i also had to run qtcreator under that nix-shell
<clever>
been a while since ive done it
<goibhniu>
it sounds very promising alright .. I am running qtcreator in that shell, /run/user/1000/tmp.HCyJx7Ldws/mkspecs/ is empty
<goibhniu>
htm
<goibhniu>
hrm
arjen-jonathan has joined #nixos
reactormonk has joined #nixos
<reactormonk>
Have there been any experiments with nix on the linux subsystem of windows?
<clever>
reactormonk: i heard that it was missing a key syscall
<goibhniu>
clever: thanks a million for your help ... it seems that if I just use a default.nix with qtcreator and qt5.full and add a kit ... everything works fine
<goibhniu>
(as opposed to using nix-shell -p qtcreator qt5Full)
pi3r has quit [(Quit: Leaving)]
ThatDocsLady has quit [(Ping timeout: 246 seconds)]