<gchristensen>
supportedSystems = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]; <- when do we add labels for each of these archs? :)
griff_ has quit [(Quit: griff_)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
nckx has quit [(Quit: Updating my GuixSD server — gnu.org/s/guix)]
<vcunat>
gchristensen: what kind of labels?
nckx has joined #nixos
<vcunat>
those about rebuild amount?
<gchristensen>
well it is just setting it to me that aarch64-linux's stdenv could be different from x86_64-linux's stdenv. yeah, rebuild amount
<vcunat>
"aarch64-linux" should be the first step, I think
<vcunat>
but the linuxes usually have similar rebuild proportions
<gchristensen>
then should "10.rebuild-linux: 1-10" be renamed to "10.rebuild-x86_64-linux: 1-10"
<gchristensen>
truee
<vcunat>
perhaps the labels don't need to be too fine-grained
phdoerfler has joined #nixos
<vcunat>
and we can e.g. lump both linuxes together
<gchristensen>
probably not. we probably don't need a label for aarch64
<vcunat>
(sum the counts)
<gchristensen>
ah!
<gchristensen>
we'll cross that bridge when we come to it
<vcunat>
if it's easy to add some link to extra info in the box with the borg checks, there could be details like that
<vcunat>
(in future)
<gchristensen>
great idea
<Ralith>
if nixos-install is hanging in a stalled download (why is there no sane timeout?!) is it safe to restart it, or will that lose all the work up 'til now?
<gchristensen>
one day we may need to stop abusing gistst
jb55 has quit [(Ping timeout: 255 seconds)]
<vcunat>
the labels seem mainly useful to decide whether the PR needs to go throu staging or not
<vcunat>
Ralith: unfinished downloads are lost
<joshuaks>
Does anyone have experience installing nix on BSD?
<Ralith>
vcunat: it's not the unfinished download I'm worried about, it's the hour of work before that...
<gchristensen>
Ralith: it won't lose it
<vcunat>
finished downloads and builds aren't lost
<Ralith>
kk good
<gchristensen>
IIRC you can run nixos-install on top of an existing installation even and it'll be fine
<joepie91>
yep
<joepie91>
although I ran it with all the --skip-* flags
<joepie91>
to recover a... something
<joepie91>
I don't recall what I broke, but it was definitely something
<joepie91>
bootloader maybe?
<Ralith>
neat
* Ralith
wonders why the hell github's so broken
<Ralith>
got it on the fourth try @_@
vcunat has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vbnqQ
<NixOS_GitHub>
nixpkgs/master 65ace59 Tuomas Tynkkynen: tboot: Only works on x86...
NixOS_GitHub has left #nixos []
griff_ has joined #nixos
erictapen has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbnmf
<joshuaks>
When I run `:b simple` I get three erros saying: clang isn't installed
<joshuaks>
And two others: one saying mkdir doesn't exist and one saying that gcc can't be found (which I just installed it)
<joshuaks>
I'm a little confused also, I thought the build process would pull in dependencies. Especially gcc since it's declare. Not sure why it cannot be found.
Sonarpulse has quit [(Ping timeout: 260 seconds)]
CMCDragonkai has joined #nixos
CMCDragonkai is now known as Guest16297
<gchristensen>
hmm that pill is a bit out of date for current best practices
Guest23009 has quit [(Ping timeout: 255 seconds)]
<gchristensen>
can you paste your c program exactly, the simple_builder.sh, and the nix-repl session?
<gchristensen>
gcc is remapped to the standard compiler toolchain, I think, on macos (clang) so instead of putting gcc in to the path we used stdenv.cc, the current platform's standard compiler toolset
<gchristensen>
then changing from calling gcc to cc and done
<gchristensen>
many of the pills were written several years ago, and only in the last few months were we able to improve them. still lots of work to do :)
joelpet has quit [(Ping timeout: 248 seconds)]
mbrgm has quit [(Ping timeout: 260 seconds)]
sigmundv__ has quit [(Ping timeout: 240 seconds)]
Guest16297 has quit [(Ping timeout: 255 seconds)]
mbrgm has joined #nixos
MP2E has joined #nixos
<joshuaks>
Ok issue submitted
<joshuaks>
So why didn't install gcc work? Or am I completely missing the point?
<gchristensen>
well `gcc` in this case (because you're on macos) is secretly a gcc-wrapper around clang
<gchristensen>
anyway, I've gotta run for the night. good luck :)
lambdamu has joined #nixos
mrkgnao has quit [(Ping timeout: 260 seconds)]
<joshuaks>
ahhh ok
<joshuaks>
thanks
lambdamu_ has quit [(Ping timeout: 248 seconds)]
<joshuaks>
I appreciate the help
jb55 has quit [(Ping timeout: 260 seconds)]
Dr8128 has quit [(Ping timeout: 255 seconds)]
jb55 has joined #nixos
joelpet has joined #nixos
joelpet has quit [(Changing host)]
joelpet has joined #nixos
jb55 has quit [(Client Quit)]
jb55 has joined #nixos
nuncanada2 has quit [(Read error: Connection reset by peer)]
asuryawanshi has quit [(Ping timeout: 276 seconds)]
zzamboni has joined #nixos
t184256 has quit [(Ping timeout: 255 seconds)]
georges-duperon has quit [(Ping timeout: 264 seconds)]
freusque has joined #nixos
t184256 has joined #nixos
adamt has quit [(Ping timeout: 264 seconds)]
ylwghst has joined #nixos
t184256 has quit [(Read error: Connection reset by peer)]
civodul has joined #nixos
philips has quit [(Ping timeout: 240 seconds)]
philips has joined #nixos
JoJoen has quit [(Ping timeout: 240 seconds)]
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
asuryawanshi has joined #nixos
codedmart has quit [(Ping timeout: 240 seconds)]
codedmart has joined #nixos
reinzelmann has joined #nixos
jtojnar has quit [(Ping timeout: 255 seconds)]
asuryawanshi has quit [(Ping timeout: 268 seconds)]
sa1 has quit [(Ping timeout: 240 seconds)]
adamt has quit [(Remote host closed the connection)]
sa1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] alexanderkjeldaas opened pull request #32376: Added ROCK kernel which is required by AMDs ROCm project (master...ak/kernel-4.11-kfd) https://git.io/vbnzs
NixOS_GitHub has left #nixos []
johann__ has quit [(Quit: Leaving.)]
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
proteusguy has quit [(Ping timeout: 268 seconds)]
johann__ has joined #nixos
roberth has joined #nixos
joshuaks has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
asuryawanshi has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
joshuaks has quit [(Ping timeout: 255 seconds)]
asuryawanshi has quit [(Ping timeout: 260 seconds)]
ylwghst has quit [(Quit: Lost terminal)]
asuryawanshi has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
ylwghst has joined #nixos
ylwghst has quit [(Client Quit)]
proteusguy has joined #nixos
ylwghst has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 3 new commits to release-17.09: https://git.io/vbngd
<NixOS_GitHub>
nixpkgs/release-17.09 afa6dfa SLNOS: firefoxPackages: move old firefox flags under isTorBrowserLike...
<fearlessKim[m]>
while deplying on nixops I get "Failed to get blkid info (returned 512) for / on /dev/root at /nix/store/0cmdnxzpkqpmagm1bpwcf832lbkb3iy1-install-grub.pl" but I don't know why (the "512" retcode is my addition) . As a user, blkid /nix/store/d47k42zaany60awacqjn02nanm1rkycv-util-linux-2.31-bin/bin/blkid -o export /dev/root runs fine
proteusguy has joined #nixos
ma27 has quit [(Ping timeout: 250 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vbnoI
<NixOS_GitHub>
nixpkgs/master 40af771 Peter Hoeg: tests: logToJournal has been renamed
NixOS_GitHub has left #nixos []
ylwghst has quit [(Quit: Lost terminal)]
townsend has quit [(Ping timeout: 255 seconds)]
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
ixxie has joined #nixos
modulistic has joined #nixos
townsend has joined #nixos
<modulistic>
hello, I made a torrent file for the current nixos graphical livecd, here's the magnet:
<modulistic>
hi makefu I hope it's not broken, as I made the torrent from there :)
jensens has quit [(Ping timeout: 240 seconds)]
<makefu>
okay, but why exactly did you create a torrent from it? isn't the cd fast enough?
<makefu>
cdn*
<modulistic>
I was trying to find a torrent in the downloads page
ixxie has quit [(Ping timeout: 255 seconds)]
<modulistic>
I don't know how expensive is to serve from the CDN but I usually try to get large isos bia BT
dywedir has joined #nixos
<modulistic>
The CDN is quite fast, actually
<makefu>
wow that is very forthcoming. i never really thought about it like this
<modulistic>
sorry, perhaps this has been already discussed here and I am just making noise, I didn't search the channel archives or anything
<makefu>
right now the cdn is sponsored by logicblox i think
<makefu>
no need to be sorry, i am just thinking about if and how to incorporate torrents to the download page
<modulistic>
I guess, if it was really expensive for the sponsor, we would already have a BT link on the downloads page :)
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
<woffs>
It is always better not to depend on 1 sponsor
asuryawanshi has quit [(Remote host closed the connection)]
<woffs>
So I'm seeing AWS and github with mixed emotions here
asuryawanshi has joined #nixos
orivej has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
<jluttine>
how can i make 32bit builds? i'm building an iso image with "nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix". how can i make it 32bit?
akfp has joined #nixos
erictapen has quit [(Remote host closed the connection)]
JoJoen has joined #nixos
<makefu>
woffs: i totally agree, there also are efforts in decentralising the binary cache. afair there is an alternative binary cache which is community driven. there are also efforts in providing the binary cache via ipfs
orivej_ has joined #nixos
orivej has quit [(Ping timeout: 268 seconds)]
erictapen has joined #nixos
ylwghst has joined #nixos
<woffs>
jluttine: --argstr system i686-linux
<jluttine>
woffs: ok, thanks, i'll try that!
markus1189 has joined #nixos
asuryawa_ has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
orivej has joined #nixos
orivej_ has quit [(Ping timeout: 276 seconds)]
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
zzamboni has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
ssmike has quit [(Ping timeout: 276 seconds)]
ylwghst has quit [(Quit: Lost terminal)]
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
joshuaks has joined #nixos
asuryawa_ has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
phdoerfler has joined #nixos
joshuaks has quit [(Ping timeout: 240 seconds)]
athan has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] domenkozar pushed 3 new commits to release-17.09: https://git.io/vbnXt
<NixOS_GitHub>
nixpkgs/release-17.09 04333fa Peter Simons: ghc: add 8.2.2-rc2...
<NixOS_GitHub>
nixpkgs/release-17.09 06e9d5b Peter Simons: ghc: bump 8.2.2 pre-release to rc3...
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
<sphalerite>
Does zfs make sense on low-power devices? Like my Chromebook which has 2GB of RAM, 16GB internal storage and a not-hugely-powerf ARMv7 CPU?
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LambdaP opened pull request #32382: ddate: add Darwin as a target (master...ddate-on-darwin) https://git.io/vbnSV
NixOS_GitHub has left #nixos []
athan has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
simukis has joined #nixos
tmaekawa has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
ssmike has joined #nixos
oahong has quit [(Ping timeout: 255 seconds)]
t184256 has quit [(Quit: t184256)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vbn9z
<NixOS_GitHub>
nixpkgs/master 9b08b87 Orivej Desh: digikam: disable parallel building
NixOS_GitHub has left #nixos []
<woffs>
sphalerite: I'm not sure. Depends on your expectations. Did you ask in #zfsonlinux?
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
<sphalerite>
No. That might make sense to do actually :D
Ridout has joined #nixos
<woffs>
sphalerite: ZFS eats RAM. If you need all 2GB for your applications, you shoud use more thin fs.
<sphalerite>
Isn't that just for caching though, and effectively just a difference in how the kernel reports it?
<sphalerite>
Lol let's keep it in there then x)
<woffs>
:-)
ThatDocsLady has quit [(Remote host closed the connection)]
ThatDocsLady has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/vbnHe
CMCDragonkai1 has quit [(Ping timeout: 255 seconds)]
alexteves has joined #nixos
zzamboni has joined #nixos
<sphalerite>
Infinisil danbst phdoerfler: thanks for your work on nixos-mailserver! Finally got the replacement for an old Debian server deployed today
ylwghst has quit [(Read error: Connection reset by peer)]
<sphalerite>
Real weight off my shoulders
<sphalerite>
Also anyone else who might be here (couldn't find any of the other contributor's names here)
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
zzamboni has quit [(Remote host closed the connection)]
tmaekawa has quit [(Quit: tmaekawa)]
asuryawanshi has quit [(Ping timeout: 250 seconds)]
ylwghst has quit [(Quit: Lost terminal)]
asuryawanshi has joined #nixos
Turion has joined #nixos
<Turion>
I'm still having the following problem: In a `nix-shell -p mesa mesa_glu freeglut`, try to install and run a haskell cabal package depending on OpenGL. It will give the error "unknown GLUT entry glutInit".
joshuaks has joined #nixos
ylwghst has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Turion>
Am I even doing the right thing? Should I be developing like this? How would you build a Haskell/OpenGL project?
leat has quit [(Quit: WeeChat 1.9.1)]
joshuaks has quit [(Ping timeout: 240 seconds)]
proteusguy has quit [(Remote host closed the connection)]
peacememories has joined #nixos
<avn>
Turion: stack --nix, or cabal2nix and nix-shell
peacememories has quit [(Read error: Connection reset by peer)]
Neo-- has joined #nixos
<Turion>
avn: stack fails with unrelated errors on my machine. I'll try cabal2nix, thanks!
<avn>
is also stack2nix exists, but it still incomplete
peacememories has joined #nixos
<Turion>
Hmmm... cabal2nix --shell gives me an invalid .nix file
peacememories has quit [(Client Quit)]
<Turion>
I think it chokes on a package that is on hackage, but not in nixpkgs
peacememories has joined #nixos
<avn>
yes, then you try stack2nix (works, but w/o tests)
<Turion>
I stand corrected, the dependency *is* in nixpkgs. It just fails like tha
<Turion>
avn: I don't have a valid stack file yet (since stack errors for different reasons)
<avn>
well, you should start from fixing your .cabal and stack files
ylwghst has quit [(Quit: Lost terminal)]
<Turion>
avn: My .cabal file is valid. I tried to run "stack init --solve" a few times, but it just throws a weird exception (seems to be a completely unrelated bug)
ati-radeon has joined #nixos
<Turion>
Happy to fix that though, if you can help me :)
<ati-radeon>
I see that linux kernels older than 4.4 are no longer present as a linuxPackages_<version>, and it seems I will have to go back to version 4.2 for my video card to work, what is the best way to realize this in NixOS?
<avn>
Turion: try handwritten stack.yaml and run `stack --nix build`
Itkovian has joined #nixos
<avn>
Turion: possible you need add --nix switch to other stack commands as well
<sphalerite>
ati-radeon: ouch. Probably to have a checkout of nixpkgs and revert the commits that update the kernel beyond supporting it
<sphalerite>
Not sure though
Ridout has quit [(Quit: Lost terminal)]
<avn>
it enable some internal magic related to nix, and force stack to use nix-shell invernally for invoking ghc and providing system (non-haskell) dependencies
<Turion>
avn: Yes, seems like I'll have to do that :/ a bit daunting to write a stack.yaml from scratch without previous experience maybe...
<Turion>
ati-radeon: I reverted the commit that discarded the 4.1 kernel locally, worked out fine so far
<ati-radeon>
sphalerite: I will try that, thanks, plan B will be to use another distro and just use the Nix package manager, or virtualize NixOS within Windows 10
<ati-radeon>
Turion: So you just patched only the kernel bit of your nixpkgs checkout?
<sphalerite>
ati-radeon: good luck!
<ati-radeon>
sphalerite: Thanks! :)
ylwghst has joined #nixos
<avn>
Turion: copy-paste from similiar project should help ;)
<Turion>
ati-radeon: Basically. I needed to change a line or two because I couldn't find a certain patch that seemed to be needed. Since then I'm doing "nix-rebuild --switch -I path/to/my/local/nixpkgs"
proteusguy has joined #nixos
<avn>
ati-radeon: what card you have, and why it not work with recent kernels?
<Turion>
avn: Hmm, yes. I don't really understand how to add dependencies on packages that aren't in the stackage lts or any other snapsho
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
zzamboni has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
<ati-radeon>
avn: ATI Radeon HD7870 XT Boost, it crashes with recent kernels with "amd" (logged) and with "amdgpu" it simply freezes without logging any error
Guest2872 has quit [(Ping timeout: 258 seconds)]
alexteves has quit [(Quit: My Mac Mini has gone to sleep. ZZZzzz…)]
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
<ati-radeon>
avn: I tried several kernel parameters that apparently worked for some, but without any success, and when I look at the specification for the official driver of the card, it supports only up to kernel 4.2, so I hope that if I run kernel 4.2 and use that driver, that it will work
akfp has quit [(Read error: Connection reset by peer)]
agjacome has joined #nixos
zzamboni has quit [(Remote host closed the connection)]
modulistic has quit [()]
akfp has joined #nixos
zzamboni has joined #nixos
cement has joined #nixos
zzamboni has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Izorkin opened pull request #32385: mydumper: init at 0.9.3 (master...mydumper) https://git.io/vbnAj
NixOS_GitHub has left #nixos []
<Turion>
avn: I'm getting the following error when I run stack init --solver:
<Turion>
CallStack (from HasCallStack):
<Turion>
error, called at src/Stack/Solver.hs:187:16 in stack-1.5.1-9Xk9HeLj9iJ1Qq0tTNoCkk:Stack.Solver
zzamboni has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
zzamboni has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
ylwghst has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
ssmike has quit [(Ping timeout: 240 seconds)]
<nixy_>
This may have a trivial answer, but how would I run a nixos module from nixos-unstable in my configuration.nix
ssmike has joined #nixos
<nixy_>
I've realized my tor node is running tor out of nixos-17.09, which is a bit old for my taste
<avn>
Turion: well, better ask stack authors then. I prefer to use cabal2nix when possible
<tilpner>
nixy_ - I have imports = [ (unstableSrc.path + /nixos/modules/installer/cd-dvd/iso-image.nix) ]; in my iso device config, where unstableSrc is nixos-unstable
tomster has joined #nixos
<tilpner>
nixy_ - If your setup allows it, you could also make it accessible via NIX_PATH, so that you can do imports = [ <unstable/nixos/modules/installed/cd-dvd/iso-image.nix> ];
<tomster>
hi there, how can i install a particular rubygem into a nix-shell?
<tilpner>
nixy_ - That alone will only work for modules not currently imported. If there are duplicates, it will probably conflict
<tomster>
i want to install a chef extension into a nix-shell into which i've installed the chefdk package
<nixy_>
I was about to say how does this handle conflicts, is there a way to overwrite
<tilpner>
nixy_ - There is a way to blacklist modules by name
<tomster>
if i add ruby to the package list of the shell and then gem install the gem the gem is installed but the chef doesn't "see" it
zzamboni has joined #nixos
<Turion>
avn: Ok. Thanks for your help so far!
<avn>
Turion: I would like to help more, but can't, is out of my knowledge
<avn>
ati-radeon: what chip (codename) this card have? And do you try open drivers or propietary one?
<avn>
ati-radeon: I am sure, that these models should works with open drivers
<tomster>
i also tried installing it using the bundle binary that comes with chefd but that complains that it's running against a read-only environment
<tomster>
IOW how can i install chefdk gems on nixos?
<nixy_>
tilpner: Bless you and the manual
<ati-radeon>
After some thinking, I am not going back to 4.2, I either have to get it to work on some recent LTS or the latest, or I will just go with the virtualized route
akfp has quit [(Read error: Connection reset by peer)]
<avn>
ati-radeon: pitcairn is definelly `amd`, not `amdgpu`
<ati-radeon>
avn: I gathered as much, but I also read the experimental support for "amdgpu" is also present in the Southen Islands family, so I figured it was worth a shot
<avn>
ati-radeon: and both 4.4/4.9/4.14 worn't works
<ati-radeon>
avn: I indeed tried 4.4, 4.9 and latest (not sure if it is 4.13 or 4.14)
<avn>
well, in worst case -- you can try pull 4.2 kernel from git history ;)
<joepie91>
ati-radeon: I don't think 4.2 is a supported kernel version anymore, also are you sure that you need 4.2? usually the kernel version limitations are to do with the support provided by fglrx
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
<joepie91>
ati-radeon: (which means that fglrx probably *used* to require 4.2, but now requires 4.4 or so)
<avn>
joepie91: he claims, that he use open `amd` driver
<joepie91>
amdgpu?
<joepie91>
afaik that has no kernel requirements at all
<joepie91>
amdgpu-pro does though, I think
<avn>
ati-radeon: btw, open kernel modules should be named `radeon`
<avn>
and possible X11 one as well
ylwghst has quit [(Quit: Lost terminal)]
<ati-radeon>
joepie91: Not on the open source that I know of, but only on the closed driver, which states 3.19 officially, but 4.2 also worked (Ubuntu 15.10 was supported that used that kernel)
<joepie91>
avn: there's two different OSS drivers, one is named 'radeon' (but in nixpkgs as 'ati' I believe), the other is named 'amdgpu'
<ati-radeon>
joepie91: The reason for looking at the closed source driver was that I could not find any more leads how to fix the open source driver and when googling for people with the same card under Linux all the success stories were about the official AMD driver
<joepie91>
ati-radeon: hold on
<avn>
ati-radeon: I suggest you take lastest kernel, blacklist amdgpu driver, set "ati" for xserver, as I listed above, then show logs
<joepie91>
ati-radeon: very odd, I recall higher kenel numbers, but this really does seem to be the most recent version of their drivers...
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
<ati-radeon>
avn: Hmm, I have not tried that yet, I did blacklist radeon when trying amdgpu, but not the other way around, will try that now
<avn>
so pitkairn is very close to mullins, which I have on amd/apu notebook, so it should work well on latest kernels
<ati-radeon>
avn: Good to know, but Mullins it is in a new family, but it indeed is mentioned often with the family my card is in when fixes are mentioned
akfp has quit [(Read error: Connection reset by peer)]
szicari has joined #nixos
akfp has joined #nixos
<avn>
ati-radeon: I have TURKS, on machine where I sit atm, and MULLINS on one of notebooks. Your card somewhere in-between I think
<avn>
both machines have `ati` driver selected in xserver, and it works well
<avn>
both 2d and 3d, with open drivers
<avn>
and I have follow kernel options that can affect: reboot=w,a radeon.dpm=0 radeon.audio=1
<ati-radeon>
avn: My previous card was in the Evergreen family, the one before your Turks card, which I never have had any problem with
leat has joined #nixos
<ati-radeon>
Still crashes, with blacklisted amdgpu
<avn>
turks is evergreen as well
<ati-radeon>
avn: It should be Northern Islands according to the link I gave you
<avn>
try add radeon.dpm=0, and paste part of log related to radeon (you can strip before first mention of radeon I believe)
<ati-radeon>
avn: I have that config option already present
townsend has quit [(Ping timeout: 258 seconds)]
ylwghst has quit [(Ping timeout: 248 seconds)]
iyzsong has quit [(Ping timeout: 276 seconds)]
<ati-radeon>
I also tried the LiveCDs of Ubuntu 12.4 and 17.10, which both gave me a screen of Windows 7 being shutdown (probably last image in GPU)
<avn>
btw, does you have config.nixpkgs.enableUnfree = true? possible you need it for firmwares...
<avn>
Ahhha.... `reboot=w,a` is for you
<avn>
and you need hard reboot then before boot
<avn>
this option to kernel force you to hard reboot when you reboot with `reboot` command
<tomster>
how can i use a local clone of nixpkgs as a source for nix-shell?
<avn>
tomster: -I nixpkgs=/path/to
<tomster>
avn: thanks!
<ati-radeon>
I have unfree and enabled all firmware option, but did not have the reboot thing, will try that now, I need to rebuild nixos with that option and hard poweroff and then boot and hope?
<avn>
yes.
ssmike has quit [(Remote host closed the connection)]
<avn>
just because reboot thing will effect on second reboot then
ssmike has joined #nixos
<avn>
ati-radeon: if no -- let's looks on log again and think
b73_ has joined #nixos
<avn>
also I curious, in what moment it freeze -- when it switch to kms console (graph text mode with small fonts), or when X spawns?
<tomster>
avn: that doesn't seem to work, i get this: nix-shell -I nixpkgs=~/nixstuff/nixpkgs/ --command fish
<tomster>
warning: Nix search path entry ‘~/nixstuff/nixpkgs/’ does not exist, ignoring
zzamboni has quit [(Read error: Connection reset by peer)]
<avn>
tomster: nixpkgs=/home/tomster/nixstuff/nixpkgs/ should works. ~ expands only in begin of word
<ati-radeon>
avn: When X spawns, I see the step where the screen resizes with console messages, but once the GUI is supposed to start, all I get to see is the _ in the top left corner and some glitches and eventually my monitor will get no more input, I have to press ctrl+alt+f1 repeatedly and on time to get into the console before that happens
<avn>
ati-radeon: is a log from different machines/
<avn>
?
<joko>
sphalerite: thanks, any way to bypass the lack of signature?
<sphalerite>
joko: import as root
a6a3uh has joined #nixos
ssmike has quit [(Ping timeout: 240 seconds)]
<ati-radeon>
avn: No, same machine, I just copied every starting with lightdm and x or X to that logs tar, some of them could still be about my previous GPU though
alexteves has joined #nixos
<avn>
ati-radeon: For first -- it detect `(--) RADEON(0): Chipset: "TAHITI" (ChipID = 0x679e)`
<joko>
sphalerite: many thanks!
<avn>
so let's ask google if this card detects wrong, or require some options in xorg.conf
<sphalerite>
no :)
<sphalerite>
np *
<ati-radeon>
avn: That indeed is very weird, I never owned that chipset that I know of, so that indeed might be a source for the bugs I am facing
hellrazor has quit [(Ping timeout: 248 seconds)]
hellrazo1 has joined #nixos
laggy_wifi_ has joined #nixos
<avn>
ati-radeon: does user running X (if it not root) have access to /dev/dri/card0?
laggy_wifi has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub>
[nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vbcmR
<NixOS_GitHub>
nixpkgs/master 019131c Jan Tojnar: phpPackages.php-cs-fixer: init at 2.8.3
NixOS_GitHub has left #nixos []
<ati-radeon>
avn: it also shows the message in the logs "kfd kfd: DID 679e is missing in supported_devices, which matches the ChipID given for TAHITI
i-am-the-slime has joined #nixos
<ati-radeon>
avn: how does one check for access? I has user root and group video, my user is not in this group, so I just added it and am rebooting now, then I will try enabling glamor
<avn>
yes, add yourself to video
<avn>
via nix, and rebuild ofc
<avn>
also try blacklist `amdkfd` module as well
ssmike has joined #nixos
<avn>
another option to try -- radeon.hard_reset=1 option in kernel commandline
<ati-radeon>
avn: Yeah, I have added the video group to my user through Nix that did not work, I am now trying glamor and blacklisting amdkfd
<avn>
radeon.pcie_gen2=1/0 another funny stuff ;)
townsend_ has joined #nixos
<ati-radeon>
avn: Could the error: print_req_error: I/O error, dev sr0, sector <some_number> be relevant?
<alexteves>
Is there anyway to check which binary caches the nix-daemon is using? Trying to figure out if the daemon needs to be restarted by a script that adds new caches (at least on os x, it needs to https://github.com/NixOS/nix/issues/1061#issuecomment-313926714). Tried grepping into nix/var/nix/binary-cache-v3.sqlite on sphalerite's suggestion, but found nothing useful.
<ati-radeon>
I am getting that at boot sometimes (so it probably is not related, would have been consistent otherwise)
<sphalerite>
alexteves: literally running grep on it?
<alexteves>
yeah, I hit some packages from that cache, but not the cache itself
<avn>
ati-radeon: nope, is scsi/ata io error, but it can hint about overall machine stability
<sphalerite>
yeah you'll want to actually query the database, not just look at the file
<akfp>
how should a package depend on kernel headers?
townsend has quit [(Ping timeout: 250 seconds)]
petsa has joined #nixos
<sphalerite>
alexteves: try something like cp /nix/var/nix/binary-cache-v3.sqlite /tmp/ ; sqlite3 /tmp/binary-cache-v3.sqlite <<<"select * from BinaryCaches"
<avn>
ati-radeon: well, if no -- next step is glamor with unblacklisted amdkfd (I have this module loaded)
ylwghst has joined #nixos
a6a3uh has quit [(Quit: Bye)]
<ati-radeon>
avn: I am trying the pci_gen2=1 or 0 option now, and I have reconfigured my storage configuration to use IDE again (have been getting some ACHI related errors, but with no apparent effect)
joshuaks has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg force-pushed unstable-aarch64 from f8e17f5 to ab67fea: https://git.io/vSSlm
<NixOS_GitHub>
nixpkgs/unstable-aarch64 ab67fea Graham Christensen: Netboot: Add aarch64
NixOS_GitHub has left #nixos []
Slabity has joined #nixos
joshuaks has quit [(Ping timeout: 255 seconds)]
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
dieggsy has joined #nixos
drewr has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
Itkovian has quit [(Ping timeout: 240 seconds)]
<ati-radeon>
avn: I have tried all of those options you suggested and those I could think of myself, but none seem to work so far. I am going to give up for now and try to see if I can get things working under Hyper-V or some other virtualization. Thanks to your help I at least still have a lead that I could search for, the chipset mismatch. Thank you very much for trying to help me debug this problem!
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] pbogdan opened pull request #32386: mono: re-enable parallel building (master...mono-parallel-build) https://git.io/vbccL
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jtojnar pushed 2 new commits to master: https://git.io/vbccm
<NixOS_GitHub>
nixpkgs/master 26293ba Jan Tojnar: phpPackages.box: init at 2.7.5
<NixOS_GitHub>
nixpkgs/master 7fcdd34 Jan Tojnar: phpPackages.php-parallel-lint: init at 0.9.2
NixOS_GitHub has left #nixos []
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] deepfire opened pull request #32387: buildkite: allow configuration and actual use of agent-specific hooks (release-17.09...buildkite-hook-configuration) https://git.io/vbccz
NixOS_GitHub has left #nixos []
zzamboni has joined #nixos
reallycooldude has quit [(Ping timeout: 268 seconds)]
hellrazo1 has quit [(Ping timeout: 248 seconds)]
<tnks>
I can't find the issue now, but I recall solutions like callCabal2nix were said to break Hydra caching.
<tnks>
Was that the case? Is it still the case?
ylwghst has quit [(Ping timeout: 252 seconds)]
ylwghst has joined #nixos
Slabity has quit [(Remote host closed the connection)]
<FRidh>
I could use patchelf manually, but that shouldn't be necessary
dieggsy has quit [(Quit: ERC (IRC client for Emacs 27.0.50))]
apurvapavaskar[m has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
drakonis_ has quit [(Read error: Connection reset by peer)]
hellrazo1 has joined #nixos
<tilpner>
When I change the src of a derivation, without changing the name of it, should it be rebuilt on the next use of it via nix-shell?
<FRidh>
tilpner: is src a local file, or is a fetcher used? If the latter, then if you did not change the hash, it will build using the fixed-output derivation that corresponds to that hash and will not rebuild.
ylwghst has quit [(Ping timeout: 255 seconds)]
<tilpner>
FRidh - Ah, damn. I was testing a PR, and kept the old hash :/
<tilpner>
Thanks! :)
johann__ has quit [(Quit: Leaving.)]
erasmas has joined #nixos
Slabity has joined #nixos
<ati-radeon>
avn: wow! I actually got it to work! I just tried "ati_unfree" after rebooting with kernel 4.4 and I had to remove tigervnc that apparently depended on some newer version's feature, but once I did that, I rebooted and now I have working output, yay!
<ati-radeon>
And the 4k display works without issue (the whole reason for changing graphics cards)
ssmike1 has joined #nixos
<ati-radeon>
Now it is just a matter of trying of cleaning my config, so only truly necessary settings are there, and I will try if maybe I can get 4.9 to work with ati_unfree as well
ssmike has quit [(Ping timeout: 264 seconds)]
ssmike1 is now known as ssmike
leat has quit [(Quit: WeeChat 1.9.1)]
typeggze1o has quit [(Quit: Lost terminal)]
orivej has quit [(Ping timeout: 248 seconds)]
jtojnar has quit [(Ping timeout: 276 seconds)]
szicari has quit [(Ping timeout: 268 seconds)]
petsa has quit [(Ping timeout: 252 seconds)]
leat has joined #nixos
joshuaks has joined #nixos
szicari has joined #nixos
typeggzero has joined #nixos
joshuaks has quit [(Ping timeout: 250 seconds)]
__Sander__ has joined #nixos
ma27 has joined #nixos
i-am-the-slime has quit [(Ping timeout: 240 seconds)]
nuncanada has joined #nixos
szicari has quit [(Quit: szicari)]
laggy_wifi has joined #nixos
vcunat has joined #nixos
laggy_wifi_ has quit [(Ping timeout: 255 seconds)]
Oida has quit [(Ping timeout: 260 seconds)]
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
roberth has quit [(Ping timeout: 240 seconds)]
Oida has joined #nixos
ma27 has quit [(Ping timeout: 255 seconds)]
ixxie has joined #nixos
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
erictapen has quit [(Ping timeout: 268 seconds)]
lsix has quit [(Quit: leaving)]
jb55 has joined #nixos
griff_ has quit [(Quit: griff_)]
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
__Sander__ has quit [(Quit: Konversation terminated!)]
vcunat has quit [(Ping timeout: 258 seconds)]
Turion has quit [(Ping timeout: 255 seconds)]
pie__ has joined #nixos
goibhniu has quit [(Ping timeout: 250 seconds)]
freddy has joined #nixos
freddy is now known as Guest96303
Guest96303 has quit [(Client Quit)]
i-am-the-slime has joined #nixos
ixxie has quit [(Ping timeout: 258 seconds)]
erictapen has joined #nixos
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
phdoerfler has joined #nixos
pxc has joined #nixos
Turion has joined #nixos
townsend_ has quit [(Ping timeout: 248 seconds)]
griff_ has joined #nixos
i-am-the-slime has quit [(Ping timeout: 250 seconds)]
<manveru>
damn... why do people keep putting shit into their gems :|
<NixOS_GitHub>
[nixpkgs] volth opened pull request #32389: qemu: fix bin/qemu-kvm on aarch64 + minor fixes (master...patch-76) https://git.io/vbcXc
NixOS_GitHub has left #nixos []
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
tmaekawa has joined #nixos
ThatDocsLady has quit [(Quit: Leaving)]
erictapen has joined #nixos
dieggsy has joined #nixos
pmeunier has quit [(Quit: leaving)]
pmeunier has joined #nixos
vcunat has joined #nixos
ssmike has quit [(Ping timeout: 255 seconds)]
aarvar has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
darlan has joined #nixos
akfp has joined #nixos
darlan has quit [(Client Quit)]
jensens has quit [(Ping timeout: 268 seconds)]
rihards has joined #nixos
danl1240 has joined #nixos
aloiscochard has quit [(Quit: Connection closed for inactivity)]
dupndrop has joined #nixos
pie_ has joined #nixos
pie__ has quit [(Remote host closed the connection)]
<avn>
ati-radeon: I am don't know why ati (free) wasn't work for you. But nice, that everything works now. Maybe later you will able to debug situation deeper, and make ati driver set works as well
<ati-radeon>
avn: Yeah, I think the free ATI driver should be preferred, because it is probably better maintained, but I am already super happy that I have some setup that works. I am definitely going to give the free ATI driver another try, but it is nice to have something to fallback on in the meantime
joshuaks has joined #nixos
<Yaniel>
is ati (free) the same as RadeonSI?
dan_b has joined #nixos
griff_ has quit [(Quit: griff_)]
stphrolland has joined #nixos
ma27 has quit [(Quit: WeeChat 1.9.1)]
joshuaks has quit [(Ping timeout: 250 seconds)]
<ati-radeon>
Yaniel: Good question, I have no idea actually, it could very well be the reason for the crash, needing radeonsi instead of radeon
<vcunat>
Yaniel: I think the case is that radeonsi is one of the drivers for the 3D part
<vcunat>
but what you specify for `videoDrivers` is one of the X driver names
tmaekawa has quit [(Quit: tmaekawa)]
<vcunat>
("ati", "amdgpu" for the typical free ones)
<ati-radeon>
When I grep my logs I do see radeonsi was being loaded at some point with "ati"
<vcunat>
and there's also the kernel part which is quite closely coupled with the 3D part (I heard)
Sonarpulse has joined #nixos
<Yaniel>
yeah, the amd dc patch
<ati-radeon>
But I doubt that is related to my relatively old card
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
dan_b has quit [(Ping timeout: 248 seconds)]
plakband has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
drakonis has joined #nixos
ylwghst has joined #nixos
stphrolland has quit [(Quit: leaving)]
Neo-- has quit [(Ping timeout: 255 seconds)]
abrar has joined #nixos
Guest2872 has quit [(Changing host)]
Guest2872 has joined #nixos
<plakband>
Is there a more idiomatic way of giving nix precedence over OS X than manually prepending another copy of ~/.nix-profile/bin to the path?
Guest2872 is now known as TweyII
<TweyII>
I'm trying to use Nix to establish a unified development environment across a bunch of machines, but depending on when I install it I get a different version of nixpkgs
<TweyII>
Is there a way to pin a channel to a particular revision?
<TweyII>
We'll update every so often of course, but we'd like to do so in sync
ris has joined #nixos
<tilpner>
TweyII - Yes, by not using nix-channel. You can use fetchFromGitHub to fetch a specific revision of nixpkgs, so that a git pull will upgrade your nixpkgs
<johnw>
my argument to overrideDerivation isn't a derivation somehow?
<johnw>
ah, ocaml-ng is a function, n/m
pxc has quit [(Quit: WeeChat 1.9.1)]
Guest47064 has quit [(Quit: WeeChat 1.9.1)]
m0rphism has joined #nixos
duncan^ has joined #nixos
thblt has joined #nixos
rihards has quit [(Quit: rihards)]
chpatrick has quit [(Quit: Connection closed for inactivity)]
hiratara has quit [(Ping timeout: 255 seconds)]
hiratara has joined #nixos
stphrolland has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
<stphrolland>
what is the good practice for removing old configuration entries in the grub menu generated by NixOs ?
erasmas has quit [(Quit: leaving)]
nallar has joined #nixos
<gchristensen>
nix-collect-garbage --delete-older-than to delete them, then run `nixos-rebuild boot`
<gchristensen>
to remove the entries
pie_ has quit [(Read error: Connection reset by peer)]
jeaye has joined #nixos
pie_ has joined #nixos
Ross has quit [(Ping timeout: 255 seconds)]
nallar is now known as Ross
orivej has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
georges-duperon has joined #nixos
<stphrolland>
done, 4GB freed. good !
<avn>
gchristensen: btw, are any ways to split GC from .links purging?
stphrolland has quit [(Remote host closed the connection)]
<boxofrox>
gchristensen: been trying to get my hands on a osx environment to troubleshoot that rust build error you linked to me last week, but I've not had any success on that front.
goibhniu has quit [(Ping timeout: 276 seconds)]
nixy_ is now known as nixy
<vcunat>
avn: you can ^C when it starts ;-)
stphrolland has joined #nixos
<vcunat>
(but I don't know why you would want to do that, except perhaps to save time with a slow rotating drive)
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
<akfp>
for complex builds can I have multiple fetchgit sources ?
<avn>
vcunat: I see ;)
coot has quit [(Quit: coot)]
iqubic has joined #nixos
<iqubic>
Does Nixpgks have any builds for Firefox Quantum yet?
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
<symphorien>
yes on nixos-unstable at least
<iqubic>
Why is that not on stable?
<iqubic>
Now I have to learn how to add a new channel to my nixos build.
<symphorien>
I have heard that the version of rust on stable does not allow this, but not sure
<iqubic>
And perhaps an overlay for Mozilla too.
<iqubic>
Firefox uses Rust?
<symphorien>
that's the quantum part ;)
stphrolland has quit [(Quit: leaving)]
<iqubic>
Oh,I see.
<Turion>
symphorien: Do they program quantum computers with rust? </joke>
<iqubic>
Well, I need to add the unstable branch to my nixos machine.
<iqubic>
I'm not at home, so I can't do that ATM
Itkovian has quit [(Quit: Textual IRC Client signing off)]
simukis has quit [(Ping timeout: 240 seconds)]
szicari has quit [(Quit: szicari)]
i-am-the-slime has quit [(Ping timeout: 255 seconds)]
stphrolland has joined #nixos
<vcunat>
iqubic: there's firefox-bin-57.* on 17.09 as well
<vcunat>
not source-compiled one yet
<vcunat>
but you can well use firefox from unstable/master on a 17.09 NixOS...
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
<iqubic>
I want Firefox Quantum on Nixos.
<tilpner>
iqubic - Try firefox-beta-bin
<iqubic>
Not sure how Firefox and Nixos interact with each other.
<iqubic>
tilpner: What does firefox beta bin do?
pie_ has quit [(Ping timeout: 250 seconds)]
stphrolland has quit [(Quit: leaving)]
<tilpner>
iqubic - IIRC it gives you what you asked for
<tilpner>
(on nixos-17.09)
<iqubic>
Cool. Is it on stable? Or will I need to get an Unstable branch?
<tilpner>
On current nixos-17.09 (so stable), firefox-bin is 57 (so quantum), and firefox-beta-bin is 58
<dhess>
Anyone here using NixOS for network packet capture?
<tilpner>
dhess - Does the occasional wireshark capture count?
<vcunat>
right, so you don't need beta to get quantum
<tilpner>
Correct
<vcunat>
dhess: yes, wireshark is your friend
<dhess>
tilpner: sorry, I should have been more specific. No, I meant more like continuous capture for an IDS or forensics etc.
hiratara has joined #nixos
<dhess>
vcunat: I'm talking about things like netsniff-ng etc.
<vcunat>
I only really have experience with capturing in order to debug network SW, so that's apparently not what you want...
<dhess>
vcunat: yeah sorry, I should have been more specific. Thanks anyway!
<vcunat>
dhess: nothing bad happened :-)
<dhess>
vcunat: oh good :)
Itkovian has joined #nixos
<dhess>
Anyway, I want to put something together that's like SecurityOnion, only on a NixOS host.
<dhess>
Before I discovered NixOS/NixOps I would have just installed SecurityOnion on a spare machine to play around with it, but now I can't be bothered :)
magnetophon has joined #nixos
dywedir has quit [(Remote host closed the connection)]
so has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
akfp has quit [(Read error: Connection reset by peer)]
iqubic has quit [(Ping timeout: 260 seconds)]
akfp has joined #nixos
pie_ has joined #nixos
justanotheruser has quit [(Ping timeout: 260 seconds)]
tokudan_ has joined #nixos
<tokudan_>
is there a way to use a more recent rust version in buildRustPackage in 17.09?
tg has quit [(Read error: Connection reset by peer)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
thblt has quit [(Ping timeout: 255 seconds)]
pie_ has quit [(Ping timeout: 264 seconds)]
erictapen has quit [(Ping timeout: 255 seconds)]
Ridout has joined #nixos
tokudan_ has quit [(Quit: Leaving)]
georges-duperon has quit [(Ping timeout: 264 seconds)]
<dhess>
gchristensen: oh speaking of which, now that macOS 10.13.2 is out, any easy way of upgrading a single-user macOS install to multi-user?
<ariutta>
It appears that's the default when you run the downloaded script
<dhess>
it is, but it will wipe out an existing install, I believe
<dhess>
I want to preserve /nix/store if possible
<ariutta>
Ah, gotcha. I don't know of any easy way, but if you have your nix build expressions, isn't trivial to rebuild?
<dhess>
trivial, yes. Time-consuming, yes. :)
dieggsy has joined #nixos
dieggsy has quit [(Client Quit)]
dieggsy has joined #nixos
drewr has quit [(Ping timeout: 258 seconds)]
<elvishjerricco>
dhess: you can probably nix-store --export anything you care about and nix-store --import it after the install
<dhess>
elvishjerricco: huh, I didn't know that command. Thanks.
MP2E has joined #nixos
<elvishjerricco>
dhess: Be careful to export full closures for everything. See `nix-store --help`
sigmundv has quit [(Ping timeout: 255 seconds)]
<dhess>
elvishjerricco: I had a question for you re: Haskell wasm... wish I could remember it now that you're here.
<elvishjerricco>
I'm usually around, whenever you remember it :)
<elvishjerricco>
Not super active in this channel, but I still get notifications from it
<dhess>
oh good to know, I don't see you chatting much here
<dhess>
ok cool
stphrolland has quit [(Quit: leaving)]
<dhess>
elvishjerricco: is there a better channel for that discussion?
<elvishjerricco>
dhess: Depends on the specific question. Potentially relevant IRCs that I'm in: irc.w3.org #webassembly, OFTC #llvm, freenode #ghc, #reflex-frp, #nixos.
<dhess>
yes, of course. Thanks
georges-duperon has joined #nixos
phdoerfler has joined #nixos
sigmundv has joined #nixos
<gchristensen>
elvishjerricco: should we ping you on llvm issues?:)
drewr has joined #nixos
<elvishjerricco>
gchristensen: Heh doubtful. I've somehow managed to get this far in WebAssembly stuff without committing to LLVM :P
<gchristensen>
:P
stphrolland has joined #nixos
<elvishjerricco>
gchristensen: I have been maintaining a cheap fork of `llvmPackages` over on wasm-cross, if you're interested. It's got some gross hacks for cross compiling, and the main purpose is to build LLVM / Clang from head, but I may have a relevant thing or two
<dhess>
gchristensen: I have several macOS systems running a single-user Nixpkgs install. They all use the same pinned nixpkgs and I have the same nix-env on all of them. One of Macs pushes a binary cache with this environment, and all the other single-user install Macs hit it when I update them.
<stphrolland>
just playing exploring a nodejs project, with lots of dependencies, I'd like to keep things clean, namely not having npm installing things in the long term. Is npm2nix, then nix-shell usage, the good way to go ?
<dhess>
gchristensen: but curiously, the one multi-user Nixpkgs install I have does not, despite everything else being the same. Is this expected?
ssmike has quit [(Ping timeout: 246 seconds)]
Neo-- has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
alexteves has quit [(Quit: My Mac Mini has gone to sleep. ZZZzzz…)]
<gchristensen>
seem strange
<gchristensen>
youmight need to restart the nix-daemon on the multi-user one?
<dhess>
that's what I thought
<dhess>
Why would that matter?
<gchristensen>
the nix-daemon reads the nix.conf on startup
michalrus_ has joined #nixos
drewr has quit [(Ping timeout: 250 seconds)]
ma27 has joined #nixos
<dhess>
oh well there is no (system-level) nix.conf on the single-user install Macs. I haven't installed nix-darwin or anything like that
michalrus has quit [(Ping timeout: 258 seconds)]
michalrus_ is now known as michalrus
akfp has quit [(Read error: Connection reset by peer)]
<gchristensen>
how did you setup the binary caches on the single-user ones?
akfp has joined #nixos
phdoerfler1 has joined #nixos
<dhess>
~/.nixconf/nix.conf and set NIX_CONF_DIR
<dhess>
same is true on the multi-user install machine, though
<dhess>
does nix-daemon merge them?
<dhess>
ohhhhh
<dhess>
ok
<gchristensen>
I didn't know you could put a nix.conf anywhere in ~/
<dhess>
I see. nix-daemon doesn't see my config
<dhess>
duh
<gchristensen>
:)
<dhess>
gchristensen: yeah you can. Anyway I just figured it out :) Thanks!
akfp has quit [(Read error: Connection reset by peer)]
akfp has joined #nixos
<dhess>
I love it when that happens -- "Hey help me with this problem. Oh never mind, while explaining it to you, I figured it out."
phdoerfler has quit [(Ping timeout: 240 seconds)]
* gchristensen
is now known as RubberDucky
<dhess>
elvishjerricco: Let's say I wanted to write a compiler for a little Scheme-like language, where the compiler is implemented in Haskell and the target is wasm. Are there any existing Haskell libs that can assist me with the AST->wasm bit?
<dhess>
or am I pretty much on my own for now?
tg has joined #nixos
akfp has quit [(Read error: Connection reset by peer)]
ryantrinkle has quit [(Ping timeout: 248 seconds)]
akfp has joined #nixos
<elvishjerricco>
dhess: There's this unactive repo, which has Haskell libraries for parsing, interpreting, and emitting (I think?) wasm: https://github.com/haskell-wasm/wasm
<elvishjerricco>
But in general, I'd recommend targeting LLVM
<elvishjerricco>
Then you can just use LLVM and LLD to compile and link modules
<dhess>
elvishjerricco: really, you think LLVM is going to get there soonish?
<elvishjerricco>
LLVM already has a wasm backend
<dhess>
or I guess it already does support wasm? I can't recall