<NemesisD>
nDuff: i wonder if there's a way to reverse this? i'm looking for what depends on this particular package in the closure. for some reason something is dragging *ghc* into my docker image
<nDuff>
Sure. Do you have that 165,000 lines of json? Do a textual search for the hash of the thing that's referencing ghc.
<nDuff>
...find the key the references are contained in; if you don't know why that thing is included, recurse.
<nDuff>
if I weren't busy, I could probably write some jq to automate the task.
<samueldr>
NemesisD: additionally, `nix why-depends` serves this purpose
<samueldr>
its --help may help
<iqubic>
Anytime I play a fullscreen video and I don't give any keyboard inputs or move the mouse for about 15 minutes, the screen goes black. I thought being in full screen was supposed to stop this from happening.
<samueldr>
no, the software has to hold the screen off from suspending
<samueldr>
I guess some WM could use the fullscreen hints and do the deed
<iqubic>
I see. So why doesn't Firefox do this?
<samueldr>
possibly because it's software, software that knows it has to hold the screen from suspending
<samueldr>
ah, I misread your sentence
<samueldr>
possibly because it's software, software that doesn't know it has to hold the screen from suspending
<iqubic>
No I mean, why doesn't Firefox hold off the screen from suspending when in fullscreen.
<iqubic>
How can I fix thi?
<iqubic>
*this
<samueldr>
that's not a nixos specific issue, if this help your search
<samueldr>
DPMS is the feature
tjg1 has quit [Quit: Bye.]
<iqubic>
I see.
boxscape has quit [Remote host closed the connection]
<iqubic>
How can I fix this?
<samueldr>
I have no solutin to offer, sorry, haven't tried the myriad proposals found on google with "linux firefox dpms"
<iqubic>
What is DPMS?
tjg1 has joined #nixos
<iqubic>
Also, what web browser do you use?
<samueldr>
the name of the feature in X11 (and I think the name of the standard) about display suspend
<iqubic>
I see.
<samueldr>
I dual wield preaching against monoculture of web browsers, any monoculture
<{^_^}>
[nixpkgs] @marsam opened pull request #67149 → mosml: fix build error on darwin → https://git.io/fjbua
<hpfr[m]>
How likely am I to run into issues with kernel patches made for the standard stable kernel if I use them in the kernelpatches option? I will have to roll my own kernel package, right?
c74d has left #nixos [#nixos]
<hpfr[m]>
Cuz I can’t count on the lines being the same?
<teto>
you can see the config via nix build linux.configfile -f channel:nixos-unstable
<hpfr[m]>
Well you can specify the version still. Is it added modules since linuxPackages uses the linuxPackagesFor function?
<teto>
hpfr[m]: linux_V_v is just the kernel, linuxPackages_V_v is a set of packages tied to a kernel (like `perf`, the nvidia modules etc)
<hpfr[m]>
Gotcha, just saw that in allPackages
<hpfr[m]>
But if I’m adding config I’m going to need an overlay on the basic linux_V_v and manually do modules
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
jgt has joined #nixos
dbmikus_ has quit [Ping timeout: 264 seconds]
<hpfr[m]>
Or no, I can do an overlay on the basic linux, but then set my linux package to linuxPackages and since I have the overlay set up it will apply linuxPackagesFor to my overlaid version? Sweet
<teto>
hpfr[m]: yeah, I prefer not to override the nixpkgs one though (can lead to some ocnfusion later on)
<hpfr[m]>
Wdym
<teto>
does nixops master work nixos-unstable ? I get some errors about options-db.xml
<samueldr>
hpfr[m]: linuxPackages(.*) are the packages built with the kernel linux\1 as input
<samueldr>
(if you excuse the regex)
<samueldr>
packages that require the kernel as input, like modules
<samueldr>
that's what we have instead of dkms, in a way
<hpfr[m]>
Linux\1?
<teto>
also on unstable, seems like rebuilds fuck up systemd, like I can't run systemctl reboot etc because processes are `dead`
<samueldr>
hpfr[m]: sorry if it was confusing, I tried to explain using a regex capture group :)
<samueldr>
linuxPackages* are the packages built with linux* as input, where * is the same wildcard
not-joepie91 has joined #nixos
not-joepie91 has quit [Changing host]
not-joepie91 has joined #nixos
<samueldr>
so linuxPackages_rpi use linux_rpi as input
jgt has quit [Ping timeout: 252 seconds]
rsoeldner_ has joined #nixos
<hpfr[m]>
samueldr: Oh yeah I know some regex but forgot the \1, never really used that feature haha
<samueldr>
no worries, tried to be cheeky and it backfired on me :)
<hpfr[m]>
And yeah I see that in allPackages, it uses the linuxPackagesFor to set up the modules
selfsymmetric-mu has quit [Remote host closed the connection]
drakonis_ has joined #nixos
drakonis is now known as drakonis1
growpotk- has joined #nixos
drakonis_ is now known as drakonis
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
drakonis1 has quit [Ping timeout: 250 seconds]
<hpfr[m]>
If I had a package not in an overlay, that’s when I would use pkgs.callPackage instead of just pkgs.${packageName}?
dansho has quit [Ping timeout: 258 seconds]
selfsymmetric-mu has joined #nixos
<samueldr>
callPackage is used to do dependency injection in derivation files defined to be callPackageable
<samueldr>
(a function with expected inputs, returning a derivation)
<samueldr>
so, I think the answer to your question is "no"
<hpfr[m]>
I see it most often with an empty set tho
<samueldr>
,callPackage
<{^_^}>
If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<samueldr>
callPackage expects a file, and a set of overrides
<samueldr>
this way you can callPackage ./some-fancy-expr.nix { qt5 = qt511; } # does not work with qt 5.12 for now
<samueldr>
and the file is defined with { qt5, ... }: ...
<clever>
iqubic: it lands in /etc/bashrc, and gets ran at the usual time by bash
<iqubic>
I assume zsh.interactiveShellInit = "..."; does the same for zsh.
<clever>
probably
felixfoertsch has quit [Quit: ZNC 1.7.3 - https://znc.in]
<iqubic>
but putting setting that value in both configuration.nix and home.nix doesn't work. Because when both /etc/zshrc and ~/.zshrc exist zsh only reads ~/.zshrc
felixfoertsch has joined #nixos
<iqubic>
So I need to just pick a location and put all my zsh config in that location.
<clever>
iqubic: your ~/.zshrc could just source /etc/zshrc
<iqubic>
Not really. Because when home-manager sees that home.nix gives a value for zsh.interactiveShellInit it overwrites whatever the current ~/.zshrc is.
<clever>
and the code you give to home-manager could source the one in etc
<iqubic>
So I'm just going to move it all to configuration.nix so that when I do 'sudo su' I get my own personal zsh config.
<clever>
use `sudo -i`, not `sudo su`
<iqubic>
Why?
<clever>
sudo and su do basically the same thing, its like `sudo sudo`
<clever>
pick one tool and stick to it, dont mix identical tools :P
<{^_^}>
[nixpkgs] @ldelelis opened pull request #67160 → vimPlugins.defx-nvim: init at 1.0 → https://git.io/fjbaY
<iqubic>
I've been using 'sudo su' for the past 2 years and that's never failed me.
<EsperLily>
`echo $(echo $(cat filename))` works for me! Why change it now?
<clever>
`sudo -i` does the same thing, try it
<clever>
EsperLily: exactly :D
liberiga has quit [Ping timeout: 260 seconds]
<iqubic>
Just do "cat filename"
sb0 has quit [Quit: Leaving]
<EsperLily>
...exactly
<EsperLily>
Does anyone know what creates the initial /etc/nix/nix.conf (on non-nixos)? I can't figure it out
<EsperLily>
both of my single-user darwin machines have one.
<EsperLily>
this question was prompted by the fact that their contents are different. I think my laptop had a leftover one from an older multi-user install because it defined build-users-group
<clever>
i dont think single-user ever makes it
<EsperLily>
my laptop defined that, max-jobs = 32, cores = 1, sandbox = false. My desktop has max-jobs = 32, cores = 3, sandbox = false, and extra-sandbox-paths = a few paths including /System/Library/Frameworks which is required to be whitelisted on darwin because darwin has certain impurities here
<EsperLily>
(what motivated this discovery was me trying to do a nix-review on my laptop, which does a sandboxed build, and having it fail due to said impurities since my laptop didn't have the extra-sandbox-paths)
<EsperLily>
come to think of it, I'm not sure why extra-sandbox-paths is necessary anyway, doesn't __impureHostDeps exist to let derivations punch holes through the sandbox? I'd have thought stdenv would just set __impureHostDeps appropriately
<clever>
same, havent looked into why, i try to avoid darwin
<iqubic>
What happens if I have two different definitions of zsh.interactiveShellInit in my configuration.nix?
<clever>
iqubic: look both up on here, click the declared in link
<iqubic>
I was just about to dig into that.
<iqubic>
initExtra doesn't show up in that list.
<iqubic>
It must be a home-manager only thing.
<clever>
then check the home-manager source
<iqubic>
I see.
<iqubic>
interactiveShellInit is to configuration.nix as initExtra is to home.nix
<iqubic>
Different names for the same thing.
<iqubic>
So, I'm trying to find the format for zsh.aliases. The drop down list of info for that tells me to look at enviroment.shellAliases. But when I search that up and try to look at the drop down info, I just can't.
<iqubic>
What the hell is going on here?
<clever>
iqubic: hit f12, look at the js console
<clever>
iqubic: then try again in `man configuration.nix`
<srhb>
It'll read ~/.zshenv, then, if it's a login shell, /etc/zprofile and ~/.zprofile, then, if it's interactive, /etc/zshrc and ~/.zshrc
<srhb>
iow both /etc/zshrc and ~/.zshrc are used, one is not a replacement for the other
<iqubic>
I want to have a blank .zshrc and have all my configurations come from /etc/zshrc, which will be managed by nixos, and peppered with a little bit of stuff from my configuration.nix
<srhb>
iqubic: I'd bet there's a flag to disable the check for the user file.
<srhb>
I wouldn't bet a lot, but a little bit. ;-)
<iqubic>
I didn't find one when I searched the nixos options.
<srhb>
I doubt it's in the nixos options, you'll have to read the zsh manuals :)
<iqubic>
I see.
rsoeldner_ has joined #nixos
<Miyu-chan>
What's the most comprehensive completion for Nix?
<Miyu-chan>
Any editor.
<srhb>
iqubic: Looks like defining zsh-newuser-install() {} in /etc/zshenv will do the trick
<srhb>
hpfr[m]: Yes, you want overrideAttrs, not override.
<srhb>
hpfr[m]: override overrides the arguments given to the derivation, and it does indeed not take patches, but { stdenv, fetchFromGitHub, autoreconfHook, glib, pkgconfig, udev, libgudev }
<srhb>
hpfr[m]: overrideAttrs overrides the attributes of mkDerivation, where patches exists and has special meaning.
<hpfr[m]>
Oh, thanks! Seems like override should be overrideInputs or something but I don’t claim to be a package management guru haha
<srhb>
It doesn't matter in this case, and you might want to call oldAttrs _ instead to make it clear you're not using it.
freeman42x[m] has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
<srhb>
hpfr[m]: The reason being that the overrideAttrs is a.. Let's call it a shallow merge, so overriding any attribute will simply lose the old value if you don't explicitly do something with it
<hpfr[m]>
Makes sense
<srhb>
(Besides, the type would simply be wrong if you didn't pass such a function to overrideAttrs)
<hpfr[m]>
Would it still be wrong if I had enclosed patches in curly braces to make it a set with just patches attribute
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb>
hpfr[m]: Yes, overrideAttrs takes a function (AttrSet -> AttrSet), not just an AttrSet
<srhb>
Unlike override.
zupo has joined #nixos
<hpfr[m]>
Oh ok perfect got it now thanks
<hpfr[m]>
Well, now I get an error saying attribute patches is missing
<srhb>
Right, the original libwacom does not have patches defined, so you'd want to either not use oldAttrs.patches OR use `oldAttrs.patches or [] ++ ...`
<srhb>
Meaning use oldAttrs.patches if it exists, otherwise the empty list, concatted with [ ... ]
<hpfr[m]>
What was the thing you mentioned before with the underscore?
<srhb>
jollyjester: If you read the first line of the first example on the wiki page, it says: $ nix-shell -p binutils stdenv wget dpkg nix-index stdenv.cc # stdenv.cc is required for setting $NIX_CC env
<srhb>
So for explorative purposes you might want to stick to the guide :)
<srhb>
(even though you won't need it all)
glowpelt has joined #nixos
<jollyjester>
yep getting it now
<jollyjester>
it's starting to work
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @dasj19 opened pull request #67181 → nixos/xserver: refactor/fix xml tags for keyboard layout overrides → https://git.io/fjbo8
___laika has quit [Ping timeout: 272 seconds]
veske has joined #nixos
Ariakenom has joined #nixos
xkapastel has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
gxt has joined #nixos
zupo has joined #nixos
freeman42x has joined #nixos
dasj19 has joined #nixos
nakkle has joined #nixos
nexgen has quit [Ping timeout: 246 seconds]
freeman42y has joined #nixos
nexgen has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
mexisme has quit [Ping timeout: 264 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
rsoeldner_ has quit [Quit: Leaving]
rsoeldner has joined #nixos
___laika has joined #nixos
nexgen has quit [Ping timeout: 244 seconds]
freeman42y has quit [Ping timeout: 252 seconds]
thc202 has joined #nixos
domogled has joined #nixos
joshuagl has joined #nixos
o1lo01ol1o has joined #nixos
Tucky has quit [Quit: WeeChat 2.5]
orivej has joined #nixos
v0|d has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace pushed to master « graalvm8-ee: use callPackage »: https://git.io/fjb61
orivej has quit [Ping timeout: 248 seconds]
grischeg has joined #nixos
<grischeg>
Hey. I want to create a folder "/var/lib/user-storage" with "chmod :mygroup /var/lib/user-storage" and "chmod 1575 /var/lib/user-storage". Can I do this somehow in the /etc/nixos/configuration file?
<joepie91>
grischeg: I don't know if there's a dedicated method for this, but you could probably do it hackily by creating a oneshot service that does this
<{^_^}>
[nixpkgs] @j-piecuch closed pull request #63719 → lib: add applyOptional field to options, use it in mkAliasOptionModule (fixes #63693) → https://git.io/fjw5c
gxt has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
___laika has quit [Ping timeout: 272 seconds]
Yakulu has left #nixos ["Error from remote client"]
xkapastel has quit [Quit: Connection closed for inactivity]
<tilpner>
Zer0xp: You can get the latest version by using unstable, the even more latest version by using master, and usually any version you want with overrideAttrs
an9wer has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<Zer0xp>
tilpner: Can I use overrideAttrs with the stable version of NixOS ?
jtojnar has joined #nixos
<tilpner>
Sure
<Zer0xp>
Okay and how do I can implement this ?
<Zer0xp>
do I implement*
fusion809 has quit [Remote host closed the connection]
<Zer0xp>
tilpner: Could you give me an example for usage ?
<tilpner>
Which package do you want to change the version of?
<Zer0xp>
adobe-reader, for now
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Zer0xp>
Actually, nevermind that, I just found out that that was the latest version from 6 years ago.
<tilpner>
So 9.5.5-1 is the newest one?
<Zer0xp>
Yes, it is.
<{^_^}>
[nixpkgs] @xbreak opened pull request #67186 → libyamlcpp: Disable build & install of Google Test → https://git.io/fjbX5
<tilpner>
Okay, another package?
<Zer0xp>
tilpner: I assume Adobe has discontiued support for Linux.
<Zer0xp>
Sure
<Zer0xp>
postman
<tilpner>
master has postman-7.0.7, and you want 7.5.0?
<Zer0xp>
tilpner: Currently the NixOS package repositry has 6.7.3 so anything newer than that which can be installed would be great.
<tilpner>
Wrong, your channel has 6.7.3, unstable has 7.0.7
<Zer0xp>
Yea stable does
<Zer0xp>
So I want the latest one without switching to unstable
<tilpner>
Sure, do you know how to use overlays?
<Zer0xp>
No
<tilpner>
You are on NixOS, right? You can use nixpkgs.overlays to set overlays
<jophish>
I'd like to use the aarch64 machine for some armv7 builds. Up until now I've been patching uname to return the correct machine type, but it sounds as though qemu might be a better way to go about this
<jophish>
Does anyone have a qemu invocation which I could use to save me the trouble?
<Zer0xp>
tilpner: Yes, I'm on NixOS. Do I add that in my configuration.nix file ?
<gchristensen>
jophish: I've seen talkk about that in #nixos-aarch6
<gchristensen>
4
<jophish>
I tried a few months ago, but ran into some qemu bug and was neglectful in saving the work I did :)
<jophish>
gchristensen: I'll ask there too, thanks!
zmlww has quit [Quit: Bye!]
<tilpner>
Zer0xp: Here is the overlay that will change postman to use 7.5.0: https://tx0.co/j9g
costrouc has joined #nixos
gxt has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Zer0xp>
tilpner: Where do I add that overlay ?
<tilpner>
Zer0xp: If you add nixpkgs.overlays = [ (import ./postman.nix) ]; to your configuration.nix, where postman.nix is the paste I just sent, using postman in users.users.zer0xp.pacages will use the overlayed package
bakakuna has joined #nixos
<tilpner>
Zer0xp: I haven't run the updated postman, if it gained new dependencies, it will be much harder to update. That is mostly because postman is not built from source
___laika has quit [Ping timeout: 244 seconds]
<Zer0xp>
tilpner: So do I replace ./postman.nix with the paste ?
<vika_nezrimaya>
hello :3 I'm preparing another patch for cross-compilation
gxt has quit [Ping timeout: 260 seconds]
<vika_nezrimaya>
if this thing compiles correctly, I'm gonna be very happy... But! I haven't found a way to say "only set a custom configurePhase if a certain condition is met"
jgt has joined #nixos
<vika_nezrimaya>
Can you please point me in the right direction? What is the default configurePhase? if I pass null, will it use the default?
rsoeldner has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @flokli merged pull request #66762 → python3Minimal: Add top-level for a minimal Python 3 build → https://git.io/fjFf2
<vika_nezrimaya>
gchristensen: checking reproducibility of builds is the intention. That's a sign that (if the package build is indeed reproducible) the substitute server isn't doing anything malicious. That'll be slow though :3
<vika_nezrimaya>
Hm
<gchristensen>
vika_nezrimaya: right, so I run r13y.com which works on this
<vika_nezrimaya>
Maybe run the build three times - two local builds and one substitute fetch and compare all three
<vika_nezrimaya>
if two local builds are different, package is not reproducible. If the substitute is different and local builds are identical, means substituter is evil :3
<gchristensen>
not necessarily, no
<tilpner>
vika_nezrimaya: Two consecutive local builds won't even catch an embedded date
<gchristensen>
two local builds won't catch detected CPU features
<tilpner>
You need different dates at least, and different machines
<gchristensen>
and different kernels
<tilpner>
(Ideally different years, but that's asking a bit much)
<tilpner>
(When's that time namespacing coming to Linux again?)
<vika_nezrimaya>
so r13y runs builds on two separate servers?
<vika_nezrimaya>
or do you cheat and use QEMU? :3
<drakonis>
soon i think?
<tilpner>
vika_nezrimaya: It compares against Hydra builds, which run on different machines
<gchristensen>
vika_nezrimaya: r13y.com runs builds only once, on one system. the second build it is compared against is from the nixos binary cache
<drakonis>
it came up again in the mailing lists this year
<tilpner>
Time namespacing would eliminate the entire class of "oh no, they embedded the date in the manpages again"
<gchristensen>
not if you want reproducible builds on macos too
<tilpner>
But of course it'll be a while until it's in linuxPackages_latest, used by Nix, and all the builders have a supported kernel :/
<gchristensen>
(in other words, doing the hard work pays off elsewhere)
<Baughn>
Today's mystery. (I'm probably failing to read this correctly.)
<drakonis>
until apple breaks everything up?
<Baughn>
On channel:nixos-19.03, `nix build -f nixos/tests/zfs.nix` succeeds, but `nix build -f nixos/tests/zfs.nix stable` fails with an SPL build error.
<Baughn>
But the latter should be a subset of the former?
<Baughn>
Lest you think it's just not running the tests, in the former case... no, it's running the tests. I can see the output.
<Baughn>
(Also, I can use `nix build -f channel:nixos-19.03 hello` to get a copy of GNU Hello, mail client included. But how on earth do I refer to nixos/tests/zfs.nix inside that channel?)
<vika_nezrimaya>
Does uwimap even have a maintainer? I wasn't able to find them listed in meta.maintainers :c
__monty__ has joined #nixos
aswanson has quit [Ping timeout: 250 seconds]
<gchristensen>
then no :)
ericsagnes has quit [Ping timeout: 250 seconds]
Ultrasauce has quit [Ping timeout: 250 seconds]
drvirgilio has quit [Ping timeout: 250 seconds]
jasonrm has quit [Ping timeout: 250 seconds]
<vika_nezrimaya>
first lua turns out to be orphaned, then uwimap
Ultrasauce has joined #nixos
<vika_nezrimaya>
at least freetalk seems to have a maintainer
<vika_nezrimaya>
I'm gonna ping them once I get a successful build
drvirgilio has joined #nixos
mingc has quit [Ping timeout: 250 seconds]
aswanson has joined #nixos
<vika_nezrimaya>
Question about PHP. mhash module is obsolete, why we're building PHP with it by default? Asking because cross-compilation of said module is broken :3
<{^_^}>
[nixpkgs] @basvandijk merged pull request #66728 → rls: tie version to rustc's → https://git.io/fjdPh
<vika_nezrimaya>
etu: aanderse: testing the new PHP change using nix-review. I'm really paranoid about breaking packages 😓
<vika_nezrimaya>
this is my first time actually doing this...
mawis has joined #nixos
wfranzini has quit [Remote host closed the connection]
<vika_nezrimaya>
does nix-review require a lot of disk space on /nix/store?
<GiGa>
vika_nezrimaya: What version of php / change is it that you're making?
<vika_nezrimaya>
I'm disabling mhash in PHP globally by default as it is obsolete. The reasoning will be provided in the PR, assuming that the nix-review part will not fail
Lears has joined #nixos
<aanderse>
vika_nezrimaya: sounds good, just cc me when you open the PR :)
<GiGa>
vika_nezrimaya: Sounds good
Ariakenom has joined #nixos
<vika_nezrimaya>
aanderse: ok :3
___laika has quit [Ping timeout: 244 seconds]
dasj19 has joined #nixos
fendor has joined #nixos
<sphalerite>
freeman[w]: A, did you use nixos-generate-config --root /mnt, and B, is hardware-configuration.nix still in the imports in configuration.nix?
vika_nezrimaya has quit [Read error: Connection reset by peer]
vika_nezrimaya has joined #nixos
<freeman[w]>
tilpner, sphalerite I made a lot of changes using gparted so I got different issues now :( but I still can't get correct way to insall NixOS, the install instructions do not work
chkno has joined #nixos
<vika_nezrimaya>
it seems like my machine is gonna OOM
<vika_nezrimaya>
Or it alrwady did
<sphalerite>
freeman[w]: you'll need to be more specific about how it doesn't work for us to be able to help you
<{^_^}>
[nixpkgs] @abbradar pushed commit from @r-ryantm to master « thermald: 1.8 -> 1.9 »: https://git.io/fjbHI
<vika_nezrimaya>
seems like nix-review requires lots of RAM
<vika_nezrimaya>
More than I have
<freeman[w]>
sphalerite, "you'll need to be more specific about how it doesn't work for us to be able to help you" D'oh! for now I'm trying to figure it out myself, will ask when I got something concrete
<GiGa>
vika_nezrimaya: How much RAM do you have?
<vika_nezrimaya>
6G
<sphalerite>
freeman[w]: aah ok :)
<vika_nezrimaya>
+4G swap on a rwally slow drive
<freeman[w]>
like for example: is there any tutorial for installing NixOS that works and is using Gparted for formatting?
<freeman[w]>
preferably for installing in a virtual machine - not sure if the BIOS is UEFI or MBR
<GiGa>
freeman[w]: Sounds like what you're after is a separate Gparted tutorial?
<vika_nezrimaya>
@freeman usually if your VM has UEFI you'll know about it :3
<vika_nezrimaya>
so it probably is BIOS
<freeman[w]>
GiGa, no, I know how to use Gparted, I do not know what NixOS wants me to partition though
<GiGa>
vika_nezrimaya: What is it you're trying to run nix-review on? I have 18GB RAM here
<vika_nezrimaya>
GiGa: I... toggled one option on PHP
<GiGa>
freeman[w]: In my experience, NixOS doesn't care so long as you have one at least one partition as you just install everything in that
<GiGa>
vika_nezrimaya: If you've got a repo I can check out, and can tell me how to run nix-review I'm happy to see if 18GB is enough? Feel free to /msg me.
<vika_nezrimaya>
@freeman I'd recommend doing one for / (at least 64G, more if you want to do a lot of builds) and one for /home
<freeman[w]>
GiGa, I tried a bunch of combinations, trying to copy as well as possible what the manual says with Gparted since just running the manual commands failed
mexisme has joined #nixos
<freeman[w]>
vika_nezrimaya, it's a VM so I do not care about having a /home one
<vika_nezrimaya>
GiGa: oh, seems like the memory-bound part is over
<vika_nezrimaya>
@freeman then create one big lumpy / partition formatted as ext4
<GiGa>
freeman[w]: can you put it on pastebin or something for us? Your configuration can't be built as there's an issue with your display-manager choice by the looks of it (correct me if I'm wrong @clever )
<clever>
freeman[w]: you didnt set services.xserver.enable
<hpfr[m]>
Is it possible to override a kernel config option with extraConfig, or can you only add non default ones? In the generic.nix file it looks like it does a simple concatenation
<exarkun>
niso: Thanks. Does having a `nix` section make any difference to anyone using stack on not-NixOS?
zfnmxt has joined #nixos
<niso>
exarkun: idk
<niso>
exarkun: there is also a --nix cli parameter for stack
pie_ has quit [Ping timeout: 250 seconds]
shibboleth has joined #nixos
endformationage has joined #nixos
fresheyeball has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fresheyeball>
anyone have experience with bluetooth on nixos?
<fresheyeball>
I am considering getting bluetooth headphones for my desktop computer, but I am worried it's going to be bigtime pain
<zfnmxt>
fresheyeball: I have them, it's basically zero config and just works.
<devalot>
fresheyeball: I use KDE + xmonad and bluetooth works great for me.
<zfnmxt>
devalot: How do you handle disconnecting/reconnecting?
<devalot>
zfnmxt: What do you mean? Pulseaudio automatically switches to the most recently connected device (most of the time)
<fresheyeball>
devalot: hiya!
<devalot>
fresheyeball: Howdy!
bakakuna has quit [Ping timeout: 258 seconds]
hamishmack has joined #nixos
<zfnmxt>
I meant literally how do you connect.
<exarkun>
fresheyeball: My experience is also that it mostly just works. I did have to run a bluetoothctl once in a while when a device really wanted to be paired with my phone instead of my laptop but it's not too bad.
<exarkun>
(then I switched to wired headset)
<zfnmxt>
e.g. I use bluetoothctl with an xmonad binding. Since you're also on xmonad, was just curious.
johnw has quit [Ping timeout: 264 seconds]
<exarkun>
niso: Thanks
<devalot>
I let KDE and pulseaudio do most of the work.
<niso>
exarkun: yw
<devalot>
If I want to change to another device I use the bluetooth widget in the status bar/panel.
o1lo01ol1o has quit [Remote host closed the connection]
<zfnmxt>
Oh, right.
<fresheyeball>
how do I find out what my motherboard model?
<fresheyeball>
is there a cli way?
<fresheyeball>
nevermind
<fresheyeball>
I did nix-shell -p hardinfo --command hardinfo
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amir has quit [Remote host closed the connection]
nabla has quit [Quit: WeeChat 2.4]
<Thra11>
If I boot the nixos sd-image, then copy the image to some internal storage, is it possible to re-trigger the autoResize bit that resizes the partition to fill the disk?
amir has joined #nixos
<clever>
,locate growpart
<{^_^}>
Found in packages: cloud-utils
<clever>
Thra11: you probably want that util
<Thra11>
How does the x-nixos.autoresize get set and unset, such that it only happens on first boot?
<clever>
Thra11: it may have been set when building the image, but is not present in the configuration.nix included inside the image
<ElectricJanice>
So im giving nixos another shot but im running into a major road block where nixos-install cant bind mount stuff from the store.
<ElectricJanice>
sudo nixos-installbuilding the configuration in /mnt/etc/nixos/configuration.nix...error: while setting up the build environment: unable to bind mount '/mnt/nix/store/mf8va3r7ci4nlxqzw85vwks4whywcmbk-append-initrd-secrets.drv.chroot': Permission denied
<gchristensen>
hmm are you in a nix-shell, ElectricJanice?
<gchristensen>
maybe could try `cat /dev/USBDISK | sha256sum -` and see what we get
ElectricJanice has joined #nixos
<ElectricJanice>
Keeps dropping connection :(
<srhb>
We were just talking about that there's some thin evidence that it might occur with faulty usb install media
<clever>
gchristensen: it will likely read beyond the end of the iso file, if the usb stick is bigger
<srhb>
But...
<srhb>
Frankly that seems weird in itself.
<ElectricJanice>
usb is solid. Used in the past to install nixos and other linux distros
<gchristensen>
ElectricJanice: the current theory is maybe your USB disk is bad, try hashing the content of the USB disk: sudo cat /dev/sda1 | sha256sum -
<srhb>
Unfortunately the logs that explained how we reached that conclusion are timed out from old age
<gchristensen>
oops
<gchristensen>
sudo cat /dev/sda | sha256sum -
<symphorien>
ElectricJanice: (just in case, there are logs of the channel, see the url in the topic)
<gchristensen>
that is of course assuming /dev/sda is your USB disk
<gchristensen>
clever: I've verified USB disks this way before ... hmm
<symphorien>
with /dev/sda1 it will read the right size
<ElectricJanice>
Its running now
ElectricJanice has quit [Remote host closed the connection]
<gchristensen>
symphorien: the ISO comes with 2 partitions
ElectricJanice64 has joined #nixos
<clever>
symphorien: but also, the hash for the partitions arent published
<{^_^}>
[nixpkgs] @stefano-m opened pull request #67214 → adoptopenjdk-icedtea-web: init at 1.8.3 → https://git.io/fjb5l
<gchristensen>
well, that doesn't match the hash published on the website (132778d15b3e985f0b42aebb0a7b7bcf6218f70268c2f4404dfce21b06f358a1) -- I'm hashing my USB stick here to see if it *should* match
<clever>
gchristensen: i dont expect it do, since the usb stick is going to be bigger, and have garbage after the iso
<clever>
gchristensen: you have to stop hashing at the right point
<ElectricJanice>
doesnt say anything beyond normal log info
<gchristensen>
clever: I wonder how I did it before
<clever>
ElectricJanice: a proper irc client is the key, the web clients can have issues when the browser tries to suspend things
<pqckh>
I have a pretty simple nix file for creating a shell with the python library SALib (https://pastebin.com/ZueRtsBB). However, `nix-shell` fails with "abort: no repository found in '.../SALib-1.3.7' (.hg not found)!". I'd like to either figure out how to fix this problem or how to find the code from the install process producing this problem
<ElectricJanice>
yeah. on the live image atm so dont really feel like screwing with that atm
<EsperLily>
I did try setting up weechat once and realized pretty quickly I had to install a plugin that would convert links into local shortlinks so I could still click them if they wrapped, due to weechat adding a side panel
ElectricJanice has quit [Read error: Connection reset by peer]
<EsperLily>
these days I use IRC a lot less so it's easier to switch over
<EsperLily>
it's mostly just I know all the common keyboard shortcuts and slash-commands on irssi
ElectricJanice has joined #nixos
<EsperLily>
really I wish I could just use a GUI client, but I use irssi over mosh because bouncers sucks
<EsperLily>
s/sucks/suck/
o1lo01ol1o has joined #nixos
kleisli has joined #nixos
<hyperfekt>
EsperLily: How so?
<EsperLily>
when you reconnect to a bouncer it just dumps the last N messages back into your current client as if they were just received
<EsperLily>
because bouncers just speak IRC
<EsperLily>
I think there are special commands to request more history, I don't really recall
___laika has quit [Ping timeout: 258 seconds]
<EsperLily>
but what I want is to just reconnect to my server and have access to the properly-timestamped history stretching back as far back as my client will record history
<hyperfekt>
Oh, I use Quassel which uses a frightening Qt protocol to transfer messages between core and client
<clever>
..... it still runs on an old gentoo box, that i never migrated after adopting nixos.....
<clever>
Linux c2d 3.8.13-gentoo #3 SMP Thu Dec 15 10:33:05 AST 2016 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz GenuineIntel GNU/Linux
<EsperLily>
the two downsides to this approach are 1) I'm limited to terminal formatting, so e.g. I can't deemphasize all the join/connect messages, and 2) I can't get notifications when someone mentions me
<clever>
EsperLily: at one time, i was using a bouncer, and had mirc+irssi sharing the connection, and mirc scripts configured to beep at 15khz
<clever>
but funnily enough, the mirc script was using tcp to talk to a daemon on linux to trigger the beep
ElectricJanice has quit [Read error: Connection reset by peer]
<clever>
my setup was weird
<EsperLily>
o_O
ElectricJanice has joined #nixos
<hyperfekt>
With Quassel I can just scroll back as I wish, probably what you want. My main motivation for using it is that it's the most likely to get cloud messaging support in the near future. My phone already runs out of battery quickly enough and irssinotifier wouldn't link me into the mobile client.
<clever>
the windows machine eventually died a painful death, it took out its own motherboard, power supply, and the hard-disk of a neighboring linux box!
<EsperLily>
looking at the screenshots, I don't think I could tolerate using the Quassel GUI
<EsperLily>
(macOS here)
<hyperfekt>
Haha fair :b
<gchristensen>
> neighboring linux box
<{^_^}>
undefined variable 'neighboring' at (string):262:1
<gchristensen>
what
<clever>
gchristensen: the windows machine was tied to the serial console on the linux machine
<EsperLily>
I like how the error is at column 262. Makes me wonder what kind of preamble the bot puts on each evaluated line
zupo has joined #nixos
<clever>
gchristensen: when it failed hard, it left the power led dimly lit, and pulled the serial port lines low
<gchristensen>
oh no
<clever>
gchristensen: linux treated that as holding the break signal, constantly, and spammed the error logs
<pqckh>
If I'm trying to create a `python.withPackages` shell environment, what's the syntax to also add non-Python nix packages to the environment?
levdub has joined #nixos
<EsperLily>
you could use a buildEnv environment that contains your python env plus the other packages
<clever>
if its for nix-shell, make a new derivation, that has both python.withPackages and the non-python stuff, in the buildInputs
<EsperLily>
in fact there's a python.buildEnv function
<EsperLily>
"buildEnv. Function to build python interpreter environments with extra packages bundled together. See section python.buildEnv function for usage and documentation."
<EsperLily>
hrm, the example usage shows including another python package, so I don't know how this differs from withPackages
nikivi has joined #nixos
<EsperLily>
ok looks like withPackages is a wrapper around buildEnv
ElectricJanice has quit [Read error: Connection reset by peer]
boxscape has quit [Remote host closed the connection]
boxscape has joined #nixos
ElectricJanice has joined #nixos
<ElectricJanice>
output of this command dd if=/dev/sdc count=1287651328 bs=1 | sha256sum -
<ElectricJanice>
ok. Tried a different usb but getting the same errors :(
drakonis has quit [Ping timeout: 276 seconds]
dasj19 has quit [Quit: dasj19]
xkapastel has quit [Quit: Connection closed for inactivity]
<Unode>
hi all, this is a recurring question but what is the recommended function to use with nix-build? I'm trying mkDerivation but as I don't have a src this raises an error. pkgs.runCommand doesn't work here either.
jgt has joined #nixos
ElectricJanice has quit [Read error: Connection reset by peer]
<Unode>
buildEnv is what I was after.
<m1crOman>
Hey folks what's the current recommended way to use mediawiki? The wiki page shows httpd.extraSubservices which is deprecated, and I can't find the package under the options and package search pages.
<gchristensen>
aanderse: ^
* aanderse
wakes up
<aanderse>
yup, that's me
<{^_^}>
[nixpkgs] @ryantrinkle opened pull request #67217 → git-subrepo: init at 0.4.0 → https://git.io/fjbdx
<aanderse>
so... @redvers said he was going to update the wiki at some point...
<aanderse>
but i know he's been busy with a couple things lately
<aanderse>
m1crOman: are you using stable or unstable?
<m1crOman>
oh class it's just a regular service now :D
<m1crOman>
yea perfect thanks will dig into the pkg + config to see what options there are
shibboleth has quit [Quit: shibboleth]
<aanderse>
unfortunately nginx is *way* better than httpd service so there is a load missing from the module
<aanderse>
you'll have to add stuff to your configuration
<aanderse>
we can go over that
<aanderse>
the plan is to make httpd not suck for 20.03
<aanderse>
which would make mediawiki much better
pqckh has quit [Ping timeout: 276 seconds]
operator-name has joined #nixos
jgt has quit [Ping timeout: 250 seconds]
<m1crOman>
ok that's grand. I am using httpd already and I was planning to write a httpd config for nextcloud seeing that one doesn't exist
<aanderse>
m1crOman: there is an nginx module for nextcloud
<m1crOman>
yes I know but I want to avoid running nginx if I can. Nothing personal I just don't want to run 2 large http servers
<aanderse>
m1crOman: yeah so if you're familiar with the httpd module you'll have no problems, just setup your ssl certs and point to them in services.mediawiki.virtualHost
<aanderse>
yeah that's exciting to hear
<m1crOman>
I'm also inheriting a few hundred http vhosts so I need to maintain apache at least for now :P
<m1crOman>
Cool ok I will do just that :) Thanks a mil for the help. Man, this irc is the best going right now.
<aanderse>
there is definitely a desire to make nginx and httpd interchangeable by some users
jgertm has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<aanderse>
my plan is to try and make the httpd and nginx option sets as similar as possible with the idea that maybe we can make web server a choice for our web services
<aanderse>
there might be some interest in making databases the same
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor has joined #nixos
drakonis has joined #nixos
nabana has quit [Ping timeout: 276 seconds]
<jgertm>
I changed the derivation for strongswan, which my network-manager service transitively depends on through the networking.networkManager.enableStrongSwan option, and rebuilt my system. I see strongswan being recompiled, but the network-manager.service unit still points to the old derivation. Is there something special about network-manager that prevents it from picking up the change?
<jgertm>
In case this is an AB problem, what I actually want to accomplish is use EAP-TLS to connect to a strongswan VPN
<akamaus>
I'm looking for a builtin function to convert any value to string. 'toString' is not good because it requires the set to have __toString attr.
<{^_^}>
[nixpkgs] @worldofpeace opened pull request #67219 → Enable programs.$shell.vteIntegration where needed → https://git.io/fjbFC
<m1crOman>
aanderse, I can certainly get on board with that. That's my intention with adding to the nextcloud config for sure.
<{^_^}>
[nixpkgs] @globin pushed to openssl-1.1 « erlang: pin to openssl 1.0.2 for < R20 »: https://git.io/fjbFl
<aanderse>
sounds good m1crOman
fendor has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @edef1c opened pull request #67220 → wishbone-tool: init at 0.2.8 → https://git.io/fjbFz
<infinisil>
There's two ways to convert an attrset to a string then!
<akamaus>
nix-repl> toString { tata = "aaa";}
<akamaus>
error: cannot coerce a set to a string, at (string):1:1
<clever>
also, toString, and "${ behave differently
<infinisil>
Well actually builtins.toJSON might be good enough for your case
<clever>
> toString ./.
<{^_^}>
"/var/lib/nixbot/state/nixpkgs"
<clever>
> "${./.}"
<{^_^}>
access to path '/var/lib/nixbot/state/nixpkgs' is forbidden in restricted mode
<infinisil>
They joys of strings in nix
<infinisil>
> builtins.toJSON { tata = "aaa"; }
<{^_^}>
"{\"tata\":\"aaa\"}"
<infinisil>
akamaus: ^
<akamaus>
good!
pie_ has joined #nixos
<akamaus>
Actually I stumbled upon this inside nixpkgs/pkgs/stdenv/generic/check-meta.nix It fails on line 210 with unhelpful if package metadata is wrong anough.
matthuszagh has joined #nixos
<operator-name>
/* Check whether a value can be coerced to a string */ isCoercibleToString = x: builtins.elem (builtins.typeOf x) [ "path" "string" "null" "int" "float" "bool" ] || (builtins.isList x && lib.all isCoercibleToString x) || x ? outPath || x ? __toString;
<operator-name>
huh
<operator-name>
not much seems to define a __toString
<matthuszagh>
hi. i'm trying to get a simple nixos vm to work for nixpks development, but i'm having trouble logging in. I've set this: `users.users.root.initialPassword = "root";` but typing `root` for login and password isn't working. any ideas on what might be going wrong?
<clever>
matthuszagh: initialPassword only works on the first creation of the user
<clever>
matthuszagh: what type of vm is it?
jgt has joined #nixos
<matthuszagh>
it's from nixos-rebuild build-vm. so qemu if that answers your question?
<operator-name>
the root user is special isn't it?
ryantrinkle has quit [Ping timeout: 245 seconds]
<clever>
matthuszagh: you need to delete the nixos.qcow2 file in the current dir, so it recreates root, and obeys initialPassword
knupfer has quit [Ping timeout: 264 seconds]
<matthuszagh>
clever: thanks i'll try that
<clever>
if you booted it before, then its no longer the initial bootup, and it will persist whatever you set with passwd
<matthuszagh>
clever: that worked! thanks for the help. makes sense since i didn't set that option the first time i tried the vm build
<clever>
services = {
<clever>
mingetty.autologinUser = "root";
<clever>
matthuszagh: you can also set this, so it wont ask for a pw
<{^_^}>
[nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjbbu
ryantrinkle has joined #nixos
freeman42x has joined #nixos
freeman42y has quit [Ping timeout: 250 seconds]
mexisme has joined #nixos
ottidmes has joined #nixos
dansho has joined #nixos
<{^_^}>
[nixpkgs] @globin pushed to openssl-1.1 « squid: remove v3, default to v4 »: https://git.io/fjbb7
jgt has joined #nixos
<{^_^}>
[nixpkgs] @jtojnar opened pull request #67222 → gnome-hexgl: init at unstable-2019-08-21 → https://git.io/fjbb5
Thra11 has quit [Quit: WeeChat 2.5]
jgt has quit [Ping timeout: 264 seconds]
<matthuszagh>
clever: is there a way i can copy/paste between the host and vm? i've tried enabling the spice-vdagentd service in the vm configuration but that doesn't seem to work
sigmundv_ has joined #nixos
<clever>
matthuszagh: ive not done it with qemu
<matthuszagh>
ok no worries
<clever>
matthuszagh: but with the test-hydra-locally.nix i linked above, you can forward ssh, and then just use ssh normally
erasmas has quit [Quit: leaving]
<matthuszagh>
clever: does that allow me to specify my own nixpkgs repo and custom configuration? presumably, the graphics option also allows graphics if I need them? is this what most people do for testing packages?
<clever>
matthuszagh: use -I nixpkgs= to change which nixpkgs is being used
<clever>
matthuszagh: if your only testing a package, nix-build is enough
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
jgeerds has quit [Ping timeout: 248 seconds]
sigmundv_ has quit [Ping timeout: 245 seconds]
freeman42x has quit [Read error: Connection reset by peer]
freeman42x has joined #nixos
freeman42x has quit [Max SendQ exceeded]
freeman42x has joined #nixos
Soo_Slow has joined #nixos
<Soo_Slow>
is it possible to make something like cross-distro AUR with nix package manager? (e.g you just write some setup script, while actual data (aside from dependencies, which come from official repo, if possible) gets downloaded from developer's site and then verified by hash)
orivej has quit [Ping timeout: 276 seconds]
<selfsymmetric-mu>
That would certainly be an interesting standardization effort.
<elvishjerricco>
Soo_Slow: I think there's already an NUR
<operator-name>
since the NUR is brought up, can I just ask
<operator-name>
the distinction of the nur should be that it doesn't have a binary cache?
<operator-name>
is there a way to disable using the binary cache when using nixos normally if you want to compile things from source (for whatever reason)?
<gchristensen>
expressions could also be malicious
<Soo_Slow>
elvishjerricco, oh, looks nice. Can it be used for sharing binaries? (messangers etc. On my arch, for example, I have proprietary discord installed from AUR) Or only for building stuff from source?
<selfsymmetric-mu>
I have never wanted a package in NUR that I haven't found in nixpkgs.
<selfsymmetric-mu>
And I've made 11 package requests to nixpkgs so far.
<selfsymmetric-mu>
Actually make that 13. I forgot about the two that got closed.
<hyperfekt>
Soo_Slow: You wouldn't share the binary itself in the NUR of course for licensing reasons, but the build expression would download it and make sure it's got access to all dependencies.
<elvishjerricco>
Soo_Slow: In theory users could provide their own binary caches for their NUR packages, but they'd have to make sure to build for all NixOS versions they want to support, and even thats not guaranteed to work perfectly if e.g. glibc changes in a stable channel
<Soo_Slow>
eeeh
<Soo_Slow>
thats unfortunate
<elvishjerricco>
operator-name: On top of --substitutes on the command line, you can also just set it in /etc/nix/nix.conf to always do that
jgt has joined #nixos
<elvishjerricco>
Soo_Slow: Eh, it's better than AUR's ability to package binaries
<elvishjerricco>
Which is none
xkapastel has quit [Quit: Connection closed for inactivity]
<hyperfekt>
elvishjerricco, Soo_Slow: Well, if you pinned nixpkgs in your expression you can provide a well-working binary cache, at the cost of potentially duplicating eventual dependencies.
<Soo_Slow>
elvishjerricco, is it? I mean - there are plenty of free proprietary software in aur (alongside with too-long-to-build stuff like icecat)
<elvishjerricco>
hyperfekt: That's definitely not the right way to do NUR though :P
<elvishjerricco>
Soo_Slow: Yea, they just use scripts to download proprietary binaries from their websites. You can do the same in Nix without a binary cache
<elvishjerricco>
That's how steam and signal-messenger work on NixOS iirc.
<elvishjerricco>
And many others I'm forgetting
<elvishjerricco>
You don't actually get those from cache.nixos.org; that'd be a license violation. Your machine builds them itself, which just constitutes downloading them and maybe patching their elf binaries
<hyperfekt>
elvishjerricco: That's true :b You wouldn't put that in the NUR. Just pointing out that the limit isn't really with Nix.
<elvishjerricco>
Nix is rarely the limit :P
jluttine has quit [Ping timeout: 244 seconds]
<hyperfekt>
A lot of stuff is in nixpkgs anyway so you don't have to worry about your fav proprietary software all that much.
jgt has quit [Ping timeout: 250 seconds]
wildtrees has quit [Quit: Leaving]
Nicholas29 has joined #nixos
Denommus has quit [Remote host closed the connection]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 250 seconds]
mbrgm_ has joined #nixos
jluttine has joined #nixos
mbrgm_ is now known as mbrgm
mbrgm has quit [Ping timeout: 268 seconds]
jluttine has quit [Ping timeout: 276 seconds]
<Soo_Slow>
elvishjerricco, oh, nice to hear. Thats exactly what I wanted