matthewbauer has quit [(Remote host closed the connection)]
jsgrant has joined #nixos
kus_ubuntui686 has joined #nixos
kus_ubuntui686 has quit [(Max SendQ exceeded)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin closed pull request #31676: sharutils: simplify substituteInPlace syntax to be Nix 1.11.8 compatible (master...sharutils) https://git.io/vFPmD
NixOS_GitHub has left #nixos []
ertes has joined #nixos
Golden_Skittle has joined #nixos
<Golden_Skittle>
Hi, how can I install packages from the github nixpkgs? I am having trouble finding documentation on this
markus1189 has joined #nixos
markus1199 has quit [(Ping timeout: 240 seconds)]
Neo-- has quit [(Ping timeout: 258 seconds)]
<Golden_Skittle>
I found a hack solution to type this everytime I want to install,NIXPKGS_ALLOW_UNFREE=1 nix-env -i
<Golden_Skittle>
but I already have the unfree software allowed in my configuration.nix
<tilpner>
I recommend creating an overlay to add all channels and master to your package set
<tilpner>
Then you could just use nix-env -iA nixpkgs.master.hello
<tilpner>
A simple overlay would look like self: super: { master = import (fetchTarball "https://github.com/nixos/nixpkgs/archive/master.tar.gz") {}; }, but additional steps are necessary to make this work with nix-env
<Golden_Skittle>
alright, cool thanks, Ill look into that
<tilpner>
It's easier to use master packages if you don't use nix-env
<Golden_Skittle>
what is master?
<tilpner>
master is the branch you see when you visit "the github nixpkgs"
erictapen has quit [(Ping timeout: 260 seconds)]
<Golden_Skittle>
okay cool
jsgrant has quit [(Remote host closed the connection)]
<fearlessKim[m]>
rycee: thqnks for the tip. I just discovered man home-configuration.nix (was grepping the source before) that's so cool :)
nixos1022 has quit [(Ping timeout: 255 seconds)]
lambdamu_ has joined #nixos
hellrazo1 has joined #nixos
lambdamu has quit [(Ping timeout: 248 seconds)]
* Orbstheorem
will try prime and ask on #nouveau
mbrgm has quit [(Ping timeout: 248 seconds)]
mbrgm has joined #nixos
python47` has joined #nixos
ssmike has quit [(Ping timeout: 268 seconds)]
jsgrant has joined #nixos
ebzzry has joined #nixos
python47` has quit [(Read error: Connection reset by peer)]
ssmike has joined #nixos
Havvy has joined #nixos
srdqty has joined #nixos
boxofrox has quit [(Ping timeout: 268 seconds)]
<neonfuz>
I just need to change one kernel build option, but doing that makes me compile the entire, huge kernel
<neonfuz>
is there a way to build a more minimal kernel?
universalpackage has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ixmatus opened pull request #31680: nghttpx: Add a new NixOS module for the nghttpx proxy server (master...parnell/nghttpx-module) https://git.io/vFPlI
NixOS_GitHub has left #nixos []
leothrix has quit [(Ping timeout: 240 seconds)]
universalpackage has quit [(Client Quit)]
<adisbladis>
Orbstheorem: Please tell if you figure it out. I'm having the same issue.
<fearlessKim[m]>
neonfuz: if you hack on a software, it s best to do it in a nix-shell so you don t have to rebuild from scratch everytime
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ixmatus opened pull request #31681: maintainers: Add ixmatus to the maintainers set (master...parnell/add-maintainer) https://git.io/vFPlc
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 7 new commits to staging: https://git.io/vFPlR
<NixOS_GitHub>
nixpkgs/staging 0fe7bde Dan Peebles: Delete lib/sandbox.nix for now
<NixOS_GitHub>
nixpkgs/staging 10220de Dan Peebles: Fix a couple of python modules to work in sandbox
<NixOS_GitHub>
nixpkgs/staging 7dc0cab Dan Peebles: Fix go bootstrap build on sandbox
NixOS_GitHub has left #nixos []
<ebzzry>
How do I install firefox with a language other than EN?
boxofrox has joined #nixos
Lisanna has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin closed pull request #31681: maintainers: Add ixmatus to the maintainers set (master...parnell/add-maintainer) https://git.io/vFPlc
NixOS_GitHub has left #nixos []
<neonfuz>
fearlessKim[m]: how would I do that?
<fearlessKim[m]>
neonfuz: nix-shell -A KERNEL_PKG '<nixpkgs>'
<neonfuz>
k
<fearlessKim[m]>
than look in the docs for 'genericBuild' and stuff. Typically you run $genericBuild until it fails, then you do what you want and rebuild via $buildPhase
acarrico has quit [(Ping timeout: 255 seconds)]
Supersonic112 has quit [(Disconnected by services)]
<fearlessKim[m]>
actually Ive had some trouble building my kernel so I plan to improve the docs on it a bit
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
<neonfuz>
are those env variables?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jtojnar opened pull request #31683: glib: Add variable for overriding schemas (staging...schema-override-variable) https://git.io/vFP8U
NixOS_GitHub has left #nixos []
Sonarpulse has quit [(Ping timeout: 255 seconds)]
acarrico has joined #nixos
nh2 has quit [(Quit: Leaving.)]
<neonfuz>
fearlessKim[m]: as environment vars those don't exist for me
<fearlessKim[m]>
neonfuz: nope they can be variables or shell functions. you can look for them via set|less
<seafood>
I'm having trouble getting GHC to build p_dyn versions of the libraries. I tried setting GhcLibWays in build.mk to include "p_dyn" but it did not work.
dj_goku_ has quit [(Remote host closed the connection)]
asuryawanshi has quit [(Remote host closed the connection)]
myrl has joined #nixos
<myrl>
Errr
asuryawanshi has joined #nixos
<myrl>
Did someone reply to my question? Sorry. wl/broadcom is verrryyyy sad.
universalpackage has quit [(Remote host closed the connection)]
<srhb>
Yeah: So once upon a time, release-17.09 was cut from master. Now, it's cherry picked onto to bring in new changes for nixos-17.09. :)
<srhb>
It is the channel from which 17.09 is made.
<srhb>
Er, branch
<srhb>
myrl: Does that help?
<myrl>
srhb: Yeah. Sorry. :P wl crashed form e again.
<srhb>
Woah :P
<myrl>
srhb: So, what gets cherry picked from master?
<myrl>
Rather
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<myrl>
How do people determine that it's fine to cherry pick from master?
<srhb>
myrl: A heapful of common sense. Non-destructive changes are usually fine, even if it's a major version bump.
<vcunat>
myrl: primary purpose are security fixes
<srhb>
The easiest way to see it is really to look at the log :)
<vcunat>
there's a pair of release managers who would decide any controversial stuff
ma271 has quit [(Ping timeout: 255 seconds)]
<vcunat>
(globin and fpeltz for 17.09)
endformationage has quit [(Quit: WeeChat 1.9.1)]
<myrl>
vcunat: srhb: How about for older releases?
<srhb>
myrl: There are no older releases that are supported.
seafood has joined #nixos
<myrl>
srhb: Even for security backports?
<srhb>
myrl: Even for security backports.
<myrl>
Thanks. I think I understand now.
<myrl>
So, consider release-* as a stable rolling release?
<srhb>
It's not very rolling, but I guess a little, sure.
<srhb>
(As in, updates come in sporadically when the tests pass, not on some fixed date)
<myrl>
Thanks!
<srhb>
:)
<vcunat>
The current support cycle is (only) six months.
<vcunat>
Basically only the last release and the unstable channel get supported. Unstable is real rolling-style - the last automatically tested version from master.
<vcunat>
(There's some small overlap of support allowing sime time to jump between releases.)
<myrl>
How often do quality-of-life commits get backported? I see firefox-bin getting bumped to 57, but I'm not sure what other programs do.
<hyper_ch>
what are quality-of-life commits?
<myrl>
Yeah, I should really have properly defined that.
<myrl>
I meant commits for programs, that are more about features rather than being bugfixes.
<Lisanna>
Hey guys, running into a strange issue with stdenv.... when I set the sourceRoot to a location inside $out, it makes it through the configurePhase, but the buildPhase fails saying it can't find ac-local-1.15
leat1 has quit [(Quit: WeeChat 1.9.1)]
<Lisanna>
aclocal-1.15*
<Lisanna>
is there something inhernetly wrong with having the sourceRoot be inside $out?
<AliasSpider>
榁
<vcunat>
myrl: features are generally not backported
<vcunat>
that's the main point of stable releases
<vcunat>
you can't really have features without risk of breakages
<vcunat>
(and it should differ significantly from the unstable channel)
<vcunat>
basically all firefox updates are marked with some "critical security" bugs
<vcunat>
Lisanna: I don't think there's anything wrong
<vcunat>
are you sure the error is related to what you did?
MercurialAlchemi has joined #nixos
zzamboni has joined #nixos
<Lisanna>
vcunat: pretty sure, when I comment out just the part the changes the sourceRoot, it builds fine
<vcunat>
$out doesn't exist in the beginning
tommyangelo_ has quit [(Remote host closed the connection)]
<vcunat>
typically the build creates it during installPhase
<Lisanna>
I know
tommyangelo_ has joined #nixos
<Lisanna>
ohh, I think I figured it out... the copy step is changing the modification / creation date of Makefile.am, causing autotools to try to regenerate the build system, but I haven't given it the tools to do that, so it fails
MP2E has quit [(Remote host closed the connection)]
<Lisanna>
yep, that was it
<vcunat>
yes, that happens
<vcunat>
there's some option to cp to preserve dates
Itkovian has joined #nixos
<etu>
vcunat: -a I think
<etu>
as in archive
<etu>
oh, Lisanna needed it
b has quit [(Remote host closed the connection)]
vcunat has quit [(Ping timeout: 240 seconds)]
theseriousadult has joined #nixos
jb55 has quit [(Ping timeout: 255 seconds)]
pie_ has quit [(Ping timeout: 240 seconds)]
p4cman has quit [(Quit: Connection closed for inactivity)]
Itkovian has quit [(Read error: Connection reset by peer)]
universalpackage has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
universalpackage has joined #nixos
Olgierd has quit [(Ping timeout: 248 seconds)]
<makefu>
pie_: you could import callPackage and load this default.nix in your shell.nix. derivation
<makefu>
something like this: with import <nixpkgs> { }; callPackage default.nix { }
<pie_>
hm ok thanks ill give that a shot
orivej has quit [(Ping timeout: 240 seconds)]
universalpackage has quit [(Remote host closed the connection)]
civodul has joined #nixos
universalpackage has joined #nixos
<pie_>
makefu, ergh...that by itself is not enough and im not sure whats needed. "error: syntax error, unexpected PATH, expecting '.' or '='"
<pie_>
im trying various things but no luck yet
Lisanna has quit [(Ping timeout: 260 seconds)]
Olgierd has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
<Ralith>
it is enough; it sounds like you have an unrelated syntax error
dhess has joined #nixos
jtojnar has joined #nixos
miko__ has quit [(Ping timeout: 240 seconds)]
<pie_>
sorry wrong error *faepalm*
<pie_>
error: anonymous function at krita/default.nix:1:1 called without required argument ‘mkDerivation’, at /nix/store/hp8xrp0sjvkwpd2535d7l7cif708rw48-nixos-17.03.1556.4d1e1d07f9/nixos/lib/customisation.nix:56:12
zzamboni has joined #nixos
<pie_>
i guess something needs to be passed along
ambro718 has joined #nixos
<AliasSpider>
躤
nschoe has joined #nixos
ertes-w has joined #nixos
<pie_>
or rather obviously it needs the nixpkgs environment but i dont know the way to do that
zzamboni has quit [(Ping timeout: 258 seconds)]
fractal has joined #nixos
zzamboni has joined #nixos
universalpackage has quit [(Quit: Konversation terminated!)]
universalpackage has joined #nixos
myrl has quit [(Ping timeout: 268 seconds)]
zzamboni has quit [(Ping timeout: 255 seconds)]
<sphalerite>
pie_: nix-build '<nixpkgs>' -A krita
zzamboni has joined #nixos
<sphalerite>
pie_: actually I might be missing some context from that answer. callPackage, as makefu mentioned, is what provides the nixpkgs context
<joko>
Hello, hydra evaluator reports the following error on a job: "value is a list while a set was expected". Any idea how to trace it?
<clever>
joko: load release.nix in nix-repl
<joko>
clever: I get the same error there, too
<clever>
joko: can you link your release.nix file?
<pie_>
sphalerite, the -A version doesnt really help me thoug hbecause im trying to use the file to build unstable (?)
<CrazedProgrammer>
anybody else not being able to upgrade because spl-kernel-0.7.3-4.14 is marked as broken?
<clever>
pie_: oh
<clever>
pie_: mkDerivation is an attribute of stdenv
<clever>
pie_: you want stdenv.mkDerivation and { stdenv, ...
<pie_>
ahhhh
<clever>
pie_: and also qt5.callPackage
<pie_>
clever, huh shouldnt that have been in there though
<pie_>
or was i not paying attention and downloaded an olg nix file by accident
<pie_>
*old
a6a3uh has quit [(Quit: Bye)]
<pie_>
aaand now :P
<AliasSpider>
:D
<pie_>
error: anonymous function at /mnt/data/krita/default.nix:1:1 called without required argument ‘karchive’, at /nix/store/hp8xrp0sjvkwpd2535d7l7cif708rw48-nixos-17.03.1556.4d1e1d07f9/nixos/lib/customisation.nix:56:12
<pie_>
ah maybe i should check how this is called
<clever>
yeah
<AliasSpider>
ĸ ;)
<AliasSpider>
:D
<pie_>
krita = libsForQt5.callPackage ../applications/graphics/krita {openjpeg = openjpeg_1;};
<pie_>
and now it goes
binaryphile has quit [(Ping timeout: 248 seconds)]
a6a3uh has joined #nixos
<rycee>
fearlessKim: Cool :-) Yeah, having the man page is quite nice. It was pretty easy to set up since NixOS already contained all the necessary code.
asuryawanshi has joined #nixos
<AliasSpider>
UNIX
<sphalerite>
AliasSpider: are you trying to say something?
* sphalerite
suspects a bot
<sphalerite>
Also, trying firefox 57 and riot is still horribly slow ☹
<fearlessKim[m]>
am I the only one where Ctrl+V sometimes fail in riot ? impossible to paste xD
asuryawanshi has quit [(Ping timeout: 248 seconds)]
<sphalerite>
I don't think I've had that problem
<sphalerite>
hm, telegram web has a different font in 57.0 o.O
pie_ has quit [(Read error: Connection reset by peer)]
<etu>
sphalerite: I think that's just riot that's slow then? :p
<AliasSpider>
")
pie_ has joined #nixos
<sphalerite>
etu: yes, that's not new. Someone at some point said it was better in 57.0, but I'm not really seeing much of an improvement
<dhess>
clever: In an overlay, is the proper way to get the config `self.config` ?
<clever>
dhess: that should work
<dhess>
clever: sweet, tnx
goibhniu has quit [(Remote host closed the connection)]
<sphalerite>
super.config would also work, and I suspect that it's the preferred way. I'm not 100% sure though
<dhess>
sphalerite: yeah I wasn't sure whether it should be self or super
binaryphile has joined #nixos
<sphalerite>
pierron said at the conference that self is for packages and super for functions iirc… but what about stuff that's neither >.>
<sphalerite>
Well ideally we shouldn't be using config at all
a6a3uh has quit [(Quit: Bye)]
goibhniu has joined #nixos
<dhess>
sphalerite: I'm trying to get config.haskellPackagesOverrides because I'm creating a new haskell.packages.ghc attribute
<AliasSpider>
碙
a6a3uh has joined #nixos
<sphalerite>
gchristensen: any chance of shutting AliasSpider up?
<dhess>
or rather, I'm trying to override haskellPackages with a new GHC package+modules
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vFPiW
<NixOS_GitHub>
nixpkgs/master c0f0855 Moritz Kiefer: why3: 0.87.3 -> 0.88.1
NixOS_GitHub has left #nixos []
<AliasSpider>
둘
<sphalerite>
sounds like an opportunity to remove haskellPackagesOverrides :P
<dhess>
sphalerite: Well I was doing that, as I'm using haskellPackages.extend anyway, later in the overlay.
Porkepix has joined #nixos
<dhess>
But I'm trying to make this work in the general case and if someone is combining overlays and the old haskellPackagesOverrides in a config file somewhere, it should probably support that case.
ma271 has joined #nixos
<Porkepix>
Hi! Little question here, running a computer on a bit old version of OS X for which other packages manager are starting to have broken things, and as I know someone that advices me to try Nix several times, I wanted to give it a try.
AndreasO has joined #nixos
<LnL>
what version?
<Porkepix>
I downloaded it, but sadly the installer refused to continue because my OS X version was too old (10.9) and it required 10.10 as a minimum. So I was wondering why is this version a minimal requirement, and while isn't it on the download page?
goibhniu has quit [(Remote host closed the connection)]
<dhess>
Porkepix: probably because Nix downloads some Apple libraries and frameworks and those were updated to 10.10 versions in the last year or so.
<LnL>
yeah, don't remember the exact reason
goibhniu has joined #nixos
<dhess>
If you can find an installer from like early 2016 it should work
AndreasO has quit [(Client Quit)]
<dhess>
LnL: pretty sure the 10.9 frameworks broke in 10.11
<dhess>
or 10.12 actually
<Porkepix>
dhess: Mmmh, I don't get why should it depend on Apple things? If you can just run a compiler, shouldn't you be free to get whatever you need?
<Porkepix>
I mean, if gcc or clang are here, well you can get whatever you need, right?
<dhess>
Porkepix: Well, for example, you need Apple's libSystem just to make system calls.
<dhess>
Porkepix: and unlike other package managers like Homebrew, Nix tries to be as self-contained as it can, and not to depend on what ships with your particular version of macOS.
<LnL>
ah it's xnu and libc that where updated
<Porkepix>
So what would be the downside of using an older nix version? Would up-to-date packages still works?
<LnL>
dhess: frameworks would only break some stuff
<Porkepix>
dhess: Yes, that's why I don't get why would it have specific OS version requirements
<dhess>
Porkepix: well it has to update the Apple dependencies at some point, if for no other reason than to keep up with security updates and bug fixes.
<dhess>
Porkepix: anyway, the downside to using an older Nix is that you won't many package updates.
<Porkepix>
Okay, so packages version depends on Nix version
<Porkepix>
:/
<dhess>
you can update them yourself as needed if you're willing to create your own derivations. If it's just a few packages, it's not that hard.
periklis has quit [(Ping timeout: 240 seconds)]
hotfuzz has quit [(Ping timeout: 252 seconds)]
ebzzry has left #nixos ["WeeChat 1.9.1"]
hotfuzz has joined #nixos
FRidh has quit [(Ping timeout: 268 seconds)]
<Porkepix>
Well, the idea for me would have been to have up-to-date packages, for all packages
<LnL>
you might be able to fix the libc stuff, but there are probably more problems
<Porkepix>
I didn't think the packages versions would be linked to Nix one
erictapen has joined #nixos
thc202 has quit [(Ping timeout: 268 seconds)]
magnetophon has quit [(Remote host closed the connection)]
<sphalerite>
Yeah, I'd recommend fixing whatever's keeping on you on an outdated OS ;p
<AliasSpider>
WINNT
<dhess>
speaking of outdated OSes :)
<AliasSpider>
:)
<dhess>
weird :O
<AliasSpider>
ꊅ
<sphalerite>
is there anyone other than gchristensen here with ops?
<clever>
sphalerite: markov chain or troll! lol
<AliasSpider>
ህ3
thc202 has joined #nixos
<Porkepix>
sphalerite: Well, while one reason could be fixed (dying HDD I do not want to have it go through a full system upgrade), the other one would be more difficult (Apple being a little snitch starting with 10.10 and calling home to report things in spotlight & co ;()
<etu>
clever: markov chains are better than that afaik
<LnL>
sphalerite: probably, but I've not seen anybody else use it
pie_ has quit [(Ping timeout: 240 seconds)]
<AliasSpider>
핔
athan has quit [(Ping timeout: 250 seconds)]
ylwghst has joined #nixos
<AliasSpider>
)
AliasSpider has quit [(K-Lined)]
* ylwghst
universalpackage has joined #nixos
FRidh has joined #nixos
universalpackage has quit [(Client Quit)]
ylwghst has quit [(Quit: leaving)]
ylwghst has joined #nixos
athan has joined #nixos
<sphalerite>
Hm. Could nix-store --optimise make use of hashes computed and stored by the filesystem to run much faster?
zzamboni has quit [(Quit: Leaving.)]
<sphalerite>
(Thinking zfs)
<adisbladis>
sphalerite: You could just use zfs dedup?
<adisbladis>
And skip optimise
<sphalerite>
I suppose that depends first and foremost on whether userspace can even access them
<sphalerite>
adisbladis: that's expensive
Isorkin has quit [(Ping timeout: 248 seconds)]
zzamboni has joined #nixos
<sphalerite>
Actually, maybe enabling dedup on a nix store dataset wouldn't be too bad?
<sphalerite>
Since it's not written to all too frequently
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
<sphalerite>
And only once per path
jsgrant has quit [(Ping timeout: 255 seconds)]
<sphalerite>
That would probably even be more efficient than running nix-store --optimise periodically, I think?
<sphalerite>
clever: you know stuff about zfs! What do you think?
<clever>
sphalerite: that would allow partial duplicates between 2 files to be shared
<sphalerite>
Yeah, but would the cost be reasonable?
roconnor__ has joined #nixos
<clever>
sphalerite: yeah, that would need some testing
zzamboni has quit [(Ping timeout: 248 seconds)]
<clever>
sphalerite: i think the DDT is only required for writes and deletes
<clever>
so reads dont care about the size of the DDT
<sphalerite>
yeah that would make sense
zzamboni has joined #nixos
<clever>
sphalerite: in theory, you can make a new dataset and just mount it to /nix2/, turn on dedup, then just copy all of /nix over
<clever>
and then look at the numbers
<sphalerite>
yeah I think I'll try that, if I have the space
a6a3uh has quit [(Quit: Bye)]
<sphalerite>
(I try to keep at least 100GB free based on what I've heard about zfs's performance when the disk gets fuller)
roconnor has quit [(Ping timeout: 248 seconds)]
<adisbladis>
sphalerite: I
<adisbladis>
sphalerite: Im thinking that the nix store dataset is small enough to not eat too much ram
<sphalerite>
yeah mine is 22GB, and I don't think it ever really goes above 40
<adisbladis>
Actually not a bad idea :) I think I'll give it a go too
tmaekawa has joined #nixos
universalpackage has joined #nixos
<sphalerite>
there's some feature in nix for copying stuff to a store with chroot iirc?
<sphalerite>
I don't want to copy the store with .links
<sphalerite>
oh maybe I should just `rsync -aP --exclude .links /nix/store/ /mnt/nix/`
<sphalerite>
since they're hard links and not symlinks it's not actually necessary to copy them over, right?
<sphalerite>
clever: what was the magical arcstat.py command again?
<clever>
sphalerite: one includes L2, the other doesnt
<clever>
the help output describes most of the fields
<sphalerite>
Or is there a separate thing for seeing DDT information?
<clever>
dedup is elsewhere
<clever>
[root@amd-nixos:~]# zpool status -D
<clever>
dedup: DDT entries 630380, size 1.71K on disk, 567B in core
fendor has joined #nixos
<clever>
there are 630k rows in the dedup table, each record takes 1.7kb on disk, and 567 bytes in ram
<clever>
so its using 340mb of ram
universalpackage has quit [(Remote host closed the connection)]
<clever>
and nearly 1gig of disk
universalpackage has joined #nixos
<clever>
sphalerite: and one other thing
<clever>
[root@amd-nixos:~]# zfs list -t filesystem -o name,used,written,logicalused,compressratio
<clever>
NAME USED WRITTEN LUSED RATIO
<clever>
amd 189G 96K 288G 1.66x
<clever>
this includes both the effects of compression and dedup, i believe
<clever>
amd/nix 67.2G 67.2G 131G 2.16x
<clever>
so my store is 131gig of data, but its only using 67gig on-disk
<clever>
amd/docker 597M 12.4M 2.25G 4.18x
<clever>
sphalerite: i also enabled dedup for amd/docker, because i was loading the same image (built by nix) over&over, and they where 98% identical
<steveeJ>
clever: what does amd refer to here?
<clever>
steveeJ: the name of the pool
universalpackage has quit [(Quit: Konversation terminated!)]
<steveeJ>
clever: what storage driver are you using with docker then? couldn't it handle CoW without the dedup on the fs level?
<clever>
steveeJ: i set docker to the zfs driver, so docker makes a snapshot of every image
<clever>
steveeJ: and then it uses zfs commands to atomicly spawn an entire FS from that snapshot
<clever>
so if i was to spawn 20 containers from the same image, it would be nearly instant
reinzelmann has quit [(Quit: Leaving)]
<steveeJ>
and how does the additional dedup help in this case? two separate images that are not layered but still '98% identical'?
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
<clever>
steveeJ: when nix builds an image, it creates an entire layer, that has the closure of a given store path
<clever>
steveeJ: and if you import 2 such images, they wind up being 98% identical, often with just 5 bytes differing in a bash script
<steveeJ>
I see, and there's no reference between them for Docker
<clever>
so zfs dedup is needed
<clever>
yeah
reinzelmann has joined #nixos
<clever>
there is a different docker/nix project i forget the name of, that makes one layer for every storepath
zzamboni has quit [(Quit: Leaving.)]
<clever>
which could optimize things better
<clever>
but that would leave other docker end-users downloading 200 layers
<clever>
and the kernel may not be happy trying to union 200 filesystems together
<sphalerite>
Does the kernel handle all those overlay mounts well?
zzamboni has joined #nixos
tmaekawa has quit [(Quit: tmaekawa)]
<clever>
i think it also depends on what storage driver you use in docker
<clever>
it could either keep the original layer.tar files, and just unpack them in sequence for each container, or it count union pre-unpacked ones together
<clever>
s/count/could/
<steveeJ>
I'm wondering if there are folks that mount /nix, or a subset thereof, to each Docker container in production
<sphalerite>
it would make sense, if you mount it read-only and aren't worried about isolation bugs
Isorkin has joined #nixos
<steveeJ>
this is something I experimented with in nix2aci, generating mounts for each dependency. the project was targeted at rkt though instead of Docker
<clever>
steveeJ: i believe nix-daemon does something similar, for its sandboxes
<steveeJ>
it ends up with lots of bind-mounts, which are probably less complex for the kernel to handle than dozens of overlayfs mounts
<sphalerite>
hm, can two devices with 802.11ac communicate with each other through ac even if the AP they're associated to only supports 802.11n?
p4cman has joined #nixos
<sphalerite>
do they even talk directly to each other, or does the AP act as an intermediary for all the communication?
<etu>
sphalerite: No, they don't talk directly
<clever>
sphalerite: i believe everything must go thru the AP when in AP mode
<sphalerite>
aww
<clever>
and in the case of WPA, only the AP knows how to decrypt things from each peer
<etu>
clever: Unless you're using KRACK ;)
<clever>
so the AP must decrypt the packet, re-encrypt with the other session, then rebroadcast
<clever>
yeah, if KRACK is in play, you could mitm the session, and inject a fake reply before the real server sends one to the router
<pmeunier>
Hi! How is overrideAttrs supposed to work with stdenv.mkDerivation rec { … } (mind the "rec")? If the overridden attribute is used in other attributes, will they get overridden too?
<sphalerite>
I've actually destroyed and recreated the filesystem because I also forgot to enable compression (I've now set it to on for the pool so it doesn't happen again) and am just copying the data again
<martinb>
When creating a FHSUserEnv, is there a way to get the path of e.g. the /share directory of a package which has been included in targetPkgs? Specifically, I want to recreate the XDG_DATA_DIRS variable inside the env with a path to something like /usr/share/..., where "..." depends on the specific packages in targetPkgs...
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
das-g[m] has joined #nixos
<sphalerite>
clever: rpool/nixstore 30.1G 30.1G 48.5G 1.77x on on
<clever>
sphalerite: some savings there, about 18gig saved
<sphalerite>
Looking better now
<sphalerite>
yeah
<sphalerite>
but is that actually from dedup and not just from compression?
<clever>
yeah, i'm not sure how to seperate them
<clever>
simplest thing is to do it again with no compression
<sphalerite>
well that's what I did the first time round and it seemed to end up using more space
<clever>
that might be the size of the dedup table
<clever>
so try once more with only compression
<avn>
sphalerite: hardlinking more effective than dedup on zfs
<avn>
(for nix/store
<clever>
avn: hardlinking works for 100% identical files, dedup works better for partially matching, and will depend heavily on the data
<avn>
clever: at least it costs not to disable hardlinking when use zfs
zzamboni has quit [(Quit: Leaving.)]
<sphalerite>
As it happens I don't have many (any?) OS images in my nix store so it's probably better to just stick with not using dedup
simukis has joined #nixos
<clever>
sphalerite: you could also compare lz4 and gzip-9
<adisbladis>
avn: It
<adisbladis>
Its less maintenance to use dedup though
iyzsong has joined #nixos
<clever>
adisbladis: nix also has an auto optimize option
Neo-- has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to master: https://git.io/vFPAt
<pmeunier>
Hi! How is overrideAttrs supposed to work with stdenv.mkDerivation rec { … } (mind the "rec")? If the overridden attribute is used in other attributes, will they get overridden too? If not, how to override them?
zzamboni has joined #nixos
<clever>
pmeunier: rec happens before the overrides, so you have to override everything
<clever>
pmeunier: no simple way to just override .version
ssmike has joined #nixos
<pmeunier>
clever: thanks!
<pmeunier>
how do I create functions callable with the dot syntax like a.override
<pmeunier>
?
ma271 has quit [(Ping timeout: 260 seconds)]
<clever>
pmeunier: you can use // to just merge a set onto something, or .passthru
<clever>
pmeunier: for example, foo = pkgs.hello // { bar = args: value; };
<clever>
then foo.bar is a function
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] svanderburg pushed 4 new commits to master: https://git.io/vFPAi
<NixOS_GitHub>
nixpkgs/master 5ae373b Maximilian Bosch: {shout, quassel-webserver}: move to nodePackages...
<NixOS_GitHub>
nixpkgs/master 9e0f861 Maximilian Bosch: airfield: fix build...
<NixOS_GitHub>
nixpkgs/master daf76db Maximilian Bosch: top-level: get rid of npm2nix build
NixOS_GitHub has left #nixos []
<pmeunier>
how does it get access to "self", i.e. can that function return an updated version of pkgs.hello?
martinb has quit [(Ping timeout: 248 seconds)]
zzamboni has quit [(Client Quit)]
<clever>
pmeunier: when creating the bar value, pkgs.hello is in-scope
<clever>
pmeunier: you have to pass the old hello to a function in this case
<clever>
pmeunier: overrideAttrs is a special thing between the user-facing stdnev.mkDerivation, and the backend that actualy handles making the derivation
<pmeunier>
alright, but what if I want to call (pkgs.hello.firstOverride bla).secondOverride bli? the secondOverride will only have access to pkgs.hello, not to "self"/"this"
<joko>
Hmm, my Hydra server seems to be stuck on a job (scheduled to be built), any way to find the issue there?
glion has joined #nixos
Neo-- has quit [(Ping timeout: 248 seconds)]
civodul has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFXv4
<NixOS_GitHub>
nixpkgs/master 8562538 Orivej Desh: phpPackages.apcu,imagick: fix build after #31526
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<clever>
joko: what is in your /etc/nix/machines ?
<orivej>
joko: some jobs stuck without explanation that I've seen depend on another scheduled job has an explanation for; some depend on supportedFeatures that no machine provides
<orivej>
err, depend on something another scheduled job has an explanation for
ylwghst has joined #nixos
mkoenig has quit [(Ping timeout: 248 seconds)]
mkoenig_ has joined #nixos
k2s has quit [(Ping timeout: 268 seconds)]
<sphalerite>
What's likely to be faster in terms of throughput? A USB3 stick in a USB2 port, or networked SSD storage accessed via 802.11n?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vFXfE
<NixOS_GitHub>
nixpkgs/master bd9b124 Tim Steinbach: linux: 4.13.12 -> 4.13.13
NixOS_GitHub has left #nixos []
<romildo>
It seems that haskell-ide-engine is not packaged yet in nixpkgs.
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vFXU3
<NixOS_GitHub>
nixpkgs/master f460037 Michael Weiss: fuse3: 3.2.0 -> 3.2.1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] aszlig pushed 1 new commit to release-17.09: https://git.io/vFXUB
<NixOS_GitHub>
nixpkgs/release-17.09 ccb2cc7 Tuomas Tynkkynen: vim: 8.0.1245 -> 8.0.1257...
NixOS_GitHub has left #nixos []
nh2 has joined #nixos
Itkovian has joined #nixos
<joko>
One more question, I'm evaluating the use of home-manager and I would like to use Hydra to build some of the packages I define in .config/nixpkgs/home.nix
<clever>
garbas: the only thing fishy that i can see is `zpool set bootfs=tank/root/nixos tank`, other then that, all i can think of, is to try EFI grub, rather then efi systemd
<garbas>
ikwildrpepper: i usually just skip it since this is setup requirement
erictapen has quit [(Remote host closed the connection)]
<garbas>
ikwildrpepper: and there is no way to know get setup requirements of a package. i was looking into patching pip at one point but then had to drive to hospital my wife for a delivery. and after that who has time :)
<NixOS_GitHub>
nixpkgs/master 8f75c78 Samuel Leathers: Merge pull request #31660 from taku0/flashplayer-27.0.0.187...
NixOS_GitHub has left #nixos []
<forgetful>
Hi everybody. Can somebody help me with a problem. I am running nix on ubuntu and whenever I try to use ssh which I installed with nix I get the following error: No user exists for uid 1000. Of course the user exists and if I use the ssh command that comes with ubuntu there is no problem. Thanks.
<gchristensen>
disasm: always backport flash player
<gchristensen>
disasm: and browser updates
<gchristensen>
disasm: you'll want to go to the list of commits that were merged (https://github.com/NixOS/nixpkgs/pull/31660/commits) and `git cherry-pick -x commit commit commit` while on the release-17.09 branch, then push them
<gchristensen>
in this case, git cherry-pick -x dd3d1cf6e1a55c93d28a99933aacfd3f1ee7c990
<disasm>
ooh, I get to push from command line :) being extra cautious with this!
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<gchristensen>
disasm: I have some helpers to prevent mistakes when pushing, would you like them?
<gchristensen>
this prevents deleting master or release branches, prevents me from creating new branches in nixos/nixpkgs, and errors out if I try to push more than one commit
<gchristensen>
if I try to push one more commit to nixos/nixpkgs*
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] disassembler pushed 1 new commit to release-17.09: https://git.io/vFXqO
<NixOS_GitHub>
[nixpkgs] P-E-Meunier opened pull request #31698: Documenting the fact that overrideAttr doesn't work on recursive sets (master...documentation) https://git.io/vFXqn
NixOS_GitHub has left #nixos []
<gchristensen>
you forgot the `-x` :) otherwise yes
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
romildo has quit [(Quit: Leaving)]
universalpackage has quit [(Remote host closed the connection)]
<disasm>
ah crap... should I redo and force push?
universalpackage has joined #nixos
ssmike has quit [(Remote host closed the connection)]
<gchristensen>
no!
ssmike has joined #nixos
<gchristensen>
never force push to nixos/*
danbst[m] has joined #nixos
<larsvm>
always use -f with all commands, what could go wrong?
<gchristensen>
if you really need to fix something `git revert` the offending changes then push corrected diffs
<gchristensen>
but in this case, the lack of a `-x` is minor
<joko>
If I override a package in nixpkgs.config.packageOverrides (e.g. oraclejre8), then shouldn't services.tomcat.jdk = pkgs.oraclejre8 use its overriden version?
<forgetful>
This might help understanding the problem: connect(3, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
<joko>
I think this is happening on the live setup, but the Hydra job somehow pulls the full version
<forgetful>
openat(AT_FDCWD, "/nix/store/mjx71lmnlf4psm9942djjcd8b56hyk8b-glibc-2.26-75/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
<tilpner>
Oh, good. Your warning sounded like it needed manual enforcement :)
<Dezgeg>
forgetful: so is your user coming from /etc/passwd or some nss module?
<forgetful>
dezgeg: it should come from /etc/passwd
fendor has quit [(Ping timeout: 248 seconds)]
<Dezgeg>
hm, that's strange then
<forgetful>
dezgeg: but I had the same error running the postrgres db, or cloning git repos via ssh
<forgetful>
dezgeg: I believe this is the problem: cannot access '/nix/store/mjx71lmnlf4psm9942djjcd8b56hyk8b-glibc-2.26-75/etc/ld.so.cache': No such file or directory
<Dezgeg>
that's not relevant most likely
<forgetful>
Dezgeg: I even installed a fresh copy on a server and I get the same error
ssmike has quit [(Ping timeout: 250 seconds)]
<disasm>
gchristensen: ok, thanks, I've updated my cp alias (I thought I had done that at nixcon, but most not have)
<Dezgeg>
hmm, I can actually reproduce the problem on my arch machine
<Dezgeg>
I guess the glibc upgrade broke things
<forgetful>
yes, I think so
<forgetful>
It is looking for this file: /nix/store/mjx71lmnlf4psm9942djjcd8b56hyk8b-glibc-2.26-75/lib/libnss_compat.so.2
<forgetful>
which is not there
<forgetful>
and in /etc/nsswitch.conf passwd is specified as compat
seafood has joined #nixos
<Dezgeg>
yes (since when though...)
seafood has quit [(Client Quit)]
<forgetful>
would it be enough to change it to db files to make it work?
<Dezgeg>
well, theoretically, but care needs to be taken not to break your ubuntu programs :P
periklis has quit [(Ping timeout: 248 seconds)]
<Dezgeg>
using 17.09 (which still has the old glibc) sounds like the best temporary option
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFXsx
<NixOS_GitHub>
nixpkgs/master 2fc2063 Orivej Desh: php56Packages.apcu40: fix build after #31526
NixOS_GitHub has left #nixos []
zzamboni has quit [(Quit: Leaving.)]
<forgetful>
How can I tell it to my Hydra installation? it pulls it in automatically.
Guest52155 has joined #nixos
chimay has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to release-17.09: https://git.io/vFXGC
<NixOS_GitHub>
nixpkgs/release-17.09 b0e50cc Orivej Desh: php56Packages.apcu40: fix build after #31526...
NixOS_GitHub has left #nixos []
nithor has joined #nixos
<forgetful>
Ok, sorry, bad question. How can I install the 17.09 release?
amfl has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #31627: common-updater: use nix-prefetch-url to get new hash (master...common-updater) https://git.io/vFKnB
NixOS_GitHub has left #nixos []
ylwghst has quit [(Ping timeout: 268 seconds)]
phreedom has quit [(Ping timeout: 258 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Wizek has joined #nixos
<infinisil>
watching a nixops deploy after updating nixpkgs is such a nice experience :O
<sphalerite>
hexdump seems to buffer its output if writing to a pipe but not if it's writing to a terminal. Can I get it to not buffer it even when writing to a pipe?
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 2 new commits to master: https://git.io/vFX8d
<NixOS_GitHub>
nixpkgs/master 048efb0 Peter Hoeg: amarok-kf5: init at 2.8.91-20170228
<NixOS_GitHub>
nixpkgs/master 9231cc8 Thomas Tuegel: Merge pull request #26436 from peterhoeg/p/amarok...
NixOS_GitHub has left #nixos []
himmAllRight has quit [(Remote host closed the connection)]
himmAllRight has joined #nixos
python476 has joined #nixos
MP2E has joined #nixos
Itkovian has joined #nixos
ma271 has joined #nixos
forgetful has quit [(Quit: Leaving)]
<joko>
Having set buildMachines, do you lose the ability to install stuff as simple user? As a simple user I do not have access to the sshKey of the buildMachines
dj_goku_ has joined #nixos
jsgrant has joined #nixos
dj_goku has quit [(Ping timeout: 255 seconds)]
<joko>
Hydra user owns the sshKey file
ylwghst has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
<clever>
joko: hydra accepts a list of paths to files matching the /etc/nix/machines format, so you can add a secondary one just for hydra, which nix will ignore
<joko>
clever: It's funny, on my Hydra setup where I don't have localhost in buildMachines everything are working. On my company's Hydra I have just set up with localhost as the only buildMachine, it's not
<clever>
joko: the flock command in there would limit you to a single job at a time, and the nice is more for when the hydra master is also a slave
spietz has joined #nixos
<joko>
clever: But I am not running any job when I fire "nixos-rebuild switch", is the lock happening?
<clever>
joko: if it ssh's back into itself, yeah
chimay has quit [(Quit: WeeChat 1.9.1)]
<clever>
joko: can you gist the output of "ps -eH x" ?
<clever>
while its blocked
<ldlework>
When building minikube on OSX I get: go/src/k8s.io/minikube/vendor/github.com/zchee/go-vmnet/vmnet.go:9:10: fatal error: 'vmnet/vmnet.h' file not found
<yegortimoshenko>
why reviewers (generally) don't use "squash & merge" mode of the GitHub merge button and instead ask the person who made the pull request to do that?
<fearlessKim[m]>
is it possible to just create a folder in /etc via a service like environment.etc = [ { target= ... }] ?
<clever>
joko: one special thing to keep in mind, is that nixops 100% ignores the remote /etc/nixos/ dir, so your deployment file must configure everything required to make it boot and get internet
<jack[m]>
Heh. 2k issues on github!
ylwghst has quit [(Ping timeout: 255 seconds)]
<joko>
clever: Alright, I'll definitely try it today...
<joko>
What about reboots?
<gchristensen>
its a big project, jack[m] :)
<infinisil>
fearlessKim[m]: sure, /etc is writable like normal
<joko>
clever: I mean, would setups survive a reboot?
<clever>
fearlessKim[m]: /etc/kbd is doing exactly that as well
<clever>
joko: nixops will update /boot/ every time it deploys
<joko>
clever: And the system would still have its system generations?
<infinisil>
Unless you do deployment.alwaysActivate = false;
<clever>
joko: so it will rely on the VM system obeying the bootloader config in /boot/, and the guest having the right /boot partition mounted
<clever>
joko: yep
<joko>
clever: neat!
<infinisil>
It's pretty much equivalent to a nixos-rebuild
<b0f0>
Hi, where do I put configuration for Vim, what is the best way, or the nix-way to do it. I am asking this because I see two ways to do it, the usual way .vimrc and the nix way where you create a nix expression and put it in /etc/nixos/vim.nix, and the guy imported this in configuration.nix under package derivation. Anyway, what is the nix or the correct way to handle plugins and configuration file in nixOS?
<fearlessKim[m]>
clever infinisil kbd uses .source = but what if I just want to create an empty folder ?
<clever>
fearlessKim[m]: do you want it to be a read-only empty, or a writable empty?
<infinisil>
fearlessKim[m]: In a service at runtime? Just mkdir. Not sure about at build-time
<joko>
But the problem with nix-build would remain, right? In that case, is it ok to set distributedBuilds to false and use buildMachinesFiles?
<infinisil>
you could just add a folder to that stateDirs string to have it make another folder
<fearlessKim[m]>
infinisil: yep had missed that that looks really good
Arcaelyx has quit [(Ping timeout: 255 seconds)]
<infinisil>
You might have to pay attention to permissions though if there will be secrets in there
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] lebel opened pull request #31705: android-udev-rules: use proper path for udev/rules.d (master...android-udev-rules) https://git.io/vFXr9
NixOS_GitHub has left #nixos []
<fearlessKim[m]>
sure stateDirs doesn't seem the best in that case
<infinisil>
Hmm, nixos module system question: I want an option foo = mkOption { type = types.attrsOf types.attrs; ... }; but I want this to behave like submodules, so setting foo.bar = 1 and foo.qux = 2 in another place should result in foo = { bar = 1; qux = 2; }
<gchristensen>
anyone seen "ar: invalid option -- '/'" before?
ma271 has quit [(Quit: WeeChat 1.9.1)]
whald has joined #nixos
ma27 has joined #nixos
Sonarpulse has joined #nixos
nschoe has joined #nixos
Lisanna has joined #nixos
erasmas has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 3 new commits to master: https://git.io/vFXM7
<NixOS_GitHub>
nixpkgs/master 5b70c18 Maximilian Bosch: Revert "Revert "services.xserver: assert that either desktop- or window manager is not "none"""...
<NixOS_GitHub>
nixpkgs/master 410f0f0 Maximilian Bosch: services.xserver: fix `apply` of default DM/WM...
<NixOS_GitHub>
nixpkgs/master c9b8bbd Tim Steinbach: Merge pull request #31268 from Ma27/x11-defaults...
NixOS_GitHub has left #nixos []
<Lisanna>
is there a way to get the Nix garbage collector to not delete things which have been used in builds that have run recently? I'm finding that I'm having to redownload things into the Nix store a lot with garbage collector turned on.
<steveeJ>
eacameron: Is the dependency passed explicitly in the arguments? If so you can just use haskellPackages.hlint.override { oldDep = newDep }
<eacameron>
steveeJ: I'll try that! I think it is.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ilya-kolpakov opened pull request #31709: google-cloud-sdk: disable gce as a dependency by default (fixes #31369) (master...google-cloud-sdk-fix) https://git.io/vFXbf
NixOS_GitHub has left #nixos []
ambro718 has joined #nixos
<steveeJ>
eacameron: be aware that my syntax here isn't correct. I'm pretty sure this is explained in the manual somewhere.
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<Lisanna>
I'm noticing that "nix copy" is using quite a bit of memory when I pass it multiple paths and/or when I pass it a path with many dependencies, so when run inside runInLinuxVM it runs out of memory for any non-trivial closure ):
orivej_ has quit [(Quit: orivej_)]
orivej has joined #nixos
tgunb has joined #nixos
periklis has quit [(Ping timeout: 248 seconds)]
kreisys has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vFXb1
<NixOS_GitHub>
nixpkgs/master 5827125 Thomas Tuegel: Merge pull request #31274 from rnhmjoj/radeon-profile...
NixOS_GitHub has left #nixos []
seafood has joined #nixos
danharaj has quit [(Ping timeout: 248 seconds)]
seafood has quit [(Client Quit)]
asuryawanshi has joined #nixos
<steveeJ>
Sonarpulse: is there a logical change to what buildInputs and nativeBuildInputs mean in that PR?
<Sonarpulse>
steveeJ: nope!
<Sonarpulse>
well, perhaps a clarification
<Sonarpulse>
things that were shoehorned into them now have a proper home
<steveeJ>
could it possibly reveal bugs that haven't been found?
nico202 has joined #nixos
<Sonarpulse>
what do you mean?
<Sonarpulse>
oh
<Sonarpulse>
sure
<Sonarpulse>
absolutely
<Sonarpulse>
env hooks
<Sonarpulse>
I tried to make it more permissive
<Sonarpulse>
but it still enforces the deps more than before
<Sonarpulse>
before with native builds
<Sonarpulse>
it basically doesn't matter which sort of dep it is
<Sonarpulse>
now it does
<steveeJ>
it seems that I have to put things that are in nativeBuildInputs to buildInputs to make some of the broken builds work
<Sonarpulse>
yes
<Sonarpulse>
those things should have never been in buildInputs
<Sonarpulse>
but nothing was stopping it before
<nico202>
anybody using home-manager can help me? I put a wrong path, now when changing it, it keeps trying to fetch the old url and it can't perform the switch
<Sonarpulse>
I might end up having to add a special case for native
<Sonarpulse>
to ease the transition when merging
<steveeJ>
is the difference between these documented somewhere for me to read? My understanding is vague
universalpackage has joined #nixos
asuryawanshi has quit [(Ping timeout: 260 seconds)]
<Sonarpulse>
steveeJ:
<Sonarpulse>
yes
<Sonarpulse>
the stdenv chapter
<Sonarpulse>
in the manual
<Sonarpulse>
on that branch
lebel has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
<Lisanna>
Is there a way to specify the curl options in nix-prefetch-url, so it can match a corresponding fetchurl Nix expression that sets "curlOpts"?
<Lisanna>
I don't see it as a command line argument, but maybe an environment variable?
JosW has quit [(Quit: Konversation terminated!)]
k2s has joined #nixos
k2s has quit [(Remote host closed the connection)]
<gchristensen>
nightmare problem after nightmare problem
ylwghst has joined #nixos
<gchristensen>
how do you deal with 2 repos each with pinned nixpkgs, but in one you want to override the other?
<dhess>
gchristensen: I hate days like that :(
<gchristensen>
yeah :( (^ btw that question is rhetorical)
<dhess>
those are the only days when I hate computers
<mbrock>
hmm, I want to use `nix-build -I foo=https://github.com/.../archive/xxx.tar.gz` but the archive doesn't include submodules, which I need
<mbrock>
I suppose I can use `--arg` with a `fetchFromGitHub` expression instead
hexamod has joined #nixos
jgertm has joined #nixos
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
Ralith__ has quit [(Ping timeout: 268 seconds)]
adamt_ has joined #nixos
adamt_ has quit [(Changing host)]
adamt_ has joined #nixos
tgunb has quit [(Ping timeout: 268 seconds)]
adamt has quit [(Ping timeout: 255 seconds)]
Myrl-sucky has quit [(Ping timeout: 248 seconds)]
Myrl-sucky has joined #nixos
tylerjl has joined #nixos
<mbrock>
yes, that works, and specifying a SHA256 hash there makes it somehow more secure against malicious GitHub behavior (though in practice it's mostly annoying to have to specify both a Git hash and a Nix hash...)
<mbrock>
kinda wish there was a `trustThatSHA1IsntHorriblyCompromised = true;`
ssmike has quit [(Ping timeout: 255 seconds)]
leothrix has quit [(Ping timeout: 248 seconds)]
Ralith_ has joined #nixos
thomastjeffery[m has left #nixos ["User left"]
srdqty has quit [(Ping timeout: 255 seconds)]
amfl has quit [(Read error: Connection reset by peer)]
amfl has joined #nixos
srdqty has joined #nixos
taktoa has quit [(Remote host closed the connection)]
reinzelmann has joined #nixos
orivej has quit [(Ping timeout: 248 seconds)]
mariel__ has quit [(Ping timeout: 248 seconds)]
Ivanych has quit [(Ping timeout: 255 seconds)]
simendsjo has joined #nixos
Neo-- has quit [(Ping timeout: 255 seconds)]
python476 has quit [(Remote host closed the connection)]
simendsjo has quit [(Remote host closed the connection)]
JameySharp[m] has quit [(Ping timeout: 276 seconds)]
retrry[m] has quit [(Ping timeout: 276 seconds)]
eqyiel[m] has quit [(Ping timeout: 276 seconds)]
StuK[m] has quit [(Ping timeout: 276 seconds)]
kitten[m] has quit [(Ping timeout: 276 seconds)]
FRidh[m] has quit [(Ping timeout: 276 seconds)]
dpc has quit [(Ping timeout: 276 seconds)]
apocolocyntos[m] has quit [(Ping timeout: 276 seconds)]
hendrik[m] has quit [(Ping timeout: 276 seconds)]
dkellner[m] has quit [(Ping timeout: 276 seconds)]
matrixkrav has quit [(Ping timeout: 276 seconds)]
sudoreboot[m] has quit [(Ping timeout: 276 seconds)]
Sovereign_Bleak has quit [(Ping timeout: 276 seconds)]
demyan[m] has quit [(Ping timeout: 276 seconds)]
Li[m] has quit [(Ping timeout: 276 seconds)]
dalaing has quit [(Ping timeout: 276 seconds)]
taohansen has quit [(Ping timeout: 276 seconds)]
jluttine[m] has quit [(Ping timeout: 276 seconds)]
magnap has quit [(Ping timeout: 276 seconds)]
das-g[m] has quit [(Ping timeout: 276 seconds)]
myklam[m] has quit [(Ping timeout: 276 seconds)]
pvn[m] has quit [(Ping timeout: 276 seconds)]
nixo[m] has quit [(Ping timeout: 276 seconds)]
timclassic has quit [(Ping timeout: 276 seconds)]
eqyiel[m] has joined #nixos
JameySharp[m] has joined #nixos
apocolocyntos[m] has joined #nixos
retrry[m] has joined #nixos
<greymalkin>
Nixops+GCE: Does anyone know what level of service account to create to perform proper deployments?
<neonfuz>
what's the current state of scons?
<neonfuz>
I'm trying to build a scons program right now, isn't working
<neonfuz>
it can't find gcc, and if I hack it to be able to find it, it can't find crti.o
statusfailed has joined #nixos
<tilpner>
neonfuz - It doesn't seem to pick up dependencies, but works well otherwise
reinzelmann has quit [(Quit: Leaving)]
b has joined #nixos
bennofs has joined #nixos
kitten[m] has joined #nixos
das-g[m] has joined #nixos
StuK[m] has joined #nixos
dkellner[m] has joined #nixos
dpc has joined #nixos
pvn[m] has joined #nixos
jluttine[m] has joined #nixos
myklam[m] has joined #nixos
FRidh[m] has joined #nixos
elasticdog has joined #nixos
hendrik[m] has joined #nixos
matrixkrav has joined #nixos
nixo[m] has joined #nixos
timclassic has joined #nixos
Li[m] has joined #nixos
Sovereign_Bleak has joined #nixos
dalaing has joined #nixos
demyan[m] has joined #nixos
magnap has joined #nixos
taohansen has joined #nixos
sudoreboot[m] has joined #nixos
<pie_>
ok so....how do i get in a configurephase environment? i need to figure out collection optional dependencies for apackage
elasticdog has quit [(Changing host)]
elasticdog has joined #nixos
binaryphile has left #nixos ["Leaving"]
seafood has joined #nixos
seafood has quit [(Client Quit)]
<copumpkin>
in nix 1.12 I can't seem to get nix-build to stop talking to the daemon by unsetting NIX_REMOTE
<disasm>
neonfuz: are you in a nix-shell?
<mbrock>
$ nix-env -iA nixos.latest.firefox-bin
<mbrock>
error: attribute `nixos' in selection path `nixos.latest.firefox-bin' not found
<mbrock>
as usual I have no idea how to understand what things are in scope for nix-env invocations
<srhb>
mbrock: Usually, the first bit (nixos) refers to a channel.
<mbrock>
ahh, I guess I'm supposed to have a channel---yeah
adamt_ has quit [(Ping timeout: 260 seconds)]
<mbrock>
I'm using a local checkout of nixpkgs, not a channel...
<srhb>
Then you're probably calling it nixpkgs.
<neonfuz>
disasm: no, I probably should be
<neonfuz>
I mostly just don't know how to get started from scratch
<disasm>
neonfuz: yeah, try nix-shell -p scons and see if it works
<neonfuz>
should I start with a new entry in nixpkgs? or is in the project directory okay?
<neonfuz>
I did that actually
<neonfuz>
I don't have scons on my regular environment
<neonfuz>
I did nix-shell -p scons --run scons
<neonfuz>
I read I can add "ENV = {'PATH' : os.environ['PATH']}" in a section of the SConstruct file, and that got it to be able to find git
<neonfuz>
gcc* derp
<neonfuz>
so I know that I can make it find gcc by adding it to my path, but what about crti.o and crt1.o?
ShalokShalom has quit [(Remote host closed the connection)]
<maiksen>
FRidh[m]: Ive seen youve been added as reviewer, I am currently running `nox review` but it will take a while...., so I opened the pr anyways. Hope that is okay (its my first pr so I didnt know for sure)
<kreisys>
hello, quick question.. I couldn't find anything in the manuals. is there a "correct" way to fetchUrl from an http server that requires an authentication token?
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
p4cman has quit [(Quit: Connection closed for inactivity)]
vcunat has joined #nixos
strive has joined #nixos
strive has left #nixos ["WeeChat 1.9"]
<kreisys>
I saw that basic auth can be achieved by means of a netrc file but no mention of auth headers... I tried curlOpts = "-H \"Authorization: Bearer xxxxxxxxxxx\""; but then it just treats the words "Bearer" and the token itself as additional hosts and fails 🙄
mekeor has joined #nixos
<spietz>
anyone know how I can install firefox quantum on nixos?
<steveeJ>
Sonarpulse: I managed to fix all the errors I encountered. it's documented in the PR
<Sonarpulse>
steveeJ: wonderful! thanks!
<steveeJ>
Sonarpulse: most welcome!
ambro718 has quit [(Ping timeout: 248 seconds)]
<greymalkin>
Nixops error "'NoneType' object has not attribute 'get'" -- no other explanation, error, or output.
<greymalkin>
Is there a better way to get a trace to figure out whence this error may be coming?
seafood has joined #nixos
seafood has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] domenkozar created lib+paths (+1 new commit): https://git.io/vF1CD
<NixOS_GitHub>
nixpkgs/lib+paths 7897128 Domen Kožar: lib: add isInStore and isPath, slighly change isStorePath...
NixOS_GitHub has left #nixos []
<gchristensen>
domenkozar: danger will robinson, creating scary branch names with `+`s in them
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 3 new commits to master: https://git.io/vF1C5
<NixOS_GitHub>
nixpkgs/master 8ecae36 Joachim Fasting: linux_hardened: enable slab freelist hardening
<NixOS_GitHub>
nixpkgs/master 870c86d Joachim Fasting: linux_hardened: structleak covers structs passed by address
<NixOS_GitHub>
nixpkgs/master df0300c Joachim Fasting: tor-browser-bundle-bin: 7.0.9 -> 7.0.10
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] domenkozar opened pull request #31715: lib: add isInStore and isPath, slighly change isStorePath (master...lib+paths) https://git.io/vF1CA
NixOS_GitHub has left #nixos []
<mekeor>
in a shell-script, how would you check if you're on nixos?
<disasm>
mekeor: could check for existence of /etc/NIXOS
<dash>
i think that's the canonical way, yep
<mekeor>
cool, alright, thanks :)
yegortimoshenko has quit [(Ping timeout: 260 seconds)]
<greymalkin>
gah... something is wrong with nixops on my install... trying the vbox example from the manual is resulting in "error: string index out of range" and I can't delete the resource afterwards.
yegortimoshenko has joined #nixos
jsgrant has quit [(Ping timeout: 255 seconds)]
<steveeJ>
something in my expressions is pulling in uboot and I have no clue what it is. how can I find out?
<steveeJ>
Sonarpulse: is it possible that on this branch the line "platform = { kernelArch = "x86_64"; kernelAutoModules = true; kernelBaseConfig = "defconfig"; kernelHeadersBaseConfig = "defconfig"; kernelTarget = "bzImage"; name = "pc"; uboot = null; };" from my config is somehow ignored?
mekeor has quit [(Remote host closed the connection)]
<greymalkin>
nix-shell --pure to the rescue; hopefully it will be able to start virtualbox on my mixed machine.
<greymalkin>
I keep wanting to go pure nixos; but the number of packages that I end up having to pull from AUR keeps me from doing so.
miko__ has quit [(Ping timeout: 252 seconds)]
cement has quit [(Ping timeout: 248 seconds)]
miko__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vF18H
<mekeor>
i want a version of a package which is not available in stable channel but in unstable channel. i'm using a custom overlay atm. but i wonder how unstable the unstable branch is. and i wonder if there's an way to install single package from a channel.
yegortim` has joined #nixos
yegortimoshenko has quit [(Ping timeout: 255 seconds)]
<Ralith>
what's the proper way to add an external dependency to a melpa package?
jsgrant has joined #nixos
<Sonarpulse>
stevee: it's quite possible!
<Sonarpulse>
not ignored, per se
<Sonarpulse>
but it won't affect cross
<Sonarpulse>
just native and the cross build platform
<manveru>
mekeor: pretty easy, and it won't influence anything else on the system