Compare commits
No commits in common. "2b159d74f32dc4c4c9837f5b7d09b049c8a6e6a3" and "f92f547fd14219d9190b76bfdd941fb85879f57a" have entirely different histories.
2b159d74f3
...
f92f547fd1
|
@ -111,6 +111,7 @@ with pkgs;
|
|||
./modules/cachix.nix
|
||||
./overlays/emacs.nix
|
||||
./overlays/nix-direnv.nix
|
||||
./overlays/cyrus-sasl.nix
|
||||
];
|
||||
|
||||
}
|
||||
|
|
29
flake.lock
29
flake.lock
|
@ -7,11 +7,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1637625975,
|
||||
"narHash": "sha256-ByDgmhpLykhAVeaFggjqoSRdl2OzTDODnxjPuu97fL4=",
|
||||
"lastModified": 1637458245,
|
||||
"narHash": "sha256-2k0u5hO0o9p8LmcyDjGAEdZge7GGvZnKkJZEarLI9pA=",
|
||||
"owner": "ryantm",
|
||||
"repo": "agenix",
|
||||
"rev": "a0e9ca505c82e762d39e9477a428b537a0aab022",
|
||||
"rev": "4a93de2bebf58a458611a5918a0ddd82d4ed15b1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -20,6 +20,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"cyrus-sasl-xoauth2": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1611713742,
|
||||
"narHash": "sha256-IaH8tNUhM0lUOmFiG4G9cGzsuM9mTWfQrzoQ78MIgZ0=",
|
||||
"owner": "robn",
|
||||
"repo": "sasl2-oauth",
|
||||
"rev": "4236b6fb904d836b85b55ba32128b843fd8c2362",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "robn",
|
||||
"repo": "sasl2-oauth",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"emacs-overlay": {
|
||||
"locked": {
|
||||
"lastModified": 1635818927,
|
||||
|
@ -37,11 +53,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1637595801,
|
||||
"narHash": "sha256-LkIMwVFKCuEqidaUdg8uxwpESAXjsPo4oCz3eJ7RaRw=",
|
||||
"lastModified": 1635702959,
|
||||
"narHash": "sha256-ZKxX9DjJJGJqq20pE4dIj1G4ssCLVXXRFerM6lNuF0k=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "263ef4cc4146c9fab808085487438c625d4426a9",
|
||||
"rev": "e544ee88fa4590df75e221e645a03fe157a99e5b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -53,6 +69,7 @@
|
|||
"root": {
|
||||
"inputs": {
|
||||
"agenix": "agenix",
|
||||
"cyrus-sasl-xoauth2": "cyrus-sasl-xoauth2",
|
||||
"emacs-overlay": "emacs-overlay",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
agenix.url = "github:ryantm/agenix";
|
||||
agenix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
||||
cyrus-sasl-xoauth2 = {
|
||||
url = "github:robn/sasl2-oauth";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, agenix, ... }@inputs:
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
cyrus-sasl-xoauth2 = with pkgs;
|
||||
stdenv.mkDerivation {
|
||||
name = "cyrus-sasl-xoauth2";
|
||||
src = inputs.cyrus-sasl-xoauth2;
|
||||
nativeBuildInputs =
|
||||
[ autoreconfHook inputs.nixpkgs.legacyPackages."${system}".cyrus_sasl ];
|
||||
};
|
||||
|
||||
in {
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
cyrus_sasl = prev.cyrus_sasl.overrideAttrs (div: rec {
|
||||
postInstall = ''
|
||||
for lib in ${cyrus-sasl-xoauth2}/lib/sasl2/*; do
|
||||
ln -sf $lib $out/lib/sasl2/
|
||||
done
|
||||
'';
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
Binary file not shown.
Loading…
Reference in New Issue