<p4block74>
Hi, I'm packaging a python lib (multicore-tsne) but it attempts to run cmake on setup.py. Does anyone know of some other package I can look at to see how I should write my derivation?
alp has quit [Ping timeout: 260 seconds]
<p4block74>
(It has no cmakelists.txt)
<samueldr>
I think pie_ worked on wine with nix shenanigans
<lordcirth>
p4block74, if the cmake call is happening as part of buildPhase, you could try dontBuild = true; ?
<fatjedi[m]>
i’m currently unable to load my system after an update and i (stupidly) deleted all my previous generations. i keep getting loaded into emergency mode and it says
<p4block74>
lordcirth I just tried with that and there is no change to the "no cmakelists" error. Maybe the program itself is badly packaged
<fatjedi[m]>
kinda lost at the moment since all the help i find for that error are related to other distros
<p4block74>
fatjedi[m] I get that on every rebuild. I don't use lvm though. Tried to kill all lvm services but the initrd scripts call it and it's in general too ingrained into nixos
<lordcirth>
fatjedi[m], that warning is probably unrelated
<fatjedi[m]>
oh i see
<pie_>
samueldr: indeed-ish *checks scroll*
<lordcirth>
fatjedi[m], you have an emergency shell? Check dmesg
<fatjedi[m]>
it’s hard for me to tell what the real error is in journalctl
<samueldr>
lordcirth: searched for someone that wrapped a flake with a wineprefix or something along the line
<pie_>
im not sure reading that code will make any sense at all
<fatjedi[m]>
dmesg didn’t seem to provide other errors besides the lvmconfig issue. granted it was not very easy to read, so there’s plenty i could have missed in the logs
<fatjedi[m]>
i rebooted and it looks like there’s a previous generation i can boot too even though it didn’t let me rollback with nixos-rebuild
<pie_>
lordcirth: the main interesting things off the top of my head are the patches for having wine not complain about the prefix owner being different so it can be in the store, and the mess with trying to have some sort of writable overlay
<fatjedi[m]>
currently in a functional build now, but wondering how i can debug that generation build failure
<pie_>
lordcirth: but if you use nix-build to generate a script that deals with things in a working directory or whatever, at least that wont be an issue
<pie_>
lordcirth: which was actually my original approach
<p4block74>
I found that the offending package has the cmakelists on a subfolder, named with a slightly different name from the package
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
butcher_ has quit [Ping timeout: 256 seconds]
thelounge4787 has joined #nixos
thelounge4787 has left #nixos [#nixos]
zebrag has joined #nixos
metreo has quit [Quit: Leaving.]
<craige>
Morning NixOS people :-)
<lordcirth>
hi
<craige>
I've got a derivation I'm writing where I'm trying to set a src directory via json with "srcDir = builtins.toPath ( "./../${packageJSON.name}" );" but build keep telling me "string './../foo' doesn't represent an absolute path" yet when I just type that manually, it works. Any thoughts?
<lordcirth>
craige, remove the quotes so it's interpreted as a path
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.azure-mgmt-hdinsight: 1.6.0 -> 1.7.0 »: https://git.io/JUIuO
<pie_>
craige: i think topath is planned tto be deprecated anyway, but i might be remembering wrongm, so yeah probably just srcDir = ./../ + packageJSON.name i think
<lordcirth>
pie_, muahahaha it's alive!
<craige>
I'll try that. Thanks pie_
<pie_>
if you want to do a string in some other instance you can also ./ + "../${whatever}"
<pie_>
theres a case where you have to be careful with parenthesization but i dont remember off the top of my head
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.jwcrypto: 0.7 -> 0.8 »: https://git.io/JUIgX
orivej_ has quit [Ping timeout: 265 seconds]
ravndal has quit [Ping timeout: 264 seconds]
butcher_ has joined #nixos
butcher has quit [Ping timeout: 240 seconds]
thc202 has quit [Ping timeout: 240 seconds]
redmp has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixos-homepage] @samueldr pushed 14 commits to feature/2020-r/base-js: https://git.io/JUIgx
<{^_^}>
[nixpkgs] @khumba opened pull request #96515 → nixos/python-test-driver: add option to disable the linter without warning → https://git.io/JUI2m
ravndal has joined #nixos
zolk3ri[m] has joined #nixos
patagonicus3 has joined #nixos
<{^_^}>
[nixos-homepage] @samueldr opened pull request #507 → Implement base JS + responsive menu → https://git.io/JUI22
<zeta_0>
is now a good time too upgrade to the new stable and unstable nix channels ?
<zeta_0>
and will emacs27 be used in the new nix-stable channel ?
kenran has joined #nixos
kenran has quit [Ping timeout: 240 seconds]
<redmp>
what's the syntax for an inline patch in a nix expression? usually you can do `patches = [ ./path.patch ];` .. i thought there was a way to just inline the patch there?
<redmp>
i tried putting an empty string and also an empty attrset to see if the errors would guide me, but it didn't work.. searching through nixpkgs now
<bqv>
you can use pkgs.writeText
<bqv>
that will end up with the same result as if you had the file
butcher_ has quit [Ping timeout: 246 seconds]
<redmp>
iirc it was something like putting the text into an argument to a function like fetchpatch or fetch git
<redmp>
i'll try writetext
<bqv>
you don't need a fetch, if it's part of eval already
<redmp>
bqv: according to the source you linked, the code expects them to be included in the cabal package
<bqv>
exactly
<bqv>
they aren't included when nix builds them
<bqv>
that's the problem
<redmp>
h
<redmp>
hrm.. ok, i don't have experience with that.. my best guess is that whatever converts the cabalfile to a nix expression doesn't properly interpret the glob
<redmp>
how can i enter a nix-shell environment for a nixpkgs.builtEnv derivation?
S0rin has joined #nixos
zeta_0 has joined #nixos
<redmp>
if i have a `default.nix` that returns a `nixpkgs.buildEnv {..}` and i do `nix-shell` in that directory, the packages therein aren't present in the environment.. same for `nixpkgs.mkShell` .. am i using these tools wrong some how?
<clever>
redmp: that gives you a shell suitable for building the buildEnv, not for using it
kenran has joined #nixos
<clever>
redmp: you want default.nix to return a derivation that has buildEnv in the buildInputs
<clever>
or `nix-shell -p '(import ./.)'` which will dynamically generate one
<clever>
redmp: so when you try to run what i gave, it winds up giving you a shell suitable to build: stdenv.mkDerivation { name = "shell"; buildInputs = [ (import ./.) ]; }
justache has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
spudly- has joined #nixos
alp has joined #nixos
spudly has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUIir
<zeta_0>
i tried upgrading my stable nix-channel, but it's throwing an error, what's going on here? https://dpaste.org/ATfu
<cole-h>
NixOS 20.09 hasn't released yet
<cole-h>
Heck, it's still August/.
<zeta_0>
oh i thought that i could upgrade early, my mistake.
<cole-h>
You can (in a manner of speaking), but it's called unstable at that point.
<etu>
We haven't even created the 20.09 branch yet
<etu>
One can upgrade early by running on that channel before it's deemed as stable... but yeah, it's not there yet
<etu>
It's planned to branch it off on Friday next week
<zeta_0>
well, i need to upgrade emacs and it's packages, i got the emacs-overlay to work in home.nix, but it upgrades all the way to the latest version of emacs28, but i need emacs27, is there a way to explicitly state the emacs version, or will i need to find an old rev to go back versions? https://github.com/nix-community/emacs-overlay
<zeta_0>
and thanks for the info, i'll wait to upgrade nix stable channel later.
<{^_^}>
[nixpkgs] @freezeboy opened pull request #96527 → kigo: fix meta → https://git.io/JUI1M
<Taneb>
It looks like my work's Hydra server's hydra-queue-runner is leaking postgres connections. We're currently on an old version from a couple of years ago, if that could be relevant. Does anyone know what could be causing this?
<NobbZ[m]>
does someone know if I can get additional information of a flake in the flake, like current commit, tag, branch, describe, date of commit? And why I can't use `let … in …` in `flake.nix`?
thc202 has joined #nixos
o1lo01ol1o has joined #nixos
alexherbo2 has joined #nixos
malook has quit [Quit: malook]
dansho has joined #nixos
dansho has quit [Remote host closed the connection]
<bqv>
NobbZ[m]: inputs.self.rev
<bqv>
NobbZ[m]: inputs.self.shortRev
<bqv>
NobbZ[m]: inputs.self.lastModifiedDate
<bqv>
Etc
<bqv>
use instead; outputs = { }: let … in …
<{^_^}>
[nixos-homepage] @garbas pushed 2 commits to manual-structure: https://git.io/JUISK
<{^_^}>
[nix] @edolstra merged pull request #3847 → libutil/logging: extend `internal-json` logger to make it more machine-readable → https://git.io/JJWVo
philipp[m]1 has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
norbert[m]2 has quit [Quit: Idle for 30+ days]
MaJoe[m] has quit [Quit: Idle for 30+ days]
badmutex[m] has quit [Quit: Idle for 30+ days]
<NobbZ[m]>
Thanks bqv are those attributes documented somewhere? And with `let/in` I meant especially "global" ones. within `outputs` they do not really help me to "clean things up".
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUIS9
kreyren has quit [Ping timeout: 240 seconds]
chefkoch[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
<bqv>
You will not be able to have anything outside outputs anyway, and no I don't think theyre documented so far, check the nix source or explore with a repl maybe
<NobbZ[m]>
Seems as if they aren't even available :(
<NobbZ[m]>
At least not to me…
<kmplsv>
i dont give a crap, gotta drop this plug because i couldn't have done it without nix, if you like hip-hop and skateboarding and programming and or just nix? lemme know what you think, we're remastering it, and yes this is the same DJ premier that produced for biggie and nas - https://youtu.be/ecOKP4_lFsg
is_null has joined #nixos
<bqv>
NobbZ[m]: I may have got the last one wrong, but rev and shortrev should work
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUI72
noudle has quit []
zarkone has joined #nixos
fadenb has joined #nixos
<zarkone>
hi! i'm struggling with libstdc & graalvm: `java.lang.UnsatisfiedLinkError: /tmp/librocksdbjni6063190612685990316.so: libstdc++.so.6: cannot open shared object file: No such file or directory`
<zarkone>
here are bits from my shell.nix: ` buildInputs = [ pkgs.stdenv.cc.cc.lib pkgs.openssl pkgs.zlib clojureGraal pkgs.graalvm11-ee pkgs.maven ];`
<fadenb>
Hey, I am currently working on bumping all Elasticsearch related packages to a newer version. We currently package an Elasticsearch plugin called search-guard that does not seem to be available for the new version. Any advise on how to deal with that?
<zarkone>
i was thinking that having `stdenv.cc.cc.lib` is suppose to solve the problem..
<zarkone>
ah, i think i get it now (after posting of course!).. it seems like Kafka Streams copy this lib from somewhere so patchelf didn't touch this .so file
<o1lo01ol1o>
does anyone have an aws CloudFormation EC2 instance configuration they could share? It appears that I'm not able to configure the nixos to use the EBS volume correctly.
asymmetric has quit [Quit: Peace.]
asymmetric has joined #nixos
Alaura has joined #nixos
Alaura has quit [Max SendQ exceeded]
Alaura has joined #nixos
Alaura has quit [Max SendQ exceeded]
Alaura has joined #nixos
Alaura has quit [Max SendQ exceeded]
cosimone has quit [Quit: Quit.]
mananamenos has joined #nixos
mananamenos has quit [Client Quit]
cosimone has joined #nixos
mananamenos has joined #nixos
mananamenos has quit [Remote host closed the connection]
mananamenos has joined #nixos
mananamenos has quit [Client Quit]
lotharn has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @zowoq pushed commit from @saschagrunert to master « cri-tools: 1.18.0 -> 1.19.0 »: https://git.io/JUIdj
<{^_^}>
[nixpkgs] @maralorn pushed to haskell-updates « haskellPackages.composite-base: Mare unbroken to fix eval error »: https://git.io/JUIFe
<higherorder>
q3k[m]: ah, thanks! trying that now. While it's building: in nix why-depends's doc, I see packages referenced with `nixpkgs#...`. What's the meaning of # there? e.g. `nix why-depends nixpkgs#hello nixpkgs#glibc`
malook has joined #nixos
<q3k[m]>
i don't see #, i see .
<q3k[m]>
(looking at nix why-depends --help)
<q3k[m]>
and that's just a normal attset traversal .
mmohammadi9812 has quit [Ping timeout: 240 seconds]
malook has quit [Client Quit]
<martin___>
hi! I'm trying to update a go program I have to build with nixpkgs unstable instead of `20.03`, but I'm facing some issues that I don't really understand. For all of my dependencies, I'm getting an error message:
<q3k[m]>
(if you can get a stracktrace via gdb you should probably file an issue for this)
<q3k[m]>
(if there isn't one yet)
<higherorder>
q3k[m]: I'm afraid gdb is beyond my skillset :P But I just tried it on Nix 2.3.7 and didn't get the segfault, so it does seem to be an issue with Nix 2.4 (or at least the revision I'm on)
rardiol has joined #nixos
<q3k[m]>
higherorder: `gdb nix`, and in the gdb shell `run why-depends -f nix/default.nix "my-project.frontend" "my-project.backend"`
<q3k[m]>
that should work.
<q3k[m]>
then when it crashes and you get back to the gdb shell
<q3k[m]>
`bt` to print the backtrace (stack trace)
<FRidh>
@Taneb upgrading polkit will require a spidermonkey that no longer depends on Python 3. Unfortunately upstream released a tarball where tests don't function. cc @worldofpeace
rardiol has quit [Client Quit]
malook has joined #nixos
<higherorder>
q3k[m]: ha; thanks!
Jackneill has joined #nixos
malook has quit [Client Quit]
Jackneilll has quit [Read error: Connection reset by peer]
hiciu has joined #nixos
zarel has joined #nixos
kreyren has quit [Remote host closed the connection]
<higherorder>
q3k[m]: it seems to be hanging on `[New Thread 0xe03 of process 16282]`
<higherorder>
don't worry about it, I should probably first try to get the latest revision of Nix
<higherorder>
perhaps the bug has been fixed already
zarel_ has joined #nixos
<higherorder>
thanks for your help :)
zarel has quit [Ping timeout: 258 seconds]
rardiol has joined #nixos
<{^_^}>
[nixos-search] @hmaurer opened pull request #167 → switch from sass to less (css) → https://git.io/JUIbU
sgrunert has quit [Remote host closed the connection]
sgrunert has joined #nixos
alexherbo2 has quit [Ping timeout: 258 seconds]
sangoma has joined #nixos
kwork has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JUIbN
gxt has quit [Remote host closed the connection]
sreybastien[m] has joined #nixos
gxt has joined #nixos
<sreybastien[m]>
hi !
<sreybastien[m]>
Using nixos unstable, i found that grub2 doesn't mannage LUKS2 encryption. The grub nixpkg isn't updated to latest version which manage that since 2019 ?
<sreybastien[m]>
* hi !
<sreybastien[m]>
Using nixos unstable, i found that grub2 doesn't manage LUKS2 encryption lvm volume. The grub nixpkg isn't updated to latest version which manage that since 2019 ?
<ar>
sreybastien[m]: iirc grub only supports the old metadata format
hiro99 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @primeos pushed 3 commits to release-20.03: https://git.io/JUINA
vika_nezrimaya has joined #nixos
lotharn has quit [Remote host closed the connection]
lotharn has joined #nixos
<vika_nezrimaya>
Hi! I'm interested if anyone here uses the `specialisation` NixOS option set. What are your use cases? Can you show your configuration? What are the example use-cases for this option?
sputny has joined #nixos
xd1le has quit [Read error: Connection reset by peer]
is_null has joined #nixos
xd1le has joined #nixos
griff_ has quit [Quit: griff_]
butcher_ has quit [Remote host closed the connection]
sgrunert has quit [Remote host closed the connection]
kreyren has quit [Ping timeout: 240 seconds]
<LnL>
also keep-derivations, unless you make explicit roots for those
wolfshappen has quit [Quit: bye]
waleee-cl has joined #nixos
wolfshappen has joined #nixos
<{^_^}>
[nixpkgs] @tesq0 opened pull request #96544 → unityhub: fix editor with versions >= 2020.1.3f1 not opening → https://git.io/JUIpZ
sigmundv__ has quit [Read error: Connection reset by peer]
sigmundv__ has joined #nixos
ManiacOfMadness has quit [Ping timeout: 240 seconds]
<Taneb>
FRidh: that's a shame. I opened a PR a few days ago moving grub2 to use Python 3 by default, do you know who I should ping to get to look at this?
<{^_^}>
[nixpkgs] @tesq0 opened pull request #96545 → unityhub: update to 2.3.2 → https://git.io/JUIpw
<FRidh>
Taneb: worldofpeace is the polkit maintainer. There is a patch, but it requires us to use the upstream source instead of tarball, but I had trouble getting that to build
<FRidh>
oh, grub, I'll have a look
<Taneb>
Thanks
butcher has quit [Remote host closed the connection]
<severji>
Hi! Am I the only one who doesn't have access to Nix releases? I get 404 error when I try to download any of the tarballs: https://releases.nixos.org/?prefix=nix/nix-2.3.7/
severji has quit [Remote host closed the connection]
<ornxka>
theres a program that uses gstreamer and in its buildinputs it has gst_all_1.gst-plugins-base and gst-plugins-good but not gst-plugins-ugly or gst-plugins bad
<ornxka>
is there any particular reason youd include some but not others?
malook has quit [Quit: malook]
sputny has joined #nixos
ConsumeristProvo has joined #nixos
<ConsumeristProvo>
hello
<ConsumeristProvo>
how would I go about using a custom Emacs (built without GTK2 and 3, but with Athena widgets) that windowManager.exwm can use?
<ConsumeristProvo>
I tried using a nixpkgs overlay and fooling around with windowManager.session, but nothing seems to work
page has quit [Quit: leaving]
<sterni>
ConsumeristProvo: overlay and adding it to environment.system
<sterni>
Packages should be enough
<sterni>
maybe you have another emacs version somewhere in $PATH?
<ConsumeristProvo>
I don't see any packages attribute in here
<ConsumeristProvo>
I'm talking about emacs packages of course, not nix packages
<ConsumeristProvo>
although I think nixos provides emacs packages also
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<V>
just override whatever in emacsPackages?
<ConsumeristProvo>
sorry for being a dimwit, I don't quite understand nix fully yet, most of this is just cobbled together stuff from the internet and the guide
tobiasBora has quit [Remote host closed the connection]
dutchie has joined #nixos
superherointj has quit [Quit: Leaving]
<V>
I'm not sure exactly what you mean; the pastebin you provided looks correct enough
evzero has joined #nixos
evzero has quit [Client Quit]
tobiasBora has joined #nixos
<V>
But if you're overriding the exwm start command, you can just do `let pkg = (your overridden Emacs package here); in "eval `dbus-launch --exit-with-session ${pkgs.emacs}`"
<V>
`
<V>
There's no reason to mess around with overlays for this
<V>
Er
<V>
s/pkgs.emacs/pkg/
<V>
On phone, typing is hard
redmp has quit [Quit: leaving]
<ConsumeristProvo>
yeah V I want to add a package to emacs called exwm, windowManager.exwm has it's own emacs version with exwm already installed
<ConsumeristProvo>
but the version I create in the overlay has no such package
<V>
I'd need to get to a proper computer to check that
simonpe^^ has quit [Remote host closed the connection]
kreyren has quit [Ping timeout: 240 seconds]
<ConsumeristProvo>
there seems to be an emacsWithPackages but I'm not sure how to do that while also compiling a custom version...
davidv7_ has quit [Remote host closed the connection]
davidv7_ has joined #nixos
xd1le has quit [Read error: Connection reset by peer]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Thra11 has quit [Ping timeout: 240 seconds]
<arianvp>
clever: I do configurePhase but says "no configure script"
<arianvp>
then "buildPHase" fails with "Configuration file .config not found!"
<arianvp>
Please run "make menuconfig"
<arianvp>
but shouldnt that be part of configurePhase?
turlando has quit [Ping timeout: 258 seconds]
<arianvp>
nix-shell --pure '<nixpkgs>' -A linuxPackages_latest.kernel is the command im trying to do btw
Rusty1 has joined #nixos
<clever>
arianvp: when you run configurePhase, what directory are you in?
<clever>
arianvp: what does `echo $phases` say?
<clever>
arianvp: oh, right, i see your problem
<{^_^}>
[nixpkgs] @midchildan opened pull request #96553 → aribb25: init at 0.2.7 → https://git.io/JULUX
<clever>
arianvp: you need to eval "$configurePhase" (the override from the expr) not run configurePhase (the bash function of the same name, which is the default)
<clever>
arianvp: the simplest way to do everything, is to just run genericBuild
<clever>
that runs all phases, and deals with var vs function
<ConsumeristProvo>
hm... nothing seems to work with the emacs overlay
<ConsumeristProvo>
I tried doing a "start = let emacsWithPackages = (pkgs.emacsPackagesGen overlayemacs).emacsPackages; in "eval `dbus-launch --exit-with-session ${emacsWithPackages (epkgs: (with epkgs.elpaPackages; [ exwm ]))}"
<ConsumeristProvo>
but it doesn't work at all..
zupo has joined #nixos
mariatsji has joined #nixos
Thra11 has joined #nixos
alp has quit [Ping timeout: 272 seconds]
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
<{^_^}>
[nix] @edolstra pushed to master « Close stdin while running tests »: https://git.io/JULT3
nobrak has quit [Quit: Connection closed for inactivity]
Izorkin has joined #nixos
<{^_^}>
[nix] @edolstra pushed to master « nix develop: Add convenience flags for running specific phases »: https://git.io/JULk6
hiro99 has quit [Ping timeout: 258 seconds]
{`-`} has joined #nixos
Izorkin has quit [Client Quit]
mariatsj_ has quit [Remote host closed the connection]
rardiol has joined #nixos
Izorkin has joined #nixos
<Extends>
is nix profile the previous or the future version of nix-env ? seems more up to date and more convenient / edolstra seems to refering to it in his presentation of the flakes as a next command, but the wiki says it's the ancestor of nix-env
mariatsji has joined #nixos
is_null has quit [Ping timeout: 256 seconds]
<samueldr>
Mic92: (author of the page) did you mean ancestor as sharing the ancestry, though being newer?
<samueldr>
it wouldn't make sense otherwise, as the `nix` command itself is newer than `nix-env`, so `nix profile` cannot predate `nix-env`
<niksnut>
Extends: it's newer (but not feature-complete yet)
<Extends>
Ok nice, thanks! I'm waiting for an answer of mic92 to edit the wiki then.
<samueldr>
ah, I edited since we have the answer
<Extends>
super
<samueldr>
I'm chalking this up to making more sense in their native language :)
mariatsji has quit [Remote host closed the connection]
lordcirth_ has joined #nixos
lordcirth has quit [Ping timeout: 240 seconds]
is_null has joined #nixos
<o1lo01ol1o>
does anyone have an aws CloudFormation EC2 instance configuration they could share? It appears that I'm not able to configure the nixos to use the EBS volume correctly.
galagora has joined #nixos
reanimus has quit [Ping timeout: 260 seconds]
turlando has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lordcirth__ has joined #nixos
mariatsji has joined #nixos
lordcirth_ has quit [Ping timeout: 240 seconds]
Extends has quit [Remote host closed the connection]
lordcirth_ has joined #nixos
HeN has quit [Quit: Connection closed for inactivity]
lordcirth__ has quit [Ping timeout: 240 seconds]
o1lo01ol_ has joined #nixos
is_null has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/JULLp
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JULLj
ScottHDev has quit [Ping timeout: 256 seconds]
shibboleth has joined #nixos
justanotheruser has joined #nixos
metreo has quit [Quit: Leaving.]
afics has joined #nixos
cole-h has joined #nixos
MtotheM has joined #nixos
<MtotheM>
What is the most minimal way I can take advantage of the nixOS tools? would nix containers and vm's work even in a nixOS container?
turlando has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #nixos
<MichaelRaskin>
MtotheM: generally yes, and you also can just install Nix (it won't clash with stuff) and use it as an auxillary package manager
<MtotheM>
Are those tools really included in Nix? I wasn't able to find them when I checked out the standalone version. MichaelRaskin
<MichaelRaskin>
Which of the tools you want?
<MichaelRaskin>
They are not included in Nix; they are in the same repo as Nixpkgs, and you can build a NixOS VM on non-NixOS
<infinisil>
nature: SNM consists of a set of services, such as dovecot2, postfix, opendkim, etc.
<MtotheM>
VM's and Containers really. most useful ones for me.
<lordcirth__>
MtotheM, a NixOS VM is probably best
<infinisil>
nature: So the logs are under the systemd services of those
lordcirth__ is now known as lordcirth
<lordcirth>
Then you can run containers without issues
<MichaelRaskin>
You need to learn a slightly longer attribute path, then you can use build-vm just like on NixOS
<MichaelRaskin>
I believe nixos-container should work too provided your PID1 is systemd
sangoma has quit [Ping timeout: 265 seconds]
<MtotheM>
The big issue with running it as a VM is that I need to allocate so much memory to it. running it in a container would be ideal. my main goal isn't to use it as host. mostly for building vm's and containers for remote machines.
<MtotheM>
Testing things out before sending it off rather.
<MtotheM>
Thanks for your input, I'll see what I can do.
<MichaelRaskin>
This file contains Nix expressions that, among other things, build a very minimal NixOS VM and NixOS container using just nixpkgs and nix
<MtotheM>
What are things that would not be included? I thought the normal base install was only the NixOS tools Nix and Systemd.
<MichaelRaskin>
Well, a very minimal in terms of configuration
<MichaelRaskin>
Sure, coreutils and such are not forcibly removed
<MichaelRaskin>
(NixOS defaults to having some basic tools, be it cp or curl)
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of packages that have a non-free license »: https://git.io/JULtD
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JULt9
mariatsji has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @peti pushed 25 commits to haskell-updates: https://git.io/JULqf
<lassulus>
Maybe it would be cooler to enable less stuff by default and put it into the generated configuration.nix instead
demize has quit [Quit: Do Androids Dream of Electric Sheep?]
<infinisil>
lassulus: +1!
cjpbirkbeck has joined #nixos
kreyren_ has joined #nixos
<nicolas[m]1>
Hi, is there a way with pure/restricted evaluation to do something like the following "pkgs.callPackage "${pkgs.path}/pkgs/development/libraries/protobuf/generic-v3.nix" { }" ?
kreyren has quit [Ping timeout: 240 seconds]
demize has joined #nixos
<nicolas[m]1>
With "pkgs.path" resolving to nixpkgs in the /nix/store, this results in an error because store access is restricted
<buffet>
hey, whats the best practice for projects with submodules?
shibboleth has quit [Quit: shibboleth]
<buffet>
it seems not to clone them when using builtins.fetchGit
sigmundv__ has quit [Read error: Connection reset by peer]
sigmundv__ has joined #nixos
quinn has joined #nixos
<MtotheM>
oh. there isn't even an official nixos container image? only the package manager.
tokudan has quit [Remote host closed the connection]
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 265 seconds]
tokudan has joined #nixos
<{^_^}>
[nixpkgs] @romildo opened pull request #96558 → enlightenment.terminology: use absolute path to edje_cc → https://git.io/JULqX
<MichaelRaskin>
I believe there is nixery for container images
<lassulus>
Which is a registry and not an image? I guess there is nixos/nix on dockerhub
<bqv>
buffet: there is a fetchSubmodules = true
<buffet>
bqv, thanks
fendor has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @kampka opened pull request #96568 → PULL_REQUEST_TEMPLATE: Encourage maintainers to test cross-building → https://git.io/JUL3d
morr has quit [Quit: WeeChat 2.3]
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
Darkmatter66 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
morr has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
lsix has joined #nixos
nature has quit [Ping timeout: 240 seconds]
kreyren_ has quit [Ping timeout: 240 seconds]
lsix has quit [Quit: WeeChat 2.9]
<{^_^}>
[nixpkgs] @Profpatsch opened pull request #96569 → gonic: init at 0.11.0 → https://git.io/JULsG
<colemickens>
,find shasum
<{^_^}>
,find is temporarily unimplemented
<bqv>
colemickens: it's in coreutils
<{^_^}>
[nixpkgs] @mweinelt opened pull request #96570 → home-assistant: 0.114.3 -> 0.114.4, also init packages for samsungtv integration → https://git.io/JULsV
rardiol has quit [Ping timeout: 258 seconds]
<colemickens>
bqv: weird, also thx
rardiol has joined #nixos
alter2000 has joined #nixos
o1lo01ol_ has quit [Remote host closed the connection]
dansho has joined #nixos
Darkmatter66_ has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
Darkmatter66 has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @aszlig opened pull request #96571 → nixos/test-driver: Use guest time when using sleep → https://git.io/JULGl
geekthattweaks has quit [Quit: Connection closed for inactivity]
seku has quit [Quit: Connection closed]
philr_ has joined #nixos
cosimone has quit [Ping timeout: 240 seconds]
<samueldr>
ooooh, that could help a bunch when running on high contention machines
<samueldr>
oh, the previous driver already did that
<aszlig>
samueldr: mhm, had that on several tests even on very low load
<aszlig>
samueldr: test failures that is
<aszlig>
most of them tests for games, eg. to sleep for the intro animation
<samueldr>
oh, I know it's the correct thing to do :) I was kind of hoping it was a new improvement, though you said yourself it was already working that way on the perl driver
<samueldr>
games at your work I figure, right? that's neat to hear