I’ve gotten a VPS at vpsfree and they instruct me to get nixops to be able to deploy, but all I find in nixpkgs is nixops_unstable, which doesn’t build
building Nix...
building the system configuration...
error: Package ‘python3.10-requests-2.28.2’ in /nix/store/56727vjqg650ixvq84p7xrwwh93a7cma-nixos-23.05/nixos/pkgs/development/tools/poetry2nix/poetry2nix/pkgs/poetry/poetry.lock:0 is marked as insecure, refusing to evaluate.
Known issues:
- CVE-2023-32681
You can install it anyway by allowing this package, using the
following methods:
a) To temporarily allow all insecure packages, you can use an environment
variable for a single invocation of the nix tools:
$ export NIXPKGS_ALLOW_INSECURE=1
Note: For `nix shell`, `nix build`, `nix develop` or any other Nix 2.4+
(Flake) command, `--impure` must be passed in order to read this
environment variable.
b) for `nixos-rebuild` you can add ‘python3.10-requests-2.28.2’ to
`nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
like so:
{
nixpkgs.config.permittedInsecurePackages = [
"python3.10-requests-2.28.2"
];
}
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
‘python3.10-requests-2.28.2’ to `permittedInsecurePackages` in
~/.config/nixpkgs/config.nix, like so:
{
permittedInsecurePackages = [
"python3.10-requests-2.28.2"
];
}
(use '--show-trace' to show detailed location information)