Different interface to triton-vmtools derivation file

This commit is contained in:
Benjamin Bädorf 2022-06-06 00:13:55 +02:00
parent 7c60da235a
commit e71abe255c
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
2 changed files with 3 additions and 7 deletions

View file

@ -7,7 +7,7 @@
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
triton-vmtools = import ./pkgs/triton-vmtools.nix { inherit nixpkgs system; };
triton-vmtools = import ./pkgs/triton-vmtools.nix { pkgs = import nixpkgs { inherit system; }; };
in
{

View file

@ -1,9 +1,5 @@
{ nixpkgs, system, ... }:
let
pkgs = import nixpkgs {
inherit system;
};
in with pkgs;
{ pkgs, ... }:
with pkgs;
stdenv.mkDerivation rec {
pname = "triton-vmtools";
version = "0.0.1";