mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
flake.nix: Use Nixpkgs convention for package variants
This commit is contained in:
parent
74b9b77c9f
commit
ebf77c79ae
2 changed files with 6 additions and 6 deletions
|
@ -153,18 +153,18 @@
|
|||
'';
|
||||
};
|
||||
|
||||
libgit2-nix = final.libgit2.overrideAttrs (attrs: {
|
||||
libgit2_nix = final.libgit2.overrideAttrs (attrs: {
|
||||
src = libgit2;
|
||||
version = libgit2.lastModifiedDate;
|
||||
cmakeFlags = attrs.cmakeFlags or []
|
||||
++ [ "-DUSE_SSH=exec" ];
|
||||
});
|
||||
|
||||
boehmgc-nix = final.boehmgc.override {
|
||||
boehmgc_nix = final.boehmgc.override {
|
||||
enableLargeConfig = true;
|
||||
};
|
||||
|
||||
libseccomp-nix = final.libseccomp.overrideAttrs (_: rec {
|
||||
libseccomp_nix = final.libseccomp.overrideAttrs (_: rec {
|
||||
version = "2.5.5";
|
||||
src = final.fetchurl {
|
||||
url = "https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz";
|
||||
|
|
|
@ -6,9 +6,9 @@ in
|
|||
# This becomes the pkgs.nixComponents attribute set
|
||||
{
|
||||
inherit stdenv versionSuffix;
|
||||
libseccomp = pkgs.libseccomp-nix;
|
||||
boehmgc = pkgs.boehmgc-nix;
|
||||
libgit2 = pkgs.libgit2-nix;
|
||||
libseccomp = pkgs.libseccomp_nix;
|
||||
boehmgc = pkgs.boehmgc_nix;
|
||||
libgit2 = pkgs.libgit2_nix;
|
||||
busybox-sandbox-shell = pkgs.busybox-sandbox-shell or pkgs.default-busybox-sandbox-shell;
|
||||
|
||||
nix = callPackage ../package.nix { };
|
||||
|
|
Loading…
Reference in a new issue