takle has joined #nixos
acarrico has joined #nixos
hexagoxel has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
dbmikus has quit [(Quit: WeeChat 1.7)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHq7V
<NixOS_GitHub> nixpkgs/master 323f28d Jörg Thalheim: nsswitch: use libnss_resolve if resolved is enabled
NixOS_GitHub has left #nixos []
mudri has quit [(Ping timeout: 246 seconds)]
python476 has quit [(Ping timeout: 240 seconds)]
phinxy has joined #nixos
<stallion> random question - is it possible to merge two sets? I'm not seeing anything in the manual but I'd be surprised if this wasn't common
hexagoxel has joined #nixos
<stallion> ah... //
<stallion> i feel like an idiot now. carry on.
yegods has joined #nixos
koserge has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
hellrazo1 has joined #nixos
hellrazor has quit [(Ping timeout: 255 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
exarkun has left #nixos []
betaboon^ has joined #nixos
hke has quit [(Ping timeout: 240 seconds)]
betaboon has quit [(Ping timeout: 260 seconds)]
hke has joined #nixos
yegods has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
sitwon has quit [(Ping timeout: 240 seconds)]
indi_ has joined #nixos
georges-duperon has quit [(Quit: Leaving)]
tilpner has quit [(Remote host closed the connection)]
cpennington has joined #nixos
tilpner has joined #nixos
jgertm has quit [(Quit: WeeChat 1.7.1)]
jgertm has joined #nixos
mkoenig_ has quit [(Remote host closed the connection)]
mkoenig has joined #nixos
takle has joined #nixos
koserge has joined #nixos
vaibhavsagar has quit [(Remote host closed the connection)]
peacememories has joined #nixos
johnsonav has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
vaibhavsagar has joined #nixos
MP2E has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 1 new commit to master: https://git.io/vHqNF
<NixOS_GitHub> nixpkgs/master 39e042f Cray Elliott: ffmpeg: 3.3 -> 3.3.1...
NixOS_GitHub has left #nixos []
snikkers has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vHqAG
<NixOS_GitHub> nixpkgs/staging 8004e79 Vladimír Čunát: Merge branch 'master' into staging
NixOS_GitHub has left #nixos []
Supersonic112 has quit [(Ping timeout: 268 seconds)]
eacameron has quit [(Remote host closed the connection)]
johnsonav has quit [(Ping timeout: 272 seconds)]
lambdamu_ has joined #nixos
takle has joined #nixos
Supersonic112 has joined #nixos
lambdamu has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
s33se_ has joined #nixos
hamishmack has quit [(Ping timeout: 240 seconds)]
hamishmack has joined #nixos
johnsonav has joined #nixos
s33se has quit [(Ping timeout: 246 seconds)]
seantparsons has joined #nixos
seanparsons has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
justelex_ has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
justelex has quit [(Ping timeout: 240 seconds)]
Raimondii has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
koserge has quit [(Ping timeout: 260 seconds)]
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
derjohn_mob has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
smw has quit [(Ping timeout: 258 seconds)]
mkoenig has quit [(Read error: Connection reset by peer)]
jonas_ has joined #nixos
sellout- has joined #nixos
jonas_ has quit [(Client Quit)]
jonas_ has joined #nixos
jonas_ has quit [(Client Quit)]
jonas_ has joined #nixos
mkoenig has joined #nixos
jonas_ is now known as joniWoni
takle has joined #nixos
acarrico has quit [(Read error: Connection reset by peer)]
bhipple has joined #nixos
joniWoni has quit [(Quit: leaving)]
jonas_ has joined #nixos
jonas_ has quit [(Client Quit)]
smw has joined #nixos
derjohn_mob has joined #nixos
justelex_ has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
<bhipple> hi, has anyone managed to get Ethereum mining working on NixOS with AMD graphics cards?
<bhipple> I see AmdAppSDK 2.8 is packaged and some old ethereum stuff as well, so I assume someone had it working at some point
<bhipple> wondering if there are any docs/blogs/hints floating around
jonas_ has joined #nixos
jonas_ has quit [(Client Quit)]
<bhipple> or more generally I'm wondering about how NixPkg works for interfacing with OS/hardware dependencies like kernel versions, gfx/audio drivers, x11 stack, etc.; I don't know much about this and would like to learn more, if anyone has any good references
jonas_ has joined #nixos
systemfault has joined #nixos
jonas_ is now known as joniWoni
joniWoni has quit [(Client Quit)]
fifo23 has quit [(Remote host closed the connection)]
fifo23 has joined #nixos
simukis has quit [(Ping timeout: 258 seconds)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vHqjE
<NixOS_GitHub> nixpkgs/master b0adb09 Dan Peebles: pants13-pre: pre-download the native engine...
NixOS_GitHub has left #nixos []
fifo23 has quit [(Ping timeout: 246 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
joniWoni has joined #nixos
joniWoni has quit [(Client Quit)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
darlan has joined #nixos
darlan has quit [(Client Quit)]
hexagoxel has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
jgertm has quit [(Ping timeout: 260 seconds)]
indi_ has joined #nixos
phinxy has quit [(Quit: Leaving)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 260 seconds)]
Mateon3 is now known as Mateon1
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 6 new commits to master: https://git.io/vHmvh
<NixOS_GitHub> nixpkgs/master e845495 Joachim Fasting: lkl: add meta.homepage
<NixOS_GitHub> nixpkgs/master e983d43 Joachim Fasting: lkl: bc & python are native build inputs
<NixOS_GitHub> nixpkgs/master 8c8f40a Joachim Fasting: lkl: d747073 -> 2017-03-24...
NixOS_GitHub has left #nixos []
justelex_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
ertesx has joined #nixos
yegods has joined #nixos
ertes has quit [(Ping timeout: 260 seconds)]
ertesx is now known as ertes
indi_ has joined #nixos
bhipple has quit [(Quit: WeeChat 1.8)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
calvertvl has joined #nixos
rcschm has joined #nixos
vaibhavsagar has quit [(Ping timeout: 246 seconds)]
rcschm has quit [(Client Quit)]
<calvertvl> looks like the hash on the recent ffmpeg update (on unstable) is not correct; it fails to build for me
vaibhavsagar has joined #nixos
fifo23 has joined #nixos
<calvertvl> MP2E: it looks like that was your commit
<MP2E> strange, it built on my end. will gc and try again
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #26043: cyrus_sasl: fix version (master...sasl) https://git.io/vHmJR
NixOS_GitHub has left #nixos []
<MP2E> oh I see the issue. ffmpeg-full uses the .xz archive while ffmpeg uses the bz2 archive, and I used the same hash for both
<MP2E> thanks for letting me know
<calvertvl> you're welcome
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 1 new commit to master: https://git.io/vHmJP
<NixOS_GitHub> nixpkgs/master dc12cd1 Cray Elliott: ffmpeg: fix sha256 hash for 3.3.1...
NixOS_GitHub has left #nixos []
indi_ has quit [(Remote host closed the connection)]
schoppenhauer has quit [(Ping timeout: 240 seconds)]
schoppenhauer has joined #nixos
takle has joined #nixos
phreedom has quit [(Ping timeout: 245 seconds)]
jgertm has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
indi_ has joined #nixos
<Ralith> I feel like both should just use the xz
indi_ has quit [(Remote host closed the connection)]
<nixy> ^ I second that
joniWoni has joined #nixos
<MP2E> yeah that's true, not sure why they're different in the first place
cpennington has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vHmUb
<NixOS_GitHub> nixpkgs/master a43e104 Dan Peebles: pants13-pre: fix on non-Darwin platforms
NixOS_GitHub has left #nixos []
<MP2E> oh. I see why now
<MP2E> ffmpeg's url is generic over 4 versions, some of which quite old
<MP2E> and the older versions don't have an xz version available...
<MP2E> would be nice to be able to get rid of those, I think we still have packages that depend on them
<MP2E> unfortunately
takle has joined #nixos
Cement has joined #nixos
<Cement> so, after enabling sshd with services.sshd.enable = true;, what other configuration do I need to be able to remotely access that box?
takle has quit [(Ping timeout: 272 seconds)]
<nixy> Cement: Depends on how you are trying to access it
<Cement> I know that I'll need root access
<nixy> Then you will either need to set services.openssh.permitRootLogin to yes, or configure SSH keys for the root user
<simpson> Friends don't let friends enable root login for SSH.
<nixy> Though I would recommend logging in as a user and using sudo for root
<nixy> simpson: I was getting to that :P
<Cement> lol
<Cement> so, you think just make a new user with ssh access?
<Cement> and put that user in wheel?
<simpson> More or less.
<nixy> Yup, thats what I do
<simpson> You *can* do SSH keys for root, which is what nixops does.
<simpson> Most of the danger is in allowing password authentication.
<nixy> Too much of my job revolves around people allowing password authentication on SSH. Always a bad idea
<Cement> I'm mostly setting this up so that I can get a computer that is not on my work's network so that I can let clever mess with a core dump file
<Cement> if clever wanted to fuck up my system... well, he's honestly the one who basically set it up for me
indi_ has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
takle has joined #nixos
indi_ has quit [(Remote host closed the connection)]
Nycatelos has quit [(Ping timeout: 240 seconds)]
indi_ has joined #nixos
yegods has quit [(Remote host closed the connection)]
systemfault has quit [(Quit: Bye!)]
Nycatelos has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
justelex_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #26046: doc/cross-compilation: cleanup some grammar (master...manual-cross-fix) https://git.io/vHmkw
NixOS_GitHub has left #nixos []
Cement has quit [(Quit: Page closed)]
Kingsquee has joined #nixos
takle has joined #nixos
joniWoni has quit [(Quit: Lost terminal)]
takle has quit [(Ping timeout: 268 seconds)]
jgertm has quit [(Ping timeout: 255 seconds)]
alx741 has quit [(Quit: alx741)]
proteusguy has joined #nixos
alx741 has joined #nixos
zraexy has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vHmIx
<NixOS_GitHub> nixpkgs/master 4e2b190 Peter Hoeg: vlc: 2.2.4 -> 2.2.5.1...
NixOS_GitHub has left #nixos []
carlosda1 has quit [(Read error: Connection reset by peer)]
carlosda1 has joined #nixos
<dalaing> woot - just got Hail working with Hydra for my first NixOS service
ertes has quit [(Ping timeout: 240 seconds)]
<dalaing> thinking about having a go at Gitlab / Hydra integration tomorrow, should be interesting at the very least
hotfuzz_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #26047: vlc: 2.2.4 -> 2.2.5.1 with fix for subtitle vulnerability (release-17.03...f/vlc) https://git.io/vHmLs
NixOS_GitHub has left #nixos []
takle has joined #nixos
<lukec1> dalaing: please do report on how GitLab/Hydra integration goes. That's on my todo list.
hotfuzz has quit [(Ping timeout: 268 seconds)]
<dalaing> I think I've found the relevant pages about their APIs, I can imagine most of the work will be around chasing error conditions etc...
<dalaing> got to remember to check for failed evaluations and so on
ertes has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
betaboon^ has quit [(Quit: This computer has gone to sleep)]
jacob_ has joined #nixos
jacob_ is now known as Guest91658
betaboon has joined #nixos
reinzelmann has joined #nixos
derjohn_mob has quit [(Ping timeout: 272 seconds)]
MercurialAlchemi has joined #nixos
Itkovian has joined #nixos
takle has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
takle has quit [(Ping timeout: 240 seconds)]
marsel has joined #nixos
betaboon has joined #nixos
snikkers has joined #nixos
takle has joined #nixos
Kingsquee has quit [(Ping timeout: 240 seconds)]
betaboon has quit [(Quit: This computer has gone to sleep)]
takle has quit [(Ping timeout: 245 seconds)]
marsel has quit [(Ping timeout: 246 seconds)]
ertes has quit [(Ping timeout: 260 seconds)]
Itkovian has quit [(Read error: Connection reset by peer)]
lewo has quit [(Quit: ZNC - http://znc.in)]
lewo has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHmmf
<NixOS_GitHub> nixpkgs/master cf3d531 Jörg Thalheim: pythonPackages.feedgenerator: add missing directory...
NixOS_GitHub has left #nixos []
takle has joined #nixos
lewo has quit [(Client Quit)]
lewo has joined #nixos
alx741 has quit [(Quit: alx741)]
jsgrant_ has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 258 seconds)]
eacameron has joined #nixos
betaboon has joined #nixos
FRidh has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
snikkers has quit [(Ping timeout: 245 seconds)]
betaboon has quit [(Quit: This computer has gone to sleep)]
bennofs has joined #nixos
derjohn_mob has joined #nixos
takle has joined #nixos
Itkovian has joined #nixos
calvertvl has quit [(Ping timeout: 258 seconds)]
takle has quit [(Ping timeout: 246 seconds)]
Tucky has joined #nixos
ertes-w has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
zraexy has joined #nixos
koserge has joined #nixos
hamishmack has quit [(Ping timeout: 260 seconds)]
derjohn_mob has quit [(Ping timeout: 255 seconds)]
Wizek_ has joined #nixos
DrWaste has joined #nixos
bennofs has quit [(Ping timeout: 255 seconds)]
blahdodo has quit [(Remote host closed the connection)]
freusque has quit [(Quit: WeeChat 1.7)]
blahdodo has joined #nixos
<nixos-users-wiki> "FAQ" edited by r-raymond https://git.io/vHmsc
<nixos-users-wiki> "FAQ" edited by r-raymond https://git.io/vHms8
freusque has joined #nixos
<nixos-users-wiki> "FAQ" edited by r-raymond https://git.io/vHmsK
derjohn_mob has joined #nixos
takle has joined #nixos
marsel has joined #nixos
takle has quit [(Ping timeout: 245 seconds)]
derjohn_mob has quit [(Ping timeout: 258 seconds)]
betaboon has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
takle has joined #nixos
justelex_ has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
mudri has joined #nixos
m0rphism has joined #nixos
ThatDocsLady has joined #nixos
thc202 has joined #nixos
fifo23 has quit [(Remote host closed the connection)]
fifo23 has joined #nixos
snikkers has joined #nixos
ambro718 has joined #nixos
fifo23 has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
<srhb> In which package does dig live?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vHmcW
<NixOS_GitHub> nixpkgs/master 8fd2f02 Peter Hoeg: kodi: 17.1 -> 17.2
NixOS_GitHub has left #nixos []
oida has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #26048: kodi: 17.1 -> 17.2 (release-17.03...u/kodi_stable) https://git.io/vHmc6
NixOS_GitHub has left #nixos []
edoput has joined #nixos
Bradyn2000 has joined #nixos
zraexy has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 272 seconds)]
<manveru> srhb: dnsutils
<manveru> bind i think
oida_ has quit [(Ping timeout: 260 seconds)]
<manveru> /nix/store/d7d7if0dj0l33b8a9g8860rshbpn0zfn-bind-9.10.4-P6-dnsutils/bin/dig
<srhb> manveru: Thank you. Couldn't find it for the life of me :)
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
k0001 has joined #nixos
derjohn_mob has joined #nixos
goibhniu has joined #nixos
indi_ has quit [(Ping timeout: 240 seconds)]
JagaJaga has joined #nixos
takle has joined #nixos
jensens has joined #nixos
tommyangelo[m] has joined #nixos
ambro718 has quit [(Ping timeout: 260 seconds)]
<tommyangelo[m]> Hi all, currently trying to figure out why docker-compose build cannot connect to the docker daemon. Any help mucho appreciado! https://github.com/NixOS/nixpkgs/issues/26023
takle has quit [(Ping timeout: 240 seconds)]
arianvp2 has joined #nixos
<arianvp2> Hey, is it possible to set up a nixos build cache with GPG signing instead of with Nix's own-rolled crypto?
<arianvp2> I need control over what ecnryption to use due to regulatory constraints :(
nslqqq has quit [(Ping timeout: 240 seconds)]
nslqqq has joined #nixos
justelex_ has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #26049: go: 1.7.5 -> 1.7.6 (master...pr/go-1.7.6) https://git.io/vHmlb
NixOS_GitHub has left #nixos []
edoput has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #26050: go: 1.8.1 -> 1.8.2 (master...pr/go-1.8.2) https://git.io/vHm8I
NixOS_GitHub has left #nixos []
edoput has joined #nixos
takle has joined #nixos
<jophish> Source fetching derivation should really come with a size as well as a hash
<jophish> 0.00mb will be downloaded...
snikkers has quit [(Ping timeout: 240 seconds)]
arianvp2 has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 245 seconds)]
hamishmack has joined #nixos
mudri has quit [(Ping timeout: 268 seconds)]
reinhardt has joined #nixos
Infinisil has joined #nixos
goibhniu1 has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
<Infinisil> What do you do when /boot is full so you can't do a rebuild?
reinzelmann has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 5 new commits to master: https://git.io/vHmBV
<NixOS_GitHub> nix/master 75a1d98 Benno Fünfstück: nar-accessor: use tree, fixes readDirectory missing children...
<NixOS_GitHub> nix/master 4412f7c Benno Fünfstück: nar-archive.cc: add tests for the nar index
<NixOS_GitHub> nix/master 5ee06e6 Benno Fünfstück: nar-accessor: non-recursive NarMember::find...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1386: nar-accessor: use tree, fixes readDirectory missing children (master...nar-accessor-tree) https://git.io/v95VT
NixOS_GitHub has left #nixos []
civodul has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1382: Document fetchTarball can take a sha256 (master...patch-1) https://git.io/v9Dun
NixOS_GitHub has left #nixos []
takle has quit [(Ping timeout: 240 seconds)]
<seequ_> Is there a way to set up firefox extensions declaratively?
<seequ_> E.g, I'd like to have NoScript by default for all users
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 3 new commits to master: https://git.io/vHmEJ
<NixOS_GitHub> nix/master d48edcc Linus Heckemann: nix-shell: use appropriate prompt terminator...
<NixOS_GitHub> nix/master 01200d0 Eelco Dolstra: Merge branch 'prompt-terminator' of https://github.com/lheckemann/nix
<NixOS_GitHub> nix/master 9711524 Eelco Dolstra: Fix #1380...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1380: nix-shell: use appropriate prompt terminator (master...prompt-terminator) https://git.io/v9XwT
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/vHmEL
<NixOS_GitHub> nix/master 542fe0d Jörg Thalheim: nix-profile.sh: remove sbin from PATH...
<NixOS_GitHub> nix/master 9e43a4a Eelco Dolstra: Merge pull request #1376 from Mic92/patch-1...
NixOS_GitHub has left #nixos []
takle has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
Infinisil has quit [(Quit: leaving)]
<makefu> nice!
<ikwildrpepper> shlevy: can that github_authorization also be a file?
<ikwildrpepper> (to keep secrets from the config)
<shlevy> ikwildrpepper: You can include stuff from your hydra config
<ikwildrpepper> ty
<ikwildrpepper> forgot about that one :D
koserge has quit [(Ping timeout: 260 seconds)]
katyucha is now known as Guest23470
katyucha_ is now known as katyucha
<shlevy> Currently I'm using this for work, but I'll find some time to set up PR building for nixos.org too if we want that niksnut ikwildrpepper
<shlevy> We can link it in with github status too
metaphysician has joined #nixos
<shlevy> Imagine a world where our PRs have a meaningful status marker :o
<ikwildrpepper> shlevy: now only be able to predict how much work a PR is, and not flooding the buildfarm :D
<shlevy> ikwildrpepper: release-super-small.nix
<shlevy> ikwildrpepper: We can also pass in the latest 'master' with the PR branch so that we can see in nix how much has changed
<shlevy> But really this is what prioritization is for no?
<shlevy> We can use tags/milestones to say a PR should be high prio and otherwise just make these jobsets lower priority than everything else
<ikwildrpepper> I predict: queued build > 1000000 :p anyway, just trolling as always, always good to see such asditions!
<ikwildrpepper> additions
<shlevy> release-super-small.nix just builds firefox
<shlevy> All you need to get a working system!
<ikwildrpepper> I need nano as well ;)
<ikwildrpepper> but other than that, I am good
<niksnut> C++ once again manages to surprise me
Rotaerk has quit [(Read error: Connection reset by peer)]
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
<niksnut> std::map<std::string, std::string> m; m["s"] = 123;
<niksnut> compiles, but I don't know why
<shlevy> what about std::string s = 123?
<niksnut> that doesn't compile
<shlevy> Awesome :o
Rotaerk has joined #nixos
<niksnut> so the 123 gets converted to a char ('{')
mpcsh has joined #nixos
<niksnut> m.emplace("s", 123) doesn't work either
<ikwildrpepper> niksnut: both on gcc as clang?
<niksnut> didn't try clang
takle has joined #nixos
<shlevy> OMG
<shlevy> What a wonderful world
<niksnut> yeah clang also accepts it
<dalaing> shlevy: took Hail for a spin today - it's a pretty handy tool :)
<shlevy> dalaing: Cool! Please let me know if there's anything you'd like to see in it!@
<srhb> Why is there no button on Github to "checkout" a PR? ._.
<dalaing> Did it used to have one? I've done it before
takle has quit [(Ping timeout: 260 seconds)]
<srhb> Possibly. I'm not sure.
<srhb> Maybe I'm just blind, but it's frustrating to no end. :-P
mudri has quit [(Ping timeout: 255 seconds)]
<dalaing> You might just be able to clone straight from the URL of the PR
<srhb> Oh, I suppose I could do that.
<dalaing> I should totally start using declarative hydra projects
nschoe has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 3 new commits to master: https://git.io/vHmga
<NixOS_GitHub> nix/master f12a048 Neil Mayhew: Propagate NIX_BUILD_CORES to nix-shell environments
<NixOS_GitHub> nix/master fbe9fe0 Eelco Dolstra: Merge branch 'topic/cores-master' of https://github.com/neilmayhew/nix
<NixOS_GitHub> nix/master a7e5515 Eelco Dolstra: Fix #1314...
NixOS_GitHub has left #nixos []
<dalaing> Also, if I'm going to hack on gitlab-hydra integration I should probably look at github-hydra integration as well
frank3 has joined #nixos
frank3 has quit [(Quit: WeeChat 1.7)]
takle has joined #nixos
<shlevy> niksnut: ikwildrpepper: Can we update http://nixos.org/hydra/manual/ ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] layus opened pull request #26053: cups_filters: 1.11.1 -> 1.14.0 (master...update-cups-filters) https://git.io/vHmVe
NixOS_GitHub has left #nixos []
takle has quit [(Ping timeout: 240 seconds)]
<tomjaguarpaw> Is there a simple example of shell.nix I can use as a reference? I just want to make a small number of packages available in my shell.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra closed pull request #26049: go: 1.7.5 -> 1.7.6 (master...pr/go-1.7.6) https://git.io/vHmlb
NixOS_GitHub has left #nixos []
indi_ has joined #nixos
<dalaing> tomjaguarpaw: you can do cabal2nix --shell . > shell.nix
Bradyn2000 has quit [(Ping timeout: 240 seconds)]
<tomjaguarpaw> It's not a Haskell packag
<dalaing> Ah :)
<tomjaguarpaw> I just want to make some packages available and use them
<tomjaguarpaw> Like python, some libs ...
mudri has joined #nixos
<tomjaguarpaw> I just want a shell that has all the things I want available
indi_ has quit [(Ping timeout: 240 seconds)]
<dalaing> There are some good posts on python and Nix, but I'm on a phone that is nearly out of battery
<dalaing> Can find them and share links when I'm back on my laptop
<tomjaguarpaw> I literally want a shell.nix that replicates "nix-shell -p ... -p ... -p ..."
<tomjaguarpaw> Nothing remotely complicated
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vHmVx
<NixOS_GitHub> nixpkgs/master 4f6ab29 zimbatm: gitlab-runner: 9.1.0 -> 9.2.0
NixOS_GitHub has left #nixos []
<tomjaguarpaw> In fact, I'm just going to do "-p .. -p .. -p .." on the commandline. Sucks to be me I guess.
MP2E has quit [(Quit: leaving)]
vaibhavsagar has quit [(Ping timeout: 255 seconds)]
orivej has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
JagaJaga has quit [(Ping timeout: 258 seconds)]
<dalaing> The default.nix bit looks like it might work
takle has quit [(Ping timeout: 258 seconds)]
proteusguy has quit [(Remote host closed the connection)]
<dalaing> tomjaguarpaw: I think it can be simpler than that though
<dalaing> If you Google for: python nix
<dalaing> There is a pdf on readthedocs that looks pretty good
<avn> tomjaguarpaw: custom shell.nix be easier
<avn> (although I not figure out, how to use `setup.py develop` with custom shell.nix)
phreedom has joined #nixos
ertes has joined #nixos
stranger__ has joined #nixos
betaboon has joined #nixos
<FRidh> dalaing: I was hoping that pdf would have disappeared after I removed the readthedocs config. Those docs have been merged into the Nixpkgs manual.
<stranger__> hi. anyone uses nixos on ssd with periodic trim? how do you run fstrim (anacron, systemd unit etc). show please :-)
<dalaing> Sweet - they're great docs :)
Acou_Bass has quit [(Ping timeout: 240 seconds)]
<stranger__> ikwildrpepper: thanks. no interest to add something similar to mainstream nixos?
Piece_Maker has joined #nixos
Piece_Maker is now known as Acou_Bass
<ikwildrpepper> stranger__: not sure if that is so useful, it's a pretty trivial config, and people might want to have different usages
takle has joined #nixos
<betaboon> hello, is it possible to pass an expression to an import via config.imports ? like imports = [ ./foo.nix {bar="baz";}]; where {bar="baz} gets passed to foo.nix ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26003: Gitlab runner update (master...gitlab-runner-update) https://git.io/vHI6F
NixOS_GitHub has left #nixos []
mudri has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vHmKY
<NixOS_GitHub> nixpkgs/master dacfe81 Guillaume Maudoux: cups_filters: 1.11.1 -> 1.14.0
NixOS_GitHub has left #nixos []
ertes has quit [(Ping timeout: 272 seconds)]
<shlevy> niksnut: Getting hydra-queue-runner.cc:201:102: error: 'std::__cxx11::string {aka class std::__cxx11::basic_string<char>}' has no member named 'get' building hydra... Do I need some special nixpkgs checkout?
<TimePath> betaboon: parentheses are your friend: `imports = [ (./foo.nix {bar="baz";})];`
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26050: go: 1.8.1 -> 1.8.2 (master...pr/go-1.8.2) https://git.io/vHm8I
NixOS_GitHub has left #nixos []
<niksnut> shlevy: you need a recentish version (last month or so)
<stranger__> ok. asked because many systemd based distros ship fstrim service which triggers once a week by default. but agreed not a big deal
<niksnut> I think nixUnstable should work
takle has quit [(Ping timeout: 260 seconds)]
<shlevy> niksnut: recentish 17.03 or master?
<niksnut> either
<shlevy> OK, thanks
<niksnut> stranger__: I think having fstrim enabled by default would be nice, but I seem to recall trim is dangerously broken on some SSDs
<niksnut> though iirc the kernel has a blacklist for such SSDs
<gchristensen> TimePath: that won't work, will it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #26047: vlc: 2.2.4 -> 2.2.5.1 with fix for subtitle vulnerability (release-17.03...f/vlc) https://git.io/vHmLs
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #26048: kodi: 17.1 -> 17.2 (release-17.03...u/kodi_stable) https://git.io/vHmc6
NixOS_GitHub has left #nixos []
mudri has joined #nixos
<TimePath> gchristensen: not 100% sure for that use case, but you do need the parentheses in lists if you're invoking functions
<stranger__> niksnut: no. these distros (fedora, debian etc) only ship that by default, not enable it afaik :-) so i proposed the similar. actually, unit files should be in util-linux
<gchristensen> yeah, its just that a file isn't a function
<nixy> How do you do a packageOverride, but for a NixOS module?
<niksnut> stranger__: ah great
<nixy> So that I could for example mix the module from unstable with the rest of the system
dhess` has quit [(Remote host closed the connection)]
<TimePath> oh, in that case import it too
<TimePath> I missed that part
<TimePath> gchristensen: `imports = [ (import ./foo.nix {bar="baz";})];`
<shlevy> niksnut: Is hydra meant to work without an s3 backed store still?
<gchristensen> betaboon: what are you wanting to pass in, specifically?
<shlevy> niksnut: seeing this in hydra-queue-runner logs after upgrading hydra: queue monitor: AWS error fetching ‘m2rd5r7qlxhg8lbrc7jjqkcil040v1d0.narinfo’: Unable to parse ExceptionName: PermanentRedirect Message <etc>
<betaboon> TimePath: the paranthesis option runs into "attempt to call something which is not a function but a path"
<betaboon> gchristensen: i have 'imports = [ (./foo.nix { bar = true; }) ]' where head -n1 foo.nix => '{ config, lib, bar ? false, ... }:'
darlan has joined #nixos
<betaboon> so later in foo.nix i want to do "config.someoption = bar;"
<TimePath> betaboon: sorry I missed the part where you had a path: `imports = [ (import ./foo.nix {bar="baz";})];`
<betaboon> TimePath: no worries :D
takle has joined #nixos
orivej has joined #nixos
<betaboon> TimePath: for my shown use-case i would have to do '(import ./foo.nix {inherit config lib; bar="baz";})' ?
darlan has quit [(Client Quit)]
<TimePath> Assuming that `imports` can deal with the result, yes (that part I do not know)
Bradyn2000 has joined #nixos
TweyII has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
<betaboon> seems to work atleast:D
TweyII is now known as Guest95708
<niksnut> shlevy: yes
<gchristensen> betaboon: can you describe what you're actually passing to the file? there might be a better way
<betaboon> gchristensen: for now it realy just is bools, integers or strings
<gchristensen> ...
<betaboon> am I missing the point for your question ?
<gchristensen> yeah. what are you _actually_ passing? what is the data? where is it coming from?
Ross has quit [(Ping timeout: 246 seconds)]
<betaboon> you mean (for the example) where the actual value of bar is defined? if so: directly in the import as shown in the example.
<gchristensen> _sigh_ ok good luuck
<betaboon> is that a bad idea?
<gchristensen> no, what you're doing is fine
<betaboon> I'm still getting acquainted with nix. still have to learn alot about doing things the nix-way. So I'm very happy about critical pointers :)
<TimePath> betaboon: I think gchristensen is trying to understand your use case
<TimePath> but if it works it's fine
<sphalerite> What would be the best way to get a disk image of a NixOS installation with a given configuration? I want something I can dd to a USB stick and boot off like a live system, but with persistence
<gchristensen> sphalerite: you can build the "live cd" images with extra config
<sphalerite> gchristensen: I realise that, but those don't have persistent data
<sphalerite> I want the result of creating a partition table and partitions like for a normal installation
<gchristensen> sphalerite: you can fix the / partition to not be a tmpfs: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/cd-dvd/iso-image.nix#L260
<gchristensen> not sure what else is required, but I think this should get you most of the way there
mudri has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
koserge has joined #nixos
<sphalerite> But I don't want an ISO, I want an ext4 root partition so everything is writable
Isorkin has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
<gchristensen> hmm fair
<gchristensen> sphalerite: what if you just did a regular install, mounting the USB disk to /mnt ?
<gchristensen> not dd-able but maybe worth exploring? alternatively, maybe check out how the AWS AMIs get built
<betaboon> TimePath: If thats the case: I am just moving common service configuration into seperate files (eg default nginx with ssl, acme etc). i want to use the discussed expressions to override some of these 'defaults' (eg disable all SSL support by passing a boolean).
<sphalerite> gchristensen: oh yeah, I could create an image using dd, make a partition table on it using fdisk then loop-mount it to /mnt and use nixos-install
alex__ is now known as apeyroux
<gchristensen> sphalerite: sounds great :D
<sphalerite> But that's not using nix for the process :/
<gchristensen> then I'd look more in to how the amis do it
<symphorien> betaboon: you may use an option for that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #26056: ammonite: 0.9.1 -> 0.9.3 (master...ammonite_0_9_3) https://git.io/vHmXx
NixOS_GitHub has left #nixos []
<gchristensen> betaboon: you can make your own module pretty simply: https://nixos.org/nixos/manual/index.html#sec-writing-modules
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.03: https://git.io/vHmXj
<NixOS_GitHub> nixpkgs/release-17.03 58e2270 Tim Steinbach: ammonite: 0.9.1 -> 0.9.3...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] armijnhemel opened pull request #26057: diffutils: 3.5 -> 3.6 (master...diffutils-3.6) https://git.io/vHm1Z
NixOS_GitHub has left #nixos []
boegel is now known as boegel|afk
Piece_Maker has joined #nixos
houqp has quit [(Ping timeout: 240 seconds)]
pingveno has quit [(Ping timeout: 240 seconds)]
betaboon has quit [(Quit: This computer has gone to sleep)]
baroncha1lus has quit [(Ping timeout: 240 seconds)]
adarqui has quit [(Ping timeout: 240 seconds)]
Acou_Bass has quit [(Ping timeout: 246 seconds)]
Piece_Maker is now known as Acou_Bass
lsyoyom has quit [(Ping timeout: 240 seconds)]
baroncharlus has joined #nixos
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
pingveno has joined #nixos
houqp has joined #nixos
adarqui has joined #nixos
takle has joined #nixos
<betaboon> gchristensen: thanks for the hint. done that on other occasions
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vHmMe
<NixOS_GitHub> nixpkgs/master c05461f Dan Peebles: pants13-pre: make it actually work on Linux...
NixOS_GitHub has left #nixos []
justelex_ has joined #nixos
takle has quit [(Ping timeout: 272 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vHmMu
<NixOS_GitHub> nixpkgs/staging 78ea189 Vladimír Čunát: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
takle has joined #nixos
edoput has quit [(Quit: edoput)]
justelex_ has quit [(Read error: Connection reset by peer)]
justelex_ has joined #nixos
Ross has joined #nixos
proteusguy has joined #nixos
orivej has quit [(Read error: Connection reset by peer)]
mudri has joined #nixos
<hyper_ch> did someone package windows defender for nix already? :) https://twitter.com/taviso/status/867134496935563264
<gchristensen> omfg tavis
Isorkin has joined #nixos
<hyper_ch> I mean without Windows Defender, we're at serious risk on nixos
indi_ has joined #nixos
lsyoyom has joined #nixos
<hyper_ch> gchristensen: https://github.com/taviso/loadlibrary
indi_ has quit [(Ping timeout: 245 seconds)]
nallar has joined #nixos
Ross has quit [(Ping timeout: 240 seconds)]
nallar is now known as Ross
<makefu> creepy
<makefu> gchristensen: btw you had a chance to look into hound to support filtered search? i'd love to add a link to the front page of the wiki - github search is `the worst`
<gchristensen> that probably isn't something I'm going to do, unfortunately
<gchristensen> but if you do it, I'd apply the patch :)
<makefu> oh noes! i have no idea from front-end dev :\
<makefu> but i will give it a try as the service module in nixpkgs awesome
<nixy> What does the hound page actually search through? Isn't it just a frontend to the git repo?
<nixy> At this point I just use grep on my local copy of nixpkgs to find stuff
seanparsons has joined #nixos
seantparsons has quit [(Read error: Connection reset by peer)]
proteusguy has quit [(Ping timeout: 240 seconds)]
<makefu> gchristensen: btw in the docu for hound '"dbpath" : "${services.hound.home}/data",' should be ${config.services.hound.home} right?
proteusguy has joined #nixos
<makefu> nixy: https://search.nix.gsc.io/ searches through a big amount of repos
<makefu> but if you want to search nixpkgs grep will be the fastest way
<nixy> Ahhh I see, its not just nixpkgs but all the NixOS repos
<nixy> That makes more sense now
<manveru> tried using hound to index all the repos in our company... turns out it's really slow with too much data :(
<nixy> I think everything gets slow with enough data
<makefu> gchristensen: chosing a string which becomes the json file for config is quite weird, shouldn't it be an attrset which gets serialized?
<gchristensen> makefu: well I wanted to be able to generate it easily
<gchristensen> and python is better at generating json than generating nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vHmHY
<NixOS_GitHub> nixpkgs/staging b7fed33 Vladimír Čunát: python-3.3: fixup evaluation after #25916
NixOS_GitHub has left #nixos []
<makefu> well, now you cannot merge configs anymore :) say at one point you set dbPath and at another all the repos
<makefu> also you could preset the path to the db into the home directory of the user
<gchristensen> I know
<gchristensen> I mean, I know the down-sides, heh
<gchristensen> I guess it could be an attrset and I set it via loading json
<gchristensen> if you want to make that change, please do :P
<makefu> i will put it on my todo list (at the very bottom) ;)
<gchristensen> same
c74d has quit [(Ping timeout: 272 seconds)]
justelex_ has quit [(Ping timeout: 272 seconds)]
kthnnlg has joined #nixos
c74d has joined #nixos
<manveru> nixy: also started working on a new frontend for hound in elm, pretty fun :)
<manveru> not much time for it right now though
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vHmQr
<NixOS_GitHub> nixpkgs/master 8a07319 Eelco Dolstra: ixgbevf: 4.0.3 -> 4.1.2...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vHmQ9
<NixOS_GitHub> nixpkgs/master ee4f8c2 Nikolay Amiantov: nixos doc: document coercedTo type...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vHm7U
<NixOS_GitHub> nixpkgs/master bba5b1c Vladimír Čunát: plasma5 tests: fix by using older fontconfig-penultimate...
NixOS_GitHub has left #nixos []
marsel has quit [(Quit: WeeChat 1.7.1)]
marsel has joined #nixos
odi has joined #nixos
k0001 has quit [(Quit: Connection closed for inactivity)]
bkchr has joined #nixos
<bkchr> Hi, when I have a local checkout of the nixpkgs, can I use that local checkout and the normal configured nix-channel in my configuration.nix?
<bkchr> I would like to write local_pkgs.package
<bkchr> and otherwise just use the normal packages from the channel
<bkchr> can I do this?
<clever> near the top do let local_pkgs = import /home/clever/nixpkgs { config={}; };
<gchristensen> (don't forget the `in`)
<bkchr> clever: you are my hero! :D
<bkchr> local_pkgs = import /home/clever/nixpkgs { config={}; } ? pkgs;
<bkchr> can I also write something like that?
<gchristensen> no need for the ? pkgs
Infinisil has joined #nixos
<bkchr> gchristensen: I share the configuration with multiple computers and on other pcs, where the local repo does not exist, I don't want to get an error^^
<bkchr> At least that is my idea
<Infinisil> Good day! What's the discussion about, bkchr?
ertes has joined #nixos
<bkchr> Infinisil: Hi, talking about using a local package checkout and if that does not exist, it should use the "normal" packages
<clever> bkchr: may need a tryEval then
<shlevy> niksnut: For declarative projects, when we get a cached eval of .jobsets that's *not* the latest successful eval we want to switch back. Any idea how to do that off the top of your head?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mt-caret opened pull request #26059: top-level/python-packages: add zip support to fetchPypi (master...fetchpypi-zip-support) https://git.io/vHmdD
NixOS_GitHub has left #nixos []
ertes has quit [(Ping timeout: 240 seconds)]
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
python476 has joined #nixos
<Infinisil> bkchr: I think this might work: let pkgs = import (if builtins.pathExists /nixpkgspath then /nixpkgspath else <nixpkgs>) {}; in { ... }
jgertm has joined #nixos
<Infinisil> I'm trying to use a broken package.. For some reason I'm surprised it doesn't work..
ertes has joined #nixos
anton__ has quit [(Remote host closed the connection)]
peacememories has joined #nixos
anton__ has joined #nixos
ertes has quit [(Ping timeout: 246 seconds)]
<aloiscochard> hi there, did anyone ever had to use the cloudfoundry cli tools in Nix? I tried thru docker but it does seems to keep the context... would be great to run it natively.
indi_ has joined #nixos
<evangeline> hi, does anybody know what to use in buildInputs in order to solve the "fatal error: gnu/stubs-32.h: No such file or directory" error. The glibc doesn't do the trick.
indi_ has quit [(Ping timeout: 258 seconds)]
<bkchr> Infinisil: ahh thank you
reinhardt has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] offlinehacker closed pull request #26006: kubernetes-helm: Enable bash and zsh completion (master...helm-completion) https://git.io/vHIdn
NixOS_GitHub has left #nixos []
<symphorien> evangeline: try glibc_multi
<bkchr> Currently I'm trying to rebuild lxd for my pull request (https://github.com/NixOS/nixpkgs/pull/25685) with the sandbox enabled, but If I disable lxd in my packages and call nix-collect-garbage -d, the lxd files are not deleted
<bkchr> Anyone has an idea why?
<Infinisil> evangeline: There's also stdenv_32bit which is supposed to do this
<Infinisil> (instead of normal stdenv)
<evangeline> Infinisil: that solves the issue but I'm getting the following error now: http://dpaste.com/0HC58C4
Raimondi has quit [(Read error: Connection reset by peer)]
stranger__ has quit [(Quit: Connection closed for inactivity)]
Raimondi has joined #nixos
<tomjaguarpaw> I made python-modules/dlib/default.nix based on python-modules/pandas/default.nix but nix-shell doesn't see it. Do I need to "register" this package anywhere?
<clever> tomjaguarpaw: yeah, i think its python-packages.nix
Bradyn2000 has quit [(Ping timeout: 246 seconds)]
<lewo> tomjaguarpaw, yes, in nixpkgs/top-level/python-packages.nix
<clever> pkgs/top-level/python-packages.nix
<tomjaguarpaw> clever: Thanks!
<makefu> gchristensen: regarding the filter, i just gave up trying to fix hound. ui code is too spaghetti for me to wrap my head around: https://github.com/etsy/hound/issues/251
<gchristensen> nice
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vHmpY
<NixOS_GitHub> nixpkgs/master 65477dc Masayuki Takeda: Python fetchPypi: support an extension...
NixOS_GitHub has left #nixos []
<tomjaguarpaw> Now it complains about not being able to find 'lib/python2.7/site-packages/distro.py' and indeed that package is not there
<tomjaguarpaw> * distro.py is not there
dbmikus has joined #nixos
odi has quit [(Ping timeout: 260 seconds)]
<evangeline> Hey, is it possible to get 32-bit glibc in one of the packages, which is x86 only ?
<tomjaguarpaw> Anyone know about packaging python things?
dbmikus has quit [(Client Quit)]
<dash> tomjaguarpaw: i saw somebody do it once
<tomjaguarpaw> haha
<dash> tomjaguarpaw: you wanting to contribute a package to nixpkgs?
<Infinisil> Well just look through pkgs/top-level/pythonPackages.nix
Infinisil has quit [(Quit: gotta go)]
DrWaste has quit [(Quit: Run away!)]
jgertm has quit [(Ping timeout: 258 seconds)]
dbmikus has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
erasmas has joined #nixos
kthnnlg has quit [(Remote host closed the connection)]
<FRidh> Getting curious to the amount of life years that are lost due to Python packaging.
<gchristensen> <3 FRidh
<bkchr> I want to wrap the following package with makeAutostartItem (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/yakuake/default.nix), the problem is that the package is wrapped and thus makeAutostartItem can not find the .desktop file
<bkchr> Can I give him the unwrapped program?
earldouglas has joined #nixos
MercurialAlchemi has joined #nixos
<clever> bkchr: i think you need to install both the unwrapped and the auto-start'd versions
<FRidh> bkchr: no, it will refer to the unwrapped program then. You might want to look instead at the code that creates the wrapper for Yakuake and find out why it doesn't link to the *.desktop file.
Rotaerk has quit [(Quit: Leaving)]
<bdimcheff> does anyone have a sierra wireless EM7455 (from lenovo) working properly? mine works in windows and ubuntu fine, but it just fails pretty early in the process in nix, perhaps because of this FCC flag thing https://bugs.freedesktop.org/show_bug.cgi?id=96623
<bkchr> FRidh: isn' t that line 61 in the file I linked?
sitwon has joined #nixos
<sudoreboot[m]> If I wanted to try my hand at creating a nixpkg as someone who still has trouble understanding basic nix syntax but learns quickly-ish, how long should I expect to spend on it?
<FRidh> bkchr: you'll want to know what kdeWrapper does.
<gchristensen> depends on how tricky the package is, sudoreboot[m] :)
<bkchr> FRidh: I fixed it in the package
mizu_no_oto has joined #nixos
<gchristensen> sudoreboot[m]: some packages I can get done in 5 minutes, some take a long time, some ... well, some I just give up on :P
ertes has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cleverca22 opened pull request #26062: libredirect: allow null paths (master...libredirect) https://git.io/vHYfn
NixOS_GitHub has left #nixos []
<sudoreboot[m]> gchristensen: I just made an issue about it (https://github.com/NixOS/nixpkgs/issues/26060). Certain dependencies are already packaged but not sure how much is not. On the surface it looks like there are some nice helper functions for deploying dotnet stuff.. but I always regret it when I say something seems straight forward
<gchristensen> dotnet ... hmm
<betaboon> is something like a combination of mkIf and mkAfter ?
<sudoreboot[m]> dotnet is slowly killing me from the inside
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #26063: Updates Yakuake to version 3.0.3 and exposes the .desktop (master...update_yakuake_fix_dot_desktop) https://git.io/vHYfK
NixOS_GitHub has left #nixos []
zraexy has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
<bkchr> And there is the pull request :)
<gchristensen> sudoreboot[m]: I have _no_ idea
MercurialAlchemi has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
edoput has joined #nixos
ertes has quit [(Ping timeout: 258 seconds)]
justelex_ has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<gchristensen> jophish: ping?
edoput has quit [(Client Quit)]
<tomjaguarpaw> dash: I want to manage a package using nixpkgs and I'm happy to contribute it in a PR
<jophish> hey gchristensen
<gchristensen> may I PM?
<jophish> hey tomjaguarpaw
<jophish> sure
<tomjaguarpaw> Hey jophish. Glad you found your plane :)
MercurialAlchemi has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mateon1 opened pull request #26064: ipfs: 0.4.6 -> 0.4.9 (master...pr/update-ipfs) https://git.io/vHYTJ
NixOS_GitHub has left #nixos []
Itkovian has quit [(Ping timeout: 255 seconds)]
<jophish> tomjaguarpaw: me too, I was very surprised at how far it had gone
<tomjaguarpaw> Perhaps it was trying to get home
mizu_no_oto has joined #nixos
<tomjaguarpaw> I'm very confused about what nix is doing to try to build my python package
<tomjaguarpaw> Can I get debug output somehow?
<jophish> you could set NIX_DEBUG, but I'm not sure it will be helpful here
<goibhniu1> tomjaguarpaw: you can use the -k flag to keep the failed build, and cause it to fail earlier so you can step through it ... you can also step through the phases with nix-shell
goibhniu1 is now known as goibhniu
<tomjaguarpaw> It's not even a failed build really. It's just looking for distro.py and not finding it.
<tomjaguarpaw> I don't know what distro.py is.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mbrock opened pull request #26065: ethabi: add cli feature (master...ethabi) https://git.io/vHYk2
NixOS_GitHub has left #nixos []
<goibhniu> tomjaguarpaw: have you got some output you could put in a pastebin?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jrolfs opened pull request #26066: yarn: 0.23.4 -> 0.24.6 (master...yarn-0.24.6) https://git.io/vHYk6
NixOS_GitHub has left #nixos []
<tomjaguarpaw> goibhniu: https://pastebin.com/gkrd1T8Q
<tomjaguarpaw> My expression is at the top and the output is at the bottom.
<tomjaguarpaw> I don't know enough about Python or Nix to make any sense of it.
<tomjaguarpaw> Perhaps it wants the Python distro package installed
<tomjaguarpaw> But I don't know where that is
<goibhniu> https://github.com/davisking/dlib/blob/master/setup.py seems to do quite a lot :/
nallar has joined #nixos
Ross has quit [(Ping timeout: 246 seconds)]
<tomjaguarpaw> Goodness
nallar is now known as Ross
<tomjaguarpaw> Right, it does want to import distro
<tomjaguarpaw> Not sure that's even in Nix ...
<goibhniu> hehe ... is it trying to run apt-get? https://github.com/davisking/dlib/blob/master/setup.py#L489
<FRidh> tomjaguarpaw: i think distro.py is provided by pip, try adding it as `buildInput`. What a horrible setup.py file by the way.
boxofrox has quit [(Ping timeout: 260 seconds)]
<tomjaguarpaw> goibhniu: I guess it's trying to run apt get for distro detection?
Mercuria1Alchemi has joined #nixos
<FRidh> oh and it needs cmake, right.
<tomjaguarpaw> FRidh: What's the difference between build input and the stuff that's at the top of the file inside {}?
<goibhniu> maybe you can keep it happy by telling it where to find cmake
<tomjaguarpaw> Well I've added cmake inside the {}
<tomjaguarpaw> But should I put it somewhere else?
<dash> yeah, this is all just for a cmake error message
<dash> tomjaguarpaw: it needs to go in buildInputs
<tomjaguarpaw> buildInputs = [ cmake ];
<tomjaguarpaw> ?
<tomjaguarpaw> Oh, the {} just imports stuff
<tomjaguarpaw> Ah, so that gets further.
<FRidh> tomjaguarpaw: what's in the top are your function parameters. You are writing a function that calls the buildPythonPackage function with a set of arguments ( like src and buildInputs)
<goibhniu> you probably need to pass it to setup.py too
<tomjaguarpaw> setup.py is fine with cmake in buildInputs
<tomjaguarpaw> But it stops somewhere else
<tomjaguarpaw> Boost, it looks like
<tomjaguarpaw> Oh wow it's building :D
<goibhniu> "This file basically just uses CMake to compile the dlib python bindings project located in the tools/python folder and then puts the outputs into standard python packages." ... I'd consider doing that in a nix expression instead
<goibhniu> oh!
<FRidh> I agree
<tomjaguarpaw> OK, so it wanted distro just to write an error message?
<FRidh> I suggest you use `format = "other";`
<tomjaguarpaw> Well thanks for helping me avoid that rabbit hole
<FRidh> it will then use the cmake installation
<tomjaguarpaw> It's happily using cmake with format = "setuptools"
<tomjaguarpaw> unless you mean I won't need to use buildInputs
ToxicFrog has quit [(Ping timeout: 260 seconds)]
nallar has joined #nixos
jensens has quit [(Ping timeout: 258 seconds)]
Ross has quit [(Ping timeout: 245 seconds)]
nallar is now known as Ross
<tomjaguarpaw> Oh my gosh it works :D :D :D
<tomjaguarpaw> Thanks for all your help dash, goibhniu, FRidh
<goibhniu> yay!
<goibhniu> yw!
<tomjaguarpaw> That's actually very painless now I know what to do.
justelex_ has quit [(Ping timeout: 240 seconds)]
edoput has joined #nixos
<jophish> Glad to see you getting into nix, tomjaguarpaw
justelex_ has joined #nixos
tommyangelo has quit [(Ping timeout: 240 seconds)]
nallar has joined #nixos
Ross has quit [(Ping timeout: 260 seconds)]
nallar is now known as Ross
calvertvl has joined #nixos
mbrock has joined #nixos
<mbrock> what's the frequency of the nixos-unstable channel? and is it blocked because of some issue?
Itkovian has joined #nixos
<goibhniu> mbrock: http://howoldis.herokuapp.com/ has some useful info about that
<goibhniu> it varies quite a bit though
<mbrock> ahh, it seems that nixpkgs-unstable is fresher
<goibhniu> nixpkgs-unstable doesn't run as many tests ... it can be a bit dangerous if you're using nixos
<goibhniu> ... stuff like grub can break in nixpkgs-unstable
<mbrock> okay, I'm mostly recommending it to people who installed standalone Nix in order to download dependencies for my team's software. We don't have many NixOS users
<goibhniu> perfect
<mbrock> (though I use NixOS myself and somewhat regularly `nixos-rebuild switch' from master...)
edoput has quit [(Quit: edoput)]
Mercuria1Alchemi has quit [(Remote host closed the connection)]
<mbrock> what's the standard way for non-NixOSers to change and update their channel?
digitus has joined #nixos
<mbrock> oh, probably just the same `nix-channel' commands
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 3 new commits to release-17.03: https://git.io/vHY35
<NixOS_GitHub> nixpkgs/release-17.03 df96ad0 Peter Simons: multi-ghc-travis: update to latest git version and install both scripts...
<NixOS_GitHub> nixpkgs/release-17.03 43b42b6 Peter Simons: libqmi: update to version 1.18.0...
<NixOS_GitHub> nixpkgs/release-17.03 d82736a Peter Simons: libqmi: enable MBIM support...
NixOS_GitHub has left #nixos []
<goibhniu> yup
Itkovian has quit [(Read error: Connection reset by peer)]
<stallion> has anyone needed to install a certificate to cacert for a package before?
<stallion> not seeing a good way to deal with this
hke has quit [(Quit: bye)]
boxofrox has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #26068: vimer: init at 0.2.0 (master...add-vimer) https://git.io/vHYGf
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vHYGL
<NixOS_GitHub> nixpkgs/master 47fa2a1 Peter Simons: LTS Haskell 8.15
<NixOS_GitHub> nixpkgs/master 503ec21 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
NixOS_GitHub has left #nixos []
hke has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
indi_ has joined #nixos
<tomjaguarpaw> jophish: It seems a saner way to build Docker images than Dockefiles
derjohn_mob has quit [(Ping timeout: 240 seconds)]
edoput has joined #nixos
<BlessJah> I'm writing expression for package/module that requires generating ~400 lines config, how should I handle this? embedd those lines in expression?
indi_ has quit [(Ping timeout: 240 seconds)]
derjohn_mob has joined #nixos
Itkovian has joined #nixos
<BlessJah> also, where things like pkgs.writeText are described?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26064: ipfs: 0.4.6 -> 0.4.9 (master...pr/update-ipfs) https://git.io/vHYTJ
NixOS_GitHub has left #nixos []
johnsonav has quit [(Ping timeout: 240 seconds)]
<gchristensen> BlessJah: use search.nix.gsc.io and put in "writeText ="
<BlessJah> nice one, is there reference or manual more detailed than nix/nixos/nixpkgs ones?
<goibhniu> BlessJah: there are some other nice resources e.g. http://nix-cookbook.readthedocs.io/en/latest/nix-pills.html
<BlessJah> not exactly what I'm looking for
acarrico has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] montag451 opened pull request #26070: nss-pam-ldapd: 0.8.13 -> 0.9.7 (master...nss-pam-ldapd) https://git.io/vHYCR
NixOS_GitHub has left #nixos []
simukis has joined #nixos
bkchr has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Read error: Connection reset by peer)]
<heath> hello!
<heath> anyone up for helping me with this? :) https://gist.github.com/anonymous/d5f4906d661043d2c0e3566221c122df
ertes has joined #nixos
indi_ has joined #nixos
<freusque> hello, i am trying to package python bindings to a network library
<freusque> my attempt fails to find the library itself (nanomsg)
fifo23 has joined #nixos
<freusque> it seems a standard enough issue, but I've been at it for an hour without success :x
<freusque> the nix_run_setup.py script returns FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/include/nanomsg'
ertes has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to master: https://git.io/vHYlI
<NixOS_GitHub> nixpkgs/master 5677ce2 michael bishop: libredirect: allow null paths
<NixOS_GitHub> nixpkgs/master dc4e2cd Eelco Dolstra: Merge pull request #26062 from cleverca22/libredirect...
NixOS_GitHub has left #nixos []
<tomjaguarpaw> How do I "register" a Lua package so Lua can find it?
<FRidh> freusque: patch lines 12 and 13 to absolute paths to the headers and libraries https://github.com/nanomsg/nnpy/blob/master/generate.py#L12
<nixos-users-wiki> "Additional resources" created by cillianderoiste https://git.io/vHYlg
<freusque> FRidh: ah
<freusque> FRidh: generate.py, I'm not familiar with python packaging, sorry
<freusque> FRidh: thank you very much!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra closed pull request #26057: diffutils: 3.5 -> 3.6 (staging...diffutils-3.6) https://git.io/vHm1Z
NixOS_GitHub has left #nixos []
marsel has quit [(Ping timeout: 240 seconds)]
derjohn_mob has quit [(Ping timeout: 268 seconds)]
<tomjaguarpaw> Is there such a thing as LUA_PATH?
swflint has quit [(Ping timeout: 240 seconds)]
justelex_ has quit [(Ping timeout: 246 seconds)]
goibhniu has quit [(Ping timeout: 246 seconds)]
<tomjaguarpaw> In fact even the standard lua packages don't work
justelex_ has joined #nixos
simukis has quit [(Quit: simukis)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<tomjaguarpaw> can anyone do 'nix-shell -p luaPackages.luazlib' and then run 'lua' and type 'require "zlib"'?
<tomjaguarpaw> Does it work for you?
ertes has joined #nixos
bla_ has joined #nixos
swflint has joined #nixos
bennofs has joined #nixos
bla_ has left #nixos []
python476 has quit [(Ping timeout: 240 seconds)]
<avn> don't work
<tomjaguarpaw> Is Lua just broken somehow? I'm confused.
mizu_no_oto has joined #nixos
ertes has quit [(Ping timeout: 268 seconds)]
phinxy has joined #nixos
peacememories has joined #nixos
<jophish> tomjaguarpaw: yeah, there's LUA_PATH and LUA_CPATH
<FRidh> tomjaguarpaw: see also https://github.com/NixOS/nixpkgs/issues/25830
peacememories has quit [(Client Quit)]
ertes has joined #nixos
<FRidh> that doesn't work because there's no setupHook
peacememories has joined #nixos
peacememories has quit [(Client Quit)]
<tomjaguarpaw> So are Lua packages just broken at the moment?
markus1199 has quit [(Ping timeout: 240 seconds)]
markus1189 has quit [(Ping timeout: 260 seconds)]
ertes has quit [(Ping timeout: 245 seconds)]
indi_ has quit [(Ping timeout: 246 seconds)]
endformationage has joined #nixos
markus1189 has joined #nixos
markus1199 has joined #nixos
ambro718 has joined #nixos
ertes-w has quit [(Ping timeout: 260 seconds)]
fifo23 has quit [(Read error: Connection reset by peer)]
fifo23 has joined #nixos
freusque has quit [(Quit: WeeChat 1.7)]
Tucky has quit [(Remote host closed the connection)]
peacememories has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
derjohn_mob has joined #nixos
peacememories has quit [(Ping timeout: 268 seconds)]
peacemem_ has joined #nixos
bkchr has joined #nixos
peacemem_ has quit [(Client Quit)]
orivej has quit [(Ping timeout: 246 seconds)]
justelex_ has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
JayVii has quit [(Remote host closed the connection)]
marsel has joined #nixos
mudri has quit [(Ping timeout: 255 seconds)]
JayVii has joined #nixos
georges-duperon has joined #nixos
edoput has quit [(Quit: edoput)]
justelex_ has joined #nixos
eacameron has joined #nixos
FRidh has quit [(Ping timeout: 272 seconds)]
mkoenig has quit [(Remote host closed the connection)]
eacameron has quit [(Remote host closed the connection)]
justelex_ has quit [(Ping timeout: 246 seconds)]
<pierron> Why only tarballs are being downloaded from cache.nixos.org, and why everything else is being rebuilt?
<gchristensen> if you've got a mass rebuild somewhere it'll fetch sources from the cache
<pierron> Is there a simple way to figure out where it started to go wrong?
detran` has quit [(Ping timeout: 258 seconds)]
jgertm has joined #nixos
jgertm is now known as Guest53184
<pierron> gchristensen: I found it, apparently having an attribute named "name" in an overlay causes a mass-rebuild
<gchristensen> wtf?
<pierron> I agree.
ertes has joined #nixos
ambro718 has quit [(Ping timeout: 260 seconds)]
ertes has quit [(Ping timeout: 268 seconds)]
mkoenig has joined #nixos
cement has joined #nixos
cement has quit [(Remote host closed the connection)]
cement has joined #nixos
indi_ has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
indi_ has quit [(Ping timeout: 260 seconds)]
Guest23470 has quit [(Ping timeout: 240 seconds)]
hiberno has quit [(Ping timeout: 258 seconds)]
<stallion> anyone around familiar with overrides?
<gchristensen> pierron: seems worth a bug report
<gchristensen> stallion: many people, should ask :)
<pierron> gchristensen: The problem is I have no idea how to investigate that.
<gchristensen> yeah, I think just any bug report would be good
<srhb> pierron: Is it reproducible? Then that's enough.
<pierron> gchristensen: somehow, I bet they are a lot of Nix expression for packages which are defined as callPackage ./path, which expect a name attribute as argument, and that one might not be provided, or might have a default value if missing.
<stallion> I'm in an odd situation where I need to install a certificate into the default cacert, I'm not seeing a great way to do this, so I started looking at providing an override that would append the cert that I care about. the catch is that I can't seem to have other packages (particularly nixpkgs) use this overridden derivation so that tools like fetchgit will work.
<stallion> fwiw, I'm on darwin and not nixOS
derjohn_mob has quit [(Ping timeout: 258 seconds)]
<orbekk> tomjaguarpaw: lua packages work if you set the LUA_PATH manually, but otherwise broken. that's why I created that issue and pull request. hopefully this will fix it
<pierron> srhb: Yes, it is. I will open it in a few hours.
<LnL> stallion: pretty sure those use NIX_SSL_CERT_FILE
<orbekk> tomjaguarpaw: currently you have to do something like this: pkgs/servers/dns/knot-resolver/default.nix
<stallion> LnL: unfortunately no. curl does the right thing, but git only uses the cacert package
<orbekk> stallion: did you try defining a packageOverride? http://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides
<stallion> i did
<disasm> stallion: security.pki.certificates = [ ''YOUR CERTIFICATE'' ];
<LnL> oh really?
Infinisil has joined #nixos
<stallion> disasm: does that work even if i'm using darwin?
<gchristensen> no
<disasm> no, that's nixos specific, sorry
<stallion> damn
<stallion> this may end up killing the project I'm working on - unfortunately all of our internal resources are protected with our own certificates
<LnL> stallion: oh wait I think git uses GIT_SSL_CAINFO
<gchristensen> LnL: can nix-darwin do pki? :)
<LnL> nope, not at the moment
<gchristensen> gotcha
<LnL> and it uses ${pkgs.cacert} in most places
<stallion> LnL: exactly :/
<LnL> the other env variable doesn't work either?
<stallion> unfortunately darwin doesn't use cacerts files
<stallion> so that would break usage for public git repositories (i.e. github)
<stallion> the thing that's very odd is that curl works without a problem
<LnL> most packages in nix do, and cacert is installed by the installer
<stallion> somehow it's using the system keystore, but git is not
<stallion> ah sorry, I meant to say that the system keystore doesn't exist in a cacerts file
<nixos-users-wiki> "Additional resources for Documentation" edited by makefu https://git.io/vHYPH
<LnL> are you saying that the nix version of curl uses certs from keychain?
<disasm> stallion: can you export all the certs from OSX into a PEM file?
<disasm> stallion: then you could run git config --global --replace-all http.sslCAinfo /path/to/ca.pem
<stallion> hrmm
<stallion> that makes it a bit tough to roll out to >50 people
<stallion> LnL: it seems to be. I'm able to download sources from an internal server using the same cert that's preventing me from using git
<disasm> stallion: what about a wrapper for git setting the env variable GIT_SSL_CAINFO?
alx741 has joined #nixos
<LnL> both curl and git break for me if I set NIX_SSL_CERT_FILE to something differnet
<stallion> hrmm
<stallion> it really shouldn't be this tough to just modify cacerts :/
<stallion> i'm surprised others haven't hit this before
<LnL> what version of nix are you using?
<stallion> 1.11.9
<LnL> ok, then building a cert bundle and settings NIX_SSL_CERT_FILE should work
bkchr has quit [(Ping timeout: 246 seconds)]
<stallion> where should that be set?
<stallion> is it treated as an impure environment variable/
<LnL> yes
<stallion> gotcha, so it should just be a matter of setting the variable in the shell used to call nix-env/nix-shell?
<LnL> it's only used by fixed output drvs so it doesn't have influence on the build results
<stallion> gotcha
<LnL> eg. this fails for me: NIX_SSL_CERT_FILE=/tmp/foo.crt git ls-remote https://github.com/NixOS/nixpkgs.git
<stallion> if git is using GIT_SSL_CAINFO, will that be set from NIX_SSL_CERT_FILE?
<LnL> (with git from nixpkgs)
<stallion> that makes sense
<LnL> NIX_SSL_CERT_FILE is patched in openssl now, GIT_SSL_CAINFO is git specific
<stallion> this is being used for a development environment, so it has to be replicated across several machines
<stallion> is there a way i can set this in an expression rather than relying on the environment?
<LnL> you could create a custom fetchgit with overrideAttrs
<stallion> ahh
<LnL> by default nix will use the cacert package ~/.nix-profile, so you could also install your custom bundle on all of the machines
<stallion> so then just add an attr for NIX_SSL_CERT_FILE
<LnL> yes, something like this should work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vHYMb
<NixOS_GitHub> nixpkgs/master 179c504 Bastian Köcher: lxd: 2.0.2 -> 2.12 (#25685)...
NixOS_GitHub has left #nixos []
<stallion> gotcha, so i could just have a new derivation based on cacert with overrides install by adding the cert, and then updating fetchgit and possibly fetchurl to use the new cafiles
<stallion> i think that makes sense
<LnL> fetchgitCustom = attrs: (fetchgit attrs).overrideAttrs (drv: { GIT_SSL_CAINFO = "${cacertCustom}/etc/ssl/certs/ca-bundle.crt"; })
* stallion nods
<makefu> magic
MichaelRaskin has joined #nixos
<LnL> gchristensen: looks pretty straightforward to add
<Infinisil> Beautiful, nix is just beautiful
<stallion> LnL: bonus question for you ;)
<pierron> makefu: I know magic ;)
<stallion> is there a way to substitute an overridden version of something like fetchgit for another?
<stallion> i.e. is it possible to do something like `foo = customPackage ./pkgs/foo { fetchgit = myfetchgit };` ?
<LnL> yeah, overrideAttrs is really nice
<stallion> s/customPackage/callPackage/
<Infinisil> Why would that not be possible?
<LnL> sure, callPackage adds .override so you can do this foo.override { fetchgit = fetchgitCustom; };
<stallion> perfect
<stallion> is it possible to do this at a global level?
justelex_ has joined #nixos
<stallion> i.e. any reference to fetchgit would use fetchgitCustom?
<makefu> of course the package needs to have fetchgit in the call parameters. if not you might need to override pkgs instead
<LnL> ofcorse :D
kampfschlaefer has joined #nixos
<Infinisil> At all people using ZFS: Is there an elegant solution to keep two datasets in sync over a network?
<Infinisil> s/keep/keeping
<Infinisil> I'd like my working data to be always there, on whatever machine I use
<gchristensen> sounds like a nightmare, independent of ZFS
<Infinisil> I wrote a simple hacky script to do that, which works more or less as long as not both sides modify data
<MichaelRaskin> Well, if dataset as append-only, with GlusterFS it is not really a nightmare. If dataset is of reasonable size, with a good DVCS (more or less anything but git, I guess) it is not a nightmare.
<MichaelRaskin> If both-sides-modified is a possibility, there is a logical problem of merging, especially if you cannot get a diff with the last-merged state.
<Infinisil> Yeah, I'll just have to forbid that somehow
<gchristensen> if I could, I would "just not do that"
orivej has joined #nixos
<MichaelRaskin> What is the dataset size, though?
bkchr has joined #nixos
<stallion> Infinisil: honestly, I usually just used NFS tied to a dataset
<Infinisil> A few gigs maybe
<stallion> Are you using SunOS?
<Infinisil> I want the data really to be local though, I sometimes don't have internet connection
<stallion> ah
<gchristensen> maybe look in to btsync
<MichaelRaskin> Are there many _edits_ as opposed to additions?
<MichaelRaskin> (and are the files text)
<Infinisil> Yeah, I want to use it on my /home
<gchristensen> oh my
<MichaelRaskin> Ouch
<Infinisil> Haha what's so bad?
<gchristensen> I would "just not do that"
<MichaelRaskin> Unison: just say no
<orbekk> Yeah, I wouldn't recommend it either. Just saying it exists
<MichaelRaskin> I mean, on whole-home you will actually hit the Unison corner cases
<Infinisil> Oh yeah I saw unison, but it doesn't look that good
<MichaelRaskin> Well, in reality /home shouldn't be _that_ bad with Mercurial or Git
<Infinisil> I really want to avoid git, I don't really need that much stuff, also I don't want everything I ever create to be saved for eternity because of git's append only
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #25782: ipfs service: dataDir backwards compatibility, fix dataDir existance detection (master...ipfs) https://git.io/v97Sp
NixOS_GitHub has left #nixos []
<MichaelRaskin> Of all the VCSes Git is definitely the least similar to append only
<Infinisil> Oh and here is the script, it's pretty simple to understand: https://github.com/Infinisil/system/blob/master/nixos/sync.nix
<MichaelRaskin> Did you ever look at GlusterFS?
<Infinisil> Nope
<Infinisil> Googling now
<MichaelRaskin> gluster.org I think
<MichaelRaskin> Yes
<gchristensen> shared posix volumes is nasty though
<MichaelRaskin> That's true
<Infinisil> What's so bad about that?
<gchristensen> and not really suitable for offline use
<MichaelRaskin> At some point I tried to list the things that would be needed for keeping /home/ in a DVCS (as requirements to DVCS)
<gchristensen> POSIX (R) Is Hard
<gchristensen> without adding network latency to the mix
<MichaelRaskin> POSIX FS behaviour is so hard that neither Git nor BtrFS fully understand it!
<Infinisil> An example?
cheshircat has quit [(Quit: WeeChat 1.5)]
<gchristensen> sorry my PTSD won't let me get too deep in to it
<Infinisil> Are we talking about fifo's or socket files?
<stallion> MichaelRaskin: as in dotfiles?
<MichaelRaskin> Well, Git relies on some consistency guarantees provided by ext3 but not ext4, never fdatasync's anything etc.
<MichaelRaskin> stallion: we-ell
<stallion> git does a relatively good job for that with a little scripting finesse
<MichaelRaskin> If I care enough to version. I want to have history, so Git is right out, it is horrible
python476 has joined #nixos
<stallion> history is fine as long as you don't abuse it :P
<MichaelRaskin> I mean actually the entire /home
<stallion> oof.
<MichaelRaskin> Where abuse includes every possible kind of actual use
<MichaelRaskin> Git destroys information by design: if reflog was useless, it wouldn't exist, but it is not forever, and it cannot be synced
<MichaelRaskin> (Or can it now?)
<Infinisil> I am very determined to have my /home synced across machines, I'll try out more options and see if it's possible without problems
spacefrogg has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin> Maybe actually reconsider the layout: the things that are really bad for a DVCS, and the things that are really bad for GlusterFS are usually different thing and you can put them in different subdirectories
<orbekk> Infinisil: my personal recommendation: dotfiles in VCS, projects in VCS, sync or remotely mount other files (e.g. binaries, media), treat the rest of /home as disposible garbage
<Infinisil> Another approach to keep files in sync on multiple hosts: The machine I'm currently on is the principal, it's the source of truth. When I switch machines I'll make the new machine the principal, which first makes sure it's up to date with the last principal and boom, it works
<MichaelRaskin> That last part is close enough to my backup logic
<Infinisil> No problems with merging because only one file can ever change machines
<Infinisil> s/machines/data
<MichaelRaskin> (and switching machines usually includes doing a last backup + restoring on the other one)
<MichaelRaskin> Still keep as much data in VCS as possible
<Infinisil> orbekk: That would be reasonnable, which I'm not, so that's a problem xD
<MichaelRaskin> (what I really value in Monotone is that I have a small fixed number of databases where I can push many unrelated projects, and syncing can be done in bulk without listing the whole list of projects)
<Infinisil> I actually also would like to use this for other stuff such as for tv series I'm currently watching, so I have my favorite show wherever I want it
<MichaelRaskin> Infinisil: a completely unreasonable solution that could actually work: the real real data is on RAID that includes at least two USB drives, attaching them to a different computer and rebuilding RAID from USB drives transfers state
<orbekk> lol
<gchristensen> ...
<Infinisil> MichaelRaskin: So I'd have to use use STICKS to transfer data?? Well it works, buuuut
<makefu> bad redundancy suggestions for 200
<Infinisil> s/STICKS/DRIVES
<gchristensen> "walking in to the datacenter to fix a failed raid array to find a bunch of external usb disks hanging off the front for 400" makefu?
<Infinisil> Alright I'll play around with my principal solution, seems to be the easiest
<makefu> gchristensen: pretty much, yes
trikl has joined #nixos
<gchristensen> I done did seen it :(
<MichaelRaskin> There is also DRBD and switching masters, for maximal fun
<gchristensen> don't hurt them, MichaelRaskin
<MichaelRaskin> I hope noone is adventurous enough to try that without reading about the pitfalls first
derjohn_mob has joined #nixos
<gchristensen> Infinisil: I don't care what you do. Have fun. Take risks. Try whatever and see what happens. However: if any of the data in your home directory is important, use a different tool to take regular backups to an external place regularly, please.
<Infinisil> Oh question: The script I wrote is embedded in a nix file, but I'd like to run and modify the script on it's own to test, how can I include a .sh file as text in a .nix file?
<MichaelRaskin> builtins.readFile
betaboon has joined #nixos
<Infinisil> MichaelRaskin: Thanks!
betaboon has quit [(Changing host)]
betaboon has joined #nixos
<Infinisil> gchristensen: I'll use a test dataset, as I have before ;)
GiGa|Laptop has joined #nixos
<MichaelRaskin> I would say stronger: please do have a boring thought-throughout backup and recovery procedure
<gchristensen> these things go wrong at the worst time, don't use it on a test dataset and assume it'll be fine forever
<Infinisil> MichaelRaskin: I'll also think about this
<gchristensen> if your data has any value, us a 3-2-1 backup procedure
<Infinisil> I actually had my test dataset erased a few times due to this script
<Infinisil> gchristensen: 3-2-1?
<gchristensen> https://www.backblaze.com/blog/the-3-2-1-backup-strategy/ ... from this point forward, I will have very little sympathy if you lose data
<Infinisil> Ah I see
justelex_ has quit [(Quit: Konversation terminated!)]
kiloreux has joined #nixos
justelex_ has joined #nixos
<Infinisil> I just got my server set up with ZFS (gotta do a write up yet, clever helped me a lot!), I already have automated ZFS snapshots on the disk itself, they also get transferred every hour to an external drive, and the server will be be used for a daily backup
<Infinisil> So I planned on doing 3-2-1 without ever thinking much about it :P
<gchristensen> snapshots are not backups
<MichaelRaskin> I hope that at least the daily backups are file-level, not FS-level
<MichaelRaskin> Same-physical-substrate is also not backups no matter what
<Infinisil> Okay yeah, the snapshots on the disk itself aren't useful when the disk fails, they're more of a "I fucked up, roll me back" thing
<Infinisil> I don't have a second disk in my laptop so that's the best I can do
<clever> if there are more drives in the machine, zfs could be switched to a raidz1, and survive the loss of 1 disk
<clever> or a regular old mirror
<clever> yeah, for a laptop, the best you can get is zfs send or a normal file based copy
<gchristensen> preferrably to 3 separate devices, one being off site
<Infinisil> Maybe I'll even do hourly backups to the server
<Infinisil> I think with this solution I'm better covered than 99% of people tbh xD
<MichaelRaskin> Ans snapshots mean you have to trust ZFS correctness checks
betaboon has quit [(Quit: This computer has gone to sleep)]
<clever> MichaelRaskin: yeah, ive read the horror story about bad ram causing the zfs self-check to fail, and shred the entire disk
<MichaelRaskin> Erm
<Infinisil> Whew
<MichaelRaskin> I mean mere FS corruption with snapshots sharing the problem silently
<clever> yeah, that can also happen
<Infinisil> Scrubbing can detect and potentially correct that right?
<clever> detect, yes
acarrico has quit [(Ping timeout: 260 seconds)]
<clever> correct, only if its raid or mirror
<Infinisil> Ahh
<Infinisil> Maybe I'll get a disk array at some point
justelex_ has quit [(Ping timeout: 255 seconds)]
yegods has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 3 new commits to master: https://git.io/vHYdP
<NixOS_GitHub> nixpkgs/master 5795680 Aneesh Agrawal: pythonPackages.pgspecial: 1.6.0 -> 1.7.0
<NixOS_GitHub> nixpkgs/master 473189e Aneesh Agrawal: pgcli: 1.3.1 -> 1.5.1
<NixOS_GitHub> nixpkgs/master 4f6dde2 Frederik Rietdijk: Merge pull request #26044 from aneeshusa/update-pgcli-to-1.5.1...
NixOS_GitHub has left #nixos []
<Infinisil> Hey clever, I roughly described the process we did yesterday here: https://github.com/Infinisil/system/blob/master/process.org Did I miss anything?
bkchr has quit [(Ping timeout: 240 seconds)]
<clever> Infinisil: yep, that looks like it covers everything
<clever> Infinisil: something else that could be done, let me find it
<Infinisil> clever: Thanks, I'll polish it up a bit later
justelex_ has joined #nixos
<clever> Infinisil: this creates a bash script called justdoit, that does a full nixos install (ext4 based in this case)
<clever> and it pre-installs it into the nixos thats being built
<clever> Infinisil: in theory, that could be added to the kexec configuration.nix
GiGa|Laptop has quit [(Ping timeout: 268 seconds)]
alx741 has quit [(Quit: alx741)]
alx741 has joined #nixos
<Infinisil> That could work yes, but it would need a lot of adjustments, because of different /dev/*da, different sizes, amount of cores, maybe more
<Infinisil> maybe it would be better to let this stay in the users hands?
pie___ has joined #nixos
<clever> Infinisil: nixos-generate-config handles the corecount, sfdisk eats the entire drive if you omit size, and if you just set a rule that the droplet must only have 1 drive, its always vda?
<clever> Infinisil: main thing missing is nathan7's DO configuration module
<Infinisil> Hmm yes that culd work
pie__ has quit [(Remote host closed the connection)]
<Infinisil> what DO configuration module?
<edef> clever: hi
<clever> Infinisil: this used a DO API to query the correct ip, gateway, and netmask, so its always right
<clever> edef: hello
<edef> that server is down
<edef> I'll republish the repo to github in a bit
<clever> edef: ah, that helps, was trying to find a copy
<edef> (it's my code)
<Infinisil> Nice
<clever> ah, wasnt expecting a different name
<edef> more estrogen, less deadnick
<Infinisil> nixos-infect also sets up DO networking, is that similar? https://github.com/elitak/nixos-infect/blob/master/nixos-infect#L40-L96
<edef> no
<clever> nixos-infect will parse /etc/networking/interfaces once, and setup nixos
<clever> but if you clone the machine, it breaks
alx741 has quit [(Quit: alx741)]
<clever> and if the ip ever changes, it breaks
<Infinisil> Ahh, so edef's code uses the DO api?
<clever> systemd-digitalocean will auto-configure it on bootup every time
<clever> it queries something over http at a 169.x.y.z ip, to find the right address
<edef> domenkozar: any chance you could edit https://github.com/NixOS/nixops/issues/605 to point at my current repo?
<Infinisil> Nice!
<clever> Infinisil: so just downloading that and adding module.nix to the imports list will ensure the ip is always set right
<Infinisil> Where does it get the metadata from though?
<Infinisil> clever: I'll probably do that :D
<clever> Infinisil: it will query http://169.254.169.254
<Infinisil> I see, didn't know about that
<simpson> Hi! I built Docker containers using Nix. I'm trying to run them on Ubuntu. Ubuntu gives me a trashy error.
<simpson> `docker: Error response from daemon: containerd: container not started.`
<simpson> What can I do about this? Is this an Ubuntu problem or a Nix problem?
<clever> edef: do you know if a droplet can edit any of its own metadata?, like a additional tag
<edef> not that I know of
<edef> but
<edef> I haven't played with any of this stuff in a while
<clever> ah
<clever> i was thinking of making an extra safety to a script that auto-formats, you have to set a certain bit of userdata to allow it
<clever> and having the vm unset that at install
<Infinisil> simpson: Did you build it without nix and it worked, but didn't with nix?
<edef> clever: define format
<edef> clever: like, you can keep a filesystem UUID or something
<edef> clever: so you can check if you're in the initial state
<clever> edef: wiping the disk with fdisk and reinstalling everything
<edef> clever: okay, keep a partition UUID
carlosda1 has quit [(Ping timeout: 240 seconds)]
justelex has joined #nixos
justelex_ has quit [(Ping timeout: 240 seconds)]
<simpson> Infinisil: How would I build this without Nix? It's a Nix expression which calls dockerTools.buildImage.
<Infinisil> Can I import your systemd-digitalocean build with a fetchFromGitHub or something?
indi_ has joined #nixos
<edef> Infinisil: yup
<clever> Infinisil: probably
<edef> Infinisil: that's how I do it
<Infinisil> simpson: So it's more than a Dockerfile?
takle_ has joined #nixos
takle has quit [(Read error: Connection reset by peer)]
<edef> Infinisil: yes
JagaJaga has joined #nixos
<edef> Infinisil: there is no Dockerfile
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #26046: doc/cross-compilation: cleanup some grammar (master...manual-cross-fix) https://git.io/vHmkw
NixOS_GitHub has left #nixos []
<Infinisil> simpson: Can you share the nix file? I'm probably not much of a help, my docker experience is very limited
<Infinisil> simpson: But I can have a look and maybe build it myself
<edef> simpson: does your Entrypoint exist etc
<clever> Infinisil: once i get some food in the oven, i can try making a new justdoit
<simpson> edef: Sure. It's not like the docs cover what's supposed to be in there, though.
<edef> simpson: well
<edef> simpson: what program do you want to run when the container starts
<simpson> edef, Infinisil: https://bpaste.net/show/e96367313770
<edef> oh.
<edef> I doubt that's going to work
<edef> you're going to have to split the args
<Infinisil> Ahh yes
ToxicFrog has joined #nixos
<edef> [ "/bin/twistd" "-n" "web" "--port" "80" "--path" "." ]
indi_ has quit [(Ping timeout: 268 seconds)]
<simpson> Aha.
Guest95708 has quit [(Ping timeout: 260 seconds)]
<Infinisil> Argh where is documentation or source to fetchFromGitHub
<edef> Infinisil: owner, repo, rev, sha256
<edef> Infinisil: grab the sha256 with nix-prefetch-zip
<Infinisil> Ah thanx
<simpson> edef: Is that actually working for you? I'm still getting the error. How did you invoke Docker?
<edef> let me actually build it
<edef> otherwise you might have to stick that in Entrypoint
<edef> I usually use my own thing
<edef> it's slightly less flexible (it can't do layered images) but also faster
<simpson> This is plenty fast; it takes less than a minute to build. I just want to use Docker in anger.
<simpson> I don't really even want to Docker. I just want to test my image before I hand it off to Mesos.
<edef> yeah, I have a dozen images I build fairly frequently
<Infinisil> How can I use something like let x = fetchFromGitHub { ... } in an import?
<edef> import x
<edef> but you can just stick that in modules
<edef> er
<edef> imports = [ (fetchFromGitHub { ... }) ];
python476 has quit [(Remote host closed the connection)]
<Infinisil> It gives me infinite recursion when I use the let in expression, and imports = [ x ]
<edef> oh.
<edef> right.
<clever> nixos has to scan all imports recursively, to find the overrides passed to pkgs
<edef> (import <nixpkgs> {}).fetchFromGitHub {}
<clever> so you need to use a 2nd nixpkgs, let pkgs2 = import <nixpkgs>{config={}});
<clever> and if you dont set config={}; it will import the ~/.config/nixpkgs/config.nix
<Infinisil> Ahh makes sense, thanks
marsel has quit [(Ping timeout: 240 seconds)]
<Infinisil> I'll use (import <nixpkgs> {config={};}).fetchFromGitHub { ... }
hotfuzz_ is now known as hotfuzz
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #26071: enlightenment: 0.21.7 -> 0.21.8 (master...upd.enlightenment) https://git.io/vHYhY
NixOS_GitHub has left #nixos []
<Infinisil> The option `__ignoreNulls' defined in `/etc/nixos/configuration.nix' does not exist.. :/
<edef> hm
<clever> it may need a 2nd import
<edef> let me see how my configs do this
<clever> nixos is probably detecting that as an attrset, and not trying to import it
hotfuzz has quit [(Read error: Connection reset by peer)]
<edef> ah
<edef> imports = builtins.map (drv: drv.outPath) [ ... ];
<edef> I purposely leave the import to the module system because otherwise the error messages don't know the module path
<clever> ah
<clever> imports = [ ((import <nixpkgs> {config={};}).fetchFromGitHub { ... }.outPath) ];
<clever> that should also work, though it may need the ) moved a bit
hotfuzz has joined #nixos
<Infinisil> Ah yes, thanks a lot
<Infinisil> Although the systemd-digitalocean build fails, what channel are you using for it?
<edef> hmmmm
<Infinisil> Ah no
<edef> so I haven't used it in a while, things /could/ be broken
<Infinisil> I used the wrong hash lol
<trikl> How can I know where the pkgs.curl.dev for the current environment is in the store?
<edef> elaborate
<edef> this sounds very X-Y problem
<trikl> I want to check the contents of the derivation for pkgs.curl.dev
<clever> trikl: open nix-repl '<nixpkgs>' and then eval "${curl.dev}" in the repl
<trikl> Thanks!
obadz has quit [(Ping timeout: 240 seconds)]
jmiven has left #nixos ["WeeChat 1.7.1"]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] armijnhemel opened pull request #26072: samba: 4.6.3 -> 4.6.4 (master...samba-4.6.4) https://git.io/vHYjX
NixOS_GitHub has left #nixos []
obadz has joined #nixos
<Infinisil> Damnit, infinite recursion again, in the buildGoPackage module argument of systemd-digitalocean
<edef> uhh
<edef> that shouldn't happen :|
pie___ has quit [(Changing host)]
pie___ has joined #nixos
<Infinisil> Good point :)
<edef> all my software is the literal worst, news at 11
<Infinisil> Haha nah, btw what do you think of Go?
<edef> if you can't figure it out I'll take a look, I'm just extremely tired
<edef> Go is the best programming language of the 1970s, definitel
<edef> y
<simpson> edef: Okay, I've gotten further; I had the wrong version of stuff.
<simpson> docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory".
<Infinisil> edef: I'm just happy that my server's running for now, don't worry ;)
<edef> I'm guessing it's defaulting the entrypoint to bash
<pie___> can I install nixos on jslinux?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vHOeD
<NixOS_GitHub> nixpkgs/master a3539a0 gnidorah: openmpt123: don't build pulseaudio driver
<NixOS_GitHub> nixpkgs/master 7da0b96 gnidorah: libao: build both pulse and alsa drivers
<NixOS_GitHub> nixpkgs/master dd22335 Franz Pletz: Merge pull request #25680 from gnidorah/master2...
NixOS_GitHub has left #nixos []
<simpson> edef: Yeah, I'm going to play more with entrypoints. Still, I'm at least moving forward again. Thanks.
<edef> my own images have Entrypoint set but not Cmd
<edef> but I think dockerTools.buildImage might default Cmd to []
<Infinisil> edef: I don't really know how I feel about Go, I think it's a nice little language, but nothing more, but who am I to say, I've never written a line in it
<edef> I kind of hate Go but I'm astoundingly productive in it
<Infinisil> Haha
<Infinisil> What's your fav language?
<MichaelRaskin> A significant portion of people actually are good at converting hatred to energy, not all of them admit it, though
<edef> at this point, I don't really have a favourite language
k2s has joined #nixos
<edef> I write Go for work, Rust for low-level stuff I do for fun
<edef> OCaml for less low-level stuff
<Infinisil> Nice, I'd like to get into Rust and maybe OCaml one day
<Infinisil> For now I'm really interested in Idris, which is a masterpiece
<edef> they changed the interactive solver at some point and now idk how to use it
<Infinisil> Yeah I'm wondering too, I actually posted in reddit for an explanation on how to prove (a+b)+c = a+(b+c) heh
<MichaelRaskin> Isn't that an axiom?? I mean, in actual algebra it definitely is…
shanemikel has quit [(Quit: Konversation terminated!)]
<Infinisil> Hmm, wait maybe it wasn't exacly that
<Infinisil> Yup it was exactly that
k2s has quit [(Ping timeout: 260 seconds)]
<guillaum2> what should I put in `src` or `srcs` to introduce local files ?
digitalmentat has joined #nixos
<digitalmentat> how do I force a remote build if my currentSystem is the same as the system on the remote?
<MichaelRaskin> I usually write "" + /etc/passwd'
<MichaelRaskin> "/nix/store/20wg0yy7al9dli2mfy29n1bkhqk9dgs3-passwd"
<digitalmentat> I'm setting the NIX_REMOTE_SYSTEMS file, the load file, etc.
<MichaelRaskin> Oops
<MichaelRaskin> "" + /etc/passwd
<pie___> i see nixos.org now has a security tab \o/
acarrico has joined #nixos
mudri has joined #nixos
<digitalmentat> huh, so `my $canBuildLocally = $amWilling && ($localSystem eq $neededSystem);`
<simpson> dash: Do you remember how you built montelang/repl?
<digitalmentat> I need to specify that my system is not willing
<clever> digitalmentat: i think it will default to remote building if any remote slaves are configured
<clever> digitalmentat: are you on nixos or another distro?
justelex has quit [(Ping timeout: 258 seconds)]
justelex has joined #nixos
<digitalmentat> clever, my laptop is NixOS and the remote is NixOS, same arch too
<clever> Infinisil: pushed a change to the kexec code, it will make it simpler to turn autoreboot off
<digitalmentat> I can't get it to build remotely but I *can* if I execute the same sandboxed command on a darwin laptop
<clever> digitalmentat: when nix-daemon is in use, you must set those env variables for the daemon, not the nix-build process
<clever> digitalmentat: and there is a nixos option to do it all for you
<clever> digitalmentat: have you set nix.buildMachines and nix.distributedBuilds?
koserge has quit [(Ping timeout: 246 seconds)]
<digitalmentat> clever, ahhhhh I think *that* is my issue
<digitalmentat> so, even if I supply NIX_BUILD_HOOK and NIX_REMOTE_SYSTEMS to nix-build
acarrico has quit [(Ping timeout: 240 seconds)]
<dash> simpson: Umm
<dash> simpson: pretty sure we have the expr for that?
* dash checks
<digitalmentat> but I'm using nix-daemon, those env vars will not be used?
<clever> digitalmentat: the build hook provides the raw contents that land in $out, and an attacker could just run nix-build with a fake hook, and provide a fake build of sudo to insert into /nix/store
<octe> is it possible to run binaries compiled on other linux distributions on nix?
<edef> MichaelRaskin: it's not an axiom in peano arithmetic
<simpson> dash: Yeah, okay, I found it.
<clever> digitalmentat: so the admin has to trust the build hook and the build machines
<edef> MichaelRaskin: but it's readily proven
<clever> digitalmentat: and nix enforces that by making you set the env variables for nix-daemon, not nix-build
<simpson> I'm very confused. The Docker runner keeps griping that I didn't specify CMD, even though I did.
<simpson> And running an ENTRYPOINT causes cryptic errors.
<dash> -- Oh, repl was the one under that, mtLiteDocker.
<MichaelRaskin> edef: that's true, but notice I said algebra, and PA is more on the logic side
<digitalmentat> clever, okay, that makes sense and helps a lot, thanks :)
<edef> MichaelRaskin: yeah, but the Nat type in Idris is Peano naturals
ambro718 has joined #nixos
<Infinisil> clever: Nice (the new kexec thing)
<clever> Infinisil: a digitalocean module can also be added similarly
Itkovian has joined #nixos
<MichaelRaskin> Well,
<ambro718> Does nix gcc or wrapper have default -Werror=format-security and assuming it does how do I turn it off?
<Infinisil> clever: I'll play some overwatch now, gotta take a break from configuration once in a while :P
<clever> ambro718: hardeningDisable = [ "format" ];
<ambro718> clever: thanks
<pie___> nixos does kexec now or what?
<clever> pie___: nixos does have a kexec crashdump handler, but it just reboots nixos with less ram, and you need to manualy run kdump within that if you want to use it
<clever> pie___: there is also a "systemctl kexec" that reboots via kexec
<clever> pie___: and ive also written this: https://github.com/cleverca22/nix-tests/tree/master/kexec
<clever> pie___: which will generate a bash script you can run on any linux machine, and it forcibly boots a nixos install env
<pie___> oh
<pie___> lol nice
cement has quit [(Ping timeout: 240 seconds)]
Guest91658 has quit [(Quit: Lost terminal)]
sitwon has quit [(Ping timeout: 240 seconds)]
justelex has quit [(Remote host closed the connection)]
kuznero has joined #nixos
<kuznero> Hi All!
detran` has joined #nixos
<pmade> When using `patchelf --set-interpreter` is there an attribute in stdenv somewhere to pick the correct one for the current system?
<trikl> The derivation for curl at nixpkgs' master produces several outputs. curl only contains the binary and curl.dev contains the headers, but libcurl.so is only in curl.out. Is this intentional?
fifo23 has quit [(Read error: Connection reset by peer)]
<dash> trikl: that's pretty normal
<clever> pmade: patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)
<clever> "
<LnL> digitalmentat: --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)"
<clever> meant to be on one line, oops
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] florianjacob opened pull request #26073: piwik & piwik service: init at 3.0.4 (master...piwik-package) https://git.io/vHOtP
NixOS_GitHub has left #nixos []
<LnL> whoops
<clever> yeah, like that
fifo23 has joined #nixos
<kuznero> How can I `stack install terminfo` (haskell)? It fails to find ncurses(6.0) and also ncurses5(.9). I tried adding pkgdepends into cabal file as well as nix.packages = [ncurses] to stack.yaml. Please help. As a result I cannot install a lot of things - intero (emacs editor compiler service for GHC), idris, etc.
<trikl> dash: I see, thanks, it made me go crazy for a while
<kuznero> Searching does not give a lot of answers... :(
<pmade> clever: Thanks!
<kuznero> I suspect custom config script (cabal does not reference ncurses directly as it comes with different names on different platforms) also refers to ncursesw (w-in the end).
<kuznero> Though I can see that ghc installs terminfo of older version somehow...
slyfox_ is now known as slyfox
<digitalmentat> kuznero, are you on a NixOS system?
<kuznero> digitalmentat: yes
<digitalmentat> you can specify a shell environment for stack with the nix: shell-file: somefile.nix
<digitalmentat> so, something that looks like this
proteusguy has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vHOmF
<NixOS_GitHub> nixpkgs/master ce248ef José Romildo Malaquias: efl: 1.19.0 -> 1.19.1 (#26027)
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #26071: enlightenment: 0.21.7 -> 0.21.8 (master...upd.enlightenment) https://git.io/vHYhY
NixOS_GitHub has left #nixos []
spacefrogg has joined #nixos
<kuznero> digitalmentat: not sure I understand it, can you please clarify a bit? Does it install ghc and make stack use it?
<digitalmentat> if you're using stack on a nixos system, stack needs to know about the other build inputs it might need
<digitalmentat> oh wait
<digitalmentat> I should have read your command more thoroughly, you're doing `stack install`
<kuznero> digitalmentat: I have configured it such that as if I always supply `--nix` flag to it (sometimes with `--nix-add-gc-roots`)
<kuznero> digitalmentat: stack install (but also stack build)
<digitalmentat> I don't really use `stack` anymore on Nix but my hunch is that the stack shell needs ncurses as a build input
<digitalmentat> my example would be one way of doing that and you could supply the custom shell derivation in your global stack config
<kuznero> digitalmentat: I have also tried `nix-shell -p ncurses` and then stack build, but same problem. In one of the discussions on github I read that it might be because terminfo does not explicitly declare dependency to ncurses.
<digitalmentat> maybe so, sorry I couldn't be more helpful
<kuznero> digitalmentat: ok, I am permanently using NixOS these days. Can you give me the direction about how can I build my haskell cabal projects without stack (hopefully also with cabal directly too)
<kuznero> ?
<digitalmentat> sure
<digitalmentat> every Haskell derivation has a `.env` attribute
<digitalmentat> so if your project as a `default.nix` in it
joelpet has quit [(Ping timeout: 240 seconds)]
betaboon has joined #nixos
<digitalmentat> sorry, coming up with a succinct nix-shell invocation
<digitalmentat> most of our projects are defined in a larger custom package set
joelpet has joined #nixos
georges-duperon has quit [(Ping timeout: 246 seconds)]
<kuznero> ok, np, I am very much willing to learn this part. Now I am doing completely basic stuff like building my config .nix files for static configuration (github.com/kuznero/dotfiles). And I did a few upgrades to fsharp, mono packages. So, pretty limitted knowledge.
proteusguy has joined #nixos
<digitalmentat> kuznero, `nix-shell -E 'with import <nixpkgs> { }; (haskellPackages.callPackage ./default.nix { }).env'`
Accord has joined #nixos
<digitalmentat> with only the default.nix that would get you a nix-shell
<digitalmentat> oh you'd probably want to add cabal-install to the buildDepends
takle_ has quit [(Remote host closed the connection)]
takle has joined #nixos
<digitalmentat> `nix-shell -E 'with import <nixpkgs> { }; (haskell.lib.overrideCabal (haskellPackages.callPackage ./default.nix { }) (old: { buildDepends = (old.buildDepends or []) ++ [ cabal-install ]; })).env'`
<Accord> hey guys, i'm on debian. I ran the installer but I've got no 'nix-env', is this because I run zsh?
<digitalmentat> Accord, did you rehash?
<Accord> i did hash -r, nix-env says command not found
<digitalmentat> $ rehash (to update your PATH)
<clever> Accord: ~/.nix-profile/bin/ has to be added to PATH
<clever> normaly sourcing ~/.nix-profile/etc/profile.d/nix.sh handles it
<clever> but it may not be compatible with zsh?
<Accord> ah, source worked
<Accord> i'll add it to my .zshrc, thanks
python476 has joined #nixos
<clever> the install script should have also said thats needed
<Accord> it didn't say to source it :(
<Accord> said to run it, forgot I should source
georges-duperon has joined #nixos
kuznero has quit [(Ping timeout: 260 seconds)]
<Accord> or is this ". /home/claudiu/.nix-profile/etc/profile.d/nix.sh" equivalent to source?
<clever> yeah
<clever> . is an alias for source
<Accord> my bad
takle has quit [(Ping timeout: 240 seconds)]
<clever> but source is prefered, because some people mix up ". /foo" and "./foo"
trikl has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] proteansec opened pull request #26074: Pkgs/loadlibrary (master...pkgs/loadlibrary) https://git.io/vHOsP
NixOS_GitHub has left #nixos []
hiratara has quit [(Ping timeout: 272 seconds)]
indi_ has joined #nixos
<digitalmentat> clever, if I run nix-build as root and set NIX_REMOTE= and then configure the other env vars, shouldn't a remote build occur? or am I still confused?
<clever> digitalmentat: yeah, it should use the hook in that situation
<digitalmentat> hmm
hiratara has joined #nixos
<clever> you may need to unset NIX_REMOTE, there can be a difference between "" and null
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vHOGs
<NixOS_GitHub> nixpkgs/master bfa438e Franz Pletz: ccid: 1.4.26 -> 1.4.27
<NixOS_GitHub> nixpkgs/master a74c43a Franz Pletz: pcsclite: 1.8.20 -> 1.8.21
NixOS_GitHub has left #nixos []
kuznero has joined #nixos
<kuznero> digitalmentat: sorry, having strange connection today
<kuznero> digitalmentat: I am trying to figure out what `default.nix` might look like...
<digitalmentat> kuznero, `cabal2nix . > default.nix` from within the directory containing your .cabal file
<kuznero> digitalmentat: interesting... trying
indi_ has quit [(Ping timeout: 268 seconds)]
<digitalmentat> clever, oh okay thank you, let me try that
takle has joined #nixos
<kuznero> digitalmentat: after I generated default.nix and ran nix-shell -E '...', I should be able to stack install?
<digitalmentat> no you should be able to `cabal build` and what-not
<digitalmentat> with all the deps in the env
<digitalmentat> I can't help you much with stack install since I don't use it at all on my nixos machine that way
<kuznero> digitalmentat: I should have also added cabal-install in default.nix after it was generated?
<digitalmentat> no I don't believe you need to do anything
<digitalmentat> to the default.nix
<kuznero> It just complains that I don't have cabal-install
<digitalmentat> but did you get my last command that added cabal-install to the buildDepends by overriding it
<digitalmentat> yeah
<guillaum2> do you have an example of a nix file able to build something on the current directory? I'm struggling at that. I want to include a default.nix inside my git project to be able to build the project based on the current status of the repository.
<digitalmentat> so this one
<digitalmentat> kuznero, nix-shell -E 'with import <nixpkgs> { }; (haskell.lib.overrideCabal (haskellPackages.callPackage ./default.nix { }) (old: { buildDepends = (old.buildDepends or []) ++ [ cabal-install ]; })).env'
<Accord> any reason for very slow filesystem after a nix install in a VM?
<kuznero> digitalmentat: it is getting more scarry ;) at some point I will have to figure out how exactly it works
<digitalmentat> kuznero, yes that nix-shell invocation is a bit ugly, the way we do it is much cleaner with a config.nix and release.nix that do all of the work that one eval line is doing in a much more readable way
<digitalmentat> ideally you'd `nix-shell -A mypackage.env release.nix` but that would require more examples and explanation, I will direct you at an example of it in a second if that works for you and you want to explore further
<kuznero> That would be great! Thanks!
<kuznero> Though when `cabal build` it complains about exactly the same thing: curses library not found, so this package cannot be installed
<digitalmentat> instead
<digitalmentat> try adding ncurses to the buildDepends
<digitalmentat> of the nix-shell invocation
<kuznero> `ld -lncurses` gives me same error inside nix-shell
<kuznero> sec
<kuznero> Ah :D It worked!
<kuznero> Huge thanks!
<digitalmentat> yup, so you can get a nice little environment local to your package if you supply your own config.nix and release.nix
<kuznero> digitalmentat: currently my workflow is that I fixate to specific lts-8.13 in stack config. Then install a bunch of tools globally adding gc roots in Nix like ghc-mod, hlint, hoogle, intero, etc. How would I go about it with this approach when I `cabal build` inside local packages. When I `cabal install` what will happen?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<digitalmentat> this approach favors specifying everything with Nix
<digitalmentat> I don't use Intero or ghc-mod at all
<digitalmentat> so I can't help very much there
<digitalmentat> but specifying my dependency set using Nix has been wonderful, it's also gotten me out of some hairy cabal-hell situations too
<digitalmentat> because the *really* nice thing about this
<digitalmentat> is that you can override the buildDepends with an entirely *custom* set of dependencies
bkchr has joined #nixos
<digitalmentat> when you `cabal install` it will install the tool in your ~/.cabal/bin dir
<kuznero> I guess the question then is when having perfect isolated nix-shell (that I assume might include all necessary tools for development as well), how can I ship my project as a package in Nix?
<digitalmentat> could you rephrase that?
<digitalmentat> what do you mean by ship as a package in Nix?
<digitalmentat> do you mean contribute a package upstream to nixpkgs?
<kuznero> Ah, so it will be somewhat global for my user then? I just need to add gc roots in nix, right?
<digitalmentat> ~/.cabal/bin is safe from the garbage collector since it's in your home directory
<kuznero> something like that, yes. Basically such that next time me or somebody else can say nix-env -i myproject.env and get myproject bits + dev environment.
<digitalmentat> well
<digitalmentat> if you provide an override config like this
<digitalmentat> and a release.nix (both inside the project repo)
thc202 has quit [(Ping timeout: 255 seconds)]
<digitalmentat> if you place both of those in the repository
<digitalmentat> you can then do things like: `nix-shell -A mypackage.env release.nix`
<kuznero> it would be great to see simple isolated example of such project with all the default.nix, config.nix, release.nix and also the development/delivery flow around it. Perhaps calls for a good blog post ;)
<Sonarpulse> I think fix-ends (self: super: )
<Sonarpulse> functions form a monoid
<Sonarpulse> anyone wanna sanity check me?
<digitalmentat> kuznero, yes both of those examples are simple and would enable you to do the nix-shell invocation or also `nix-env -i -A mypackage release.nix`
bkchr has quit [(Ping timeout: 268 seconds)]
<kuznero> digitalmentat: so, `nix-shell -A mypackage.env release.nix` for when mypackage is in the current nix channel. And if it is not, but instead just a source folder, then `nix-shell release.nix`?
<digitalmentat> you don't need mypackage to be in the current nix channel because `-A mypackage.env` is saying "select the mypackage.env attribute from release.nix"
<kuznero> Ah
<digitalmentat> which if you put the above example config.nix and release.nix in your directory alongside the default.nix
<digitalmentat> then the nix tooling will know all it needs to know
mellowmaroon has joined #nixos
<digitalmentat> delivery workflow is interesting; our current product uses NixOS internally and a lot of our build infrastructure is internal so delivering to it is just a fetchgit derivation
<mellowmaroon> How can I set another NixOS machine on my network as a binary source?
<mellowmaroon> And, for two NixOS machines, can I set them both as caches for each other?
<kuznero> digitalmentat: thanks again for all the explanations! that was very helpful! Will try it out as soon as I get some sleep ;)
<LnL> Sonarpulse: not sure if extends is associative
kuznero has quit [(Quit: leaving)]
dbmikus has quit [(Ping timeout: 260 seconds)]
<Sonarpulse> LnL: extends isn't the right operation
<Sonarpulse> extends is the second argument is ({..} -> {..})
<Sonarpulse> i.e. (self: _)
<Sonarpulse> not (self: super: _)
<LnL> right
<Sonarpulse> but consider
<Sonarpulse> f0: f1: self: super: let super' = f1 self super; in super' // f0 self super'
python476 has quit [(Ping timeout: 268 seconds)]
<Sonarpulse> f0 and f1 are both {} -> [} -> {}
<Sonarpulse> so it has a "fighting chance" of being a monoid :)
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
lsyoyom has quit [(Ping timeout: 245 seconds)]
Infinisil has quit [(Quit: Good night!)]
<mellowmaroon> to make another NixOS installation on my network a binary cache, does adding it to "nix.binaryCaches" suffice?
<mellowmaroon> or do I need additional setup on the server machine?
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
proteusguy has quit [(Ping timeout: 240 seconds)]
clonesAnts has joined #nixos
<MichaelRaskin> You need to enable nix-serve there
<MichaelRaskin> And probably generate and specify a key for it
python476 has joined #nixos
<MichaelRaskin> nix-store --generate-binary-cache-key
<mellowmaroon> Oh, ok. I can't seem to find much about it on Google...
takle has quit [(Ping timeout: 268 seconds)]
<mellowmaroon> Thanks :)
<MichaelRaskin> And specify the public part of the key among trusted binary cache keys on the client
<clonesAnts> Hi all! I have a small question about UEFI. In Ubuntu I had both a boot partition mounted on /boot, and a efi partition (code EF00) mounted on /boot/efi
Wizek_ has quit [(Ping timeout: 240 seconds)]
<mellowmaroon> I found a section in the manual outlining it a bit more, but thanks for the advice
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to staging: https://git.io/vHOWF
<NixOS_GitHub> nixpkgs/staging 5479f74 Franz Pletz: libtasn1: apply patch to fix CVE-2017-6891
NixOS_GitHub has left #nixos []
<clonesAnts> But the installation manual only mentions the latter, and says to mount it on /boot
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] offlinehacker closed pull request #21088: [WIP] kubernetes module: authorization improvements (master...nixos/kubernetes1/authz) https://git.io/v1KfL
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vHOle
<NixOS_GitHub> nixpkgs/master 87262e6 Armijn Hemel: samba: 4.6.3 -> 4.6.4
NixOS_GitHub has left #nixos []
<clonesAnts> Am I missing a step if I just mount that EF00 partition on /boot, and forget about the other one
<clonesAnts> ?
<mellowmaroon> clonesAnts, I only had to mount /boot, no /boot/efi necessary
<mellowmaroon> clonesAnts: that was to set up systemd-boot with uefi
python47` has joined #nixos
simukis has joined #nixos
<mellowmaroon> clonesAnts: Let me check my partition layout to give you more details on how I did it
<clonesAnts> mellowmaroon: Thanks. I'll go ahead with the installation that way
<clonesAnts> mellowmaroon: Okay, I'll wait. Thanks
lsyoyom has joined #nixos
<mellowmaroon> clonesAnts: No prob :) and I used 'cgdisk' and made a 500MB FAT32 partition with type EF00 for EFI
python476 has quit [(Ping timeout: 255 seconds)]
<clonesAnts> mellowmaroon: Okay. I have an existing FAT32 partition which is only 260MB
indi_ has joined #nixos
<clonesAnts> It was enough for Ubuntu, so I don't see why it would be a problem here
<mellowmaroon> clonesAnts: for config.nix, I included 'boot.loader.efi.canTouchEfiVariables = true', 'boot.loader.efi.efiSysMountPoint = /boot', and 'boot.loader.systemd-boot.enable = true'
<mellowmaroon> clonesAnts: Yeah that should be fine. And you'll probably want to double-check these for yourself. They worked for me though.
<clonesAnts> Thanks a lot. That<s a good starting point :)
<mellowmaroon> clonesAnts: oh that /boot should be "/boot". Good luck :)
spinus has joined #nixos
<spinus> I was looking for quite a moment but coudn't find that, do you know how I can build the nixos from config (just build the drvs so I can than use nix-copy-closure)
justbeingglad has joined #nixos
justbeingglad has left #nixos []
sitwon has joined #nixos
ertes has joined #nixos
nekroze has joined #nixos
<nekroze> I have a custom vim setup with vim_configurable however it has a gtk dependency even though I use cli only with it. Is there a way to use vimNox as the base for vim_configurable or some way to achieve the same outcome?
digitalmentat has quit [(Quit: Leaving)]
ertes has quit [(Ping timeout: 240 seconds)]
Guest53184 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] offlinehacker pushed 2 new commits to master: https://git.io/vHO4f
<NixOS_GitHub> nixpkgs/master d437261 Dejan Lukan: loadlibrary: init at 721b08
<NixOS_GitHub> nixpkgs/master e602537 Jaka Hudoklin: Merge pull request #26074 from proteansec/pkgs/loadlibrary...
NixOS_GitHub has left #nixos []
<spinus> nekroze: 15867: vim_configurable = vimUtils.makeCustomizable (callPackage ../applications/editors/vim/configurable.nix {
<spinus> 15879: vimNox = lowPrio (vim_configurable.override { source = "vim-nox"; });
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] offlinehacker closed pull request #26066: yarn: 0.23.4 -> 0.24.6 (master...yarn-0.24.6) https://git.io/vHYk6
NixOS_GitHub has left #nixos []
<mellowmaroon> Is there a way to make that nix-serve command a daemon? Or do I need to write my own systemd unit for it?
<spinus> nix-serve& :-)?
<MichaelRaskin> NixOS has an optional nix-serve service that you can enable
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] offlinehacker closed pull request #26025: NixOS: fix XCURSOR_PATH expansion (master...XCURSOR_PATH-exp) https://git.io/vHtiP
NixOS_GitHub has left #nixos []
python47` has quit [(Ping timeout: 268 seconds)]
<mellowmaroon> I'll see if I can find it, thanks
Guest53184 has joined #nixos
Guest53184 is now known as jgertm
digitus has quit [(Quit: digitus)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] offlinehacker pushed 2 new commits to master: https://git.io/vHO41
<NixOS_GitHub> nixpkgs/master 27dc2c4 Fatih Altinok: flow: 0.42.0 -> 0.46.0
<NixOS_GitHub> nixpkgs/master fe891e7 Jaka Hudoklin: Merge pull request #25989 from frontsideair/flow-46...
NixOS_GitHub has left #nixos []
Acou_Bass is now known as eddie
<mellowmaroon> clever: I found it in 'man configuration.nix', it's 'services.nix-serve'
<nekroze> spinus: I am trying to understand those two lines and how to utilize it alongside my current vim_configurable.customize config but I am having a hard time. Do you have any working examples I might be able to look at?
eddie is now known as Acou_Bass
<clever> nekroze: those lines appear to already be in all-packages.nix
<clever> nekroze: i think you want to use (vim_configurable.override { source = "vim-nox"; }) where you originaly used vim_configurable
kampfschlaefer has quit [(Ping timeout: 255 seconds)]
<nekroze> clever: how can I use vim_configurable.override and vim_configurable.customize on the same object?
<clever> (vim_configurable.override { source = "vim-nox"; }).customize ...
<nekroze> clever: I was just about to ask if that was the case. That makes sense
<nekroze> clever: spinus: thanks!
<clever> nekroze: oh, and you can probably just use vimNox.customize
<nekroze> clever: both ways says that customize is not available
<clever> strange
<clever> i havent looked into how customize works yet
ambro718 has quit [(Ping timeout: 258 seconds)]
markus1209 has joined #nixos
justan0theruser has quit [(Ping timeout: 260 seconds)]
markus1219 has joined #nixos
<clonesAnts> Hi again! Still trying to install and I'm running into a strange error. I've ran nixos-install a few times and it works fine, until the 2nd or 3rd download fails with error "curl: (7) Couldn't connect to server"
<clonesAnts> Anyone know what's going on?
cryptoto1 has joined #nixos
<clonesAnts> Rerunning the command downloads the file that failed the previous time, but fails soon after on another file
<mellowmaroon> clonesAnts: That sounds really odd
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to release-17.03: https://git.io/vHOBd
<NixOS_GitHub> nixpkgs/release-17.03 8c7460f Franz Pletz: samba: 4.5.8 -> 4.5.10...
<NixOS_GitHub> nixpkgs/release-17.03 e74d7f7 Franz Pletz: libtasn1: apply patch to fix CVE-2017-6891...
NixOS_GitHub has left #nixos []
<cryptoto1> Hi! I tried searching on the net, but didn't find anything. What is the serialization format configuration.nix is stored in called?
<spinus> nekroze: try to reproduce exactly the lines from all-packages, so use the same functiona and callPackage maybe to produce your vim_customizable and then do override on it
<clonesAnts> I'm on wifi, configured using the KDE interface, if that's relevant
markus1199 has quit [(Ping timeout: 260 seconds)]
markus1189 has quit [(Ping timeout: 255 seconds)]
<spinus> clonesAnts: did you try other linux on that machine?
<mellowmaroon> clonesAnts: That's how I set my internet up too for installation
<spinus> I had one wifi card which worked for 2-5 min and than stops on linux (driver issues)
<clonesAnts> spinus: Yeah, no such issue on Ubuntu
<clonesAnts> I'll try again using ethernet
<spinus> check journalctl during installation to see if anything weird is going on
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] offlinehacker pushed 2 new commits to master: https://git.io/vHORL
<NixOS_GitHub> nixpkgs/master e55cf2c koral: imagemagick: 6.9.7-6 -> 6.9.8-4
<NixOS_GitHub> nixpkgs/master c061008 Jaka Hudoklin: Merge pull request #25714 from k0ral/imagemagick...
NixOS_GitHub has left #nixos []
mudri has quit [(Ping timeout: 240 seconds)]
<spinus> or try to install with -j1 to limit parallel connections
yegods has quit [(Remote host closed the connection)]
JagaJaga has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] offlinehacker pushed 2 new commits to master: https://git.io/vHORQ
<NixOS_GitHub> nixpkgs/master 4abefec Mathias Schreck: nodejs-7_x: 7.9.0 -> 7.10.0
<NixOS_GitHub> nixpkgs/master 7d1e775 Jaka Hudoklin: Merge pull request #25539 from holidaycheck/nodejs-7.10.0...
NixOS_GitHub has left #nixos []
clonesAnts has quit [(Ping timeout: 260 seconds)]
Nobabs27 has joined #nixos
<cryptoto1> Or is the file "configuration.nix" even in a format like json?
<clever> cryptoto1: its a nix expression, containing a single nix function, that returns an attribute set
<Nobabs27> yo how do I install fonts like monaco & inconsolata?
<clever> Nobabs27: fonts have to be added to https://nixos.org/nixos/options.html#fonts.fonts
<Nobabs27> ok and can I just name any font or?
<clever> any package containing a font
<cryptoto1> clever: Thanks! It's really well readable.
<clever> there is an example on the page i linked
<Nobabs27> well like, if I search "monaco" in packages, there is none :\
<clever> Nobabs27: do you know if its part of a larger set of fonts?
<Nobabs27> I don't. For Arch it's ttf-monaco in the AUR.
<Nobabs27> inconsolata is apparently ttf-inconsolata-g in the AUR
<mellowmaroon> Nobabs27: Doesn't look like there's a package for Monaco
taeradan has joined #nixos
<Nobabs27> clever: does that include the fonts I'm talking about or no?
<clever> dont know
<clever> let me check my system
clonesAnts has joined #nixos
<clever> Nobabs27: all i'm seeing so far is timezone info for monaco europe
<Nobabs27> lol rip
acarrico has joined #nixos
<copumpkin> ikwildrpepper, niksnut: the number of macs seems to have gone back down :( did something happen?
<clonesAnts> spinus: I'm not sure what you were suggesting with journalctl... I left '#journalctl -f' open in another terminal while installing. The installation failes as usual, and no logs were added
<clonesAnts> spinus: 'nixos-install' doesn't recognize the option '-j1'. How exactly should I be doing this^
<clonesAnts> ?
<mellowmaroon> see you later everyone :)
mellowmaroon has quit [(Quit: Leaving)]
<spinus> so somethimes when network disconnects there are some logs and you can debug
<clonesAnts> spinus: Would this have shown up with 'journalctl -f'? I've never used it before
<Nobabs27> where do I install custom fonts to if there is no /usr/share/themes and /usr/share/icons? Or do I just create them?
<Nobabs27> *themes
<Nobabs27> not fonts lol
<clever> Nobabs27: create a nix package that describes the fonts, and put it in fonts.fonts
cryptoto1 has quit [(Quit: leaving)]