Thanks for your help so my goal was to using the last version of mullvad vpn (2024.1) i realize by looking at the source of mullvad-vpn unstable they provide a script that update the app nixpkgs/pkgs/applications/networking/mullvad-vpn at 08b9151ed40350725eb40b1fe96b0b86304a654b · NixOS/nixpkgs · GitHub
I run the script then i import the default.nix updated with the last version (thanks to the script) into my config but it’s doesn’t work. So i’m still block on using the outdated version 2023.6 ![:confused: :confused:](https://discourse.nixos.org/images/emoji/twitter/confused.png?v=12)
The error i have when i try to install the system with m.nix : error: function ‘anonymous lambda’ called without required argument ‘fetchurl’
at /mnt/etc/nixos/nixconf/m.nix:1:1:
1| { stdenv, lib, fetchurl, dpkg, alsa-lib, atk, cairo, cups, dbus, expat, fontconfig, freetype, gdk-pixbuf, glib, pango, nspr, nss, gtk3, mesa, libGL, wayland, xorg, autoPatchelfHook, systemd, libnotify, libappindicator, makeWrapper, coreutils, gnugrep, ...}:
| ^
2|
Here is a snipped from my config :
{ config, pkgs, inputs, … }: {
environment.systemPackages = with pkgs; [
(import /mnt/etc/nixos/nixconf/m.nix { inherit pkgs; })
#mullvad
#mullvad-vpn
];
}
m.nix = default.nix from nixpkgs/pkgs/applications/networking/mullvad-vpn at 08b9151ed40350725eb40b1fe96b0b86304a654b · NixOS/nixpkgs · GitHub but with the updated version
Your solution look like more simple and easier can you show me how i can do that too ?